Home
last modified time | relevance | path

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

12345

/packages/apps/Contacts/tests/src/com/android/contacts/model/
DExternalAccountTypeTest.java51 final String packageName = getTestContext().getPackageName(); in testResolveExternalResId()
84 String packageName = getContext().getPackageName(); in testNoMetadata()
95 getTestContext().getPackageName(), false); in testEditSchema()
121 getTestContext().getPackageName(), false, in testEditSchema_fallback()
150 getTestContext().getPackageName(), false, in checkEditSchema_mustHaveChecks()
162 getTestContext().getPackageName(), false, in testReadOnlyDefinition()
DAccountTypeTest.java35 final String packageName = getTestContext().getPackageName(); in testGetResourceText()
62 final String packageName = getTestContext().getPackageName(); in testGetInviteContactActionLabel()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DAbstractInternalSource.java48 return getContext().getPackageName(); in getIconPackage()
60 return Uri.parse("android.resource://" + getContext().getPackageName() in getSourceIconUri()
DSearchWidgetProvider.java102 String pkg = context.getPackageName(); in myComponentName()
110 qsbIntent.setPackage(context.getPackageName()); in createQsbActivityIntent()
164 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.search_widget); in updateWidget()
/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.java115 static String getPackageName(Intent intent) { in getPackageName() method in ItemInfo
119 packageName = intent.getComponent().getPackageName(); in getPackageName()
DApplicationInfo.java107 String getPackageName() { in getPackageName() method in ApplicationInfo
108 return super.getPackageName(intent); in getPackageName()
DShortcutInfo.java103 String getPackageName() { in getPackageName() method in ShortcutInfo
104 return super.getPackageName(intent); in getPackageName()
/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/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/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/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/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java196 RemoteViews views = new RemoteViews(mContext.getPackageName(),
209 RemoteViews views = new RemoteViews(mContext.getPackageName(),
218 RemoteViews views = new RemoteViews(mContext.getPackageName(),
228 RemoteViews views = new RemoteViews(mContext.getPackageName(),
237 views = new RemoteViews(mContext.getPackageName(),
240 views = new RemoteViews(mContext.getPackageName(), R.layout.widget_item);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBackupAgent.java30 getPackageName() + "_preferences")); in onCreate()
DImfUtils.java52 final String packageName = context.getPackageName(); in getInputMethodInfoOfThisIme()
54 if (imi.getPackageName().equals(packageName)) in getInputMethodInfoOfThisIme()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetService.java138 mApp.getAndroidContext().getPackageName(), in getLoadingView()
148 mApp.getAndroidContext().getPackageName(), in getViewAt()
DPhotoAppWidgetProvider.java75 context.getPackageName(), R.layout.appwidget_main); in buildStackWidget()
96 context.getPackageName(), R.layout.photo_frame); in buildFrameWidget()
/packages/apps/Contacts/src/com/android/contacts/util/
DDataStatus.java108 if (mResPackage == null) mResPackage = context.getPackageName(); in getTimestampLabel()
138 if (mResPackage == null) mResPackage = context.getPackageName(); in getIcon()
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DDataStatus.java102 if (mResPackage == null) mResPackage = context.getPackageName(); in getTimestampLabel()
132 if (mResPackage == null) mResPackage = context.getPackageName(); in getIcon()
/packages/apps/Mms/src/com/android/mms/widget/
DMmsWidgetService.java247 mContext.getPackageName(), R.layout.widget_conversation);
319 RemoteViews view = new RemoteViews(mContext.getPackageName(), R.layout.widget_loading); in getViewMoreConversationsView()
329 RemoteViews view = new RemoteViews(mContext.getPackageName(), R.layout.widget_loading); in getLoadingView()
354 RemoteViews remoteViews = new RemoteViews(mContext.getPackageName(), R.layout.widget); in onLoadComplete()
/packages/apps/Email/tests/src/com/android/email/
DMockVendorPolicy.java37 VendorPolicyLoader.injectPolicyForTest(context, context.getPackageName(), in inject()
/packages/apps/Mms/tests/src/com/android/mms/
DMmsLaunchPerformance.java14 mIntent.setPackage(getTargetContext().getPackageName()); in onCreate()
/packages/apps/Calendar/src/com/android/calendar/
DAboutPreferences.java36 activity.getPackageManager().getPackageInfo(activity.getPackageName(), 0); in onCreate()

12345