Home
last modified time | relevance | path

Searched refs:getUidForPackage (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java455 final int uid = getUidForPackage(pkgName, userId); in onPackageBroadcastReceived()
1011 final int packageUid = getUidForPackage(packageName, grantId); in hasBindAppWidgetPermission()
1035 final int packageUid = getUidForPackage(packageName, grantId); in setBindAppWidgetPermission()
1151 final int providerUid = getUidForPackage(providerComponent.getPackageName(), in bindAppWidgetId()
2721 private int getUidForPackage(String packageName, int userId) { in getUidForPackage() method in AppWidgetServiceImpl
3165 final int uid = getUidForPackage(pkg, userId); in readProfileStateFromFileLocked()
3211 final int uid = getUidForPackage(pkg, userId); in readProfileStateFromFileLocked()
3232 final int uid = getUidForPackage(packageName, userId); in readProfileStateFromFileLocked()
3291 final int uid = getUidForPackage(NEW_KEYGUARD_HOST_PACKAGE, in performUpgradeLocked()
3852 final int packageUid = getUidForPackage(packageName, userId); in isCallerBindAppWidgetWhiteListedLocked()
[all …]
/frameworks/native/services/sensorservice/
DSensorService.cpp719 static status_t getUidForPackage(String16 packageName, int userId, /*inout*/uid_t& uid, int err) { in getUidForPackage() function
759 if (getUidForPackage(args[1], userId, uid, err) != NO_ERROR) { in handleSetUidState()
780 if (getUidForPackage(args[1], userId, uid, err) == BAD_VALUE) { in handleResetUidState()
801 if (getUidForPackage(args[1], userId, uid, err) == BAD_VALUE) { in handleGetUidState()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp800 static status_t getUidForPackage(String16 packageName, int userId, /*inout*/uid_t& uid, int err) { in getUidForPackage() function
840 if (getUidForPackage(args[1], userId, uid, err) == BAD_VALUE) { in handleSetUidState()
869 if (getUidForPackage(args[1], userId, uid, err) == BAD_VALUE) { in handleResetUidState()
898 if (getUidForPackage(args[1], userId, uid, err) == BAD_VALUE) { in handleGetUidState()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp1043 static status_t getUidForPackage(String16 packageName, int userId, /*inout*/uid_t& uid, int err) { in getUidForPackage() function
3991 if (getUidForPackage(packageName, userId, uid, err) == BAD_VALUE) { in handleSetUidState()
4008 if (getUidForPackage(packageName, userId, uid, err) == BAD_VALUE) { in handleResetUidState()
4025 if (getUidForPackage(packageName, userId, uid, err) == BAD_VALUE) { in handleGetUidState()
/frameworks/base/services/core/java/com/android/server/role/
DRoleManagerService.java703 private int getUidForPackage(String packageName) { in getUidForPackage() method in RoleManagerService.Stub
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java4048 || !UserHandle.isSameApp(Binder.getCallingUid(), getUidForPackage(packageName))) { in getApplicationRestrictionsForUser()
4087 private int getUidForPackage(String packageName) { in getUidForPackage() method in UserManagerService
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java5374 final int uid = getUidForPackage(packageName, userId); in setMeteredRestrictedPackagesInternal()
5386 private int getUidForPackage(String packageName, int userId) { in getUidForPackage() method
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java9649 approvedAppUids.add(new Pair(pkg, getUidForPackage(pkg, userId)));
9705 getUidForPackage(nowApproved, user.getIdentifier())));
9720 private int getUidForPackage(String pkg, int userId) {
/frameworks/base/services/
Dart-profile8656 HPLcom/android/server/appwidget/AppWidgetServiceImpl;->getUidForPackage(Ljava/lang/String;I)I
21566 HSPLcom/android/server/notification/NotificationManagerService$RoleObserver;->getUidForPackage(Ljav…
26541 HPLcom/android/server/pm/UserManagerService;->getUidForPackage(Ljava/lang/String;)I