/packages/experimental/PrintService2/src/foo/bar/printservice2/ |
D | MyPrintService.java | 147 .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/ |
D | NotificationActionUtils.java | 315 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/ |
D | ExternalAccountTypeTest.java | 52 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()
|
D | AccountTypeTest.java | 35 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/ |
D | SetupActivity.java | 58 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/ |
D | CalendarAppWidgetService.java | 202 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/ |
D | AllAppsList.java | 107 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/ |
D | AllAppsList.java | 113 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()
|
D | MemoryTracker.java | 166 if (svc.service.getPackageName().equals(getPackageName())) { in onCreate() 176 if (pname.startsWith(getPackageName())) { in onCreate()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DbModifierWithNotification.java | 212 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/ |
D | MmsWidgetService.java | 228 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/ |
D | NotificationStation.java | 111 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()
|
D | RegulatoryInfoDisplayActivity.java | 99 REGULATORY_INFO_RESOURCE, "drawable", getPackageName()); in getResourceId() 106 regulatory_info_res, "drawable", getPackageName()); in getResourceId()
|
/packages/apps/Browser/src/com/android/browser/search/ |
D | DefaultSearchEngine.java | 68 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/ |
D | SearchWidgetProvider.java | 102 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()
|
D | AbstractInternalSource.java | 51 return getContext().getPackageName(); in getIconPackage() 66 return Uri.parse("android.resource://" + getContext().getPackageName() in getSourceIconUri()
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetProvider.java | 94 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/ |
D | RichInputMethodManager.java | 103 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/ |
D | ComboPreferences.java | 44 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/ |
D | AppRestrictionsFragment.java | 462 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/ |
D | BookmarkThumbnailWidgetService.java | 212 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/ |
D | LiveWallpaperChange.java | 59 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/ |
D | ProviderTestCase3.java | 61 public String getPackageName() { in getPackageName() method in ProviderTestCase3.MockContext2 62 return getContext().getPackageName(); in getPackageName()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | Util.java | 50 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/ |
D | AppOpsState.java | 443 + 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()
|