Home
last modified time | relevance | path

Searched refs:isCallerInstantApp (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DResolveIntentHelper.java382 final boolean isCallerInstantApp = in queryIntentReceiversInternal()
397 && ((!matchInstantApp && !isCallerInstantApp && isTargetInstantApp) in queryIntentReceiversInternal()
398 || (matchVisibleToInstantAppOnly && isCallerInstantApp in queryIntentReceiversInternal()
487 final boolean isCallerInstantApp = in queryIntentContentProvidersInternal()
498 && ((!matchInstantApp && !isCallerInstantApp && isTargetInstantApp) in queryIntentContentProvidersInternal()
499 || (matchVisibleToInstantAppOnly && isCallerInstantApp in queryIntentContentProvidersInternal()
501 final boolean blockNormalResolution = !isTargetInstantApp && !isCallerInstantApp in queryIntentContentProvidersInternal()
DComputerEngine.java553 final boolean isCallerInstantApp = in queryIntentActivitiesInternal()
572 && ((!matchInstantApp && !isCallerInstantApp && isTargetInstantApp) in queryIntentActivitiesInternal()
573 || (matchVisibleToInstantAppOnly && isCallerInstantApp in queryIntentActivitiesInternal()
581 && !isCallerInstantApp in queryIntentActivitiesInternal()
687 final boolean isCallerInstantApp = in queryIntentServicesInternal()
698 && ((!matchInstantApp && !isCallerInstantApp && isTargetInstantApp) in queryIntentServicesInternal()
699 || (matchVisibleToInstantAppOnly && isCallerInstantApp in queryIntentServicesInternal()
702 final boolean blockNormalResolution = !isTargetInstantApp && !isCallerInstantApp in queryIntentServicesInternal()
1990 final boolean isCallerInstantApp = getInstantAppPackageName(callingUid) != null; in getPackagesForUidInternal()
1996 return getPackagesForUidInternalBody(callingUid, userId, appId, isCallerInstantApp); in getPackagesForUidInternal()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java7808 assertTrue(mService.isCallerInstantApp(45770, 0)); in testIsCallerInstantApp_primaryUser()
7811 assertFalse(mService.isCallerInstantApp(575370, 0)); in testIsCallerInstantApp_primaryUser()
7822 assertTrue(mService.isCallerInstantApp(68638450, 10)); in testIsCallerInstantApp_secondaryUser()
7833 assertTrue(mService.isCallerInstantApp(45770, UserHandle.USER_ALL)); in testIsCallerInstantApp_userAllNotification()
7836 assertFalse(mService.isCallerInstantApp(575370, UserHandle.USER_ALL )); in testIsCallerInstantApp_userAllNotification()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java7994 && isCallerInstantApp(callingUid, userId)) {
10543 boolean isCallerInstantApp(int callingUid, int userId) {
/frameworks/base/services/
Dart-wear-profile16160 PLcom/android/server/notification/NotificationManagerService;->isCallerInstantApp(II)Z