Searched refs:mShellCommandExecutor (Results 1 – 7 of 7) sorted by relevance
72 private final DeviceShellCommandExecutor mShellCommandExecutor; field in TimeZoneDetectorShellHelper75 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()
73 private final DeviceShellCommandExecutor mShellCommandExecutor; field in LocationTimeZoneManagerShellHelper76 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()
45 private final DeviceShellCommandExecutor mShellCommandExecutor; field in LocationShellHelper48 mShellCommandExecutor = Objects.requireNonNull(shellCommandExecutor); in LocationShellHelper()53 return mShellCommandExecutor.executeToBoolean( in isLocationEnabledForCurrentUser()60 mShellCommandExecutor.executeToTrimmedString(SHELL_CMD_PREFIX + cmd); in setLocationEnabledForCurrentUser()
39 private final DeviceShellCommandExecutor mShellCommandExecutor; field in TimeDetectorShellHelper42 mShellCommandExecutor = Objects.requireNonNull(shellCommandExecutor); in TimeDetectorShellHelper()47 return mShellCommandExecutor.executeToBoolean( in isAutoDetectionEnabled()
63 private final DeviceShellCommandExecutor mShellCommandExecutor; field in DeviceConfigShellHelper66 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()
74 private final DeviceShellCommandExecutor mShellCommandExecutor; field in FakeTimeZoneProviderAppShellHelper77 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()
81 private DeviceShellCommandExecutor mShellCommandExecutor; field in AppLocalesBackupTest90 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()