Searched refs:doesFileExist (Results 1 – 7 of 7) sorted by relevance
81 when(mTestDevice.doesFileExist("/system/etc/aconfig_flags.pb")).thenReturn(true); in initHostFlagsValueProvider()82 when(mTestDevice.doesFileExist("/product/etc/aconfig_flags.pb")).thenReturn(true); in initHostFlagsValueProvider()83 when(mTestDevice.doesFileExist("/system_ext/etc/aconfig_flags.pb")).thenReturn(false); in initHostFlagsValueProvider()84 when(mTestDevice.doesFileExist("/vendor/etc/aconfig_flags.pb")).thenReturn(false); in initHostFlagsValueProvider()
131 boolean doesFileExist(String fileName); in doesFileExist() method
50 if (!device.doesFileExist(out.getParent())) { in executeAdbNohupCommand()
69 Mockito.when(mDevice.doesFileExist(Mockito.anyString())).thenReturn(true); in setUp()130 Mockito.verify(mDevice, Mockito.times(3)).doesFileExist(Mockito.anyString()); in testRunWhenDeviceIsOnline()
153 if (!testDevice.doesFileExist(aconfigFlagsPbFilePath)) { in getAconfigParsedFlags()
230 if (getDevice().doesFileExist(filePath)) { in deleteTestFile()
127 assertFalse("rootcanal set up called more than once", device.doesFileExist(LOCK_FILENAME)); in enableRootcanal()