Home
last modified time | relevance | path

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

/aosp14/system/core/fastboot/
H A Dvendor_boot_img_utils.cpp197 [[nodiscard]] Result<void> copy_avb_footer(DataUpdater* updater) { in copy_avb_footer() argument
198 if (updater->size() < AVB_FOOTER_SIZE) return {}; in copy_avb_footer()
199 if (auto res = updater->Seek(updater->size() - AVB_FOOTER_SIZE); !res.ok()) return res; in copy_avb_footer()
201 return updater->Copy(AVB_FOOTER_SIZE); in copy_avb_footer()
222 DataUpdater updater(vendor_boot); in replace_default_vendor_ramdisk() local
225 if (auto res = updater.Copy(o); !res.ok()) return res.error(); in replace_default_vendor_ramdisk()
248 if (auto res = updater.Copy(q); !res.ok()) return res.error(); in replace_default_vendor_ramdisk()
274 return updater.Finish(); in replace_default_vendor_ramdisk()
338 DataUpdater updater(vendor_boot); in replace_vendor_ramdisk_fragment() local
341 if (auto res = updater.Copy(o); !res.ok()) return res.error(); in replace_vendor_ramdisk_fragment()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/location/settings/
H A 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()
H A DSettingsStore.java114 public synchronized void update(Function<T, T> updater) {
118 T newSettings = Objects.requireNonNull(updater.apply(oldSettings));
/aosp14/frameworks/base/services/core/java/com/android/server/grammaticalinflection/
H A DGrammaticalInflectionService.java119 final ActivityTaskManagerInternal.PackageConfigurationUpdater updater = in setRequestedApplicationGrammaticalGender() local
126 updater.setGrammaticalGender(GRAMMATICAL_GENDER_NOT_SPECIFIED).commit(); in setRequestedApplicationGrammaticalGender()
138 updater.setGrammaticalGender(gender).commit(); in setRequestedApplicationGrammaticalGender()
/aosp14/system/core/fs_mgr/libsnapshot/
H A Dsnapshot_metadata_updater_test.cpp81 SnapshotMetadataUpdater updater(builder_.get(), target_slot_, manifest_); in UpdateAndExport() local
82 if (!updater.Update()) { in UpdateAndExport()
/aosp14/frameworks/base/services/core/java/com/android/server/locales/
H A DLocaleManagerService.java282 final ActivityTaskManagerInternal.PackageConfigurationUpdater updater = in setApplicationLocalesUnchecked() local
285 boolean isConfigChanged = updater.setLocales(locales).commit(); in setApplicationLocalesUnchecked()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DUiModeManagerService.java900 final ActivityTaskManagerInternal.PackageConfigurationUpdater updater =
902 updater.setNightMode(configNightMode);
903 updater.commit();
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java3390 Consumer<AdditionalDisplayInputProperties> updater) { in updateAdditionalDisplayInputProperties() argument
3398 updater.accept(properties); in updateAdditionalDisplayInputProperties()