Lines Matching refs:factory
101 public void initializeSync(final Factory factory) { in initializeSync() argument
103 final Context context = factory.getApplicationContext(); in initializeSync()
104 final BugleGservices bugleGservices = factory.getBugleGservices(); in initializeSync()
105 final BuglePrefs buglePrefs = factory.getApplicationPrefs(); in initializeSync()
106 final DataModel dataModel = factory.getDataModel(); in initializeSync()
108 factory.getCarrierConfigValuesLoader(); in initializeSync()
165 public void initializeAsync(final Factory factory) { in initializeAsync() argument
168 maybeHandleSharedPrefsUpgrade(factory); in initializeAsync()
229 private void maybeHandleSharedPrefsUpgrade(final Factory factory) { in maybeHandleSharedPrefsUpgrade() argument
230 final int existingVersion = factory.getApplicationPrefs().getInt( in maybeHandleSharedPrefsUpgrade()
239 factory.getApplicationPrefs().onUpgrade(existingVersion, targetVersion); in maybeHandleSharedPrefsUpgrade()
244 factory.getSubscriptionPrefs(subId) in maybeHandleSharedPrefsUpgrade()
248 factory.getApplicationPrefs().putInt(BuglePrefsKeys.SHARED_PREFERENCES_VERSION, in maybeHandleSharedPrefsUpgrade()