Searched refs:executeShellCommand (Results 1 – 9 of 9) sorted by relevance
194 String runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()197 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()201 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()205 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()219 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()222 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()226 runAsResult = getDevice().executeShellCommand( in testInstallAndRunDefaultApexs()266 String runAsResult = getDevice().executeShellCommand( in testInstallAndRunOptimizedApexs()269 runAsResult = getDevice().executeShellCommand( in testInstallAndRunOptimizedApexs()273 runAsResult = getDevice().executeShellCommand( in testInstallAndRunOptimizedApexs()[all …]
117 String sessionIdToCheck = device.executeShellCommand("pm get-stagedsessions --only-ready " in testAutomaticBootLoopRecovery()137 String sessionInfo = device.executeShellCommand("cmd -w apexservice getStagedSessionInfo " in testAutomaticBootLoopRecovery()162 String sessionIdToCheck = device.executeShellCommand("pm get-stagedsessions --only-ready " in testSessionNotRevertedWithCheckpointingDisabled()199 String sessionIdToCheck = device.executeShellCommand("pm get-stagedsessions --only-ready " in testCheckpointingRevertsSession()237 String sessionIdToCheck = device.executeShellCommand("pm get-stagedsessions --only-ready " in testRebootingOnceDoesNotRevertSession()430 final String sessionIdToCheck = device.executeShellCommand("pm get-stagedsessions " in testReasonForRevertIsLoggedDuringBootloop()455 final String[] lines = getDevice().executeShellCommand( in getStagedSession()
270 String sessionId = getDevice().executeShellCommand( in testApexSessionStateUnchangedBeforeReboot()
67 ChreTestUtil.executeShellCommand( in setWifiScanningSettings()78 ChreTestUtil.executeShellCommand(mInstrumentation, "svc wifi " + value); in setWifi()87 String out = ChreTestUtil.executeShellCommand( in isWifiScanningAlwaysEnabled()96 String out = ChreTestUtil.executeShellCommand( in isWifiEnabled()
157 public static String executeShellCommand(Instrumentation instrumentation, String command) { in executeShellCommand() method in ChreTestUtil159 .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()391 getDevice().executeShellCommand("rm -rf /system/apex/" in testDecompressedApexVersionAlwaysHasSameVersionAsCapex()
89 ChreTestUtil.executeShellCommand( in setAirplaneMode()92 ChreTestUtil.executeShellCommand( in setAirplaneMode()138 String out = ChreTestUtil.executeShellCommand( in isAirplaneModeOn()
75 ChreTestUtil.executeShellCommand(mInstrumentation, in setMicrophoneDisableSetting()
436 ChreTestUtil.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in restrictSensors()444 ChreTestUtil.executeShellCommand( in unrestrictSensors()