Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/base/core/java/android/printservice/
DPrintService.java336 return new PrinterId(new ComponentName(getPackageName(), in generatePrinterId()
431 + getPackageName());
448 + getPackageName());
459 + getPackageName());
470 + getPackageName());
480 + getPackageName());
491 + getPackageName());
502 + getPackageName());
513 + getPackageName());
522 + getPackageName());
[all …]
/frameworks/base/telecomm/java/android/telecom/
DStatusHints.java54 public ComponentName getPackageName() { in getPackageName() method in StatusHints
122 packageContext = context.createPackageContext(mPackageName.getPackageName(), 0); in getIcon()
124 Log.e(this, e, "Cannot find package %s", mPackageName.getPackageName()); in getIcon()
131 resId, mPackageName.getPackageName()); in getIcon()
140 return Objects.equals(otherHints.getPackageName(), getPackageName()) && in equals()
/frameworks/base/core/java/android/app/
DNotificationManager.java141 String pkg = mContext.getPackageName(); in notify()
168 String pkg = mContext.getPackageName(); in notifyAsUser()
206 String pkg = mContext.getPackageName(); in cancel()
220 String pkg = mContext.getPackageName(); in cancelAsUser()
235 String pkg = mContext.getPackageName(); in cancelAll()
DPendingIntent.java285 String packageName = context.getPackageName(); in getActivity()
310 String packageName = context.getPackageName(); in getActivityAsUser()
425 String packageName = context.getPackageName(); in getActivities()
451 String packageName = context.getPackageName(); in getActivitiesAsUser()
506 String packageName = context.getPackageName(); in getBroadcastAsUser()
549 String packageName = context.getPackageName(); in getService()
DActivityOptions.java202 opts.mPackageName = context.getPackageName(); in makeCustomAnimation()
228 opts.mPackageName = context.getPackageName(); in makeCustomInPlaceAnimation()
282 opts.mPackageName = source.getContext().getPackageName(); in makeScaleUpAnimation()
366 opts.mPackageName = source.getContext().getPackageName(); in makeThumbnailAnimation()
433 opts.mPackageName = source.getContext().getPackageName(); in makeAspectScaledThumbnailAnimation()
616 public String getPackageName() { in getPackageName() method in ActivityOptions
DStatusBarManager.java99 svc.disable(what, mToken, mContext.getPackageName()); in disable()
156 svc.setIcon(slot, mContext.getPackageName(), iconId, iconLevel, in setIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTicker.java190 if (n.getPackageName().equals(seg.notification.getPackageName()) in addEntry()
200 …new StatusBarIcon(n.getPackageName(), n.getUser(), n.getNotification().icon, n.getNotification().i… in addEntry()
208 …if (n.getId() == seg.notification.getId() && n.getPackageName().equals(seg.notification.getPackage… in addEntry()
250 …if (n.getId() == seg.notification.getId() && n.getPackageName().equals(seg.notification.getPackage… in removeEntry()
/frameworks/base/location/java/android/location/
DLocationManager.java861 String packageName = mContext.getPackageName(); in requestLocationUpdates()
884 String packageName = mContext.getPackageName(); in removeUpdates()
909 String packageName = mContext.getPackageName(); in removeUpdates()
973 mService.requestGeofence(request, fence, intent, mContext.getPackageName()); in addProximityAlert()
1020 mService.requestGeofence(request, fence, intent, mContext.getPackageName()); in addGeofence()
1044 String packageName = mContext.getPackageName(); in removeProximityAlert()
1072 String packageName = mContext.getPackageName(); in removeGeofence()
1094 String packageName = mContext.getPackageName(); in removeAllGeofences()
1150 String packageName = mContext.getPackageName(); in getLastLocation()
1179 String packageName = mContext.getPackageName(); in getLastKnownLocation()
[all …]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java121 n.contentView = new RemoteViews(getPackageName(), R.layout.button_notification);
328 RemoteViews v = new RemoteViews(getPackageName(),
467 getPackageName() + "/raw/ringer");
644 n.contentView = new RemoteViews(getPackageName(), R.layout.chrono_notification);
660 n.contentView = new RemoteViews(getPackageName(),
795 getPackageName(),
796 getPackageName(),
821 getPackageName(),
822 getPackageName(),
847 getPackageName(),
[all …]
/frameworks/base/core/java/android/app/backup/
DBackupManager.java94 sService.dataChanged(mContext.getPackageName()); in dataChanged()
147 IRestoreSession binder = sService.beginRestoreSession(mContext.getPackageName(), in requestRestore()
151 result = session.restorePackage(mContext.getPackageName(), observer); in requestRestore()
/frameworks/support/v4/java/android/support/v4/content/
DContextCompat.java167 context.getPackageName()); in getObbDirs()
227 context.getPackageName(), DIR_FILES, type); in getExternalFilesDirs()
287 context.getPackageName(), DIR_CACHE); in getExternalCacheDirs()
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
DInputMethodSettingsImpl.java72 if (imis.get(i).getPackageName().equals(context.getPackageName())) { in getMyImi()
90 sb.append(subtype.getDisplayName(context, imi.getPackageName(), in getEnabledSubtypesLabel()
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java272 String getPackageName(Intent intent) { in getPackageName() method in PackageMonitor
293 String pkg = getPackageName(intent); in onReceive()
319 String pkg = getPackageName(intent); in onReceive()
345 String pkg = getPackageName(intent); in onReceive()
366 mDisappearingPackages = new String[] {getPackageName(intent)}; in onReceive()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java285 recognizer.getPackageName())) { in findAvailInteractor()
715 int change = isPackageDisappearing(curInteractor.getPackageName());
725 change = isPackageAppearing(curInteractor.getPackageName());
729 if (mImpl != null && curInteractor.getPackageName().equals(
730 mImpl.mComponent.getPackageName())) {
738 int change = isPackageDisappearing(curRecognizer.getPackageName());
743 } else if (isPackageModified(curRecognizer.getPackageName())) {
744 setCurRecognizer(findAvailRecognizer(curRecognizer.getPackageName(),
/frameworks/base/core/java/android/content/
DComponentName.java64 mPackage = pkg.getPackageName(); in ComponentName()
77 mPackage = pkg.getPackageName(); in ComponentName()
88 public String getPackageName() { in getPackageName() method in ComponentName
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java169 String clientPackageName = getContext().getPackageName(); in testConnect()
193 String clientPackageName = getContext().getPackageName(); in testConnectPro()
215 String clientPackageName = getContext().getPackageName(); in testConnectLegacy()
298 String clientPackageName = getContext().getPackageName(); in testConnectDevice()
/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java214 sb.append(target.service.getPackageName()) in dump()
297 .append(info.service.getPackageName()) in toKey()
329 return (wakeLockName = target.service.getPackageName() in wakeLockName()
382 logArray[0] = target.service.getPackageName(); in toEventLog()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteProvider.java276 public String getPackageName() { in getPackageName() method in MediaRouteProvider.ProviderMetadata
277 return mComponentName.getPackageName(); in getPackageName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java584 new ComponentName(mContext.getPackageName(), getClass().getCanonicalName()), in start()
634 final String packageName = mContext.getPackageName(); in notifyUserAboutHiddenNotifications()
732 final String _pkg = n.getPackageName(); in updateNotificationVetoButton()
845 row.setTag(sbn.getPackageName()); in inflateGuts()
847 final String pkg = sbn.getPackageName(); in inflateGuts()
1220 notification.getPackageName(),
1383 final String ident = sbn.getPackageName() + "/0x" + Integer.toHexString(sbn.getId());
1410 … final String ident = sbn.getPackageName() + "/0x" + Integer.toHexString(sbn.getId());
1418 ApplicationInfo info = pmUser.getApplicationInfo(sbn.getPackageName(), 0);
1421 Log.e(TAG, "Failed looking up ApplicationInfo for " + sbn.getPackageName(), ex);
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPersistentPreferredIntentResolver.java32 return packageName.equals(filter.mComponent.getPackageName()); in isPackageForFilter()
DPreferredIntentResolver.java32 return packageName.equals(filter.mPref.mComponent.getPackageName()); in isPackageForFilter()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DApplicationRestrictionsTest.java63 sAdminReceiver = new ComponentName(mContext.getPackageName(), in setUp()
68 sDpm.setProfileOwner(context.getPackageName(), "Test", UserHandle.myUserId()); in setUp()
/frameworks/base/native/android/
Dobb.cpp45 return obbInfo->getPackageName(); in AObbInfo_getPackageName()
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/
DTransportMediatorJellybeanMR2.java91 mReceiverAction = context.getPackageName() + ":transport:" + System.identityHashCode(this); in TransportMediatorJellybeanMR2()
93 mIntent.setPackage(context.getPackageName()); in TransportMediatorJellybeanMR2()
/frameworks/support/v4/java/android/support/v4/media/session/
DMediaControllerCompat.java315 public String getPackageName() { in getPackageName() method in MediaControllerCompat
316 return mImpl.getPackageName(); in getPackageName()
783 String getPackageName(); in getPackageName() method
972 public String getPackageName() { in getPackageName() method in MediaControllerCompat.MediaControllerImplBase
974 return mBinder.getPackageName(); in getPackageName()
1231 public String getPackageName() { in getPackageName() method in MediaControllerCompat.MediaControllerImplApi21
1232 return MediaControllerCompatApi21.getPackageName(mControllerObj); in getPackageName()

12345678910>>...12