Searched refs:getUidForPackage (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 585 static status_t getUidForPackage(String16 packageName, int userId, /*inout*/uid_t& uid, int err) { in getUidForPackage() function 625 if (getUidForPackage(args[1], userId, uid, err) != NO_ERROR) { in handleSetUidState() 646 if (getUidForPackage(args[1], userId, uid, err) == BAD_VALUE) { in handleResetUidState() 667 if (getUidForPackage(args[1], userId, uid, err) == BAD_VALUE) { in handleGetUidState()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 873 static status_t getUidForPackage(String16 packageName, int userId, /*inout*/uid_t& uid, int err) { in getUidForPackage() function 3418 if (getUidForPackage(packageName, userId, uid, err) == BAD_VALUE) { in handleSetUidState() 3435 if (getUidForPackage(packageName, userId, uid, err) == BAD_VALUE) { in handleResetUidState() 3452 if (getUidForPackage(packageName, userId, uid, err) == BAD_VALUE) { in handleGetUidState()
|
/frameworks/base/services/core/java/com/android/server/role/ |
D | RoleManagerService.java | 712 private int getUidForPackage(String packageName) { in getUidForPackage() method in RoleManagerService.Stub
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 3156 || !UserHandle.isSameApp(Binder.getCallingUid(), getUidForPackage(packageName))) { in getApplicationRestrictionsForUser() 3188 private int getUidForPackage(String packageName) { in getUidForPackage() method in UserManagerService
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 5180 final int uid = getUidForPackage(packageName, userId); in setMeteredRestrictedPackagesInternal() 5192 private int getUidForPackage(String packageName, int userId) { in getUidForPackage() method
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 8280 approvedAppUids.add(new Pair(pkg, getUidForPackage(pkg, userId))); 8336 getUidForPackage(nowApproved, user.getIdentifier()))); 8351 private int getUidForPackage(String pkg, int userId) {
|
/frameworks/base/services/ |
D | art-profile | 4028 PLcom/android/server/appwidget/AppWidgetServiceImpl;->getUidForPackage(Ljava/lang/String;I)I 11787 HSPLcom/android/server/pm/UserManagerService;->getUidForPackage(Ljava/lang/String;)I
|