<div dir="ltr"><br>Android doesn't use devtmpfs. Instead device nodes under /dev are<br>created by userspace daemon ueventd. There could be a noticeable delay<br>between LOOP_CTL_GET_FREE issued and loop device created, so we need to<br>wait until it is created and then continue.<br>The timeout (5s) and time quantum (20ms) is picked randomly, it bares no<br>special meaning but they worked fine empirically.<br><br>Bug: 243495405</div>