Home
last modified time | relevance | path

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

/system/apex/tests/src/com/android/tests/apex/
DSharedLibsApexTest.java195 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 …]
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.java270 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()
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()
DChreTestUtil.java160 public static String executeShellCommand(Instrumentation instrumentation, String command) { in executeShellCommand() method in ChreTestUtil
162 .executeShellCommand(command); in executeShellCommand()
/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()
370 getDevice().executeShellCommand("rm -rf /system/apex/" in testCapexToApexSwitch()
392 getDevice().executeShellCommand("rm -rf /system/apex/" in testDecompressedApexVersionAlwaysHasSameVersionAsCapex()
DVendorApexTests.java128 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()
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/
DChreCrossValidatorSensor.java511 ChreTestUtil.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in restrictSensors()
519 ChreTestUtil.executeShellCommand( in unrestrictSensors()