Home
last modified time | relevance | path

Searched refs:newUid (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/os/
DWorkSource.java703 private static WorkSource addWork(WorkSource cur, int newUid) { in addWork() argument
705 return new WorkSource(newUid); in addWork()
707 cur.insert(cur.mNum, newUid); in addWork()
795 private static WorkSource addWork(WorkSource cur, int newUid, String newName) { in addWork() argument
797 return new WorkSource(newUid, newName); in addWork()
799 cur.insert(cur.mNum, newUid, newName); in addWork()
/frameworks/base/services/core/java/com/android/server/location/
DLocationManagerService.java1671 int newUid = newState.identity != null ? newState.identity.getUid() : -1; in onStateChanged() local
1679 if (newUid != -1 && newUid != oldUid) { in onStateChanged()
1680 PackageTagsList tags = calculateAppOpsLocationSourceTags(newUid); in onStateChanged()
1682 () -> listener.onLocationPackageTagsChanged(newUid, tags)); in onStateChanged()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java6674 for (int newUid : uids) {
6675 if (mLowPowerStandbyAllowlistUids.indexOfKey(newUid) < 0) {
6676 changedUids.append(newUid, true);
6677 mLowPowerStandbyAllowlistUids.append(newUid, true);
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp717 int newUid = iter->second.first; in onTorchStatusChangedLocked() local
719 if (oldUid != newUid) { in onTorchStatusChangedLocked()
725 notifier.noteFlashlightOn(toString8(cameraId), newUid); in onTorchStatusChangedLocked()
727 iter->second.second = newUid; in onTorchStatusChangedLocked()