Home
last modified time | relevance | path

Searched refs:preferenceHelper (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationStateChangeJob.java109 PreferenceHelper preferenceHelper = PreferenceHelper.getInstance(); in executeMigrationCompletionJob() local
111 String currentStateStartTime = preferenceHelper.getPreference(CURRENT_STATE_START_TIME_KEY); in executeMigrationCompletionJob()
115 preferenceHelper.insertOrReplacePreference( in executeMigrationCompletionJob()
165 PreferenceHelper preferenceHelper = PreferenceHelper.getInstance(); in executeMigrationPauseJob() local
166 String currentStateStartTime = preferenceHelper.getPreference(CURRENT_STATE_START_TIME_KEY); in executeMigrationPauseJob()
169 preferenceHelper.insertOrReplacePreference( in executeMigrationPauseJob()
DMigrationStateManager.java283 PreferenceHelper preferenceHelper = PreferenceHelper.getInstance(); in clearCaches() local
285 preferenceHelper.insertOrReplacePreference( in clearCaches()
287 preferenceHelper.removeKey(ALLOWED_STATE_START_TIME_KEY); in clearCaches()
318 PreferenceHelper preferenceHelper = PreferenceHelper.getInstance(); in getMigrationStartsCount() local
322 preferenceHelper.getPreference( in getMigrationStartsCount()
645 PreferenceHelper preferenceHelper = PreferenceHelper.getInstance(); in updateMigrationStartsCount() local
647 Optional.ofNullable(preferenceHelper.getPreference(MIGRATION_STARTS_COUNT_KEY)) in updateMigrationStartsCount()
650 preferenceHelper.insertOrReplacePreference( in updateMigrationStartsCount()
809 PreferenceHelper preferenceHelper = PreferenceHelper.getInstance(); in resetMigrationStateIfNeeded() local
811 if (!Boolean.parseBoolean(preferenceHelper.getPreference(HAVE_RESET_MIGRATION_STATE_KEY)) in resetMigrationStateIfNeeded()
[all …]
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/logging/
DUsageStatsCollector.java96 PreferenceHelper preferenceHelper = PreferenceHelper.getInstance(); in isUserMonthlyActive() local
99 preferenceHelper.getPreference(USER_MOST_RECENT_ACCESS_LOG_TIME); in isUserMonthlyActive()
113 PreferenceHelper preferenceHelper = PreferenceHelper.getInstance(); in upsertLastAccessLogTimeStamp() local
121 preferenceHelper.insertOrReplacePreference( in upsertLastAccessLogTimeStamp()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsRelatedToolsController.java100 final RestrictedPreferenceHelper preferenceHelper = new RestrictedPreferenceHelper( in addAccessibilityInstalledRelatedPreference() local
114 preferenceHelper.createAccessibilityServicePreferenceList(a11yServiceInfoList), in addAccessibilityInstalledRelatedPreference()
115 preferenceHelper.createAccessibilityActivityPreferenceList(a11yShortcutInfoList)) in addAccessibilityInstalledRelatedPreference()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettings.java454 final RestrictedPreferenceHelper preferenceHelper = new RestrictedPreferenceHelper(context); in getInstalledAccessibilityList() local
460 preferenceHelper.createAccessibilityActivityPreferenceList(installedShortcutList); in getInstalledAccessibilityList()
476 preferenceHelper.createAccessibilityServicePreferenceList(installedServiceList); in getInstalledAccessibilityList()