Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/connection/
DDefaultConnection.java23 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()
DAdbSshConnection.java26 import com.android.tradefed.device.NativeDevice;
612 if (getDevice() instanceof NativeDevice) { in powerwashGce()
613 ((NativeDevice) getDevice()).resetContentProviderSetup(); in powerwashGce()
/tools/tradefederation/core/src/com/android/tradefed/device/internal/
DDeviceResetHandler.java21 import com.android.tradefed.device.NativeDevice;
110 if (device instanceof NativeDevice) { in resetDevice()
111 ((NativeDevice) device).resetContentProviderSetup(); in resetDevice()
DDeviceSnapshotHandler.java21 import com.android.tradefed.device.NativeDevice;
187 if (device instanceof NativeDevice) { in restoreSnapshotDevice()
188 ((NativeDevice) device).resetContentProviderSetup(); in restoreSnapshotDevice()
/tools/tradefederation/core/src/com/android/tradefed/device/
DFileEntryWrapper.java31 private final NativeDevice mTestDevice;
41 FileEntryWrapper(NativeDevice testDevice, FileEntry entry) { in FileEntryWrapper()
DManagedTestDeviceFactory.java70 new NativeDevice( in createRequestedDevice()
130 new NativeDevice( in createDevice()
DTestDevice.java91 public class TestDevice extends NativeDevice {
2971 NativeDevice microdroid = (NativeDevice) deviceManager.allocateDevice(microSelection); in startMicrodroid()
3172 Process process = ((NativeDevice) microdroidDevice).getMicrodroidProcess(); in shutdownMicrodroid()
DNativeDevice.java127 public class NativeDevice class
444 public NativeDevice(IDevice device, IDeviceStateMonitor stateMonitor, in NativeDevice() method in NativeDevice
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DNativeDeviceTest.java47 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 …]
DTestDeviceTest.java3748 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()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/
DKUnitModuleTest.java20 import com.android.tradefed.device.NativeDevice;
44 String.format("%s/kunit", NativeDevice.DEBUGFS_PATH);
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DCreateUserPreparerTest.java27 import com.android.tradefed.device.NativeDevice;
146 mockGetCurrentUser(NativeDevice.INVALID_USER_ID); in testSetUp_tearDown_noCurrent()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DGcovKernelCodeCoverageCollector.java28 import com.android.tradefed.device.NativeDevice;
54 String.format("echo 1 > %s/gcov/reset", NativeDevice.DEBUGFS_PATH);
/tools/test/graphicsbenchmark/functional_tests/hostside/src/com/android/game/qualification/test/
DMemoryTests.java20 import com.android.tradefed.device.NativeDevice;
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DTestAppInstallSetup.java33 import com.android.tradefed.device.NativeDevice;
359 if (getDevice() instanceof NativeDevice) { in setUp()
360 ((NativeDevice) getDevice()).batchPrefetchStartupBuildProps(); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DTestInvocation.java46 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()
DInvocationExecution.java36 import com.android.tradefed.device.NativeDevice;
765 NativeDevice device = (NativeDevice) devices.get(i); in runMultiVirtualDevicesPreInvocationSetup()