Home
last modified time | relevance | path

Searched refs:applicationContext (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/
DFactoryImpl.java77 public static Factory register(final Context applicationContext, in register() argument
90 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()
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeFactory.java148 public static FakeFactory register(final Context applicationContext) { in register() argument
149 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() argument
154 return registerWithFakeContext(applicationContext, null); in registerWithoutFakeContext()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DResolveCache.java75 final Context applicationContext = context.getApplicationContext(); in getInstance() local
76 sInstance = new ResolveCache(applicationContext); in getInstance()
84 applicationContext.registerReceiver(sInstance.mPackageIntentReceiver, filter); in getInstance()
/packages/apps/Dialer/src/com/android/dialer/
DSpecialCharSequenceMgr.java251 Context applicationContext = context.getApplicationContext(); in handleAdnEntry() local
253 TelecomUtil.getDefaultOutgoingPhoneAccount(applicationContext, in handleAdnEntry()
257 Uri uri = TelecomUtil.getAdnUriForPhoneAccount(applicationContext, null); in handleAdnEntry()
261 applicationContext, handler, sc); in handleAdnEntry()
/packages/services/Car/service/src/com/android/car/cluster/
DInstrumentClusterRendererLoader.java118 private static void assertSignature(Context applicationContext, PackageManager packageManager, in assertSignature() argument
120 String carServicePackage = applicationContext.getPackageName(); in assertSignature()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DBitmapDownloader.java131 final Context applicationContext = context.getApplicationContext(); in BitmapDownloader() local
132 mConfiguration = new Configuration(applicationContext.getResources().getConfiguration()); in BitmapDownloader()
134 applicationContext.registerComponentCallbacks(new ComponentCallbacks2() { in BitmapDownloader()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DContactInfoCache.java120 final Context applicationContext = context.getApplicationContext(); in maybeInsertCnapInformationIntoCache() local
145 mCachedNumberLookupService.addContact(applicationContext, cacheInfo); in maybeInsertCnapInformationIntoCache()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DContactPhotoManager.java439 Context applicationContext = context.getApplicationContext(); in getInstance() local
440 sInstance = createContactPhotoManager(applicationContext); in getInstance()
441 applicationContext.registerComponentCallbacks(sInstance); in getInstance()