Home
last modified time | relevance | path

Searched refs:getUriFor (Results 1 – 25 of 136) sorted by relevance

123456

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/assist/
DAssistConfigBasePreferenceControllerTest.java87 Settings.Secure.getUriFor(Settings.Secure.ASSIST_STRUCTURE_ENABLED)); in getSettingUris()
145 Settings.Secure.getUriFor(Settings.Secure.ASSISTANT))).isNotEmpty(); in onStart_registersObserver()
147 Settings.Secure.getUriFor(Settings.Secure.ASSIST_STRUCTURE_ENABLED))).isNotEmpty(); in onStart_registersObserver()
160 Settings.Secure.getUriFor(Settings.Secure.ASSISTANT))).isEmpty(); in onStop_unregistersObserver()
162 Settings.Secure.getUriFor(Settings.Secure.ASSIST_STRUCTURE_ENABLED))).isEmpty(); in onStop_unregistersObserver()
176 Settings.Secure.getUriFor(Settings.Secure.ASSIST_STRUCTURE_ENABLED)), 0); in onChange_changeRegisteredSetting_callsRefreshUi()
178 Settings.Secure.getUriFor(Settings.Secure.ASSIST_STRUCTURE_ENABLED)); in onChange_changeRegisteredSetting_callsRefreshUi()
DDefaultVoiceInputPickerEntryPreferenceControllerTest.java143 Settings.Secure.getUriFor(Settings.Secure.ASSISTANT))).isNotEmpty(); in onStart_registersObserver()
152 Settings.Secure.getUriFor(Settings.Secure.ASSISTANT))).isEmpty(); in onStop_unregistersObserver()
164 Settings.Secure.getUriFor(Settings.Secure.ASSISTANT)), 0); in onChange_changeRegisteredSetting_callsRefreshUi()
166 Settings.Secure.getUriFor(Settings.Secure.ASSISTANT)); in onChange_changeRegisteredSetting_callsRefreshUi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DBrightnessLevelPreferenceControllerTest.java101 System.getUriFor(System.SCREEN_BRIGHTNESS))).isNotEmpty(); in onStart_shouldRegisterObserver()
103 System.getUriFor(System.SCREEN_BRIGHTNESS_FOR_VR))).isNotEmpty(); in onStart_shouldRegisterObserver()
105 System.getUriFor(System.SCREEN_AUTO_BRIGHTNESS_ADJ))).isNotEmpty(); in onStart_shouldRegisterObserver()
119 System.getUriFor(System.SCREEN_BRIGHTNESS))).isEmpty(); in onStop_shouldUnregisterObserver()
121 System.getUriFor(System.SCREEN_BRIGHTNESS_FOR_VR))).isEmpty(); in onStop_shouldUnregisterObserver()
123 System.getUriFor(System.SCREEN_AUTO_BRIGHTNESS_ADJ))).isEmpty(); in onStop_shouldUnregisterObserver()
/packages/apps/Settings/src/com/android/settings/notification/
DSettingPref.java56 mUri = getUriFor(mType, mSetting); in SettingPref()
131 private static Uri getUriFor(int type, String setting) { in getUriFor() method in SettingPref
134 return Global.getUriFor(setting); in getUriFor()
136 return System.getUriFor(setting); in getUriFor()
138 return Secure.getUriFor(setting); in getUriFor()
DAbstractZenModePreferenceController.java125 private final Uri ZEN_MODE_URI = Settings.Global.getUriFor(Settings.Global.ZEN_MODE);
126 private final Uri ZEN_MODE_CONFIG_ETAG_URI = Settings.Global.getUriFor(
128 private final Uri ZEN_MODE_DURATION_URI = Settings.Secure.getUriFor(
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DSettingPref.java56 mUri = getUriFor(mType, mSetting); in SettingPref()
131 private static Uri getUriFor(int type, String setting) { in getUriFor() method in SettingPref
134 return Global.getUriFor(setting); in getUriFor()
136 return System.getUriFor(setting); in getUriFor()
138 return Secure.getUriFor(setting); in getUriFor()
DAbstractZenModePreferenceController.java125 private final Uri ZEN_MODE_URI = Settings.Global.getUriFor(Settings.Global.ZEN_MODE);
126 private final Uri ZEN_MODE_CONFIG_ETAG_URI = Settings.Global.getUriFor(
128 private final Uri ZEN_MODE_DURATION_URI = Settings.Secure.getUriFor(
DZenModePreferenceController.java80 private final Uri ZEN_MODE_URI = Settings.Global.getUriFor(Settings.Global.ZEN_MODE);
81 private final Uri ZEN_MODE_CONFIG_ETAG_URI = Settings.Global.getUriFor(
/packages/apps/Settings/src/com/android/settings/development/autofill/
DAutofillDeveloperSettingsObserver.java41 mResolver.registerContentObserver(Settings.Global.getUriFor( in register()
44 mResolver.registerContentObserver(Settings.Global.getUriFor( in register()
47 mResolver.registerContentObserver(Settings.Global.getUriFor( in register()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/autofill/
DAutofillDeveloperSettingsObserver.java41 mResolver.registerContentObserver(Settings.Global.getUriFor( in register()
44 mResolver.registerContentObserver(Settings.Global.getUriFor( in register()
47 mResolver.registerContentObserver(Settings.Global.getUriFor( in register()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileDataEnabledListenerTest.java55 final Uri uri = Settings.Global.getUriFor(Settings.Global.MOBILE_DATA + SUB_ID_ONE); in onMobileDataEnabledChange_firesCorrectly()
64 final Uri uri = Settings.Global.getUriFor(Settings.Global.MOBILE_DATA + SUB_ID_ONE); in onMobileDataEnabledChange_doesNotFireAfterStop()
74 final Uri uri = Settings.Global.getUriFor(Settings.Global.MOBILE_DATA + SUB_ID_TWO); in onMobileDataEnabledChange_changedToDifferentId_firesCorrectly()
DPrivateDnsPreferenceControllerTest.java181 Settings.Global.getUriFor(PRIVATE_DNS_MODE))).isNotEmpty(); in goThroughLifecycle_shouldRegisterUnregisterSettingsObserver()
183 Settings.Global.getUriFor(PRIVATE_DNS_SPECIFIER))).isNotEmpty(); in goThroughLifecycle_shouldRegisterUnregisterSettingsObserver()
189 Settings.Global.getUriFor(PRIVATE_DNS_MODE))).isEmpty(); in goThroughLifecycle_shouldRegisterUnregisterSettingsObserver()
191 Settings.Global.getUriFor(PRIVATE_DNS_SPECIFIER))).isEmpty(); in goThroughLifecycle_shouldRegisterUnregisterSettingsObserver()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/zenaccess/
DZenAccessSettingObserverMixinTest.java75 mContext.getContentResolver().notifyChange(Settings.Secure.getUriFor( in onStart_lowMemory_shouldNotRegisterListener()
89 mContext.getContentResolver().notifyChange(Settings.Secure.getUriFor( in onStart_highMemory_shouldRegisterListener()
104 mContext.getContentResolver().notifyChange(Settings.Secure.getUriFor( in onStop_shouldUnregisterListener()
/packages/apps/Settings/src/com/android/settings/display/
DDisplayWhiteBalancePreferenceController.java80 Secure.getUriFor(Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED), in onStart()
84 Secure.getUriFor(Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED), in onStart()
88 System.getUriFor(System.DISPLAY_COLOR_MODE), in onStart()
DBrightnessLevelPreferenceController.java64 BRIGHTNESS_URI = System.getUriFor(System.SCREEN_BRIGHTNESS);
65 BRIGHTNESS_FOR_VR_URI = System.getUriFor(System.SCREEN_BRIGHTNESS_FOR_VR);
66 BRIGHTNESS_ADJ_URI = System.getUriFor(System.SCREEN_AUTO_BRIGHTNESS_ADJ);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DBrightnessLevelPreferenceController.java64 BRIGHTNESS_URI = System.getUriFor(System.SCREEN_BRIGHTNESS);
65 BRIGHTNESS_FOR_VR_URI = System.getUriFor(System.SCREEN_BRIGHTNESS_FOR_VR);
66 BRIGHTNESS_ADJ_URI = System.getUriFor(System.SCREEN_AUTO_BRIGHTNESS_ADJ);
/packages/modules/ExtServices/src/android/ext/services/notification/
DAssistantSettings.java44 Settings.Global.getUriFor(Settings.Global.BLOCKING_HELPER_STREAK_LIMIT);
46 Settings.Global.getUriFor(
49 Settings.Secure.getUriFor(Settings.Secure.NOTIFICATION_NEW_INTERRUPTION_MODEL);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DPrivateDnsPreferenceController.java62 Settings.Global.getUriFor(PRIVATE_DNS_MODE),
63 Settings.Global.getUriFor(PRIVATE_DNS_DEFAULT_MODE),
64 Settings.Global.getUriFor(PRIVATE_DNS_SPECIFIER),
/packages/apps/Settings/src/com/android/settings/network/
DPrivateDnsPreferenceController.java62 Settings.Global.getUriFor(PRIVATE_DNS_MODE),
63 Settings.Global.getUriFor(PRIVATE_DNS_DEFAULT_MODE),
64 Settings.Global.getUriFor(PRIVATE_DNS_SPECIFIER),
DMobileDataEnabledListener.java48 uri = Settings.Global.getUriFor(Settings.Global.MOBILE_DATA); in start()
50 uri = Settings.Global.getUriFor(Settings.Global.MOBILE_DATA + mSubId); in start()
DMobileDataContentObserver.java40 Uri uri = Settings.Global.getUriFor(Settings.Global.MOBILE_DATA); in getObservableUri()
43 uri = Settings.Global.getUriFor(Settings.Global.MOBILE_DATA + subId); in getObservableUri()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/
DRoamingPreferenceControllerTest.java96 Settings.Global.getUriFor(Settings.Global.DATA_ROAMING))).isNotEmpty(); in onStart_registerObserver()
105 Settings.Global.getUriFor(Settings.Global.DATA_ROAMING + SUB_ID))).isNotEmpty(); in onStart_registerObserver_additionalSubId()
114 Settings.Global.getUriFor(Settings.Global.DATA_ROAMING))).isEmpty(); in onStop_unregisterObserver()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/
DScreenshotContextPreferenceController.java60 Settings.Secure.getUriFor(Settings.Secure.ASSIST_SCREENSHOT_ENABLED), in getSettingUris()
61 Settings.Secure.getUriFor(Settings.Secure.ASSIST_STRUCTURE_ENABLED)); in getSettingUris()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/zenaccess/
DZenAccessSettingObserverMixin.java60 Settings.Secure.getUriFor( in onStart()
65 Settings.Secure.getUriFor(Settings.Secure.ENABLED_NOTIFICATION_LISTENERS), in onStart()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/zenaccess/
DZenAccessSettingObserverMixin.java60 Settings.Secure.getUriFor( in onStart()
65 Settings.Secure.getUriFor(Settings.Secure.ENABLED_NOTIFICATION_LISTENERS), in onStart()

123456