Searched refs:executeShellCommand (Results 1 – 10 of 10) sorted by relevance
195 String runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()198 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()202 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()206 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()220 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()223 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()227 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()267 String runAsResult = getDevice().executeShellCommand( in testInstallAndRunOptimizedApexs()270 runAsResult = getDevice().executeShellCommand( in testInstallAndRunOptimizedApexs()274 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()
270 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()157 ChreTestUtil.executeShellCommand(mInstrumentation, "svc bluetooth " + value); in setBluetooth()165 ChreTestUtil.executeShellCommand( in setBluetoothScanningSettings()173 String out = ChreTestUtil.executeShellCommand( in isBluetoothEnabled()182 String out = ChreTestUtil.executeShellCommand( in isBluetoothScanningAlwaysEnabled()201 ChreTestUtil.executeShellCommand( in setAirplaneMode()220 String out = ChreTestUtil.executeShellCommand( in isAirplaneModeOn()
160 public static String executeShellCommand(Instrumentation instrumentation, String command) { in executeShellCommand() method in ChreTestUtil162 .executeShellCommand(command); in executeShellCommand()
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()370 getDevice().executeShellCommand("rm -rf /system/apex/" in testCapexToApexSwitch()392 getDevice().executeShellCommand("rm -rf /system/apex/" in testDecompressedApexVersionAlwaysHasSameVersionAsCapex()
128 getDevice().executeShellCommand("rm -rf " + file); in deleteFiles()
75 ChreTestUtil.executeShellCommand(mInstrumentation, in setMicrophoneDisableSetting()
62 getDevice().executeShellCommand("gsi_tool wipe"); in tearDown()
511 ChreTestUtil.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in restrictSensors()519 ChreTestUtil.executeShellCommand( in unrestrictSensors()