Home
last modified time | relevance | path

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

12

/cts/hostsidetests/graphics/gpuprofiling/src/android/graphics/gpuprofiling/cts/
DCtsGpuProfilingDataTest.java101 getDevice().executeShellV2Command(mCmd); in run()
111 getDevice().executeShellV2Command("killall " + BIN_NAME); in cleanup()
112 getDevice().executeShellV2Command("am force-stop " + APP); in cleanup()
113 getDevice().executeShellV2Command("settings delete global gpu_debug_layers"); in cleanup()
114 getDevice().executeShellV2Command("settings delete global enable_gpu_debug_layers"); in cleanup()
115 getDevice().executeShellV2Command("settings delete global gpu_debug_app"); in cleanup()
116 getDevice().executeShellV2Command("settings delete global gpu_debug_layer_app"); in cleanup()
130 getDevice().executeShellV2Command("settings put global enable_gpu_debug_layers 1"); in init()
131 getDevice().executeShellV2Command("settings put global gpu_debug_app " + APP); in init()
133 .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/securitybulletin/src/android/security/cts/
DCVE_2023_35667.java51 uiDevice.executeShellV2Command( in testPocCVE_2023_35667()
57 uiDevice.executeShellV2Command( in testPocCVE_2023_35667()
63 uiDevice.executeShellV2Command( in testPocCVE_2023_35667()
DBug_248251018.java35 .executeShellV2Command("pm list package com.android.emergency") in testEmergencyInfo_cannotInteractAcrossUsers()
40 .executeShellV2Command("dumpsys package com.android.emergency") in testEmergencyInfo_cannotInteractAcrossUsers()
DCVE_2023_21253.java117 return device.executeShellV2Command("pm install " + apkPath); in installAndCheck()
120 device.executeShellV2Command("pm uninstall android.appsecurity.cts.tinyapp"); in installAndCheck()
DCVE_2024_23707.java46 getDevice().executeShellV2Command("input keyevent KEYCODE_HOME"); in testPocCVE_2024_23707()
DCVE_2023_40120.java46 getDevice().executeShellV2Command("input keyevent KEYCODE_HOME"); in testPocCVE_2023_40120()
/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/apex/src/android/apex/cts/
DApexTest.java61 .executeShellV2Command( in countFlattenedApexes()
69 .executeShellV2Command("find " + dir + " -type f -name \"*.apex\" | wc -l"); in countNonFlattenedApexes()
104 getDevice().executeShellV2Command("cat /proc/" + pidExpression + "/mountinfo"); in readMountInfo()
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/
DAppCloningBaseHostTest.java78 CommandResult out = sDevice.executeShellV2Command("am start-user -w " + userId); in startUserAndWait()
83 CommandResult out = sDevice.executeShellV2Command( in waitForBroadcastIdle()
162 CommandResult commandResult = testDevice.executeShellV2Command(String.format( in isAppCloningBuildingBlockConfigEnabled()
171 return executeShellV2Command("content %s --user %s --uri %s %s", in runContentProviderCommand()
176 CommandResult out = sDevice.executeShellV2Command("cat /proc/mounts"); in usesSdcardFs()
DBaseHostTestCase.java54 protected CommandResult executeShellV2Command(String cmd, Object... args) throws Exception { in executeShellV2Command() method in BaseHostTestCase
55 return sDevice.executeShellV2Command(String.format(cmd, args)); in executeShellV2Command()
/cts/hostsidetests/edi/src/android/edi/cts/
DNativeDeviceInfo.java33 CommandResult commandResult = device.executeShellV2Command("grep memory /proc/cgroups"); in collectMemCG()
52 CommandResult commandResult = device.executeShellV2Command( in collectMGLRU()
67 CommandResult commandResult = device.executeShellV2Command("cat /proc/self/maps"); in collectDeviceInfo()
DDynamicPartitionsDeviceInfo.java51 CommandResult commandResult = device.executeShellV2Command( in collectDeviceInfo()
DPropertyDeviceInfo.java38 CommandResult commandResult = device.executeShellV2Command("getprop"); in collectDeviceInfo()
/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()
106 CommandResult out = device.executeShellV2Command("cat /proc/mounts"); in usesSdcardFs()
/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()
DResumeOnRebootHostTest.java581 CommandResult result = getDevice().executeShellV2Command("svc power stayon " + value); in setScreenStayOnValue()
589 CommandResult result = getDevice().executeShellV2Command("cmd battery unplug"); in unplugBattery()
597 CommandResult result = getDevice().executeShellV2Command("cmd battery reset"); in resetBatteryOverride()
610 getDevice().executeShellV2Command( in normalizeUserStates()
618 getDevice().executeShellV2Command( in normalizeUserStates()
DBootCountTrackerRule.java83 CommandResult result = getDevice().executeShellV2Command("settings get global boot_count");
/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/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/appcloning/hostside/src/com/android/cts/appcloning/media/
DAppCloningHostTest.java178 assertThat(isSuccessful(executeShellV2Command("pm remove-user %s", sCloneUserId))) in testRemoveClonedProfileMediaProviderCleanup()
429 CommandResult result = executeShellV2Command("am crash --user %s %s", in testCrashingMediaProviderDoesNotAffectVolumeMounts()
445 CommandResult result = executeShellV2Command(command); in getPackageInUser()
452 CommandResult result = executeShellV2Command(command); in uninstallPackage()
/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()
161 CommandResult output = mDevice.executeShellV2Command(command); in setProfileOwnwer()
/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/sample/src/android/sample/cts/
DSampleHostJUnit4Test.java130 CommandResult result = getDevice().executeShellV2Command(logcatCommand); in executeLogcatCommandWithRetry()

12