Home
last modified time | relevance | path

Searched refs:executeShellCommand (Results 1 – 9 of 9) sorted by relevance

/system/apex/tests/src/com/android/tests/apex/
DSharedLibsApexTest.java195 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 …]
DApexRollbackTests.java125 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()
DApexdHostTest.java245 String sessionId = getDevice().executeShellCommand( in testApexSessionStateUnchangedBeforeReboot()
/system/chre/java/test/utils/src/com/google/android/utils/chre/
DSettingsUtil.java80 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()
DChreTestUtil.java160 public static String executeShellCommand(Instrumentation instrumentation, String command) { in executeShellCommand() method in ChreTestUtil
162 .executeShellCommand(command); in executeShellCommand()
322 executeShellCommand(InstrumentationRegistry.getInstrumentation(), in restrictSensors()
331 executeShellCommand( in unrestrictSensors()
/system/apex/tests/src/com/android/tests/apex/host/
DApexCompressionTests.java116 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()
DVendorApexTests.java222 getDevice().executeShellCommand("rm -rf " + file); in deleteFiles()
/system/chre/java/test/settings/src/com/google/android/chre/test/setting/
DContextHubMicDisableSettingsTestExecutor.java75 ChreTestUtil.executeShellCommand(mInstrumentation, in setMicrophoneDisableSetting()
/system/gsid/tests/
DDsuGsiToolTest.java62 getDevice().executeShellCommand("gsi_tool wipe"); in tearDown()