Home
last modified time | relevance | path

Searched refs:mTestDevice (Results 1 – 1 of 1) sorted by relevance

/platform_testing/libraries/flag-helpers/junit/test/src/android/platform/test/flag/junit/host/
DHostFlagsValueProviderTest.java67 @Mock private ITestDevice mTestDevice; field in HostFlagsValueProviderTest
78 when(mTestDevice.executeShellCommand(eq("device_config list"))) in initHostFlagsValueProvider()
80 when(mTestDevice.getSerialNumber()).thenReturn("123456"); in initHostFlagsValueProvider()
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()
85 when(mTestDevice.pullFile("/system/etc/aconfig_flags.pb")).thenReturn(aconfigFlagsPbFile); in initHostFlagsValueProvider()
86 when(mTestDevice.pullFile("/product/etc/aconfig_flags.pb")) in initHostFlagsValueProvider()
91 return mTestDevice; in initHostFlagsValueProvider()
[all …]