Home
last modified time | relevance | path

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

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPackageValidator.java92 public boolean isCallerAllowed(Context context, String callingPackage, int callingUid) { in isCallerAllowed() argument
101 callingPackage, PackageManager.GET_SIGNATURES); in isCallerAllowed()
103 LogHelper.w(TAG, e, "Package manager can't find package: ", callingPackage); in isCallerAllowed()
116 LogHelper.v(TAG, "Signature for caller ", callingPackage, " is not valid: \n" in isCallerAllowed()
129 if (callingPackage.equals(info.packageName)) { in isCallerAllowed()
138 "expected package for the given certificate. Caller's package is ", callingPackage, in isCallerAllowed()
/development/apps/ShareTest/src/com/android/sharetest/
DAdditionalContentProvider.kt43 val callingPackage = getCallingPackage() in <lambda>() constant
46 context.grantUriPermission(callingPackage, u, Intent.FLAG_GRANT_READ_URI_PERMISSION) in <lambda>()