Home
last modified time | relevance | path

Searched refs:packageNameUnchecked (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DCallingInfo.java67 static CallingInfo fromExternal(Context context, int uid, String packageNameUnchecked) { in fromExternal() argument
68 enforceCallingPackageBelongsToUid(context, uid, packageNameUnchecked); in fromExternal()
69 CallingInfo callingInfo = new CallingInfo(uid, packageNameUnchecked); in fromExternal()
74 static CallingInfo fromBinder(Context context, String packageNameUnchecked) { in fromBinder() argument
75 return fromBinderWithApplicationThread(context, packageNameUnchecked, null); in fromBinder()
80 String packageNameUnchecked, in fromBinderWithApplicationThread() argument
83 enforceCallingPackageBelongsToUid(context, uid, packageNameUnchecked); in fromBinderWithApplicationThread()
85 return new CallingInfo(uid, packageNameUnchecked, callingApplicationThread); in fromBinderWithApplicationThread()
/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java81 private final String packageNameUnchecked; field in LocalCallingIdentity
90 String packageNameUnchecked, @Nullable String attributionTag) { in LocalCallingIdentity() argument
95 this.packageNameUnchecked = packageNameUnchecked; in LocalCallingIdentity()
200 ident.packageName = ident.packageNameUnchecked; in fromSelfAsUser()
248 return packageNameUnchecked != null; in isValidProviderOrFuseCallingIdentity()
257 if (packageNameUnchecked == null) { in getPackageNameInternal()
262 .checkPackage(uid, packageNameUnchecked); in getPackageNameInternal()
263 return packageNameUnchecked; in getPackageNameInternal()