Searched refs:executeShellCommand (Results 1 – 9 of 9) sorted by relevance
195 String runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()199 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()204 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()208 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()222 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()226 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()231 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()271 String runAsResult = getDevice().executeShellCommand( in testInstallAndRunOptimizedApexs()275 runAsResult = getDevice().executeShellCommand( in testInstallAndRunOptimizedApexs()280 runAsResult = getDevice().executeShellCommand( in testInstallAndRunOptimizedApexs()[all …]
125 String sessionIdToCheck = device.executeShellCommand("pm get-stagedsessions --only-ready " in testAutomaticBootLoopRecovery()145 String sessionInfo = device.executeShellCommand("cmd -w apexservice getStagedSessionInfo " in testAutomaticBootLoopRecovery()170 String sessionIdToCheck = device.executeShellCommand("pm get-stagedsessions --only-ready " in testSessionNotRevertedWithCheckpointingDisabled()207 String sessionIdToCheck = device.executeShellCommand("pm get-stagedsessions --only-ready " in testCheckpointingRevertsSession()245 String sessionIdToCheck = device.executeShellCommand("pm get-stagedsessions --only-ready " in testRebootingOnceDoesNotRevertSession()341 final String sessionIdToCheck = device.executeShellCommand("pm get-stagedsessions " in testReasonForRevertIsLoggedDuringBootloop()366 final String[] lines = getDevice().executeShellCommand( in getStagedSession()
245 String sessionId = getDevice().executeShellCommand( in testApexSessionStateUnchangedBeforeReboot()
80 ChreTestUtil.executeShellCommand( in setWifiScanningSettings()91 ChreTestUtil.executeShellCommand(mInstrumentation, "svc wifi " + value); in setWifi()100 String out = ChreTestUtil.executeShellCommand( in isWifiScanningAlwaysEnabled()109 String out = ChreTestUtil.executeShellCommand( in isWifiEnabled()154 ChreTestUtil.executeShellCommand(mInstrumentation, "svc bluetooth " + value); in setBluetooth()162 ChreTestUtil.executeShellCommand( in setBluetoothScanningSettings()170 String out = ChreTestUtil.executeShellCommand( in isBluetoothEnabled()179 String out = ChreTestUtil.executeShellCommand( in isBluetoothScanningAlwaysEnabled()198 ChreTestUtil.executeShellCommand( in setAirplaneMode()214 String out = ChreTestUtil.executeShellCommand( in isAirplaneModeOn()
160 public static String executeShellCommand(Instrumentation instrumentation, String command) { in executeShellCommand() method in ChreTestUtil162 .executeShellCommand(command); in executeShellCommand()322 executeShellCommand(InstrumentationRegistry.getInstrumentation(), in restrictSensors()331 executeShellCommand( in unrestrictSensors()
116 getDevice().executeShellCommand("rm -rf " + file); in deleteFiles()211 getDevice().executeShellCommand("stat -c %Y " + decompressedApexFilePath); in testDecompressionDoesNotHappenOnEveryReboot()217 getDevice().executeShellCommand("stat -c %Y " + decompressedApexFilePath); in testDecompressionDoesNotHappenOnEveryReboot()232 getDevice().executeShellCommand("rm -rf /system/apex/" in testHigherVersionOnSystemTriggerDecompression()258 getDevice().executeShellCommand("rm -rf /system/apex/" in testDifferentRootDigestTriggersDecompression()314 getDevice().executeShellCommand("touch " + OTA_RESERVED_DIR + "random"); in testReservedSpaceIsNotCleanedOnReboot()326 getDevice().executeShellCommand("touch " + OTA_RESERVED_DIR + "random1"); in testReservedSpaceIsCleanedUpOnDecompression()327 getDevice().executeShellCommand("touch " + OTA_RESERVED_DIR + "random2"); in testReservedSpaceIsCleanedUpOnDecompression()377 getDevice().executeShellCommand("rm -rf /system/apex/" in testCapexToApexSwitch()399 getDevice().executeShellCommand("rm -rf /system/apex/" in testDecompressedApexVersionAlwaysHasSameVersionAsCapex()
222 getDevice().executeShellCommand("rm -rf " + file); in deleteFiles()
75 ChreTestUtil.executeShellCommand(mInstrumentation, in setMicrophoneDisableSetting()
62 getDevice().executeShellCommand("gsi_tool wipe"); in tearDown()