/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | BaseWallpaperInjector.java | 57 mPartnerProvider = new DefaultPartnerProvider(context.getApplicationContext()); in getPartnerProvider() 65 mPrefs = new DefaultWallpaperPreferences(context.getApplicationContext()); in getPreferences() 73 mWallpaperPersister = new DefaultWallpaperPersister(context.getApplicationContext()); in getWallpaperPersister() 81 mWallpaperRefresher = new DefaultWallpaperRefresher(context.getApplicationContext()); in getWallpaperRefresher() 89 mRequester = new WallpaperRequester(context.getApplicationContext()); in getRequester() 106 new DefaultCurrentWallpaperInfoFactory(context.getApplicationContext()); in getCurrentWallpaperFactory() 114 … mNetworkStatusNotifier = new DefaultNetworkStatusNotifier(context.getApplicationContext()); in getNetworkStatusNotifier() 123 context.getApplicationContext()); in getPackageStatusNotifier() 131 mAlarmManagerWrapper = new DefaultAlarmManagerWrapper(context.getApplicationContext()); in getAlarmManagerWrapper() 139 … mExploreIntentChecker = new DefaultExploreIntentChecker(context.getApplicationContext()); in getExploreIntentChecker() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UiUtils.java | 62 getApplicationContext().getResources().getInteger( 66 getApplicationContext().getResources().getInteger( 70 getApplicationContext().getResources().getInteger( 74 getApplicationContext().getResources().getInteger( 88 UiUtils.showToastAtBottom(getApplicationContext().getString(messageId)); in showToastAtBottom() 93 final Toast toast = Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG); in showToastAtBottom() 100 final Toast toast = Toast.makeText(getApplicationContext(), in showToast() 101 getApplicationContext().getString(messageId), Toast.LENGTH_LONG); in showToast() 108 final Toast toast = Toast.makeText(getApplicationContext(), in showToast() 109 getApplicationContext().getResources().getQuantityString(pluralsMessageId, count), in showToast() [all …]
|
D | UriUtil.java | 155 pfd = Factory.get().getApplicationContext() in getContentSize() 196 final Context context = Factory.get().getApplicationContext(); in persistContentToScratchSpace() 209 final Context context = Factory.get().getApplicationContext(); in persistContentToScratchSpace() 247 final Context context = Factory.get().getApplicationContext(); in persistContent() 266 final Context context = Factory.get().getApplicationContext(); in persistContent() 353 final Context context = Factory.get().getApplicationContext(); in getUriContentLength()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestConnectionService.java | 188 LocalBroadcastManager.getInstance(getApplicationContext()).registerReceiver( in TestConnection() 193 LocalBroadcastManager.getInstance(getApplicationContext()).registerReceiver( in TestConnection() 196 LocalBroadcastManager.getInstance(getApplicationContext()).registerReceiver( in TestConnection() 216 mRttChatbot = new RttChatbot(getApplicationContext(), in startOutgoing() 238 mRttChatbot = new RttChatbot(getApplicationContext(), in onAnswer() 296 mRttChatbot = new RttChatbot(getApplicationContext(), rttTextStream); in handleRttUpgradeResponse() 307 mRttChatbot = new RttChatbot(getApplicationContext(), textStream); in onStartRtt() 320 LocalBroadcastManager.getInstance(getApplicationContext()).unregisterReceiver( 322 LocalBroadcastManager.getInstance(getApplicationContext()).unregisterReceiver( 381 Toast.makeText(getApplicationContext(), "Got subject :" + callSubject, [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | BugleActionToasts.java | 76 if (AccessibilityUtil.isTouchExplorationEnabled(Factory.get().getApplicationContext())) { in onSendMessageOrManualDownloadActionCompleted() 100 final Context context = Factory.get().getApplicationContext(); in onMessageReceived() 124 Toast.makeText(getApplicationContext(), in showToast() 125 getApplicationContext().getString(messageResId), Toast.LENGTH_LONG).show(); in showToast() 134 Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG).show(); in showToast() 139 private static Context getApplicationContext() { in getApplicationContext() method in BugleActionToasts 140 return Factory.get().getApplicationContext(); in getApplicationContext()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DocumentsApplication.java | 54 return ((DocumentsApplication) context.getApplicationContext()).mProviders; in getProvidersCache() 58 final DocumentsApplication app = (DocumentsApplication) context.getApplicationContext(); in getThumbnailCache() 74 return ((DocumentsApplication) context.getApplicationContext()).mClipper; in getDocumentClipper() 78 return ((DocumentsApplication) context.getApplicationContext()).mClipStore; in getClipStore() 82 return ((DocumentsApplication) context.getApplicationContext()).mDragAndDropManager; in getDragAndDropManager() 86 return ((DocumentsApplication) context.getApplicationContext()).mFileTypeLookup; in getFileTypeLookup() 135 SearchHistoryManager.getInstance(getApplicationContext()); in onCreate()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleNotifications.java | 218 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in cancel() 243 final Context context = Factory.get().getApplicationContext(); in cancel() 305 final Context context = Factory.get().getApplicationContext(); in shouldNotify() 325 final Context context = Factory.get().getApplicationContext(); in shouldVibrate() 349 final Context context = Factory.get().getApplicationContext(); in buildNotificationTag() 397 final Resources resources = Factory.get().getApplicationContext().getResources(); in checkInitialized() 413 final Context context = Factory.get().getApplicationContext(); in processAndSend() 616 final Context context = Factory.get().getApplicationContext(); in createMessageNotification() 683 final Context context = Factory.get().getApplicationContext(); in sendNotification() 778 final Context context = Factory.get().getApplicationContext(); in fireOffNotification() [all …]
|
D | MessagingContentProvider.java | 107 final Context context = Factory.get().getApplicationContext(); in notifyEverythingChanged() 129 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyParticipantsChanged() 134 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyAllMessagesChanged() 139 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyAllParticipantsChanged() 183 final Context context = Factory.get().getApplicationContext(); in notifyMessagesChanged() 203 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyConversationMetadataChanged() 209 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyPartsChanged() 214 final Context context = Factory.get().getApplicationContext(); in notifyConversationListChanged()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/overlay/ |
D | FeatureFactoryImpl.java | 105 context.getApplicationContext()); in getPowerUsageFeatureProvider() 114 context.getApplicationContext()); in getDashboardFeatureProvider() 130 final Context appContext = context.getApplicationContext(); in getApplicationFeatureProvider() 151 final Context appContext = context.getApplicationContext(); in getEnterprisePrivacyFeatureProvider() 188 context.getApplicationContext()); in getSuggestionFeatureProvider() 196 mUserFeatureProvider = new UserFeatureProviderImpl(context.getApplicationContext()); in getUserFeatureProvider() 237 context.getApplicationContext()); in getContextualCardFeatureProvider() 246 context.getApplicationContext()); in getBluetoothFeatureProvider()
|
/packages/apps/Settings/src/com/android/settings/overlay/ |
D | FeatureFactoryImpl.java | 108 context.getApplicationContext()); in getPowerUsageFeatureProvider() 117 context.getApplicationContext()); in getDashboardFeatureProvider() 133 final Context appContext = context.getApplicationContext(); in getApplicationFeatureProvider() 154 final Context appContext = context.getApplicationContext(); in getEnterprisePrivacyFeatureProvider() 191 context.getApplicationContext()); in getSuggestionFeatureProvider() 199 mUserFeatureProvider = new UserFeatureProviderImpl(context.getApplicationContext()); in getUserFeatureProvider() 240 context.getApplicationContext()); in getContextualCardFeatureProvider() 249 context.getApplicationContext()); in getBluetoothFeatureProvider()
|
/packages/apps/CarrierConfig/src/com/android/carrierconfig/ |
D | DefaultCarrierConfigService.java | 107 TelephonyManager telephonyManager = getApplicationContext() in onLoadConfig() 111 for (String file : getApplicationContext().getAssets().list("")) { in onLoadConfig() 113 parser.setInput(getApplicationContext().getAssets().open(file), "utf-8"); in onLoadConfig() 117 parser.setInput(getApplicationContext().getAssets().open(file), "utf-8"); in onLoadConfig() 120 parser.setInput(getApplicationContext().getAssets().open(file), "utf-8"); in onLoadConfig() 136 parser.setInput(getApplicationContext().getAssets().open( in onLoadConfig() 149 XmlPullParser vendorInput = getApplicationContext().getResources().getXml(R.xml.vendor); in onLoadConfig()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertDialog.java | 218 mWarningIcon = CellBroadcastSettings.getResources(getApplicationContext(), in initDrawableAndImageView() 303 if (!CellBroadcastSettings.getResources(getApplicationContext(), in onCreate() 358 Resources res = CellBroadcastSettings.getResources(getApplicationContext(), in onCreate() 364 getApplicationContext())); in onCreate() 408 getApplicationContext(), true); in onStop() 470 Resources res = CellBroadcastSettings.getResources(getApplicationContext(), subId); in getLinkMethod() 532 Context context = getApplicationContext(); in updateAlertText() 631 if (CellBroadcastSettings.getResources(getApplicationContext(), in onNewIntent() 725 getApplicationContext(), subId); in dismiss() 767 if (CellBroadcastSettings.getResources(getApplicationContext(), message.getSubscriptionId()) in onKeyDown()
|
D | CellBroadcastAlertService.java | 138 mContext = getApplicationContext(); in onStartCommand() 160 getApplicationContext().getSystemService(Context.TELEPHONY_SERVICE); in onCreate() 163 getApplicationContext().getSystemService(Context.AUDIO_SERVICE); in onCreate() 300 if (CellBroadcastReceiver.isTestingMode(getApplicationContext()) in handleCellBroadcastIntent() 378 && CellBroadcastSettings.isTestAlertsToggleVisible(getApplicationContext()) in isChannelEnabled() 412 getApplicationContext()) in isChannelEnabled() 466 && CellBroadcastSettings.isTestAlertsToggleVisible(getApplicationContext()) in isChannelEnabled() 784 getApplicationContext().getSystemService(Context.AUDIO_SERVICE); 814 getApplicationContext().getSystemService( in playPendingAlert()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | SmsStorageStatusManager.java | 63 final Context context = Factory.get().getApplicationContext(); in postStorageLowNotification() 83 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in postStorageLowNotification() 94 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in cancelStorageLowNotification() 100 return Factory.get().getApplicationContext().getPackageName() + ":smsstoragelow"; in getNotificationTag()
|
D | MmsUtils.java | 645 final Context context = Factory.get().getApplicationContext(); in groupMmsEnabled() 697 final Context context = Factory.get().getApplicationContext(); in getMediaFileSize() 734 final Context context = Factory.get().getApplicationContext(); in getRecipientsByThread() 746 final Context context = Factory.get().getApplicationContext(); in getRawRecipientIdsForThread() 1118 final Context context = Factory.get().getApplicationContext(); in allowMmsAutoRetrieve() 1181 final ContentResolver resolver = Factory.get().getApplicationContext().getContentResolver(); in updateSmsStatusAndDateSent() 1236 final ContentResolver resolver = Factory.get().getApplicationContext().getContentResolver(); in deleteMediaMessages() 1330 final ContentResolver resolver = Factory.get().getApplicationContext().getContentResolver(); in deleteMessagesOlderThan() 1357 final ContentResolver resolver = Factory.get().getApplicationContext().getContentResolver(); in updateSmsReadStatus() 1396 final ContentResolver resolver = Factory.get().getApplicationContext().getContentResolver(); in updateReadStatusForMmsMessage() [all …]
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/ |
D | NotificationService.java | 73 Intent inCallActivityIntent = new Intent(getApplicationContext(), in onStartCommand() 82 TelecomUtils.markCallLogAsRead(getApplicationContext(), callId); in onStartCommand() 86 TelecomUtils.markCallLogAsRead(getApplicationContext(), callId); in onStartCommand() 89 TelecomUtils.markCallLogAsRead(getApplicationContext(), callId); in onStartCommand()
|
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
D | AutomaticStorageManagementJobService.java | 75 if (!Utils.isStorageManagerEnabled(getApplicationContext())) { in onStartJob() 78 maybeShowNotificationIntent.setClass(getApplicationContext(), in onStartJob() 80 getApplicationContext().sendBroadcast(maybeShowNotificationIntent); in onStartJob() 129 Context context = getApplicationContext(); in preconditionsFulfilled()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | WifiConnScanReceiver.java | 53 mWifiManager = (WifiManager) context.getApplicationContext() in onReceive() 85 mContext.getApplicationContext().registerReceiver(mWifiScanReceiver, in ConnectvityScanTask() 117 mContext.getApplicationContext().unregisterReceiver(mWifiScanReceiver); in onCancelled() 134 mContext.getApplicationContext().unregisterReceiver(mWifiScanReceiver); in onPostExecute()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | NetworkRequestDialogFragmentTest.java | 149 Context applicationContext = spy(RuntimeEnvironment.application.getApplicationContext()); in onResume_shouldRegisterCallback() 150 when(mContext.getApplicationContext()).thenReturn(applicationContext); in onResume_shouldRegisterCallback() 162 Context applicationContext = spy(RuntimeEnvironment.application.getApplicationContext()); in onPause_shouldUnRegisterCallback() 163 when(mContext.getApplicationContext()).thenReturn(applicationContext); in onPause_shouldUnRegisterCallback() 213 Context applicationContext = spy(RuntimeEnvironment.application.getApplicationContext()); in onMatch_shouldUpdatedList() 214 when(mContext.getApplicationContext()).thenReturn(applicationContext); in onMatch_shouldUpdatedList()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/tts/ |
D | TtsEnginePreferenceFragment.java | 61 mEnginesHelper = new TtsEngines(getActivity().getApplicationContext()); in onCreate() 63 mTts = new TextToSpeech(getActivity().getApplicationContext(), null); in onCreate() 149 mTts = new TextToSpeech(getActivity().getApplicationContext(), mUpdateListener, engine); in updateDefaultEngine() 174 getActivity().getApplicationContext(), null, mPreviousEngine); in onUpdateEngine()
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TtsEnginePreferenceFragment.java | 61 mEnginesHelper = new TtsEngines(getActivity().getApplicationContext()); in onCreate() 63 mTts = new TextToSpeech(getActivity().getApplicationContext(), null); in onCreate() 149 mTts = new TextToSpeech(getActivity().getApplicationContext(), mUpdateListener, engine); in updateDefaultEngine() 174 getActivity().getApplicationContext(), null, mPreviousEngine); in onUpdateEngine()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | DefaultCellBroadcastService.java | 54 GsmCellBroadcastHandler.makeGsmCellBroadcastHandler(getApplicationContext()); in onCreate() 56 CellBroadcastHandler.makeCellBroadcastHandler(getApplicationContext()); in onCreate() 58 CdmaServiceCategoryProgramHandler.makeScpHandler(getApplicationContext()); in onCreate() 89 SmsCbMessage message = parseBroadcastSms(getApplicationContext(), slotIndex, plmn, in onCdmaCellBroadcastSms()
|
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/ |
D | InitialLockSetupService.java | 72 int userId = new CarUserManagerHelper(getApplicationContext()).getCurrentProcessUserId(); in onBind() 73 LockPatternUtils lockPatternUtils = new LockPatternUtils(getApplicationContext()); in onBind() 141 InitialLockSetupService.this.getApplicationContext()) in setLock() 144 InitialLockSetupService.this.getApplicationContext()); in setLock()
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | TraceService.java | 86 Context context = getApplicationContext(); in onHandleIntent() 107 Context context = getApplicationContext(); in startTracingInternal() 150 Context context = getApplicationContext(); in stopTracingInternal() 175 FileSender.postNotification(getApplicationContext(), file); in stopTracingInternal()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/ |
D | SendDpcBroadcastService.java | 46 UserHandle managedProfileUserHandle = utils.getManagedProfile(getApplicationContext()); in onStartCommand() 50 managedProfileUserIdentifier, utils, getApplicationContext()); in onStartCommand() 64 params, managedProfileUserIdentifier, utils, getApplicationContext()); in onStartCommand()
|