Home
last modified time | relevance | path

Searched defs:uidState (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DForegroundServiceTypeLoggerModule.java144 UidState uidState = mUids.get(uid); in logForegroundServiceStart() local
220 final UidState uidState = mUids.get(uid); in logForegroundServiceStop() local
290 UidState uidState = mUids.get(uid); in logForegroundServiceApiEventBegin() local
362 UidState uidState = mUids.get(uid); in logForegroundServiceApiEventEnd() local
424 UidState uidState = mUids.get(uid); in logForegroundServiceApiStateChanged() local
476 UidState uidState = mUids.get(uid); in hasValidActiveFgs() local
492 UidState uidState = mUids.get(r.appInfo.uid); in logFgsApiEvent() local
559 UidState uidState = mUids.get(uid); in logFgsApiEventWithNoFgs() local
DBroadcastQueueModernImpl.java1661 private void cleanupUserStateLocked(@NonNull SparseBooleanArray uidState, int userId) { in cleanupUserStateLocked()
DActiveServices.java8377 final int uidState = mAm.getUidStateLocked(callingUid); in shouldAllowFgsWhileInUsePermissionLocked() local
8662 final int uidState = mAm.getUidStateLocked(callingUid); in shouldAllowFgsStartForegroundWithBindingCheckLocked() local
8706 final int uidState = mAm.getUidStateLocked(callingUid); in shouldAllowFgsStartForegroundNoBindingCheckLocked() local
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsUidStateTrackerImpl.java137 int uidState = getUidState(uid); in evalMode() local
145 private int evalModeInternal(int uid, int code, int uidState, int uidCapability) { in evalModeInternal()
221 int uidState = processStateToUidState(procState); in updateUidProcState() local
344 int uidState = mUidStates.get(uid, MIN_PRIORITY_UID_STATE); in commitUidPendingState() local
468 void logCommitUidState(int uid, int uidState, int capability, boolean appWidgetVisible, in logCommitUidState()
478 void logCommitUidStateAsync(long timestamp, int uid, int uidState, int capability, in logCommitUidStateAsync()
502 void logEvalForegroundMode(int uid, int uidState, int capability, int code, int result) { in logEvalForegroundMode()
510 void logEvalForegroundModeAsync(long timestamp, int uid, int uidState, int capability, in logEvalForegroundModeAsync()
DAppOpsRecentAccessPersistence.java182 final AppOpsService.UidState uidState = mAppOpsService.new UidState(uid); in readUid() local
204 @NonNull AppOpsService.UidState uidState, @NonNull String pkgName) in readOp()
238 final int uidState = extractUidStateFromKey(key); in readAttributionOp() local
289 AppOpsService.UidState uidState = uidStates.valueAt(uidIndex); in writeRecentAccesses() local
342 final int uidState = AppOpsManager.extractUidStateFromKey(key); in writeDeviceAttributedOps() local
DAttributedOp.java106 @AppOpsManager.UidState int uidState, @AppOpsManager.OpFlags int flags) { in accessed()
131 @Nullable String proxyDeviceId, @AppOpsManager.UidState int uidState, in accessed()
160 public void rejected(@AppOpsManager.UidState int uidState, @AppOpsManager.OpFlags int flags) { in rejected()
161 rejected(System.currentTimeMillis(), uidState, flags); in rejected() local
175 public void rejected(long noteTime, @AppOpsManager.UidState int uidState, in rejected()
208 @Nullable String proxyDeviceId, @AppOpsManager.UidState int uidState, in started()
219 @Nullable String proxyDeviceId, @AppOpsManager.UidState int uidState, in startedOrPaused()
390 @Nullable String proxyDeviceId, @AppOpsManager.UidState int uidState, in createPaused()
721 @NonNull Runnable onDeath, @AppOpsManager.UidState int uidState, in InProgressStartOpEvent()
774 @AppOpsManager.UidState int uidState, @AppOpsManager.OpFlags int flags, in reinit()
[all …]
DAppOpsService.java570 final UidState uidState; field in AppOpsService.Ops
608 final UidState uidState; field in AppOpsService.Op
619 Op(UidState uidState, String packageName, int op, int uid) { in Op()
1235 UidState uidState = getUidStateLocked(uid, true); in initializePackageUidStateLocked() local
1310 UidState uidState = mUidStates.get(uid); in refreshAttributionsLocked() local
1379 UidState uidState = mUidStates.get(uid); in packageRemovedLocked() local
1431 UidState uidState = getUidStateLocked(uid, false); in onUidStateChanged() local
1601 UidState uidState = mUidStates.get(uid); in doForAllAttributedOpsInUidLocked() local
1690 private ArrayList<AppOpsManager.OpEntry> collectUidOps(@NonNull UidState uidState, in collectUidOps()
1747 UidState uidState = mUidStates.valueAt(i); in getPackagesForOpsForDevice() local
[all …]
DAppOpsUidStateTracker.java121 void onUidStateChanged(int uid, int uidState, boolean foregroundModeMayChange); in onUidStateChanged()
DDiscreteRegistry.java247 @AppOpsManager.OpFlags int flags, @AppOpsManager.UidState int uidState, long accessTime, in recordDiscreteAccess()
636 @AppOpsManager.UidState int uidState, long accessTime, long accessDuration, in addDiscreteAccess()
891 @AppOpsManager.OpFlags int flags, @AppOpsManager.UidState int uidState, in addDiscreteAccess()
961 @AppOpsManager.OpFlags int flags, @AppOpsManager.UidState int uidState, in addDiscreteAccess()
1120 @AppOpsManager.OpFlags int flags, @AppOpsManager.UidState int uidState, in addDiscreteAccess()
DHistoricalRegistry.java475 @Nullable String attributionTag, @UidState int uidState, @OpFlags int flags, in incrementOpAccessedCount()
495 @Nullable String attributionTag, @UidState int uidState, @OpFlags int flags) { in incrementOpRejected()
510 @Nullable String attributionTag, @UidState int uidState, @OpFlags int flags, in increaseOpAccessDuration()
1437 final int uidState = AppOpsManager.extractUidStateFromKey(key); in readStateDLocked() local
1573 final int uidState = AppOpsManager.extractUidStateFromKey(key); in writeStateOnLocked() local
1883 final int uidState = AppOpsManager.extractUidStateFromKey(key); in visitHistoricalOp() local
/frameworks/base/services/core/java/com/android/server/pm/permission/
DUserPermissionState.java64 UidPermissionState uidState = mUidStates.get(appId); in getOrCreateUidState() local
76 UidPermissionState uidState = new UidPermissionState(other); in createUidStateWithExisting() local
DPermissionManagerServiceImpl.java733 final UidPermissionState uidState = getUidStateLocked(pkg, userId); in getPermissionFlagsInternal() local
858 final UidPermissionState uidState = getUidStateLocked(pkg, userId); in updatePermissionFlagsInternal() local
965 final UidPermissionState uidState = getUidStateLocked(pkg, userId); in checkPermissionInternal() local
987 private boolean checkSinglePermissionInternalLocked(@NonNull UidPermissionState uidState, in checkSinglePermissionInternalLocked()
1136 final UidPermissionState uidState = getUidStateLocked(pkg, userId); in getAllowlistedRestrictedPermissionsInternal() local
1416 final UidPermissionState uidState = getUidStateLocked(pkg, userId); in grantRuntimePermissionInternal() local
1603 final UidPermissionState uidState = getUidStateLocked(pkg, userId); in revokeRuntimePermissionInternal() local
DDefaultPermissionGrantPolicy.java1810 ArrayMap<String, PermissionState> uidState; in getPermissionState() local
/frameworks/base/core/tests/coretests/src/com/android/internal/app/procstats/
DProcessStatsTest.java228 UidState uidState = processStats.mUidStates.get(APP_1_UID); in testSafelyResetClearsProcessInUidState() local
/frameworks/base/core/java/android/app/
DAppOpsManager.java611 public static String getUidStateName(@UidState int uidState) { in getUidStateName()
863 final int uidState = extractUidStateFromKey(key); in keyToString() local
869 public static @DataBucketKey long makeKey(@UidState int uidState, @OpFlags int flags) { in makeKey()
4840 public int getProxyUid(@UidState int uidState, @OpFlags int flags) { in getProxyUid()
4866 public @Nullable String getProxyPackageName(@UidState int uidState, @OpFlags int flags) { in getProxyPackageName()
5591 @Nullable String attributionTag, @UidState int uidState, @OpFlags int flags, in increaseAccessCount()
5600 @Nullable String attributionTag, @UidState int uidState, @OpFlags int flags, in increaseRejectCount()
5609 @Nullable String attributionTag, @UidState int uidState, @OpFlags int flags, in increaseAccessDuration()
5618 @Nullable String attributionTag, @UidState int uidState, @OpFlags int opFlag, in addDiscreteAccess()
5626 @Nullable String attributionTag, @UidState int uidState, @OpFlags int opFlag, in addDiscreteAccess()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsRecentAccessPersistenceTest.java115 AppOpsService.UidState uidState = uidStates.get(10001); in validateUidStates() local
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java351 UidState uidState = mUidStates.get(uid); in add() local
381 UidState uidState = mUidStates.get(uid); in add() local
623 final UidState uidState = mUidStates.valueAt(ip); in resetSafely() local
1137 final UidState uidState = new UidState(this, uid); in readFromParcel() local
1189 UidState uidState = mUidStates.get(uid); in readFromParcel() local
1403 UidState uidState = mUidStates.get(pkgState.mUid); in getProcessStateLocked() local
1875 final UidState uidState = uidStates.valueAt(iu); in dumpLocked() local
DProcessState.java509 final UidState uidState = mStats.mUidStates.get(mUid); in setCombinedStateIdv() local
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java2314 final NetworkPolicyManager.UidState uidState = mService.getUidStateForTest(uid); in isUidState() local