/packages/apps/DeskClock/src/com/android/deskclock/ |
D | DeskClockApplication.kt | 35 val applicationContext = applicationContext in onCreate() constant 36 val prefs = getDefaultSharedPreferences(applicationContext) in onCreate() 38 DataModel.dataModel.init(applicationContext, prefs) in onCreate() 39 UiDataModel.uiDataModel.init(applicationContext, prefs) in onCreate() 40 Controller.getController().setContext(applicationContext) in onCreate() 41 Controller.getController().addEventTracker(LogEventTracker(applicationContext)) in onCreate()
|
D | HandleApiCalls.kt | 63 mAppContext = applicationContext in onCreate() 182 private val mContext: Context = mActivity.applicationContext 497 val context = activity.applicationContext in dismissAlarm() 513 val context = activity.applicationContext in dismissAlarmInstance()
|
D | RingtonePreviewKlaxon.kt | 43 sAsyncRingtonePlayer = AsyncRingtonePlayer(context.applicationContext) in getAsyncRingtonePlayer()
|
/packages/apps/Messaging/src/com/android/messaging/ |
D | FactoryImpl.java | 77 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/Dialer/java/com/android/dialer/blocking/ |
D | BlockNumberDialogFragment.java | 219 final Context applicationContext = getContext().getApplicationContext(); in blockNumber() local 241 Logger.get(applicationContext) in blockNumber() 256 if (FilteredNumbersUtil.hasRecentEmergencyCall(applicationContext)) { in blockNumber() 257 FilteredNumbersUtil.maybeNotifyCallBlockingDisabled(applicationContext); in blockNumber() 270 final Context applicationContext = getContext().getApplicationContext(); in unblockNumber() local 292 Logger.get(applicationContext) in unblockNumber()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | PackageBroadcastReceiver.kt | 61 app.applicationContext.registerReceiverForAllUsers(this@PackageBroadcastReceiver, in <lambda>() 80 app.applicationContext.registerReceiverForAllUsers(this@PackageBroadcastReceiver, in <lambda>() 96 app.applicationContext.unregisterReceiver(this@PackageBroadcastReceiver) in <lambda>() 117 app.applicationContext.unregisterReceiver(this@PackageBroadcastReceiver) in <lambda>()
|
D | PermissionListenerMultiplexer.kt | 35 private val pm = app.applicationContext.packageManager in <lambda>()
|
D | PreinstalledUserPackageInfosLiveData.kt | 49 val packageInfos = app.applicationContext.packageManager in <lambda>()
|
D | UserPackageInfosLiveData.kt | 77 val packageInfos = app.applicationContext.packageManager in <lambda>()
|
D | PermGroupLiveData.kt | 47 private val context = app.applicationContext!! in <lambda>()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | FakeFactory.java | 150 public static FakeFactory register(final Context applicationContext) { in register() argument 151 final FakeContext context = new FakeContext(applicationContext); in register() 152 return registerWithFakeContext(applicationContext, context); in register() 155 public static FakeFactory registerWithoutFakeContext(final Context applicationContext) { in registerWithoutFakeContext() argument 156 return registerWithFakeContext(applicationContext, null); in registerWithoutFakeContext()
|
/packages/apps/Dialer/java/com/android/incallui/spam/ |
D | SpamNotificationActivity.java | 362 private Context applicationContext; field in SpamNotificationActivity.FirstTimeSpamCallDialogFragment 379 applicationContext, in onDismiss() 392 applicationContext = context.getApplicationContext(); in onAttach() 410 "spam_notification_title", applicationContext), in onCreateDialog() 411 getFormattedNumber(number, applicationContext))) in onCreateDialog() 435 "spam_notification_was_not_spam_action_text", applicationContext)), in onCreateDialog()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | ResolveCache.java | 75 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/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/sharedlibrarysupport/ |
D | SharedLibraryFactorySingleton.java | 105 Context applicationContext = context.getApplicationContext(); in get() local 106 if (applicationContext instanceof SharedLibraryConfigProvider) { in get() 108 ((SharedLibraryConfigProvider) applicationContext).getSharedLibraryDenyList(); in get()
|
/packages/apps/Dialer/java/com/android/dialer/contactphoto/ |
D | ContactPhotoManager.java | 183 Context applicationContext = context.getApplicationContext(); in getInstance() local 184 instance = createContactPhotoManager(applicationContext); in getInstance() 185 applicationContext.registerComponentCallbacks(instance); in getInstance()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | SpecialCharSequenceMgr.java | 226 Context applicationContext = context.getApplicationContext(); in handleAdnEntry() local 230 applicationContext, PhoneAccount.SCHEME_TEL)); in handleAdnEntry() 233 Uri uri = TelecomUtil.getAdnUriForPhoneAccount(applicationContext, null); in handleAdnEntry() 237 new HandleAdnEntryAccountSelectedCallback(applicationContext, handler, sc); in handleAdnEntry()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkMenuConfig.java | 78 public static StkMenuConfig getInstance(Context applicationContext) { in getInstance() argument 82 sInstance.initialize(applicationContext); in getInstance()
|
/packages/modules/ExtServices/java/src/android/ext/services/notification/ |
D | NotificationEntry.java | 67 public NotificationEntry(Context applicationContext, PackageManager packageManager, in NotificationEntry() argument 69 mContext = applicationContext; in NotificationEntry()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/ |
D | LightPermGroupInfo.kt | 59 return Utils.getGroupInfo(name, app.applicationContext) in toPackageItemInfo()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | AndroidUtils.kt | 40 else -> applicationContext as Application in <lambda>()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerKlaxon.kt | 92 sAsyncRingtonePlayer = AsyncRingtonePlayer(context.applicationContext) in getAsyncRingtonePlayer()
|
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/ |
D | TestNetworkStackService.kt | 53 private fun makeTestContext() = spy(applicationContext).also { in onBind()
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
D | UiDataModel.kt | 67 mContext = context.applicationContext in init()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactPhotoManager.java | 439 Context applicationContext = context.getApplicationContext(); in getInstance() local 440 sInstance = createContactPhotoManager(applicationContext); in getInstance() 441 applicationContext.registerComponentCallbacks(sInstance); in getInstance()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/service/ |
D | RuntimePermissionsUpgradeControllerTest.kt | 74 whenever(application.applicationContext).thenReturn(application) in <lambda>()
|