Home
last modified time | relevance | path

Searched refs:shell (Results 1 – 25 of 68) sorted by relevance

123

/cts/tests/tests/uidmigration/
Dsystem-app-test.sh22 adb shell pm uninstall $PKGNAME >/dev/null 2>&1 || true
23 adb shell pm uninstall-system-updates $PKGNAME >/dev/null 2>&1 || true
24 adb shell stop || true
25 adb shell rm -rf /system/app/InstallTestApp || true
26 adb shell start || true
40 adb shell stop
41 adb shell setprop sys.boot_completed 0
58 adb shell mkdir /system/app/InstallTestApp
63 adb shell start
89 adb shell pm uninstall-system-updates $PKGNAME || true
[all …]
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/
DInputMethodServiceLifecycleTest.java71 shell(ShellCommandUtils.deleteContent(EventTableConstants.CONTENT_URI)); in setUp()
79 shell(ShellCommandUtils.resetImes()); in tearDown()
98 shell(ShellCommandUtils.listPackage(packageName)).contains(packageName), in installPackageSync()
142 shell(ShellCommandUtils.waitForBroadcastBarrier()); in testSwitchToHandwritingIme()
145 shell(ShellCommandUtils.waitForBroadcastBarrier()); in testSwitchToHandwritingIme()
146 shell(ShellCommandUtils.enableIme(Ime1Constants.IME_ID)); in testSwitchToHandwritingIme()
147 shell(ShellCommandUtils.enableIme(Ime2Constants.IME_ID)); in testSwitchToHandwritingIme()
149 shell(ShellCommandUtils.setCurrentImeSync(Ime1Constants.IME_ID)); in testSwitchToHandwritingIme()
179 shell(ShellCommandUtils.waitForBroadcastBarrier()); in testSwitchToNextInput()
180 shell(ShellCommandUtils.enableIme(Ime1Constants.IME_ID)); in testSwitchToNextInput()
[all …]
/cts/apps/CameraITS/tests/
Dits_base_test.py89 tablet_name_unencoded = self.tablet.adb.shell(
123 foldable_state_unencoded = self.dut.adb.shell(
160 self.dut.adb.shell(
168 self.tablet.adb.shell(['input', 'keyevent', 'KEYCODE_POWER'])
170 self.tablet.adb.shell(['input', 'keyevent', 'KEYCODE_WAKEUP'])
173 self.tablet.adb.shell(['wm', 'dismiss-keyguard'])
176 self.tablet.adb.shell(
180 self.tablet.adb.shell(
185 self.tablet.adb.shell('settings put system screen_off_timeout {}'.format(
188 self.tablet.adb.shell('am force-stop com.google.android.apps.docs')
[all …]
/cts/tests/tests/os/src/android/os/cts/
DSystemClockNetworkTimeTest.java19 import static android.app.time.cts.shell.DeviceConfigKeys.NAMESPACE_SYSTEM_TIME;
20 import static android.app.time.cts.shell.DeviceConfigKeys.TimeDetector.KEY_TIME_DETECTOR_LOWER_BOUN…
21 import static android.app.time.cts.shell.DeviceConfigShellHelper.SYNC_DISABLED_MODE_UNTIL_REBOOT;
26 import android.app.time.cts.shell.DeviceConfigShellHelper;
27 import android.app.time.cts.shell.DeviceShellCommandExecutor;
28 import android.app.time.cts.shell.TimeDetectorShellHelper;
29 import android.app.time.cts.shell.TimeDetectorShellHelper.TestUnixEpochTime;
30 import android.app.time.cts.shell.device.InstrumentationShellCommandExecutor;
/cts/hostsidetests/time/host/src/android/time/cts/host/
DLocationTimeZoneManagerHostTest.java20 import static android.app.time.cts.shell.DeviceConfigKeys.LocationTimeZoneManager.KEY_LTZP_EVENT_FI…
21 import static android.app.time.cts.shell.DeviceConfigKeys.NAMESPACE_SYSTEM_TIME;
22 import static android.app.time.cts.shell.DeviceConfigShellHelper.SYNC_DISABLED_MODE_UNTIL_REBOOT;
23 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.DEPENDENCY_STATUS_OK;
24 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.DEPENDENCY_STATUS_TEMPO…
25 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.FAKE_TZPS_APP_APK;
26 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.FAKE_TZPS_APP_PACKAGE;
27 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.OPERATION_STATUS_OK;
28 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.PROVIDER_STATE_CERTAIN;
29 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.PROVIDER_STATE_DISABLED;
[all …]
DLocationTimeZoneManagerStatsTest.java19 import static android.app.time.cts.shell.DeviceConfigKeys.NAMESPACE_SYSTEM_TIME;
20 import static android.app.time.cts.shell.DeviceConfigShellHelper.SYNC_DISABLED_MODE_UNTIL_REBOOT;
21 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.FAKE_TZPS_APP_APK;
22 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.FAKE_TZPS_APP_PACKAGE;
26 import android.app.time.cts.shell.DeviceConfigShellHelper;
27 import android.app.time.cts.shell.DeviceShellCommandExecutor;
28 import android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper;
29 import android.app.time.cts.shell.LocationShellHelper;
30 import android.app.time.cts.shell.LocationTimeZoneManagerShellHelper;
31 import android.app.time.cts.shell.TimeZoneDetectorShellHelper;
[all …]
DTimeZoneDetectorStatsTest.java20 import static android.app.time.cts.shell.DeviceConfigKeys.NAMESPACE_SYSTEM_TIME;
21 import static android.app.time.cts.shell.DeviceConfigShellHelper.SYNC_DISABLED_MODE_UNTIL_REBOOT;
26 import android.app.time.cts.shell.DeviceConfigShellHelper;
27 import android.app.time.cts.shell.DeviceShellCommandExecutor;
28 import android.app.time.cts.shell.LocationShellHelper;
29 import android.app.time.cts.shell.TimeZoneDetectorShellHelper;
30 import android.app.time.cts.shell.host.HostShellCommandExecutor;
/cts/hostsidetests/time/device/fake_tzps_app/src/com/android/time/cts/fake_tzps_app/tzps/
DFakeTimeZoneProviderService.java18 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.PROVIDER_STATE_CERTAIN;
19 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.PROVIDER_STATE_DISABLED;
20 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.PROVIDER_STATE_INITIALI…
21 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.PROVIDER_STATE_PERM_FAI…
23 import android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper;
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DInputMethodServiceDeviceTest.java118 pollingCheck(() -> helper.shell(ShellCommandUtils.getCurrentIme()) in testSwitchToNextInputMethod()
121 helper.shell(ShellCommandUtils.broadcastIntent( in testSwitchToNextInputMethod()
124 pollingCheck(() -> !helper.shell(ShellCommandUtils.getCurrentIme()) in testSwitchToNextInputMethod()
140 final String initialIme = helper.shell(ShellCommandUtils.getCurrentIme()); in switchToPreviousInputMethod()
141 helper.shell(ShellCommandUtils.setCurrentImeSync(Ime2Constants.IME_ID)); in switchToPreviousInputMethod()
146 helper.shell(ShellCommandUtils.broadcastIntent( in switchToPreviousInputMethod()
149 pollingCheck(() -> helper.shell(ShellCommandUtils.getCurrentIme()) in switchToPreviousInputMethod()
191 helper.shell(ShellCommandUtils.broadcastIntent( in testSwitchToHandwritingInputMethod()
196 pollingCheck(() -> helper.shell(ShellCommandUtils.getCurrentIme()) in testSwitchToHandwritingInputMethod()
253 helper.shell(ShellCommandUtils.uninstallPackage(Ime1Constants.PACKAGE)); in testInputUnbindsOnImeStopped()
[all …]
/cts/tests/tests/time/src/android/app/time/cts/
DNetworkTimeUpdateServiceSntpTest.java19 import static android.app.time.cts.shell.DeviceConfigKeys.NAMESPACE_SYSTEM_TIME;
20 import static android.app.time.cts.shell.DeviceConfigKeys.TimeDetector.KEY_TIME_DETECTOR_LOWER_BOUN…
21 import static android.app.time.cts.shell.DeviceConfigShellHelper.SYNC_DISABLED_MODE_UNTIL_REBOOT;
28 import android.app.time.cts.shell.DeviceConfigShellHelper;
29 import android.app.time.cts.shell.DeviceShellCommandExecutor;
30 import android.app.time.cts.shell.NetworkTimeUpdateServiceShellHelper;
31 import android.app.time.cts.shell.TimeDetectorShellHelper;
32 import android.app.time.cts.shell.TimeDetectorShellHelper.TestNetworkTime;
33 import android.app.time.cts.shell.device.InstrumentationShellCommandExecutor;
/cts/hostsidetests/time/device/fake_tzps_app/src/com/android/time/cts/fake_tzps_app/fixture/
DFakeTimeZoneProviderFixtureProvider.java18 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.DEPENDENCY_STATUS_BLOCK…
19 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.DEPENDENCY_STATUS_BLOCK…
20 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.DEPENDENCY_STATUS_NOT_A…
21 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.DEPENDENCY_STATUS_OK;
22 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.DEPENDENCY_STATUS_TEMPO…
23 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.OPERATION_STATUS_FAILED;
24 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.OPERATION_STATUS_NOT_AP…
25 import static android.app.time.cts.shell.FakeTimeZoneProviderAppShellHelper.OPERATION_STATUS_OK;
/cts/tests/tests/time/shell_utils/
DAndroid.bp21 // A library for interacting with time-related shell "cmd" commands from host
24 name: "host-time-shell-utils",
39 // A library for interacting with time-related shell "cmd" commands from
42 name: "device-time-shell-utils",
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DDeviceUtils.java43 return shell(command);
48 shell("wm dismiss-keyguard"); in unlockScreen()
52 shell("am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS"); in closeSystemDialogs()
60 public static InputStream shell(String command) { in shell() method in DeviceUtils
/cts/tests/tests/companion/multidevice/host/
Dcdm_base_test.py26 device.adb.shell('input keyevent KEYCODE_WAKEUP')
27 device.adb.shell('input keyevent KEYCODE_MENU')
28 device.adb.shell('input keyevent KEYCODE_HOME')
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTestBase.java92 shell("input keyevent KEYCODE_WAKEUP"); in turnScreenOn()
93 shell("wm dismiss-keyguard"); in turnScreenOn()
113 shell("atrace --async_stop"); in setUp()
122 shell("atrace --async_stop"); in tearDown()
190 protected final String shell(String command, String... args) { in shell() method in AtraceHostTestBase
236 shell(withAppTracing ? START_TRACE_CMD : START_TRACE_NO_APP_CMD, categories); in traceSingleTest()
238 String traceOutput = shell("atrace --async_stop", categories); in traceSingleTest()
/cts/tests/tests/time/shell_utils/common/android/app/time/cts/shell/
DLocationShellHelper.java16 package android.app.time.cts.shell;
18 import static android.app.time.cts.shell.DeviceShellCommandExecutor.parseBytesAsBoolean;
DDeviceConfigKeys.java17 package android.app.time.cts.shell;
/cts/tests/tests/time/shell_utils/device/android/app/time/cts/shell/device/
DInstrumentationShellCommandExecutor.java16 package android.app.time.cts.shell.device;
21 import android.app.time.cts.shell.DeviceShellCommandExecutor;
/cts/tests/tests/time/shell_utils/host/android/app/time/cts/shell/host/
DHostShellCommandExecutor.java16 package android.app.time.cts.shell.host;
20 import android.app.time.cts.shell.DeviceShellCommandExecutor;
/cts/apps/CameraITS/utils/
Dlighting_control_utils.py37 output = device.adb.shell('dumpsys display | grep mScreenState=')
40 device.adb.shell(['input', 'keyevent', 'KEYCODE_POWER'])
Dui_interaction_utils.py213 cmd_output = dut.adb.shell(check_path_cmd).decode('utf-8').strip()
221 img_path_on_dut = dut.adb.shell(find_file_path).decode('utf-8').strip()
239 dut.adb.shell(force_stop_cmd)
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DREADME.txt5 $ adb shell am instrument -w -e package android.provider.cts.contacts \
/cts/hostsidetests/hdmicec/
Dcec_adapter.md20 ```shell
26 ```shell
32 ```shell
58 ```shell
72 ```shell
80 ```shell
/cts/tests/backup/src/android/backup/cts/
DAppLocalesBackupTest.java19 import static android.app.time.cts.shell.DeviceConfigKeys.NAMESPACE_SYSTEM_TIME;
20 import static android.app.time.cts.shell.DeviceConfigShellHelper.SYNC_DISABLED_MODE_UNTIL_REBOOT;
29 import android.app.time.cts.shell.DeviceConfigKeys;
30 import android.app.time.cts.shell.DeviceConfigShellHelper;
31 import android.app.time.cts.shell.DeviceShellCommandExecutor;
32 import android.app.time.cts.shell.device.InstrumentationShellCommandExecutor;
/cts/tests/media/
Dcopy_media.sh46 adb $adbOptions shell mkdir -p $tgtDir

123