Home
last modified time | relevance | path

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

/platform_testing/libraries/flag-helpers/junit/src_host/android/platform/test/flag/junit/host/
DDeviceFlags.java77 public static DeviceFlags createDeviceFlags(ITestDevice testDevice) throws FlagReadException { in createDeviceFlags() argument
79 deviceFlags.init(testDevice); in createDeviceFlags()
93 public void init(ITestDevice testDevice) throws FlagReadException { in init() argument
97 getDeviceConfigFlags(testDevice); in init()
98 getAconfigFlags(testDevice); in init()
102 private void getDeviceConfigFlags(ITestDevice testDevice) throws FlagReadException { in getDeviceConfigFlags() argument
104 String deviceConfigList = testDevice.executeShellCommand(DUMP_DEVICE_CONFIG_CMD); in getDeviceConfigFlags()
118 private void getAconfigFlags(ITestDevice testDevice) throws FlagReadException { in getAconfigFlags() argument
119 getAconfigParsedFlags(testDevice) in getAconfigFlags()
146 private parsed_flags getAconfigParsedFlags(ITestDevice testDevice) throws FlagReadException { in getAconfigParsedFlags() argument
[all …]
DHostFlagsValueProvider.java83 ITestDevice testDevice = mTestDeviceSupplier.get(); in setUp() local
84 TEST_DEVICES.put(testDevice.getSerialNumber(), testDevice); in setUp() local
87 mDeviceFlags = CACHED_DEVICE_FLAGS.get(testDevice.getSerialNumber()); in setUp()
/platform_testing/libraries/audio-test-harness/tradefed/src/main/java/com/android/media/audiotestharness/tradefed/
DAudioTestHarnessHermeticServerManagingMetricCollector.java164 private void reversePort(ITestDevice testDevice, int destinationPort) { in reversePort() argument
171 testDevice.getSerialNumber(), Defaults.DEVICE_PORT, destinationPort)); in reversePort()
174 testDevice.executeAdbCommand( in reversePort()
185 private void undoPortReversals(ITestDevice testDevice) { in undoPortReversals() argument
190 testDevice.getSerialNumber())); in undoPortReversals()
193 testDevice.executeAdbCommand(REVERSE_COMMAND, UNDO_REVERSALS_ARGUMENT); in undoPortReversals()
198 testDevice.getSerialNumber())); in undoPortReversals()
/platform_testing/tests/automotive/health/boottime/src/android/boottime/
DBootTimeTest.java151 ITestDevice testDevice = testInfo.getDevice(); in beforeClassWithDevice() local
153 testDevice.enableAdbRoot(); in beforeClassWithDevice()
154 testDevice.setDate(null); in beforeClassWithDevice()
155 testDevice.nonBlockingReboot(); in beforeClassWithDevice()
156 testDevice.waitForDeviceOnline(); in beforeClassWithDevice()
157 testDevice.waitForDeviceAvailable(0); in beforeClassWithDevice()