Home
last modified time | relevance | path

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

/device/google/cuttlefish/tests/snapshot/src/com/android/cuttlefish/tests/
DSnapshotTest.java56 getDevice().reboot(); in testSnapshot()
58 new DeviceSnapshotHandler().snapshotDevice(getDevice(), snapshotId); in testSnapshot()
62 getDevice().executeShellCommand("touch " + tmpFile); in testSnapshot()
65 getDevice().reboot(); in testSnapshot()
66 File file = getDevice().pullFile(tmpFile); in testSnapshot()
75 new DeviceSnapshotHandler().restoreSnapshotDevice(getDevice(), snapshotId); in testSnapshot()
84 file = getDevice().pullFile(tmpFile); in testSnapshot()
99 getDevice().reboot(); in testSnapshotReboot()
101 new DeviceSnapshotHandler().snapshotDevice(getDevice(), snapshotId); in testSnapshotReboot()
103 new DeviceSnapshotHandler().restoreSnapshotDevice(getDevice(), snapshotId); in testSnapshotReboot()
[all …]
/device/google/cuttlefish/tests/fastboot/src/com/android/cuttlefish/tests/
DOemlockTest.java38 FactoryResetUtils.createTemporaryGuestFile(getDevice()); in testLockingUnlocking()
39 getDevice().rebootIntoBootloader(); in testLockingUnlocking()
41 FactoryResetUtils.assertTemporaryGuestFileExists(getDevice(), false); in testLockingUnlocking()
43 getDevice().rebootIntoBootloader(); in testLockingUnlocking()
45 getDevice().reboot(); in testLockingUnlocking()
48 FactoryResetUtils.createTemporaryGuestFile(getDevice()); in testLockingUnlocking()
49 getDevice().rebootIntoBootloader(); in testLockingUnlocking()
51 FactoryResetUtils.assertTemporaryGuestFileExists(getDevice(), false); in testLockingUnlocking()
53 getDevice().rebootIntoBootloader(); in testLockingUnlocking()
55 getDevice().reboot(); in testLockingUnlocking()
[all …]
DFastbootRebootTest.java35 getDevice().rebootIntoBootloader(); in rebootToBootloader()
40 getDevice().reboot(); in rebootToAndroid()
45 getDevice().reboot(); in testReboot()
46 assertEquals(TestDeviceState.ONLINE, getDevice().getDeviceState()); in testReboot()
51 getDevice().rebootIntoRecovery(); in testRebootRecovery()
52 assertEquals(TestDeviceState.RECOVERY, getDevice().getDeviceState()); in testRebootRecovery()
57 getDevice().rebootIntoBootloader(); in testRebootBootloader()
58 assertEquals(TestDeviceState.FASTBOOT, getDevice().getDeviceState()); in testRebootBootloader()
63 getDevice().rebootIntoFastbootd(); in testRebootFastboot()
64 assertEquals(TestDeviceState.FASTBOOTD, getDevice().getDeviceState()); in testRebootFastboot()
DFastbootFlashingTest.java29 FactoryResetUtils.createTemporaryGuestFile(getDevice()); in testFastbootUserdataEraseClearsTheDevice()
31 getDevice().rebootIntoBootloader(); in testFastbootUserdataEraseClearsTheDevice()
33 getDevice().executeFastbootCommand("erase", "userdata"); in testFastbootUserdataEraseClearsTheDevice()
34 getDevice().reboot(); in testFastbootUserdataEraseClearsTheDevice()
36 FactoryResetUtils.assertTemporaryGuestFileExists(getDevice(), false); in testFastbootUserdataEraseClearsTheDevice()
/device/google/cuttlefish/tests/src/com/android/tests/tombstoneTransmit/
DTombstoneTransmitTest.java60 InstanceType type = getDevice().getOptions().getInstanceType(); in testTombstonesOfVaryingLengths()
70 … List<String> hostTombstoneListPreTest = convertFileListToStringList(getDevice().getTombstones()); in testTombstonesOfVaryingLengths()
79 convertFileListToStringList(getDevice().getTombstones()); in testTombstonesOfVaryingLengths()
108 InstanceType type = getDevice().getOptions().getInstanceType(); in testTombstoneTransmitIntegrity()
120 getDevice().getTombstones()); in testTombstoneTransmitIntegrity()
125 CommandResult commandResult = getDevice().executeShellV2Command(TOMBSTONE_PRODUCER); in testTombstoneTransmitIntegrity()
130 convertFileListToStringList(getDevice().getTombstones()); in testTombstoneTransmitIntegrity()
166 if (!getDevice().isAdbRoot()) { in clearTombstonesFromCuttlefish()
168 , getDevice().getSerialNumber()); in clearTombstonesFromCuttlefish()
172 CommandResult commandResult = getDevice(). in clearTombstonesFromCuttlefish()
[all …]
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/
DBleConnection.java254 Log.i(TAG, "Queueing write request to " + gatt.getDevice()); in writeCharacteristic()
272 Log.i(TAG, "Queueing read request to " + gatt.getDevice()); in readCharacteristic()
291 Log.i(TAG, "Queueing write request to " + gatt.getDevice()); in writeDescriptor()
356 "Device " + gatt.getDevice() + " newState: " + newState + in onConnectionStateChange()
382 Log.w(TAG, "Failed to discover services for " + gatt.getDevice() + ": " + status); in onServicesDiscovered()
399 " to " + gatt.getDevice() + ": " + status); in onDescriptorWrite()
416 " to " + gatt.getDevice() + ": " + status); in onCharacteristicWrite()
433 " to " + gatt.getDevice() + ": " + status); in onCharacteristicRead()
448 Log.i(TAG, "MTU size updated to " + mtu + " for device: " + gatt.getDevice()); in onMtuChanged()
/device/google/cuttlefish/tests/powerwash/src/com/android/cuttlefish/tests/
DPowerwashTest.java64 getDevice() instanceof RemoteAndroidVirtualDevice); in testPowerwash()
68 getDevice().executeShellCommand("touch " + tmpFile); in testPowerwash()
71 getDevice().reboot(); in testPowerwash()
72 File file = getDevice().pullFile(tmpFile); in testPowerwash()
86 success = handler.resetDevice(getDevice()); in testPowerwash()
99 file = getDevice().pullFile(tmpFile); in testPowerwash()
/device/google/zuma/CopyEfsTest/src/com/android/test/
DCopyEfsTest.java46 getDevice().enableAdbRoot(); in copyEfsTest()
50 String result = getDevice().getProperty("ro.boot.flash.locked"); in copyEfsTest()
55 getDevice().executeShellCommand("cmd recovery wipe ext4"); in copyEfsTest()
58 getDevice().waitForDeviceOnline(120000); in copyEfsTest()
59 getDevice().enableAdbRoot(); in copyEfsTest()
69 String result = getDevice().executeShellCommand("cat /proc/mounts"); in getMountInfo()
/device/google/cuttlefish/tests/graphics/src/com/android/cuttlefish/tests/
DCuttlefishDisplayHotplugTest.java112 getDevice().uninstallPackage(HELPER_APP_PKG); in setUp()
118 getDevice().uninstallPackage(HELPER_APP_PKG); in tearDown()
245 getDevice().executeShellCommand( in getDisplayHotplugHelperAppOutput()
249 … String logcat = getDevice().executeAdbCommand("logcat", "-d", "DisplayHotplugHelper:E", "*:S"); in getDisplayHotplugHelperAppOutput()
505 ITestDevice device = getDevice(); in getMemoryInfo()
DCuttlefishGraphicsConfigurationTest.java50 final ITestDevice device = getDevice(); in testGraphicsConfiguration()
/device/google/cuttlefish/tests/recovery/src/com/android/cuttlefish/tests/
DRebootRecoveryTest.java32 getDevice().rebootIntoRecovery(); in testRebootRecovery()
37 getDevice().reboot(); in tearDown()
/device/google/cuttlefish/tests/utils/src/com/android/cuttlefish/tests/utils/
DCuttlefishHostTest.java38 ITestDevice device = getDevice(); in cuttlefishHostTestSetUp()
/device/generic/goldfish/audio/
Ddevice_factory.cpp74 auto getDeviceRet = primary->getDevice(); in openDevice_7_1()
Dprimary_device.h203 Return<sp<::android::hardware::audio::V7_1::IDevice>> getDevice() override { in getDevice() function
/device/google/cuttlefish/tests/reliability/src/com/android/cuttlefish/tests/
DCuttlefishReliabilityTest.java146 OptionCopier.copyOptions(getDevice().getOptions(), device.getOptions()); in tryBringupCuttlefish()
/device/generic/goldfish/provision/EmulatorProvisonLib/src/com/android/sdksetup/
DProvisionActivity.java210 InputDevice inputDevice = InputDevice.getDevice(deviceId); in getKeyboardDevice()
/device/google/cuttlefish/tests/wmediumd_control/src/com/android/cuttlefish/tests/
DWmediumdControlE2eTest.java173 this.testDevice = getDevice(); in setUp()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/
DBluetoothDevicePreferenceFragment.java241 public BluetoothDevice getDevice() { in getDevice() method in BluetoothDevicePreferenceFragment
DConnectedDevicesPreferenceFragment.java381 BluetoothDevice device = ((BluetoothDevicePreferenceFragment) frag).getDevice(); in popDevicePreferenceImpl()
/device/google/atv/products/lowram_boot_profiles/
Dboot-image-profile.txt39783 HSPLandroid/view/InputDevice;->getDevice(I)Landroid/view/InputDevice;