Home | History | Annotate | Download | only in messaging

Lines Matching refs:Factory

80             // Only create the factory if not running tests
100 // Called by the "real" factory from FactoryImpl.register() (i.e. not run in tests)
101 public void initializeSync(final Factory factory) {
103 final Context context = factory.getApplicationContext();
104 final BugleGservices bugleGservices = factory.getBugleGservices();
105 final BuglePrefs buglePrefs = factory.getApplicationPrefs();
106 final DataModel dataModel = factory.getDataModel();
108 factory.getCarrierConfigValuesLoader();
165 public void initializeAsync(final Factory factory) {
168 maybeHandleSharedPrefsUpgrade(factory);
180 Factory.get().reclaimMemory();
229 private void maybeHandleSharedPrefsUpgrade(final Factory factory) {
230 final int existingVersion = factory.getApplicationPrefs().getInt(
239 factory.getApplicationPrefs().onUpgrade(existingVersion, targetVersion);
244 factory.getSubscriptionPrefs(subId)
248 factory.getApplicationPrefs().putInt(BuglePrefsKeys.SHARED_PREFERENCES_VERSION,