/packages/apps/DeskClock/src/com/android/deskclock/ |
D | DeskClockApplication.java | 37 final Context applicationContext = getApplicationContext(); in onCreate() local 38 final SharedPreferences prefs = getDefaultSharedPreferences(applicationContext); in onCreate() 40 DataModel.getDataModel().init(applicationContext, prefs); in onCreate() 41 UiDataModel.getUiDataModel().init(applicationContext, prefs); in onCreate() 42 Controller.getController().setContext(applicationContext); in onCreate() 43 Controller.getController().addEventTracker(new LogEventTracker(applicationContext)); in onCreate()
|
/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/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | NetworkRequestDialogFragmentTest.java | 149 Context applicationContext = spy(RuntimeEnvironment.application.getApplicationContext()); in onResume_shouldRegisterCallback() local 150 when(mContext.getApplicationContext()).thenReturn(applicationContext); in onResume_shouldRegisterCallback() 152 when(applicationContext.getSystemService(Context.WIFI_SERVICE)).thenReturn(wifiManager); in onResume_shouldRegisterCallback() 162 Context applicationContext = spy(RuntimeEnvironment.application.getApplicationContext()); in onPause_shouldUnRegisterCallback() local 163 when(mContext.getApplicationContext()).thenReturn(applicationContext); in onPause_shouldUnRegisterCallback() 165 when(applicationContext.getSystemService(Context.WIFI_SERVICE)).thenReturn(wifiManager); in onPause_shouldUnRegisterCallback() 213 Context applicationContext = spy(RuntimeEnvironment.application.getApplicationContext()); in onMatch_shouldUpdatedList() local 214 when(mContext.getApplicationContext()).thenReturn(applicationContext); in onMatch_shouldUpdatedList() 216 when(applicationContext.getSystemService(Context.WIFI_SERVICE)).thenReturn(wifiManager); in onMatch_shouldUpdatedList()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
D | UiBluetoothMonitor.java | 47 public static UiBluetoothMonitor init(Context applicationContext) { in init() argument 49 sUiBluetoothMonitor = new UiBluetoothMonitor(applicationContext); in init() 61 private UiBluetoothMonitor(Context applicationContext) { in UiBluetoothMonitor() argument 62 mContext = applicationContext; in UiBluetoothMonitor()
|
D | UiCallManager.java | 76 public static UiCallManager init(Context applicationContext) { in init() argument 78 sUiCallManager = new UiCallManager(applicationContext); in init()
|
/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/apps/Messaging/tests/src/com/android/messaging/ |
D | FakeFactory.java | 148 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/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/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/Car/Dialer/src/com/android/car/dialer/notification/ |
D | InCallNotificationController.java | 54 public static void init(Context applicationContext) { in init() argument 56 sInCallNotificationController = new InCallNotificationController(applicationContext); in init()
|
D | MissedCallNotificationController.java | 63 public static void init(Context applicationContext) { in init() argument 66 applicationContext); in init()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkMenuConfig.java | 77 public static StkMenuConfig getInstance(Context applicationContext) { in getInstance() argument 81 sInstance.initialize(applicationContext); in getInstance()
|
/packages/modules/ExtServices/src/android/ext/services/notification/ |
D | NotificationEntry.java | 72 public NotificationEntry(Context applicationContext, IPackageManager packageManager, in NotificationEntry() argument 74 mContext = applicationContext; in NotificationEntry()
|
/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()
|