Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/migration/
DMigrationActivity.kt56 val sharedPreference = in <lambda>() constant
61 val moduleUpdateSeen = sharedPreference.getBoolean(MODULE_UPDATE_NEEDED_SEEN, false) in <lambda>()
70 val appUpdateSeen = sharedPreference.getBoolean(APP_UPDATE_NEEDED_SEEN, false) in <lambda>()
80 sharedPreference.getBoolean(INTEGRATION_PAUSED_SEEN_KEY, false) in <lambda>()
200 val sharedPreference = in <lambda>() constant
202 val dialogSeen = sharedPreference.getBoolean(WHATS_NEW_DIALOG_SEEN, false) in <lambda>()
214 sharedPreference.edit().apply { in <lambda>()
DMigrationNavigationFragment.kt24 private lateinit var sharedPreference: SharedPreferences in <lambda>() variable in com.android.healthconnect.controller.migration.MigrationNavigationFragment
33 sharedPreference = in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/onboarding/
DOnboardingActivity.kt46 val sharedPreference = in shouldRedirectToOnboardingActivity() constant
48 val previouslyOpened = sharedPreference.getBoolean(ONBOARDING_SHOWN_PREF_KEY, false) in shouldRedirectToOnboardingActivity()
86 val sharedPreference = getSharedPreferences(USER_ACTIVITY_TRACKER, Context.MODE_PRIVATE) in onCreate() constant
99 val editor = sharedPreference.edit() in onCreate()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/
DMainActivityTest.kt248 val sharedPreference = in setModuleUpdateNeededSeen() constant
250 val editor = sharedPreference.edit() in setModuleUpdateNeededSeen()
256 val sharedPreference = in setAppUpgradeNeededSeen() constant
258 val editor = sharedPreference.edit() in setAppUpgradeNeededSeen()
264 val sharedPreference = in setIntegrationPausedSeen() constant
266 val editor = sharedPreference.edit() in setIntegrationPausedSeen()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DNavigationTestUtils.kt8 val sharedPreference = context.getSharedPreferences(USER_ACTIVITY_TRACKER, Context.MODE_PRIVATE) in showOnboarding() constant
9 val editor = sharedPreference.edit() in showOnboarding()
/packages/apps/SampleLocationAttribution/src/com/example/android/locationattribution/
DMainActivity.java152 SharedPreferences sharedPreference = getApplicationContext().getSharedPreferences(
154 SharedPreferences.Editor editor = sharedPreference.edit();
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/
DConnectedAppsFragment.kt295 val sharedPreference = in <lambda>() constant
297 val bannerSeen = sharedPreference.getBoolean(APP_UPDATE_NEEDED_BANNER_SEEN, false) in <lambda>()
466 val sharedPreference = in <lambda>() constant
469 sharedPreference.edit().apply { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/home/
DHomeFragment.kt225 val sharedPreference = in <lambda>() constant
227 val dialogSeen = sharedPreference.getBoolean(MIGRATION_NOT_COMPLETE_DIALOG_SEEN, false) in <lambda>()
237 sharedPreference.edit().apply { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/
DHomeFragmentTest.kt531 val sharedPreference = in <lambda>() constant
533 val editor = sharedPreference.edit() in <lambda>()
578 val sharedPreference = in <lambda>() constant
580 val editor = sharedPreference.edit() in <lambda>()