/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | AdoptableHostTest.java | 65 mListVolumesInitialState = getDevice().executeShellCommand("sm list-volumes"); in setUp() 73 getDevice().executeShellCommand("sm set-virtual-disk true"); in setUp() 81 result = getDevice().executeShellCommand("sm list-disks adoptable").trim(); in setUp() 95 getDevice().executeShellCommand("sm set-virtual-disk false"); in tearDown() 103 result = getDevice().executeShellCommand("sm list-disks adoptable").trim(); in tearDown() 116 result = getDevice().executeShellCommand("sm list-volumes"); in tearDown() 145 result = getDevice().executeShellCommand("sm list-volumes"); in waitForVolumeReady() 169 assertEmpty(getDevice().executeShellCommand("sm partition " + diskId + " private")); in testApps() 173 assertSuccess(getDevice().executeShellCommand( in testApps() 181 getDevice().executeShellCommand("sm unmount " + vol.volId); in testApps() [all …]
|
D | AuthBoundKeyTest.java | 59 getDevice().executeShellCommand("cmd lock_settings set-pin 1234"); in useInvalidatedAuthBoundKey() 61 getDevice().executeShellCommand("cmd lock_settings clear --old 1234"); in useInvalidatedAuthBoundKey() 63 getDevice().executeShellCommand("cmd lock_settings set-pin 2345"); in useInvalidatedAuthBoundKey() 64 getDevice().executeShellCommand("input keyevent 26"); // Screen on in useInvalidatedAuthBoundKey() 65 getDevice().executeShellCommand("input keyevent 82"); // Bring up lock screen in useInvalidatedAuthBoundKey() 66 getDevice().executeShellCommand("input text 2345"); // Input password in useInvalidatedAuthBoundKey() 67 getDevice().executeShellCommand("input keyevent 66"); // Submit input in useInvalidatedAuthBoundKey() 70 getDevice().executeShellCommand("cmd lock_settings clear --old 1234"); in useInvalidatedAuthBoundKey() 71 getDevice().executeShellCommand("cmd lock_settings clear --old 2345"); in useInvalidatedAuthBoundKey()
|
D | StorageHostTest.java | 63 getDevice().executeShellCommand("appops set --user " + user + " " + PKG_STATS in setUp() 92 getDevice().executeShellCommand("sync"); in testVerifyAppStats() 167 getDevice().executeShellCommand("settings put global sys_storage_threshold_max_bytes 0"); in testCache() 168 getDevice().executeShellCommand("settings put global sys_storage_cache_max_bytes 0"); in testCache() 169 getDevice().executeShellCommand("svc data disable"); in testCache() 170 getDevice().executeShellCommand("svc wifi disable"); in testCache() 175 getDevice().executeShellCommand("pm trim-caches 4096G"); in testCache() 178 getDevice().executeShellCommand("pm trim-caches 4096G"); in testCache() 182 … getDevice().executeShellCommand("settings delete global sys_storage_threshold_max_bytes"); in testCache() 183 getDevice().executeShellCommand("settings delete global sys_storage_cache_max_bytes"); in testCache() [all …]
|
D | PrivilegedUpdateTests.java | 85 getDevice().executeShellCommand("pm enable " + SHIM_PKG); in setUp() 94 getDevice().executeShellCommand("pm enable " + SHIM_PKG); in tearDown() 133 getDevice().executeShellCommand("pm enable " + SHIM_PKG); in testDisableSystemApp() 135 getDevice().executeShellCommand("pm disable-user " + SHIM_PKG); in testDisableSystemApp() 145 getDevice().executeShellCommand("pm enable " + SHIM_PKG); in testDisableUpdatedSystemApp() 150 getDevice().executeShellCommand("pm disable-user " + SHIM_PKG); in testDisableUpdatedSystemApp() 152 getDevice().executeShellCommand("pm enable " + SHIM_PKG); in testDisableUpdatedSystemApp() 165 getDevice().executeShellCommand("pm enable " + SHIM_PKG); in testUpdatedSystemAppPreservedOnReboot() 170 getDevice().executeShellCommand("pm enable " + SHIM_PKG); in testUpdatedSystemAppPreservedOnReboot()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | AudioManagerHelper.java | 50 device.executeShellCommand(CLEAR_COMMAND); in muteDevice() 54 device.executeShellCommand(START_COMMAND + "android.hdmicec.app.MUTE"); in muteDevice() 62 device.executeShellCommand(CLEAR_COMMAND); in unmuteDevice() 64 device.executeShellCommand(START_COMMAND + "android.hdmicec.app.UNMUTE"); in unmuteDevice() 71 device.executeShellCommand(CLEAR_COMMAND); in isDeviceMuted() 75 device.executeShellCommand(START_COMMAND + "android.hdmicec.app.REPORT_VOLUME"); in isDeviceMuted() 81 device.executeShellCommand(CLEAR_COMMAND); in setDeviceVolume() 83 device.executeShellCommand( in setDeviceVolume() 92 device.executeShellCommand(CLEAR_COMMAND); in getDutAudioVolume() 96 device.executeShellCommand(START_COMMAND + "android.hdmicec.app.REPORT_VOLUME"); in getDutAudioVolume() [all …]
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | BatteryStatsValidationTest.java | 93 getDevice().executeShellCommand("dumpsys batterystats enable pretend-screen-off"); in screenOff() 100 getDevice().executeShellCommand("input keyevent KEYCODE_WAKEUP"); in turnScreenOnForReal() 101 getDevice().executeShellCommand("wm dismiss-keyguard"); in turnScreenOnForReal() 108 getDevice().executeShellCommand("input keyevent KEYCODE_SLEEP"); in turnScreenOffForReal() 112 getDevice().executeShellCommand("dumpsys battery unplug"); in batteryOnScreenOn() 113 getDevice().executeShellCommand("dumpsys battery set status " + BATTERY_STATUS_DISCHARGING); in batteryOnScreenOn() 114 getDevice().executeShellCommand("dumpsys batterystats disable pretend-screen-off"); in batteryOnScreenOn() 118 getDevice().executeShellCommand("dumpsys battery unplug"); in batteryOnScreenOff() 119 getDevice().executeShellCommand("dumpsys battery set status " + BATTERY_STATUS_DISCHARGING); in batteryOnScreenOff() 120 getDevice().executeShellCommand("dumpsys batterystats enable pretend-screen-off"); in batteryOnScreenOff() [all …]
|
/cts/hostsidetests/testharness/src/android/testharness/cts/ |
D | TestHarnessModeDeviceTest.java | 51 getDevice().executeShellCommand("touch /sdcard/test.txt"); in testHarnessModeDeletesFiles() 52 getDevice().executeShellCommand("touch /data/local/tmp/test.txt"); in testHarnessModeDeletesFiles() 75 getDevice().executeShellCommand("settings get global transition_animation_scale"); in testHarnessModeRemovesAndResetsSettings() 77 getDevice().executeShellCommand("settings put global test_harness_test 1234"); in testHarnessModeRemovesAndResetsSettings() 78 getDevice().executeShellCommand("settings put secure test_harness_test 1234"); in testHarnessModeRemovesAndResetsSettings() 79 getDevice().executeShellCommand("settings put system test_harness_test 1234"); in testHarnessModeRemovesAndResetsSettings() 80 getDevice().executeShellCommand("settings put global transition_animation_scale 2.0"); in testHarnessModeRemovesAndResetsSettings() 87 getDevice().executeShellCommand("settings get global test_harness_test").trim()); in testHarnessModeRemovesAndResetsSettings() 91 getDevice().executeShellCommand("settings get secure test_harness_test").trim()); in testHarnessModeRemovesAndResetsSettings() 95 getDevice().executeShellCommand("settings get system test_harness_test").trim()); in testHarnessModeRemovesAndResetsSettings() [all …]
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/ |
D | HdmiCecTvPowerToggleTest.java | 68 String val = device.executeShellCommand("settings get global " + in setPowerControlMode() 70 device.executeShellCommand("settings put global " in setPowerControlMode() 86 device.executeShellCommand("cmd hdmi_control cec_setting set hdmi_cec_enabled 0"); in cectTvPowerToggleTest_awake_noActiveSource_tvOn() 87 device.executeShellCommand("cmd hdmi_control cec_setting set hdmi_cec_enabled 1"); in cectTvPowerToggleTest_awake_noActiveSource_tvOn() 96 device.executeShellCommand("input keyevent KEYCODE_TV_POWER"); in cectTvPowerToggleTest_awake_noActiveSource_tvOn() 102 String wakeState = device.executeShellCommand("dumpsys power | grep mWakefulness="); in cectTvPowerToggleTest_awake_noActiveSource_tvOn() 120 device.executeShellCommand("cmd hdmi_control cec_setting set hdmi_cec_enabled 0"); in cectTvPowerToggleTest_awake_activeSource_tvOn() 121 device.executeShellCommand("cmd hdmi_control cec_setting set hdmi_cec_enabled 1"); in cectTvPowerToggleTest_awake_activeSource_tvOn() 126 device.executeShellCommand("input keyevent KEYCODE_HOME"); in cectTvPowerToggleTest_awake_activeSource_tvOn() 129 device.executeShellCommand("input keyevent KEYCODE_TV_POWER"); in cectTvPowerToggleTest_awake_activeSource_tvOn() [all …]
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | PowerManagerTests.java | 72 mDevice.executeShellCommand("input keyevent 26; input keyevent 82"); in testCachedProcessReleasesWakeLock() 76 String processes = mDevice.executeShellCommand(CHECK_CACHED_CMD); in testCachedProcessReleasesWakeLock() 79 String wakelocks = mDevice.executeShellCommand(GET_WAKE_LOCKS_CMD); in testCachedProcessReleasesWakeLock() 86 mDevice.executeShellCommand("am make-uid-idle " + PACKAGE_NAME); in testCachedProcessReleasesWakeLock() 88 wakelocks = mDevice.executeShellCommand(GET_WAKE_LOCKS_CMD); in testCachedProcessReleasesWakeLock() 98 mDevice.executeShellCommand(String.format(startAppTemplate, packageName)); in makeCachedProcess() 100 mDevice.executeShellCommand(String.format(viewUriTemplate, "mailto:")); in makeCachedProcess() 101 mDevice.executeShellCommand(String.format(viewUriTemplate, "tel:")); in makeCachedProcess()
|
D | InattentiveSleepTests.java | 83 mDevice.executeShellCommand(CMD_GET_STAY_ON).trim()); in setUp() 84 mDevice.executeShellCommand(CMD_DISABLE_STAY_ON); in setUp() 90 mDevice.executeShellCommand( in tearDown() 92 mDevice.executeShellCommand(CMD_DELETE_TIMEOUT_SETTING); in tearDown() 97 mDevice.executeShellCommand(CMD_KEYEVENT_HOME); in wakeUpToHome() 101 mDevice.executeShellCommand(CMD_KEYEVENT_WAKEUP); in wakeUp() 106 mDevice.executeShellCommand(String.format(CMD_START_APP_TEMPLATE, PACKAGE_NAME)); in startKeepScreenOnActivity() 110 mDevice.executeShellCommand(String.format(CMD_SET_TIMEOUT_TEMPLATE, timeoutMs)); in setInattentiveSleepTimeout() 116 mDevice.executeShellCommand(CMD_ENABLE_STAY_ON); in testInattentiveSleep_noWarningIfStayOnIsEnabled() 136 mDevice.executeShellCommand(CMD_KEYEVENT_DPAD_CENTER); in testInattentiveSleep_keypressDismissesWarning()
|
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
D | ScopedStorageCoreHostTest.java | 58 executeShellCommand("mkdir /sdcard/Android/data/com.android.shell -m 2770"); in setup() 59 executeShellCommand("mkdir /sdcard/Android/data/com.android.shell/files -m 2770"); in setup() 70 executeShellCommand("rm -r /sdcard/Android/data/com.android.shell"); in tearDown() 118 executeShellCommand("pm grant --user %d android.scopedstorage.cts %s", in grantPermissions() 126 executeShellCommand("pm revoke --user %d android.scopedstorage.cts %s", in revokePermissions() 133 executeShellCommand("cmd appops set --uid android.scopedstorage.cts %s allow", op); in allowAppOps() 139 executeShellCommand("cmd appops set --uid android.scopedstorage.cts %s deny", op); in denyAppOps()
|
/cts/hostsidetests/wifibroadcasts/src/android/wifibroadcasts/cts/ |
D | WifiBroadcastsHostJUnit4Test.java | 113 device.executeShellCommand(CLEAR_COMMAND); in testCleanLogcat() 115 device.executeShellCommand("svc data disable; svc wifi disable"); in testCleanLogcat() 119 device.executeShellCommand("input keyevent KEYCODE_WAKEUP"); in testCleanLogcat() 121 device.executeShellCommand(START_COMMAND); in testCleanLogcat() 123 device.executeShellCommand("svc wifi enable; sleep 1"); in testCleanLogcat() 131 device.executeShellCommand("svc wifi disable; sleep 1; svc wifi enable; sleep 3"); in testCleanLogcat() 145 device.executeShellCommand("svc wifi disable"); in testCleanLogcat() 166 device.executeShellCommand("svc wifi enable; sleep 1"); in testCleanLogcat()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/ |
D | HdmiCecPowerStatusTest.java | 71 device.executeShellCommand("input keyevent KEYCODE_SLEEP"); in cect_hf4_6_20_broadcastsWhenTurningOn() 75 device.executeShellCommand("input keyevent KEYCODE_WAKEUP"); in cect_hf4_6_20_broadcastsWhenTurningOn() 103 device.executeShellCommand("input keyevent KEYCODE_WAKEUP"); in cect_hf4_6_21_broadcastsWhenGoingToStandby() 107 device.executeShellCommand("input keyevent KEYCODE_SLEEP"); in cect_hf4_6_21_broadcastsWhenGoingToStandby() 134 device.executeShellCommand("input keyevent KEYCODE_WAKEUP"); in cect_PowerStatusWhenOn() 157 device.executeShellCommand("input keyevent KEYCODE_SLEEP"); in cect_PowerStatusWhenOff() 175 device.executeShellCommand("input keyevent KEYCODE_WAKEUP"); in cect_PowerStatusWhenOff() 198 device.executeShellCommand("input keyevent KEYCODE_SLEEP"); in cect_hf4_6_8_userControlPressed_powerOn() 200 String wakeStateBefore = device.executeShellCommand( in cect_hf4_6_8_userControlPressed_powerOn() 207 String wakeStateAfter = device.executeShellCommand( in cect_hf4_6_8_userControlPressed_powerOn() [all …]
|
D | HdmiCecSystemStandbyTest.java | 68 getDevice().executeShellCommand("input keyevent KEYCODE_WAKEUP"); in resetDutState() 114 device.executeShellCommand("input keyevent KEYCODE_SLEEP"); in cect_11_2_3_4_NoBroadcastStandby() 136 String val = device.executeShellCommand("settings get global " + in setHdmiControlDeviceAutoOff() 139 device.executeShellCommand("settings put global " in setHdmiControlDeviceAutoOff() 141 device.executeShellCommand("settings get global " + HDMI_CONTROL_DEVICE_AUTO_OFF); in setHdmiControlDeviceAutoOff() 148 String wakeState = device.executeShellCommand("dumpsys power | grep mWakefulness="); in checkDeviceAsleepAfterStandbySent() 150 device.executeShellCommand("input keyevent KEYCODE_WAKEUP"); in checkDeviceAsleepAfterStandbySent()
|
/cts/tests/tests/provider/preconditions/src/android/provider/cts/preconditions/ |
D | ExternalStoragePreparer.java | 38 device.executeShellCommand("sm set-virtual-disk false"); in setUp() 39 device.executeShellCommand("sm set-virtual-disk true"); in setUp() 43 device.executeShellCommand("sm partition " + diskId + " public"); in setUp() 51 device.executeShellCommand("sm set-virtual-disk false"); in tearDown() 56 String disks = device.executeShellCommand("sm list-disks"); in getVirtualDisk() 62 disks = device.executeShellCommand("sm list-disks"); in getVirtualDisk()
|
/cts/hostsidetests/calllog/src/android/provider/cts/contacts/hostside/ |
D | ShadowCallLogTest.java | 67 String fbeMode = getDevice().executeShellCommand("sm get-fbe-mode").trim(); in testDirectBootCallLog() 89 final String res = getDevice().executeShellCommand("sm set-emulate-fbe true"); in testDirectBootCallLog() 114 getDevice().executeShellCommand("sm set-emulate-fbe false"); in testDirectBootCallLog() 128 device.executeShellCommand("settings put global require_password_to_decrypt 0"); in setupDevicePassword() 129 device.executeShellCommand("locksettings set-disabled false"); in setupDevicePassword() 130 device.executeShellCommand("locksettings set-pin 12345"); in setupDevicePassword() 136 device.executeShellCommand("locksettings clear --old 12345"); in removeDevicePassword() 137 device.executeShellCommand("locksettings set-disabled true"); in removeDevicePassword() 138 device.executeShellCommand("settings delete global require_password_to_decrypt"); in removeDevicePassword() 159 device.getIDevice().executeShellCommand("getprop sys.boot_completed", receiver); in isBootCompleted()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/ |
D | DeviceUtils.java | 155 device.executeShellCommand(cmd); in allowBackgroundServices() 188 device.executeShellCommand(cmd, receiver); in getShellCommandOutput() 203 uidString = device.executeShellCommand("id -u"); in getHostUid() 229 String uidLine = device.executeShellCommand("cmd package list packages -U --user " in getAppUid() 246 final String features = device.executeShellCommand("pm list features"); in hasFeature() 308 device.executeShellCommand(cmd); in withActivity() 311 device.executeShellCommand("am force-stop " + pkgName); in withActivity() 317 device.executeShellCommand("cmd battery set status " + state); in setChargingState() 328 device.executeShellCommand("cmd battery unplug"); in unplugDevice() 332 device.executeShellCommand("cmd battery set ac 1"); in plugInAc() [all …]
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/ |
D | HdmiCecTvStandbyTest.java | 67 device.executeShellCommand("input keyevent KEYCODE_SLEEP"); in cect_11_1_3_1_BroadcastStandby() 69 String wakeState = device.executeShellCommand("dumpsys power | grep mWakefulness="); in cect_11_1_3_1_BroadcastStandby() 74 device.executeShellCommand("input keyevent KEYCODE_WAKEUP"); in cect_11_1_3_1_BroadcastStandby() 82 device.executeShellCommand("settings get global " + HDMI_CONTROL_DEVICE_AUTO_OFF) in setHdmiControlDeviceAutoOff() 85 device.executeShellCommand( in setHdmiControlDeviceAutoOff() 87 device.executeShellCommand("settings get global " + HDMI_CONTROL_DEVICE_AUTO_OFF); in setHdmiControlDeviceAutoOff()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | SecondaryLockscreenTest.java | 73 mUiDevice.executeShellCommand("settings put global device_policy_constants " in setUp() 75 mUiDevice.executeShellCommand("locksettings set-disabled false"); in setUp() 76 mUiDevice.executeShellCommand("locksettings set-pin 1234"); in setUp() 90 mUiDevice.executeShellCommand("settings delete global device_policy_constants"); in tearDown() 91 mUiDevice.executeShellCommand("locksettings clear --old 1234"); in tearDown() 92 mUiDevice.executeShellCommand("locksettings set-disabled true"); in tearDown() 149 mUiDevice.executeShellCommand("input keyevent KEYCODE_SLEEP"); in enterKeyguardPin() 150 mUiDevice.executeShellCommand("input keyevent KEYCODE_WAKEUP"); in enterKeyguardPin() 155 mUiDevice.executeShellCommand("wm dismiss-keyguard"); in enterKeyguardPin() 159 mUiDevice.executeShellCommand("input text 1234"); in enterKeyguardPin() [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/ |
D | DeviceAtomTestCase.java | 170 String uidLine = getDevice().executeShellCommand("cmd package list packages -U --user " in getUid() 208 getDevice().executeShellCommand(String.format( in allowBackgroundServices() 218 getDevice().executeShellCommand(String.format( in executeBackgroundService() 260 getDevice().executeShellCommand( in withActivity() 263 getDevice().executeShellCommand( in withActivity() 268 getDevice().executeShellCommand( in withActivity() 275 getDevice().executeShellCommand("dumpsys batterystats --reset"); in resetBatteryStats() 279 getDevice().executeShellCommand("dumpsys procstats --clear"); in clearProcStats() 283 getDevice().executeShellCommand("dumpsys procstats --start-testing"); in startProcStatsTesting() 287 getDevice().executeShellCommand("dumpsys procstats --stop-testing"); in stopProcStatsTesting() [all …]
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | CredentialSession.java | 26 Utils.executeShellCommand(SET_PASSWORD); in setCredential() 30 Utils.executeShellCommand(VERIFY_CREDENTIAL); in verifyCredential() 35 Utils.executeShellCommand(CLEAR_PASSWORD); in close()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 219 mPackageVerifier = getDevice().executeShellCommand( in setUp() 221 getDevice().executeShellCommand("settings put global verifier_verify_adb_installs 0"); in setUp() 254 getDevice().executeShellCommand(" mkdir " + TEST_UPDATE_LOCATION); in setUp() 265 executeShellCommand("input keyevent KEYCODE_HOME"); in setUp() 289 while (!predicate.test(getDevice().executeShellCommand(command))) { in waitForOutput() 300 getDevice().executeShellCommand("settings put global verifier_verify_adb_installs " in tearDown() 310 getDevice().executeShellCommand(" rm -r " + TEST_UPDATE_LOCATION); in tearDown() 352 String installResult = getDevice().executeShellCommand( in installAppIncremental() 381 executeShellCommand("am force-stop --user " + userId + " " + packageName); in forceStopPackageForUser() 384 protected String executeShellCommand(String commandTemplate, Object...args) throws Exception { in executeShellCommand() method in BaseDevicePolicyTest [all …]
|
/cts/hostsidetests/usage/src/android/app/usage/cts/ |
D | AppIdleHostTest.java | 63 … String result = mDevice.executeShellCommand(String.format("am get-inactive %s", appPackage)); in isAppIdle() 73 mDevice.executeShellCommand( in startAndStopTestApp() 81 mDevice.executeShellCommand( in startAndStopTestApp() 95 mDevice.executeShellCommand( in setAppStandbyBucket() 100 final String result = mDevice.executeShellCommand( in isAppStandbyEnabled() 106 String bucketString = mDevice.executeShellCommand( in getAppStandbyBucket() 132 mDevice.executeShellCommand(command); in testSetAppStandbyBuckets()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | BaseBackupHostSideTest.java | 68 protected InputStream executeShellCommand(String command) throws IOException { 75 protected InputStream executeShellCommand(String command) throws IOException { 113 getDevice().executeShellCommand(String.format( in startActivityInPackageAndWait() 126 getDevice().executeShellCommand( in clearBackupDataInLocalTransport() 134 getDevice().executeShellCommand(String.format("pm clear %s", packageName)); in clearPackageData() 138 String output = getDevice().executeShellCommand("bmgr list transports"); in getCurrentTransport() 149 getDevice().executeShellCommand("settings put secure backup_local_transport_parameters " in setLocalTransportParameters() 154 return getDevice().executeShellCommand( in getLocalTransportParameters() 169 String result = device.executeShellCommand(command); in executeDeviceShellCommand()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyUtils.java | 61 executeShellCommand(instr, COMMAND_ADD_TEST_EMERGENCY_NUMBER + testNumber); in addTestEmergencyNumber() 66 executeShellCommand(instr, COMMAND_REMOVE_TEST_EMERGENCY_NUMBER + testNumber); in removeTestEmergencyNumber() 70 executeShellCommand(instr, COMMAND_END_BLOCK_SUPPRESSION); in endBlockSuppression() 74 executeShellCommand(instr, COMMAND_FLUSH_TELEPHONY_METRICS); in flushTelephonyMetrics() 79 executeShellCommand(instr, COMMAND_AM_COMPAT + "enable --no-kill " + commandName + " " in enableCompatCommand() 85 executeShellCommand(instr, COMMAND_AM_COMPAT + "disable --no-kill " + commandName + " " in disableCompatCommand() 91 executeShellCommand(instr, COMMAND_AM_COMPAT + "reset --no-kill " + commandName + " " in resetCompatCommand() 134 public static String executeShellCommand(Instrumentation instrumentation, in executeShellCommand() method in TelephonyUtils 137 instrumentation.getUiAutomation().executeShellCommand(command); in executeShellCommand()
|