Home
last modified time | relevance | path

Searched refs:settingsValue (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/datasources/restricted/
DTosDataSource.kt156 val settingsValue = Settings.Secure.getString( in getTosState() constant
160 return settingsValue == TOS_ACCEPTED in getTosState()
169 val settingsValue = Settings.Secure.getString( in getTosState() constant
173 return settingsValue == TOS_NOT_ACCEPTED in getTosState()
DRestrictedAppsUtils.kt45 val settingsValue = Settings.Secure.getString( in getRestrictedPackages() constant
50 return if (TextUtils.isEmpty(settingsValue)) { in getRestrictedPackages()
55 *settingsValue.split( in getRestrictedPackages()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppLauncherUtils.java503 String settingsValue = Settings.Secure.getString(contentResolverForUser, settingsKey); in getActivitiesFromSystemPreferences() local
504 Set<String> packages = TextUtils.isEmpty(settingsValue) ? new ArraySet<>() in getActivitiesFromSystemPreferences()
505 : new ArraySet<>(Arrays.asList(settingsValue.split( in getActivitiesFromSystemPreferences()
622 String settingsValue = Settings.Secure.getString(contentResolverForUser, in getTosDisabledPackages() local
624 return TextUtils.isEmpty(settingsValue) ? new ArraySet<>() in getTosDisabledPackages()
625 : new ArraySet<>(Arrays.asList(settingsValue.split( in getTosDisabledPackages()
651 String settingsValue = Settings.Secure.getString( in tosAccepted() local
654 return !Objects.equals(settingsValue, TOS_NOT_ACCEPTED); in tosAccepted()
668 String settingsValue = Settings.Secure.getString( in tosStatusUninitialized() local
671 return Objects.equals(settingsValue, TOS_UNINITIALIZED); in tosStatusUninitialized()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DSystemBarUtil.kt48 val settingsValue = Settings.Secure in getTosDisabledPackages() constant
50 return if (TextUtils.isEmpty(settingsValue)) { in getTosDisabledPackages()
53 settingsValue.split(TOS_DISABLED_APPS_SEPARATOR).toSet() in getTosDisabledPackages()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DAnomalyEventWrapper.java263 final Integer settingsValue = in updateSystemSettingsIfAvailable() local
265 if (TextUtils.isEmpty(settingsName) || settingsValue == null) { in updateSystemSettingsIfAvailable()
271 Settings.System.putInt(mContext.getContentResolver(), settingsName, settingsValue); in updateSystemSettingsIfAvailable() local
275 "Update settings name=%s to value=%d", settingsName, settingsValue)); in updateSystemSettingsIfAvailable()
282 settingsName, settingsValue), in updateSystemSettingsIfAvailable()
/packages/apps/Settings/src/com/android/settings/development/graphicsdriver/
DGraphicsDriverAppPreferenceController.java229 final String settingsValue = Settings.Global.getString(contentResolver, name); in getGlobalSettingsString() local
230 if (settingsValue == null) { in getGlobalSettingsString()
234 final Set<String> valueSet = new HashSet<>(Arrays.asList(settingsValue.split(","))); in getGlobalSettingsString()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioSettingsUnitTest.java186 private void setRejectNavigationOnCallSettingsValues(int settingsValue) { in setRejectNavigationOnCallSettingsValues() argument
188 settingsValue); in setRejectNavigationOnCallSettingsValues()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWakeupControllerTest.java183 int settingsValue = enabled ? 1 : 0; in initializeWakeupController() local
185 Settings.Global.WIFI_WAKEUP_ENABLED, 0)).thenReturn(settingsValue); in initializeWakeupController()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java2644 final String settingsValue = mDependencies.getDeviceConfigProperty( in makeCaptivePortalFallbackProbeSpecs() local
2648 final CaptivePortalProbeSpec[] providerValue = TextUtils.isEmpty(settingsValue) in makeCaptivePortalFallbackProbeSpecs()
2650 : parseCaptivePortalProbeSpecs(settingsValue).toArray(emptySpecs); in makeCaptivePortalFallbackProbeSpecs()