Searched refs:NativeDevice (Results 1 – 17 of 17) sorted by relevance
23 import com.android.tradefed.device.NativeDevice;70 ((NativeDevice) device).setFastbootEnabled(isCuttlefish); in createConnection()71 ((NativeDevice) device).setLogStartDelay(0); in createConnection()85 ((NativeDevice) device).setLogStartDelay(0); in createConnection()
26 import com.android.tradefed.device.NativeDevice;612 if (getDevice() instanceof NativeDevice) { in powerwashGce()613 ((NativeDevice) getDevice()).resetContentProviderSetup(); in powerwashGce()
21 import com.android.tradefed.device.NativeDevice;110 if (device instanceof NativeDevice) { in resetDevice()111 ((NativeDevice) device).resetContentProviderSetup(); in resetDevice()
21 import com.android.tradefed.device.NativeDevice;187 if (device instanceof NativeDevice) { in restoreSnapshotDevice()188 ((NativeDevice) device).resetContentProviderSetup(); in restoreSnapshotDevice()
31 private final NativeDevice mTestDevice;41 FileEntryWrapper(NativeDevice testDevice, FileEntry entry) { in FileEntryWrapper()
70 new NativeDevice( in createRequestedDevice()130 new NativeDevice( in createDevice()
91 public class TestDevice extends NativeDevice {2971 NativeDevice microdroid = (NativeDevice) deviceManager.allocateDevice(microSelection); in startMicrodroid()3172 Process process = ((NativeDevice) microdroidDevice).getMicrodroidProcess(); in shutdownMicrodroid()
127 public class NativeDevice class444 public NativeDevice(IDevice device, IDeviceStateMonitor stateMonitor, in NativeDevice() method in NativeDevice
47 import com.android.tradefed.device.NativeDevice.RebootMode;105 private class TestableAndroidNativeDevice extends NativeDevice {294 String deviceFilePath = NativeDevice.SD_CARD; in testPushDir_withUserId()318 String deviceFilePath = NativeDevice.SD_CARD; in testPushDir_withoutUserId()418 String deviceFilePath = NativeDevice.SD_CARD; in testPullDir_withUserId()441 String deviceFilePath = NativeDevice.SD_CARD; in testPullDir_withoutUserId()1482 NativeDevice testDevice = in testDoReboot()1483 new NativeDevice(mMockIDevice, mMockStateMonitor, mMockDvcMonitor) { in testDoReboot()1499 NativeDevice testDevice = in testDoReboot_skipped()1500 new NativeDevice(mMockIDevice, mMockStateMonitor, mMockDvcMonitor) { in testDoReboot_skipped()[all …]
3748 assertEquals(NativeDevice.INVALID_USER_ID, res); in testGetCurrentUser_invalid()3908 assertEquals(NativeDevice.INVALID_USER_ID, flags); in testGetUserFlag_emptyReturn()4009 assertEquals(NativeDevice.INVALID_USER_ID, serial); in testGetUserSerialNumber_badData()4032 assertEquals(NativeDevice.INVALID_USER_ID, serial); in testGetUserSerialNumber_emptySerial()
20 import com.android.tradefed.device.NativeDevice;44 String.format("%s/kunit", NativeDevice.DEBUGFS_PATH);
27 import com.android.tradefed.device.NativeDevice;146 mockGetCurrentUser(NativeDevice.INVALID_USER_ID); in testSetUp_tearDown_noCurrent()
28 import com.android.tradefed.device.NativeDevice;54 String.format("echo 1 > %s/gcov/reset", NativeDevice.DEBUGFS_PATH);
20 import com.android.tradefed.device.NativeDevice;
33 import com.android.tradefed.device.NativeDevice;359 if (getDevice() instanceof NativeDevice) { in setUp()360 ((NativeDevice) getDevice()).batchPrefetchStartupBuildProps(); in setUp()
46 import com.android.tradefed.device.NativeDevice;1544 if (!(device instanceof NativeDevice)) { in logExecuteShellCommand()1547 File log = ((NativeDevice) device).getExecuteShellCommandLog(); in logExecuteShellCommand()1821 if (device instanceof NativeDevice) { in bareMinimumResponsiveness()1822 ((NativeDevice) device).invalidatePropertyCache(); in bareMinimumResponsiveness()
36 import com.android.tradefed.device.NativeDevice;765 NativeDevice device = (NativeDevice) devices.get(i); in runMultiVirtualDevicesPreInvocationSetup()