Home
last modified time | relevance | path

Searched refs:executeShellV2Command (Results 1 – 21 of 21) sorted by relevance

/cts/hostsidetests/graphics/gpuprofiling/src/android/graphics/gpuprofiling/cts/
DCtsGpuProfilingDataTest.java75 getDevice().executeShellV2Command(mCmd); in run()
87 getDevice().executeShellV2Command("killall " + BIN_NAME); in cleanup()
88 getDevice().executeShellV2Command("am force-stop " + APP); in cleanup()
89 getDevice().executeShellV2Command("settings delete global gpu_debug_layers"); in cleanup()
90 getDevice().executeShellV2Command("settings delete global enable_gpu_debug_layers"); in cleanup()
91 getDevice().executeShellV2Command("settings delete global gpu_debug_app"); in cleanup()
92 getDevice().executeShellV2Command("settings delete global gpu_debug_layer_app"); in cleanup()
103 getDevice().executeShellV2Command("settings put global enable_gpu_debug_layers 1"); in init()
104 getDevice().executeShellV2Command("settings put global gpu_debug_app " + APP); in init()
105 … getDevice().executeShellV2Command("settings put global gpu_debug_layer_app " + layerApp); in init()
[all …]
DCtsFrameTracerDataSourceTest.java66 … CommandResult queryResult = getDevice().executeShellV2Command("perfetto --query-raw | base64"); in testFrameTracerProducerAvailable()
/cts/hostsidetests/userspacereboot/src/com/android/cts/userspacereboot/host/
DUserspaceRebootHostTest.java154 CommandResult result = getDevice().executeShellV2Command("sm start-checkpoint 1"); in testUserspaceRebootWithCheckpoint()
170 getDevice().executeShellV2Command("cmd lock_settings set-pin 1543"); in testUserspaceReboot_verifyCeStorageIsUnlocked()
187 getDevice().executeShellV2Command("cmd lock_settings clear --old 1543"); in testUserspaceReboot_verifyCeStorageIsUnlocked()
188 getDevice().executeShellV2Command("reboot"); in testUserspaceReboot_verifyCeStorageIsUnlocked()
201 CommandResult result = getDevice().executeShellV2Command("sm start-checkpoint 1"); in testUserspaceRebootWithCheckpoint_verifyCeStorageIsUnlocked()
206 getDevice().executeShellV2Command("cmd lock_settings set-pin 1543"); in testUserspaceRebootWithCheckpoint_verifyCeStorageIsUnlocked()
221 getDevice().executeShellV2Command("cmd lock_settings clear --old 1543"); in testUserspaceRebootWithCheckpoint_verifyCeStorageIsUnlocked()
222 getDevice().executeShellV2Command("reboot"); in testUserspaceRebootWithCheckpoint_verifyCeStorageIsUnlocked()
236 getDevice().executeShellV2Command("am start -a android.intent.action.MAIN" in prepareForCeTestCases()
299 CommandResult result = getDevice().executeShellV2Command("sm supports-checkpoint"); in isFsCheckpointingSupported()
[all …]
/cts/hostsidetests/adbmanager/src/android/adbmanager/cts/
DAdbManagerHostDeviceTest.java37 CommandResult result = getDevice().executeShellV2Command("pm has-feature " + feature); in hasFeature()
46 CommandResult result = getDevice().executeShellV2Command("cmd adb is-wifi-supported"); in test_isadbWifiSupported()
57 CommandResult result = getDevice().executeShellV2Command("cmd adb is-wifi-qr-supported"); in test_isadbWifiQrSupported()
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
DAppCloningHostTest.java61 CommandResult out = executeShellV2Command("am start-user -w %s", mCloneUserId); in setup()
93 out = executeShellV2Command("touch /sdcard/testFile.txt"); in testCreateCloneUserFile()
128 return executeShellV2Command("content %s --user %s --uri %s %s", in runContentProviderCommand()
DBaseHostTestCase.java36 protected CommandResult executeShellV2Command(String cmd, Object... args) throws Exception { in executeShellV2Command() method in BaseHostTestCase
37 return getDevice().executeShellV2Command(String.format(cmd, args)); in executeShellV2Command()
/cts/hostsidetests/apex/src/android/apex/cts/
DApexTest.java97 CommandResult result = getDevice().executeShellV2Command( in countFlattenedApexes()
104 CommandResult result = getDevice().executeShellV2Command( in countNonFlattenedApexes()
142 CommandResult result = getDevice().executeShellV2Command( in readMountInfo()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DNormalizeScreenStateRule.java65 CommandResult res = getDevice().executeShellV2Command("settings get secure " + key); in getSecureSetting()
78 CommandResult res = getDevice().executeShellV2Command( in putSecureSetting()
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideMultipleProfileTest.java126 CommandResult output = mDevice.executeShellV2Command(command); in createUser()
155 CommandResult output = mDevice.executeShellV2Command(command); in setProfileOwnwer()
/cts/hostsidetests/edi/src/android/edi/cts/
DPropertyDeviceInfo.java38 CommandResult commandResult = device.executeShellV2Command("getprop"); in collectDeviceInfo()
DDynamicPartitionsDeviceInfo.java51 CommandResult commandResult = device.executeShellV2Command( in collectDeviceInfo()
/cts/hostsidetests/wifibroadcasts/src/android/wifibroadcasts/cts/
DWifiBroadcastsHostJUnit4Test.java134 pingCommandResult = device.executeShellV2Command("ping -c 4 -W 2 -t 1 8.8.8.8"); in testCleanLogcat()
/cts/hostsidetests/testharness/src/android/testharness/cts/
DTestHarnessModeDeviceTest.java125 if (getDevice().executeShellV2Command("cmd testharness enable").getExitCode() != 0) { in enableTestHarnessModeAndWait()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/perfetto/
DPerfettoTests.java192 CommandResult cr = getDevice().executeShellV2Command(cmd); in runTriggerPerfetto()
206 CommandResult cr = getDevice().executeShellV2Command(cmd); in resetPerfettoGuardrails()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DEphemeralTest.java153 getDevice().executeShellV2Command("pm remove-user --set-ephemeral-if-in-use " + userId); in executeRemoveUserOrSetEphemeralAdbCommand()
/cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
DVmTestPreparer.java102 CommandResult result = device.executeShellV2Command(cmd); in installVmPrereqs()
/cts/libs/install/src/android/cts/install/lib/host/
DInstallUtilsHost.java71 CommandResult result = mTest.getDevice().executeShellV2Command("sm supports-checkpoint"); in isCheckpointSupported()
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/
DMultiUserTest.java292 final CommandResult result = getDevice().executeShellV2Command( in switchUser()
/cts/hostsidetests/os/src/android/os/cts/
DStaticSharedLibsHostTests.java504 getDevice().executeShellV2Command("appops set " in doTestGetSharedLibraries()
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/
DStagedInstallTest.java840 … return mInstance.getDevice().executeShellV2Command("pm get-stagedsessions").getStdout(); in getStagedSessions()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DAtomTestCase.java225 CommandResult cr = getDevice().executeShellV2Command(cmd); in resetPerfettoGuardrails()