Home
last modified time | relevance | path

Searched refs:mShellCommandExecutor (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/time/shell_utils/common/android/app/time/cts/shell/
DTimeZoneDetectorShellHelper.java72 private final DeviceShellCommandExecutor mShellCommandExecutor; field in TimeZoneDetectorShellHelper
75 mShellCommandExecutor = Objects.requireNonNull(shellCommandExecutor); in TimeZoneDetectorShellHelper()
80 return mShellCommandExecutor.executeToBoolean( in isAutoDetectionEnabled()
87 mShellCommandExecutor.executeToTrimmedString(SHELL_CMD_PREFIX + cmd); in setAutoDetectionEnabled()
92 return mShellCommandExecutor.executeToBoolean( in isGeoDetectionEnabled()
99 mShellCommandExecutor.executeToTrimmedString(SHELL_CMD_PREFIX + cmd); in setGeoDetectionEnabled()
104 return mShellCommandExecutor.executeToBoolean( in isGeoDetectionSupported()
110 return mShellCommandExecutor.executeToBoolean( in isTelephonyDetectionSupported()
DLocationTimeZoneManagerShellHelper.java73 private final DeviceShellCommandExecutor mShellCommandExecutor; field in LocationTimeZoneManagerShellHelper
76 mShellCommandExecutor = Objects.requireNonNull(shellCommandExecutor); in LocationTimeZoneManagerShellHelper()
93 String serviceList = mShellCommandExecutor.executeToString("cmd -l"); in isLocationTimeZoneManagerPresent()
108 mShellCommandExecutor.executeToTrimmedString(SHELL_CMD_PREFIX + SHELL_COMMAND_START); in start()
113 mShellCommandExecutor.executeToTrimmedString(SHELL_CMD_PREFIX + SHELL_COMMAND_STOP); in stop()
119 mShellCommandExecutor.executeToTrimmedString(SHELL_CMD_PREFIX + cmd); in clearRecordedProviderStates()
128 return mShellCommandExecutor.executeToBytes(SHELL_CMD_PREFIX + cmd); in dumpState()
144 mShellCommandExecutor.executeToBytes(SHELL_CMD_PREFIX + cmd); in startWithTestProviders()
DLocationShellHelper.java45 private final DeviceShellCommandExecutor mShellCommandExecutor; field in LocationShellHelper
48 mShellCommandExecutor = Objects.requireNonNull(shellCommandExecutor); in LocationShellHelper()
53 return mShellCommandExecutor.executeToBoolean( in isLocationEnabledForCurrentUser()
60 mShellCommandExecutor.executeToTrimmedString(SHELL_CMD_PREFIX + cmd); in setLocationEnabledForCurrentUser()
DTimeDetectorShellHelper.java39 private final DeviceShellCommandExecutor mShellCommandExecutor; field in TimeDetectorShellHelper
42 mShellCommandExecutor = Objects.requireNonNull(shellCommandExecutor); in TimeDetectorShellHelper()
47 return mShellCommandExecutor.executeToBoolean( in isAutoDetectionEnabled()
DDeviceConfigShellHelper.java63 private final DeviceShellCommandExecutor mShellCommandExecutor; field in DeviceConfigShellHelper
66 mShellCommandExecutor = Objects.requireNonNull(shellCommandExecutor); in DeviceConfigShellHelper()
76 return mShellCommandExecutor.executeToTrimmedString(cmd); in getSyncDisabled()
87 mShellCommandExecutor.executeToTrimmedString(cmd); in setSyncDisabled()
97 String output = mShellCommandExecutor.executeToTrimmedString(cmd); in list()
123 mShellCommandExecutor.executeToTrimmedString(cmd); in put()
129 mShellCommandExecutor.executeToTrimmedString(cmd); in delete()
DFakeTimeZoneProviderAppShellHelper.java74 private final DeviceShellCommandExecutor mShellCommandExecutor; field in FakeTimeZoneProviderAppShellHelper
77 mShellCommandExecutor = Objects.requireNonNull(shellCommandExecutor); in FakeTimeZoneProviderAppShellHelper()
176 mShellCommandExecutor.executeToTrimmedString(SHELL_COMMAND_PREFIX + cmd); in ping()
188 return mShellCommandExecutor.executeToTrimmedString(SHELL_COMMAND_PREFIX + cmd); in executeContentProviderCall()
/cts/tests/backup/src/android/backup/cts/
DAppLocalesBackupTest.java81 private DeviceShellCommandExecutor mShellCommandExecutor; field in AppLocalesBackupTest
90 mShellCommandExecutor = new InstrumentationShellCommandExecutor( in setUp()
93 mOriginalAutoTime = isAutoDetectionEnabled(mShellCommandExecutor); in setUp()
96 assertTrue(setAutoTimeEnabled(/*enabled*/ true, mShellCommandExecutor)); in setUp()
107 setAutoTimeEnabled(/*enabled*/ false, mShellCommandExecutor); in tearDown()
261 mShellCommandExecutor); in testRetentionPeriod_backupPassAfterRetentionPeriod_removesStagedData()
357 mShellCommandExecutor); in testRetentionPeriod_lazyRestoreAfterRetentionPeriod_removesStagedData()