Home
last modified time | relevance | path

Searched refs:SHELL_CMD_PREFIX (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/time/shell_utils/common/android/app/time/cts/shell/
DTimeZoneDetectorShellHelper.java76 private static final String SHELL_CMD_PREFIX = "cmd " + SERVICE_NAME + " "; field in TimeZoneDetectorShellHelper
92 SHELL_CMD_PREFIX + SHELL_COMMAND_IS_AUTO_DETECTION_ENABLED); in isAutoDetectionEnabled()
98 mShellCommandExecutor.executeToTrimmedString(SHELL_CMD_PREFIX + cmd); in setAutoDetectionEnabled()
104 SHELL_CMD_PREFIX + SHELL_COMMAND_IS_GEO_DETECTION_ENABLED); in isGeoDetectionEnabled()
110 mShellCommandExecutor.executeToTrimmedString(SHELL_CMD_PREFIX + cmd); in setGeoDetectionEnabled()
116 SHELL_CMD_PREFIX + SHELL_COMMAND_IS_GEO_DETECTION_SUPPORTED); in isGeoDetectionSupported()
122 SHELL_CMD_PREFIX + SHELL_COMMAND_IS_TELEPHONY_DETECTION_SUPPORTED); in isTelephonyDetectionSupported()
131 mShellCommandExecutor.executeToTrimmedString(SHELL_CMD_PREFIX + cmd); in setTimeZoneState()
DLocationTimeZoneManagerShellHelper.java71 private static final String SHELL_CMD_PREFIX = "cmd " + SERVICE_NAME + " "; field in LocationTimeZoneManagerShellHelper
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()
DNetworkTimeUpdateServiceShellHelper.java36 private static final String SHELL_CMD_PREFIX = "cmd " + SERVICE_NAME + " "; field in NetworkTimeUpdateServiceShellHelper
76 SHELL_CMD_PREFIX + " set_server_config_for_tests --server " + uri in setServerConfigForTests()
83 SHELL_CMD_PREFIX + " reset_server_config_for_tests"); in resetServerConfigForTests()
88 return mShellCommandExecutor.executeToBoolean(SHELL_CMD_PREFIX + " force_refresh"); in forceRefresh()
DLocationShellHelper.java43 private static final String SHELL_CMD_PREFIX = "cmd " + SERVICE_NAME + " "; field in LocationShellHelper
54 SHELL_CMD_PREFIX + SHELL_COMMAND_IS_LOCATION_ENABLED); in isLocationEnabledForCurrentUser()
60 mShellCommandExecutor.executeToTrimmedString(SHELL_CMD_PREFIX + cmd); in setLocationEnabledForCurrentUser()
DTimeDetectorShellHelper.java190 private static final String SHELL_CMD_PREFIX = "cmd " + SERVICE_NAME + " "; field in TimeDetectorShellHelper
207 mShellCommandExecutor.executeToTrimmedString(SHELL_CMD_PREFIX + cmd); in setTimeState()
212 SHELL_CMD_PREFIX + SHELL_COMMAND_GET_NETWORK_TIME); in getNetworkTime()
221 SHELL_CMD_PREFIX + SHELL_COMMAND_CLEAR_NETWORK_TIME); in clearNetworkTime()
230 SHELL_CMD_PREFIX + SHELL_COMMAND_SET_SYSTEM_CLOCK_NETWORK_TIME in setSystemClockNetworkTime()
243 SHELL_CMD_PREFIX + SHELL_COMMAND_CLEAR_SYSTEM_CLOCK_NETWORK_TIME); in clearSystemClockNetworkTime()
DDeviceConfigShellHelper.java60 private static final String SHELL_CMD_PREFIX = "cmd " + SERVICE_NAME + " "; field in DeviceConfigShellHelper
75 String cmd = SHELL_CMD_PREFIX + "get_sync_disabled_for_tests"; in getSyncDisabled()
86 SHELL_CMD_PREFIX + "set_sync_disabled_for_tests %s", syncDisabledMode); in setSyncDisabled()
96 String cmd = String.format(SHELL_CMD_PREFIX + "list %s", namespace); in list()
119 String cmd = String.format(SHELL_CMD_PREFIX + "put %s %s %s", namespace, key, value); in put()
128 String cmd = String.format(SHELL_CMD_PREFIX + "delete %s %s", namespace, key); in delete()