Home
last modified time | relevance | path

Searched refs:callingPackage (Results 1 – 1 of 1) 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()