Home
last modified time | relevance | path

Searched refs:updater (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SettingsLib/Graph/src/com/android/settingslib/graph/
DPreferenceScreenManager.kt25 fun addPreferenceUpdater(@StringRes key: Int, updater: PreferenceUpdater) = in createPreferenceScreen()
26 addPreferenceUpdater(context.getString(key), updater) in createPreferenceScreen()
31 updater: PreferenceUpdater, in createPreferenceScreen()
33 updaters.put(key, updater)?.let { if (it != updater) throw IllegalArgumentException() } in createPreferenceScreen()
38 fun addPreferenceScreenUpdater(updater: PreferenceScreenUpdater): PreferenceScreenManager { in addPreferenceScreenUpdater()
39 screenUpdaters.add(updater) in addPreferenceScreenUpdater()
53 for ((key, updater) in updaters) { in updatePreferenceScreen() method
54 preferenceScreen.findPreference<Preference>(key)?.let { updater.updatePreference(it) } in updatePreferenceScreen()
56 for (updater in screenUpdaters) { in updatePreferenceScreen() method
57 updater.updatePreferenceScreen(preferenceScreen) in updatePreferenceScreen()
/frameworks/av/media/codec2/sfplugin/tests/
DReflectedParamUpdater_test.cpp147 ReflectedParamUpdater updater; in TEST_F() local
153 updater.addParamDesc(mReflector, mDescriptors); in TEST_F()
156 updater.getParamIndicesFromMessage(msg, &indices); in TEST_F()
174 updater.updateParamsFromMessage(msg, &params); in TEST_F()
181 msg = updater.getParams(params); in TEST_F()
194 ReflectedParamUpdater updater; in TEST_F() local
199 updater.addParamDesc(mReflector, mDescriptors); in TEST_F()
202 updater.getParamIndicesFromMessage(msg, &indices); in TEST_F()
221 updater.updateParamsFromMessage(msg, &params); in TEST_F()
231 updater.updateParamsFromMessage(msg, &params); in TEST_F()
[all …]
/frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/
DSampleRSActivity.java119 TextureViewUpdater updater = new TextureViewUpdater(outAlloc, Sampler.WRAP_LINEAR(mRS)); in onCreate() local
121 displayView.setSurfaceTextureListener(updater); in onCreate()
125 updater = new TextureViewUpdater(outAlloc, Sampler.CLAMP_LINEAR(mRS)); in onCreate()
127 displayView.setSurfaceTextureListener(updater); in onCreate()
131 updater = new TextureViewUpdater(outAlloc, Sampler.WRAP_NEAREST(mRS)); in onCreate()
133 displayView.setSurfaceTextureListener(updater); in onCreate()
137 updater = new TextureViewUpdater(outAlloc, Sampler.CLAMP_NEAREST(mRS)); in onCreate()
139 displayView.setSurfaceTextureListener(updater); in onCreate()
/frameworks/base/services/core/java/com/android/server/location/settings/
DLocationSettings.java107 Function<LocationUserSettings, LocationUserSettings> updater) { in updateUserSettings() argument
108 getUserSettingsStore(userId).update(updater); in updateUserSettings()
185 public void update(Function<LocationUserSettings, LocationUserSettings> updater) { in update() argument
186 super.update(settings -> filterSettings(updater.apply(settings))); in update()
DSettingsStore.java114 public synchronized void update(Function<T, T> updater) {
118 T newSettings = Objects.requireNonNull(updater.apply(oldSettings));
/frameworks/base/services/core/java/com/android/server/grammaticalinflection/
DGrammaticalInflectionService.java239 final ActivityTaskManagerInternal.PackageConfigurationUpdater updater = in setRequestedApplicationGrammaticalGender() local
246 updater.setGrammaticalGender( in setRequestedApplicationGrammaticalGender()
259 updater.setGrammaticalGender(gender).commit(); in setRequestedApplicationGrammaticalGender()
/frameworks/base/services/core/java/com/android/server/locales/
DLocaleManagerService.java282 final ActivityTaskManagerInternal.PackageConfigurationUpdater updater = in setApplicationLocalesUnchecked() local
285 boolean isConfigChanged = updater.setLocales(locales).commit(); in setApplicationLocalesUnchecked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java1521 InternalNotifUpdater updater = mCollection.getInternalNotifUpdater("Test"); in getInternalNotifUpdateRunnable() local
1522 updater.onInternalNotificationUpdate(sbn, "reason"); in getInternalNotifUpdateRunnable()
1530 InternalNotifUpdater updater = mCollection.getInternalNotifUpdater("Test"); in testGetInternalNotifUpdaterPostsToMainHandler() local
1531 updater.onInternalNotificationUpdate(mock(StatusBarNotification.class), "reason"); in testGetInternalNotifUpdaterPostsToMainHandler()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java958 final ActivityTaskManagerInternal.PackageConfigurationUpdater updater = in setApplicationNightMode() local
960 updater.setNightMode(configNightMode); in setApplicationNightMode()
961 updater.commit(); in setApplicationNightMode()
/frameworks/proto_logging/stats/atoms/adservices/
Dadservices_extension_atoms.proto838 * Logs for Ad counter histogram updater per DB insertion
841 // Latency when calling Ad counter histogram updater.
847 // The total number of Ad events in database after Ad counter histogram updater process.
851 // during Ad counter histogram updater process.
855 // during Ad counter histogram updater process.
/frameworks/opt/telephony/proto/src/
Dpersist_atoms.proto259 /* Snapshot of satellite config updater. */
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java3228 Consumer<AdditionalDisplayInputProperties> updater) { in updateAdditionalDisplayInputProperties() argument
3238 updater.accept(properties); in updateAdditionalDisplayInputProperties()