Searched refs:getDevice (Results 1 – 20 of 20) sorted by relevance
56 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 …]
38 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 …]
35 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()
29 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()
60 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 …]
254 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()
64 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()
46 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()
112 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()
50 final ITestDevice device = getDevice(); in testGraphicsConfiguration()
32 getDevice().rebootIntoRecovery(); in testRebootRecovery()37 getDevice().reboot(); in tearDown()
38 ITestDevice device = getDevice(); in cuttlefishHostTestSetUp()
74 auto getDeviceRet = primary->getDevice(); in openDevice_7_1()
203 Return<sp<::android::hardware::audio::V7_1::IDevice>> getDevice() override { in getDevice() function
146 OptionCopier.copyOptions(getDevice().getOptions(), device.getOptions()); in tryBringupCuttlefish()
210 InputDevice inputDevice = InputDevice.getDevice(deviceId); in getKeyboardDevice()
173 this.testDevice = getDevice(); in setUp()
241 public BluetoothDevice getDevice() { in getDevice() method in BluetoothDevicePreferenceFragment
381 BluetoothDevice device = ((BluetoothDevicePreferenceFragment) frag).getDevice(); in popDevicePreferenceImpl()
39783 HSPLandroid/view/InputDevice;->getDevice(I)Landroid/view/InputDevice;