Searched refs:updater (Results 1 – 9 of 9) sorted by relevance
197 [[nodiscard]] Result<void> copy_avb_footer(DataUpdater* updater) { in copy_avb_footer() argument198 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() local225 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() local341 if (auto res = updater.Copy(o); !res.ok()) return res.error(); in replace_vendor_ramdisk_fragment()[all …]
107 Function<LocationUserSettings, LocationUserSettings> updater) { in updateUserSettings() argument108 getUserSettingsStore(userId).update(updater); in updateUserSettings()185 public void update(Function<LocationUserSettings, LocationUserSettings> updater) { in update() argument186 super.update(settings -> filterSettings(updater.apply(settings))); in update()
114 public synchronized void update(Function<T, T> updater) {118 T newSettings = Objects.requireNonNull(updater.apply(oldSettings));
119 final ActivityTaskManagerInternal.PackageConfigurationUpdater updater = in setRequestedApplicationGrammaticalGender() local126 updater.setGrammaticalGender(GRAMMATICAL_GENDER_NOT_SPECIFIED).commit(); in setRequestedApplicationGrammaticalGender()138 updater.setGrammaticalGender(gender).commit(); in setRequestedApplicationGrammaticalGender()
81 SnapshotMetadataUpdater updater(builder_.get(), target_slot_, manifest_); in UpdateAndExport() local82 if (!updater.Update()) { in UpdateAndExport()
282 final ActivityTaskManagerInternal.PackageConfigurationUpdater updater = in setApplicationLocalesUnchecked() local285 boolean isConfigChanged = updater.setLocales(locales).commit(); in setApplicationLocalesUnchecked()
1521 InternalNotifUpdater updater = mCollection.getInternalNotifUpdater("Test"); in getInternalNotifUpdateRunnable() local1522 updater.onInternalNotificationUpdate(sbn, "reason"); in getInternalNotifUpdateRunnable()1530 InternalNotifUpdater updater = mCollection.getInternalNotifUpdater("Test"); in testGetInternalNotifUpdaterPostsToMainHandler() local1531 updater.onInternalNotificationUpdate(mock(StatusBarNotification.class), "reason"); in testGetInternalNotifUpdaterPostsToMainHandler()
900 final ActivityTaskManagerInternal.PackageConfigurationUpdater updater =902 updater.setNightMode(configNightMode);903 updater.commit();
3390 Consumer<AdditionalDisplayInputProperties> updater) { in updateAdditionalDisplayInputProperties() argument3398 updater.accept(properties); in updateAdditionalDisplayInputProperties()