Home
last modified time | relevance | path

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

123456

/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/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()
DItemInfo.java123 static String getPackageName(Intent intent) { in getPackageName() method in ItemInfo
127 packageName = intent.getComponent().getPackageName(); in getPackageName()
/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/DeskClock/src/com/android/alarmclock/
DDigitalWidgetViewsFactory.java75 mContext.getPackageName(), R.layout.world_clock_remote_list_item); in getViewAt()
236 new RemoteViews(context.getPackageName(), R.layout.digital_appwidget); in onReceive()
246 new RemoteViews(context.getPackageName(), R.layout.digital_appwidget); in onReceive()
273 new RemoteViews(context.getPackageName(), R.layout.digital_appwidget); in onReceive()
/packages/apps/Mms/src/com/android/mms/widget/
DMmsWidgetService.java229 mContext.getPackageName(), R.layout.widget_conversation);
301 RemoteViews view = new RemoteViews(mContext.getPackageName(), R.layout.widget_loading); in getViewMoreConversationsView()
314 RemoteViews view = new RemoteViews(mContext.getPackageName(), R.layout.widget_loading); in getLoadingView()
339 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()
/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.java48 return getContext().getPackageName(); in getIconPackage()
60 return Uri.parse("android.resource://" + getContext().getPackageName() in getSourceIconUri()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java101 final String packageName = context.getPackageName(); in getInputMethodInfoOfThisIme()
103 if (imi.getPackageName().equals(packageName)) { in getInputMethodInfoOfThisIme()
157 + mInputMethodInfoOfThisIme.getPackageName()); in switchToNextInputMethodAndSubtype()
/packages/apps/Gallery2/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/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/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java424 if (imi.isDefault(context) && isSystemPackage(imi.getPackageName())) { in addSystemImes()
425 excludePackages.add(imi.getPackageName()); in addSystemImes()
592 final boolean isSettingsApp = packageName.equals(context.getPackageName()); in populateApps()
759 if (packageName.equals(getActivity().getPackageName())) { in onPreferenceChange()
783 if (packageName.equals(getActivity().getPackageName())) { in toggleAppPanel()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackService.java317 ComponentName rec = new ComponentName(getPackageName(), in onCreate()
372 i.putExtra(AudioEffect.EXTRA_PACKAGE_NAME, getPackageName()); in onDestroy()
1151 mAudioManager.registerMediaButtonEventReceiver(new ComponentName(this.getPackageName(), in play()
1183 RemoteViews views = new RemoteViews(getPackageName(), R.layout.statusbar); in updateNotification()
1898 i.putExtra(AudioEffect.EXTRA_PACKAGE_NAME, getPackageName()); in setDataSourceImpl()
/packages/apps/Email/src/com/android/email/widget/
DEmailWidget.java277 new RemoteViews(mContext.getPackageName(), R.layout.widget); in updateHeader()
385 RemoteViews views = new RemoteViews(mContext.getPackageName(), in getViewAt()
469 RemoteViews view = new RemoteViews(mContext.getPackageName(), R.layout.widget_loading); in getLoadingView()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
DSetupActivity.java52 final String packageName = context.getPackageName(); in isThisImeEnabled()
55 if (packageName.equals(imi.getPackageName())) { in isThisImeEnabled()
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsState.java415 + pkgOps.getPackageName() + ": append to " + last); in addOp()
428 + pkgOps.getPackageName() + ": making new " + entry); in addOp()
487 AppEntry appEntry = getAppEntry(context, appEntries, pkgOps.getPackageName(), null); in buildState()
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/
DMockPackageManager.java89 packageInfo.activityInfo.applicationInfo.packageName = componentName.getPackageName(); in addPackage()
93 mApplicationEnabledSettings.put(componentName.getPackageName(), appEnabledSetting); in addPackage()
/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/Gallery2/src/com/android/gallery3d/gadget/
DWidgetService.java111 mApp.getAndroidContext().getPackageName(), in getLoadingView()
122 mApp.getAndroidContext().getPackageName(), in getViewAt()

123456