Home
last modified time | relevance | path

Searched refs:getPackageName (Results 1 – 25 of 158) sorted by relevance

1234567

/packages/experimental/PrintService2/src/foo/bar/printservice2/
DMyPrintService.java147 .addResolution(new Resolution("R1", getPackageName(), in addFirstFakePrinter()
149 .addInputTray(new Tray("FirstInputTray", getPackageName(), in addFirstFakePrinter()
151 .addOutputTray(new Tray("FirstOutputTray", getPackageName(), in addFirstFakePrinter()
179 .addResolution(new Resolution("R1", getPackageName(), in addSecondFakePrinter()
181 .addResolution(new Resolution("R2", getPackageName(), in addSecondFakePrinter()
183 .addInputTray(new Tray("FirstInputTray", getPackageName(), in addSecondFakePrinter()
185 .addInputTray(new Tray("SecondInputTray", getPackageName(), in addSecondFakePrinter()
187 .addOutputTray(new Tray("FirstOutputTray", getPackageName(), in addSecondFakePrinter()
189 .addOutputTray(new Tray("SecondOutputTray", getPackageName(), in addSecondFakePrinter()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationActionUtils.java315 intent.setPackage(context.getPackageName()); in getNotificationActionPendingIntent()
333 intent.setPackage(context.getPackageName()); in getNotificationActionPendingIntent()
350 intent.setPackage(context.getPackageName()); in getNotificationActionPendingIntent()
359 intent.setPackage(context.getPackageName()); in getNotificationActionPendingIntent()
530 new RemoteViews(context.getPackageName(), R.layout.undo_notification); in createUndoNotification()
534 final String packageName = context.getPackageName(); in createUndoNotification()
610 intent.setPackage(context.getPackageName()); in createUndoTimeoutPendingIntent()
761 intent.setPackage(context.getPackageName()); // Make sure we only deliver this to ourself in resendNotifications()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/
DExternalAccountTypeTest.java52 final String packageName = getTestContext().getPackageName(); in testResolveExternalResId()
99 getTestContext().getPackageName(), false); in testEditSchema()
125 getTestContext().getPackageName(), false, in testEditSchema_fallback()
154 getTestContext().getPackageName(), false, in checkEditSchema_mustHaveChecks()
166 getTestContext().getPackageName(), false, in testReadOnlyDefinition()
DAccountTypeTest.java35 final String packageName = getTestContext().getPackageName(); in testGetResourceText()
62 final String packageName = getTestContext().getPackageName(); in testGetInviteContactActionLabel()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
DSetupActivity.java58 final String packageName = context.getPackageName(); in isThisImeEnabled()
60 if (packageName.equals(imi.getPackageName())) { in isThisImeEnabled()
77 final InputMethodInfo imi = getInputMethodInfoOf(context.getPackageName(), imm); in isThisImeCurrent()
95 if (packageName.equals(imi.getPackageName())) { in getInputMethodInfoOf()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java202 RemoteViews views = new RemoteViews(mContext.getPackageName(),
215 RemoteViews views = new RemoteViews(mContext.getPackageName(),
224 RemoteViews views = new RemoteViews(mContext.getPackageName(),
234 RemoteViews views = new RemoteViews(mContext.getPackageName(),
243 views = new RemoteViews(mContext.getPackageName(),
246 views = new RemoteViews(mContext.getPackageName(), R.layout.widget_item);
/packages/apps/Launcher2/src/com/android/launcher2/
DAllAppsList.java107 if (packageName.equals(component.getPackageName())) { in removePackage()
127 if (packageName.equals(component.getPackageName())) { in updatePackage()
157 if (packageName.equals(component.getPackageName())) { in updatePackage()
214 if (packageName.equals(component.getPackageName()) in findApplicationInfoLocked()
/packages/apps/Launcher3/src/com/android/launcher3/
DAllAppsList.java113 if (packageName.equals(component.getPackageName())) { in removePackage()
132 if (packageName.equals(component.getPackageName())) { in updatePackage()
162 if (packageName.equals(component.getPackageName())) { in updatePackage()
219 if (packageName.equals(component.getPackageName()) in findApplicationInfoLocked()
DMemoryTracker.java166 if (svc.service.getPackageName().equals(getPackageName())) { in onCreate()
176 if (pname.startsWith(getPackageName())) { in onCreate()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDbModifierWithNotification.java212 if (!modifiedPackages.contains(component.getPackageName()) && in notifyVoicemailChange()
213 !mVoicemailPermissions.packageHasFullAccess(component.getPackageName())) { in notifyVoicemailChange()
221 callingPackages.contains(component.getPackageName())); in notifyVoicemailChange()
223 String permissionNeeded = modifiedPackages.contains(component.getPackageName()) ? in notifyVoicemailChange()
/packages/apps/Mms/src/com/android/mms/widget/
DMmsWidgetService.java228 mContext.getPackageName(), R.layout.widget_conversation);
297 RemoteViews view = new RemoteViews(mContext.getPackageName(), R.layout.widget_loading); in getViewMoreConversationsView()
310 RemoteViews view = new RemoteViews(mContext.getPackageName(), R.layout.widget_loading); in getLoadingView()
335 RemoteViews remoteViews = new RemoteViews(mContext.getPackageName(), R.layout.widget); in onLoadComplete()
/packages/apps/Settings/src/com/android/settings/
DNotificationStation.java111 new ComponentName(mContext.getPackageName(), in onAttach()
199 … StatusBarNotification[] active = mNoMan.getActiveNotifications(mContext.getPackageName()); in loadNotifications()
200 …atusBarNotification[] dismissed = mNoMan.getHistoricalNotifications(mContext.getPackageName(), 50); in loadNotifications()
209 info.pkg = sbn.getPackageName(); in loadNotifications()
DRegulatoryInfoDisplayActivity.java99 REGULATORY_INFO_RESOURCE, "drawable", getPackageName()); in getResourceId()
106 regulatory_info_res, "drawable", getPackageName()); in getResourceId()
/packages/apps/Browser/src/com/android/browser/search/
DDefaultSearchEngine.java68 String packageName = mSearchable.getSearchActivity().getPackageName(); in getName()
95 intent.putExtra(Browser.EXTRA_APPLICATION_ID, context.getPackageName()); in startSearch()
98 viewIntent.setPackage(context.getPackageName()); in startSearch()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchWidgetProvider.java102 String pkg = context.getPackageName(); in myComponentName()
110 qsbIntent.setPackage(context.getPackageName()); in createQsbActivityIntent()
163 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.search_widget); in updateWidget()
DAbstractInternalSource.java51 return getContext().getPackageName(); in getIconPackage()
66 return Uri.parse("android.resource://" + getContext().getPackageName() in getSourceIconUri()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java94 RemoteViews widget = new RemoteViews(context.getPackageName(), in onReceive()
114 RemoteViews widget = new RemoteViews(context.getPackageName(), in onReceive()
158 RemoteViews widget = new RemoteViews(context.getPackageName(), R.layout.digital_appwidget); in updateClock()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java103 final String packageName = context.getPackageName(); in getInputMethodInfoOfThisIme()
105 if (imi.getPackageName().equals(packageName)) { in getInputMethodInfoOfThisIme()
159 + mInputMethodInfoOfThisIme.getPackageName()); in switchToNextInputMethodAndSubtype()
/packages/apps/Camera2/src/com/android/camera/
DComboPreferences.java44 mPackageName = context.getPackageName(); in ComboPreferences()
73 return context.getPackageName() + "_preferences_" + cameraId; in getLocalSharedPreferencesName()
77 return context.getPackageName() + "_preferences_camera"; in getGlobalSharedPreferencesName()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java462 if (imi.isDefault(context) && isSystemPackage(imi.getPackageName())) { in addSystemImes()
463 excludePackages.add(imi.getPackageName()); in addSystemImes()
675 final boolean isSettingsApp = packageName.equals(context.getPackageName()); in populateApps()
836 if (packageName.equals(getActivity().getPackageName())) { in onPreferenceChange()
864 if (packageName.equals(getActivity().getPackageName())) { in onAppSettingsIconClicked()
/packages/apps/Browser/src/com/android/browser/widget/
DBookmarkThumbnailWidgetService.java212 mContext.getPackageName(), R.layout.bookmarkthumbnailwidget_item); in getLoadingView()
229 views = new RemoteViews(mContext.getPackageName(), in getViewAt()
232 views = new RemoteViews(mContext.getPackageName(), in getViewAt()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperChange.java59 queryIntent.setPackage(comp.getPackageName()); in onCreate()
79 intent.setClassName(info.getPackageName(), info.getServiceName()); in onCreate()
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/
DProviderTestCase3.java61 public String getPackageName() { in getPackageName() method in ProviderTestCase3.MockContext2
62 return getContext().getPackageName(); in getPackageName()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DUtil.java50 return getResourceUri(resources, packageContext.getPackageName(), res); in getResourceUri()
52 Log.e(TAG, "Resource not found: " + res + " in " + packageContext.getPackageName()); in getResourceUri()
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsState.java443 + pkgOps.getPackageName() + ": append to " + last); in addOp()
456 + pkgOps.getPackageName() + ": making new " + entry); in addOp()
515 AppEntry appEntry = getAppEntry(context, appEntries, pkgOps.getPackageName(), null); in buildState()

1234567