Searched refs:storageContext (Results 1 – 2 of 2) sorted by relevance
50 val storageContext: Context in getDefaultSharedPreferences() constant55 storageContext = context.createDeviceProtectedStorageContext() in getDefaultSharedPreferences()56 if (!storageContext.moveSharedPreferencesFrom(context, name)) { in getDefaultSharedPreferences()60 storageContext = context in getDefaultSharedPreferences()62 return PreferenceManager.getDefaultSharedPreferences(storageContext) in getDefaultSharedPreferences()
131 val storageContext: Context in onCreate() constant136 storageContext = context.createDeviceProtectedStorageContext() in onCreate()137 if (!storageContext.moveDatabaseFrom(context, ClockDatabaseHelper.DATABASE_NAME)) { in onCreate()142 storageContext = context in onCreate()145 mOpenHelper = ClockDatabaseHelper(storageContext) in onCreate()