Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DContentProviderHelper.java712 private void checkAssociationAndPermissionLocked(ProcessRecord callingApp, ProviderInfo cpi, in checkAssociationAndPermissionLocked() argument
715 if ((msg = checkContentProviderAssociation(callingApp, callingUid, cpi)) != null) { in checkAssociationAndPermissionLocked()
722 callingApp != null ? callingApp.toString() : null)) in checkAssociationAndPermissionLocked()
1644 private String checkContentProviderAssociation(ProcessRecord callingApp, int callingUid, in checkContentProviderAssociation() argument
1646 if (callingApp == null) { in checkContentProviderAssociation()
1650 final String r = callingApp.getPkgList().searchEachPackage(pkgName -> { in checkContentProviderAssociation()
1652 callingApp.uid, cpi.packageName, cpi.applicationInfo.uid)) { in checkContentProviderAssociation()
DActiveServices.java1120 final ProcessRecord callingApp; in startServiceLocked() local
1122 callingApp = mAm.mPidsSelfLocked.get(callingPid); in startServiceLocked()
1124 final String callingProcessName = callingApp != null in startServiceLocked()
1125 ? callingApp.processName : callingPackage; in startServiceLocked()
1127 callingApp != null && callingApp.getThread() != null && !callingApp.isKilled() in startServiceLocked()
1128 ? callingApp.mState.getCurProcState() : ActivityManager.PROCESS_STATE_UNKNOWN; in startServiceLocked()
4185 final ProcessRecord callingApp; in bindServiceLocked() local
4187 callingApp = mAm.mPidsSelfLocked.get(callingPid); in bindServiceLocked()
4189 final String callingProcessName = callingApp != null in bindServiceLocked()
4190 ? callingApp.processName : callingPackage; in bindServiceLocked()
[all …]