Searched refs:applicationContext (Results 1 – 5 of 5) sorted by relevance
77 public static Factory register(final Context applicationContext, in register() argument90 factory.mApplicationContext = applicationContext; in register()94 factory.mBugleGservices = new BugleGservicesImpl(applicationContext); in register()95 factory.mBugleApplicationPrefs = new BugleApplicationPrefs(applicationContext); in register()96 factory.mDataModel = new DataModelImpl(applicationContext); in register()97 factory.mBugleWidgetPrefs = new BugleWidgetPrefs(applicationContext); in register()102 factory.mCarrierConfigValuesLoader = new BugleCarrierConfigValuesLoader(applicationContext); in register()
148 public static FakeFactory register(final Context applicationContext) { in register() argument149 final FakeContext context = new FakeContext(applicationContext); in register()150 return registerWithFakeContext(applicationContext, context); in register()153 public static FakeFactory registerWithoutFakeContext(final Context applicationContext) { in registerWithoutFakeContext() argument154 return registerWithFakeContext(applicationContext, null); in registerWithoutFakeContext()
74 final Context applicationContext = context.getApplicationContext(); in getInstance() local75 sInstance = new ResolveCache(applicationContext); in getInstance()83 applicationContext.registerReceiver(sInstance.mPackageIntentReceiver, filter); in getInstance()
109 final Context applicationContext = context.getApplicationContext(); in maybeInsertCnapInformationIntoCache() local134 mCachedNumberLookupService.addContact(applicationContext, cacheInfo); in maybeInsertCnapInformationIntoCache()
437 Context applicationContext = context.getApplicationContext(); in getInstance() local438 sInstance = createContactPhotoManager(applicationContext); in getInstance()439 applicationContext.registerComponentCallbacks(sInstance); in getInstance()