Home
last modified time | relevance | path

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

12

/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/adbmanager/src/android/adbmanager/cts/
DAdbManagerHostDeviceTest.java38 CommandResult result = getDevice().executeShellV2Command("pm has-feature " + feature); in hasFeature()
52 CommandResult result = getDevice().executeShellV2Command("cmd adb is-wifi-supported"); in test_isadbNetworkSupported()
69 CommandResult result = getDevice().executeShellV2Command("cmd adb is-wifi-qr-supported"); in test_isadbNetworkQrSupported()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DBug_248251018.java35 .executeShellV2Command("pm list package com.android.emergency") in testEmergencyInfo_cannotInteractAcrossUsers()
40 .executeShellV2Command("dumpsys package com.android.emergency") in testEmergencyInfo_cannotInteractAcrossUsers()
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/
DAppCloningBaseHostTest.java55 CommandResult out = executeShellV2Command("am start-user -w %s", mCloneUserId); in createAndStartCloneUser()
82 return executeShellV2Command("content %s --user %s --uri %s %s", in runContentProviderCommand()
87 CommandResult out = executeShellV2Command("cat /proc/mounts"); in usesSdcardFs()
DBaseHostTestCase.java44 protected CommandResult executeShellV2Command(String cmd, Object... args) throws Exception { in executeShellV2Command() method in BaseHostTestCase
45 return mDevice.executeShellV2Command(String.format(cmd, args)); in executeShellV2Command()
DAppCloningHostTest.java146 assertThat(isSuccessful(executeShellV2Command("pm remove-user %s", mCloneUserId))) in testRemoveClonedProfileMediaProviderCleanup()
/cts/hostsidetests/apex/src/android/apex/cts/
DApexTest.java101 CommandResult result = getDevice().executeShellV2Command( in countFlattenedApexes()
108 CommandResult result = getDevice().executeShellV2Command( in countNonFlattenedApexes()
146 CommandResult result = getDevice().executeShellV2Command( in readMountInfo()
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
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/appsecurity/src/android/appsecurity/cts/
DNormalizeScreenStateRule.java67 CommandResult res = getDevice().executeShellV2Command("settings get secure " + key); in getSecureSetting()
80 CommandResult res = getDevice().executeShellV2Command( in putSecureSetting()
DStorageHostTest.java320 CommandResult out = getDevice().executeShellV2Command("am start-user -w " + sCloneUserId); in createCloneUserAndInstallDeviceTestApk()
/cts/hostsidetests/compilation/src/android/compilation/cts/
DAdbRootDependentCompilationTest.java127 mDevice.executeShellV2Command("rm -rf " + TEMP_DIR); // Make sure we have a clean state. in setUp()
133 mDevice.executeShellV2Command("rm -rf " + TEMP_DIR); in tearDown()
332 mDevice.executeShellV2Command("rm -f " + ProfileLocation.REF.getPath(packageName)); in resetProfileState()
333 mDevice.executeShellV2Command("truncate -s 0 " + ProfileLocation.CUR.getPath(packageName)); in resetProfileState()
402 mDevice.executeShellV2Command("rm " + binaryProfileFileOnDevice); in constructDmFile()
403 mDevice.executeShellV2Command("rm " + dexLocation); in constructDmFile()
427 mDevice.executeShellV2Command("rm " + textProfileFileOnDevice); in writeProfile()
549 CommandResult result = mDevice.executeShellV2Command(String.join(" ", command)); in assertCommandSucceeds()
/cts/hostsidetests/graphics/gpumetrics/src/com/android/cts/graphics/
DGpuWorkDumpsysTest.java47 CommandResult commandResult = getDevice().executeShellV2Command(command); in assertShellCommand()
80 .executeShellV2Command(String.format("cat %s", GPU_WORK_PERIOD_TRACEPOINT_FORMAT_PATH)); in testOutputFormat()
/cts/hostsidetests/car/src/android/car/cts/
DCarTelemetryHostTest.java121 getDevice().executeShellV2Command("cmd car_service telemetry add " + CONFIG_NAME_1, in testSavingResultsAcrossReboot()
123 getDevice().executeShellV2Command("cmd car_service telemetry add " + CONFIG_NAME_2, in testSavingResultsAcrossReboot()
/cts/tests/tests/time/shell_utils/host/android/app/time/cts/shell/host/
DHostShellCommandExecutor.java47 CommandResult result = mDevice.executeShellV2Command( in executeToBytesInternal()
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideMultipleProfileTest.java130 CommandResult output = mDevice.executeShellV2Command(command); in createUser()
159 CommandResult output = mDevice.executeShellV2Command(command); in setProfileOwnwer()
/cts/hostsidetests/edi/src/android/edi/cts/
DDynamicPartitionsDeviceInfo.java51 CommandResult commandResult = device.executeShellV2Command( in collectDeviceInfo()
DPropertyDeviceInfo.java38 CommandResult commandResult = device.executeShellV2Command("getprop"); in collectDeviceInfo()
/cts/hostsidetests/testharness/src/android/testharness/cts/
DTestHarnessModeDeviceTest.java125 if (getDevice().executeShellV2Command("cmd testharness enable").getExitCode() != 0) { in enableTestHarnessModeAndWait()
/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/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
DVmTestPreparer.java103 CommandResult result = device.executeShellV2Command(cmd); in installVmPrereqs()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/perfetto/
DPerfettoTests.java266 CommandResult cr = getDevice().executeShellV2Command(cmd); in runTriggerPerfetto()
281 CommandResult cr = getDevice().executeShellV2Command(cmd); in resetPerfettoGuardrails()
/cts/hostsidetests/os/src/android/os/cts/
DStaticSharedLibsHostTests.java528 getDevice().executeShellV2Command("appops set " in doTestGetSharedLibraries()
861 final CommandResult result = getDevice().executeShellV2Command("pm list libraries"); in checkLibrary()
882 final CommandResult res = getDevice().executeShellV2Command(cmd.toString()); in setGlobalSetting()
/cts/libs/install/src/android/cts/install/lib/host/
DInstallUtilsHost.java79 CommandResult result = getTestInfo().getDevice().executeShellV2Command( in isCheckpointSupported()
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/
DMultiUserTest.java292 final CommandResult result = getDevice().executeShellV2Command( in switchUser()

12