Searched refs:mCallingIdentity (Results 1 – 1 of 1) sorted by relevance
318 private final ThreadLocal<LocalCallingIdentity> mCallingIdentity = ThreadLocal field in MediaProvider827 mCallingIdentity.remove(); in onCallingPackageChanged()831 final LocalCallingIdentity token = mCallingIdentity.get(); in clearLocalCallingIdentity()832 mCallingIdentity.set(LocalCallingIdentity.fromSelf()); in clearLocalCallingIdentity()837 mCallingIdentity.set(token); in restoreLocalCallingIdentity()3272 mCallingIdentity.get().setOwned(rowId, true); in insertInternal()3342 final String[] sharedPackageNames = mCallingIdentity.get().getSharedPackageNames(); in getSharedPackages()3988 mCallingIdentity.get().setOwned(id, false); in deleteInternal()5478 return mCallingIdentity.get().hasPermission(PERMISSION_IS_REDACTION_NEEDED); in isRedactionNeeded()5591 if (mCallingIdentity.get().isOwned(id)) { in checkCallingPermissionGlobal()[all …]