Home
last modified time | relevance | path

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

12

/cts/hostsidetests/graphics/gpuprofiling/src/android/graphics/gpuprofiling/cts/
DCtsGpuProfilingDataTest.java99 getDevice().executeShellV2Command(mCmd); in run()
109 getDevice().executeShellV2Command("killall " + BIN_NAME); in cleanup()
110 getDevice().executeShellV2Command("am force-stop " + APP); in cleanup()
111 getDevice().executeShellV2Command("settings delete global gpu_debug_layers"); in cleanup()
112 getDevice().executeShellV2Command("settings delete global enable_gpu_debug_layers"); in cleanup()
113 getDevice().executeShellV2Command("settings delete global gpu_debug_app"); in cleanup()
114 getDevice().executeShellV2Command("settings delete global gpu_debug_layer_app"); in cleanup()
123 getDevice().executeShellV2Command("settings put global enable_gpu_debug_layers 1"); in init()
124 getDevice().executeShellV2Command("settings put global gpu_debug_app " + APP); in init()
126 .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.java70 CommandResult out = sDevice.executeShellV2Command("am start-user -w " + userId); in startUserAndWait()
75 CommandResult out = sDevice.executeShellV2Command( in waitForBroadcastIdle()
152 CommandResult commandResult = testDevice.executeShellV2Command(String.format( in isAppCloningBuildingBlockConfigEnabled()
161 return executeShellV2Command("content %s --user %s --uri %s %s", in runContentProviderCommand()
166 CommandResult out = sDevice.executeShellV2Command("cat /proc/mounts"); in usesSdcardFs()
DAppCloningHostTest.java159 assertThat(isSuccessful(executeShellV2Command("pm remove-user %s", sCloneUserId))) in testRemoveClonedProfileMediaProviderCleanup()
325 CommandResult result = executeShellV2Command(command); in getPackageInUser()
332 CommandResult result = executeShellV2Command(command); in uninstallPackage()
DBaseHostTestCase.java50 protected CommandResult executeShellV2Command(String cmd, Object... args) throws Exception { in executeShellV2Command() method in BaseHostTestCase
51 return sDevice.executeShellV2Command(String.format(cmd, args)); in executeShellV2Command()
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
DBaseHostTestCase.java40 protected CommandResult executeShellV2Command(String cmd, Object... args) throws Exception { in executeShellV2Command() method in BaseHostTestCase
41 return getDevice().executeShellV2Command(String.format(cmd, args)); in executeShellV2Command()
102 CommandResult out = device.executeShellV2Command("cat /proc/mounts"); in usesSdcardFs()
/cts/hostsidetests/apex/src/android/apex/cts/
DApexTest.java100 CommandResult result = getDevice().executeShellV2Command( in countFlattenedApexes()
107 CommandResult result = getDevice().executeShellV2Command( in countNonFlattenedApexes()
145 CommandResult result = getDevice().executeShellV2Command( in readMountInfo()
/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()
DBootCountTrackerRule.java83 CommandResult result = getDevice().executeShellV2Command("settings get global boot_count");
DResumeOnRebootHostTest.java584 CommandResult result = getDevice().executeShellV2Command("svc power stayon " + value); in setScreenStayOnValue()
597 getDevice().executeShellV2Command( in normalizeUserStates()
605 getDevice().executeShellV2Command( in normalizeUserStates()
/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/hostsidetests/graphics/gpumetrics/src/com/android/cts/graphics/
DGpuWorkDumpsysTest.java48 CommandResult commandResult = getDevice().executeShellV2Command(command); in assertShellCommand()
81 .executeShellV2Command(String.format("cat %s", GPU_WORK_PERIOD_TRACEPOINT_FORMAT_PATH)); in testOutputFormat()
/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/
DPropertyDeviceInfo.java38 CommandResult commandResult = device.executeShellV2Command("getprop"); in collectDeviceInfo()
DDynamicPartitionsDeviceInfo.java51 CommandResult commandResult = device.executeShellV2Command( in collectDeviceInfo()
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/contacts/
DContactsSharingTest.java112 CommandResult cloneProfileCommandResult = executeShellV2Command( in testTwoContactsProviderProcesses()
118 CommandResult primaryProfileCommandResult = executeShellV2Command( in testTwoContactsProviderProcesses()
/cts/hostsidetests/testharness/src/android/testharness/cts/
DTestHarnessModeDeviceTest.java126 if (getDevice().executeShellV2Command("cmd testharness enable").getExitCode() != 0) { in enableTestHarnessModeAndWait()
/cts/hostsidetests/art/host/src/android/art/cts/host/
DThreadLocalRandomTest.java93 CommandResult result = mDevice.executeShellV2Command( in execute()
/cts/hostsidetests/wifibroadcasts/src/android/wifibroadcasts/cts/
DWifiBroadcastsHostJUnit4Test.java135 pingCommandResult = device.executeShellV2Command("ping -c 4 -W 2 -t 1 8.8.8.8"); in testCleanLogcat()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DDpcCommander.java99 CommandResult result = mDevice.executeShellV2Command(command); in runShellCmd()
/cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
DVmTestPreparer.java103 CommandResult result = device.executeShellV2Command(cmd); in installVmPrereqs()
/cts/hostsidetests/compilation/src/android/compilation/cts/
DUtils.java46 mTestInfo.getDevice().executeShellV2Command(String.join(" ", command)); in assertCommandSucceeds()

12