/frameworks/native/libs/binder/ |
D | IBatteryStats.cpp | 37 virtual void noteStartSensor(int uid, int sensor) { in noteStartSensor() 45 virtual void noteStopSensor(int uid, int sensor) { in noteStopSensor() 53 virtual void noteStartVideo(int uid) { in noteStartVideo() 60 virtual void noteStopVideo(int uid) { in noteStopVideo() 67 virtual void noteStartAudio(int uid) { in noteStartAudio() 74 virtual void noteStopAudio(int uid) { in noteStopAudio() 93 virtual void noteFlashlightOn(int uid) { in noteFlashlightOn() 100 virtual void noteFlashlightOff(int uid) { in noteFlashlightOff() 107 virtual void noteStartCamera(int uid) { in noteStartCamera() 114 virtual void noteStopCamera(int uid) { in noteStopCamera() [all …]
|
D | IAppOpsService.cpp | 39 virtual int32_t checkOperation(int32_t code, int32_t uid, const String16& packageName) { in checkOperation() 51 virtual int32_t noteOperation(int32_t code, int32_t uid, const String16& packageName) { in noteOperation() 63 virtual int32_t startOperation(const sp<IBinder>& token, int32_t code, int32_t uid, in startOperation() 77 virtual void finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid, in finishOperation() 139 int32_t uid = data.readInt32(); in onTransact() local 149 int32_t uid = data.readInt32(); in onTransact() local 160 int32_t uid = data.readInt32(); in onTransact() local 171 int32_t uid = data.readInt32(); in onTransact() local
|
D | IPermissionController.cpp | 39 virtual bool checkPermission(const String16& permission, int32_t pid, int32_t uid) in checkPermission() 52 virtual void getPackagesForUid(const uid_t uid, Vector<String16>& packages) in getPackagesForUid() 95 int32_t uid = data.readInt32(); in onTransact() local 104 int32_t uid = data.readInt32(); in onTransact() local
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 29 void noteStartSensor(int uid, int sensor); in noteStartSensor() 30 void noteStopSensor(int uid, int sensor); in noteStopSensor() 31 void noteStartVideo(int uid); in noteStartVideo() 32 void noteStopVideo(int uid); in noteStopVideo() 33 void noteStartAudio(int uid); in noteStartAudio() 34 void noteStopAudio(int uid); in noteStopAudio() 37 void noteFlashlightOn(int uid); in noteFlashlightOn() 38 void noteFlashlightOff(int uid); in noteFlashlightOff() 39 void noteStartCamera(int uid); in noteStartCamera() 40 void noteStopCamera(int uid); in noteStopCamera() [all …]
|
D | IAppOpsService.aidl | 26 int checkOperation(int code, int uid, String packageName); in checkOperation() 27 int noteOperation(int code, int uid, String packageName); in noteOperation() 28 int startOperation(IBinder token, int code, int uid, String packageName); in startOperation() 29 void finishOperation(IBinder token, int code, int uid, String packageName); in finishOperation() 38 int checkPackage(int uid, String packageName); in checkPackage() 40 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops); in getOpsForPackage() 41 void setUidMode(int code, int uid, int mode); in setUidMode() 42 void setMode(int code, int uid, String packageName, int mode); in setMode() 44 int checkAudioOperation(int code, int usage, int uid, String packageName); in checkAudioOperation() 45 void setAudioRestriction(int code, int usage, int uid, int mode, in String[] exceptionPackages); in setAudioRestriction()
|
D | ProcessMap.java | 26 public E get(String name, int uid) { in get() 32 public E put(String name, int uid, E value) { in put() 42 public E remove(String name, int uid) { in remove()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingConfig.java | 19 int getPackagePriority(String packageName, int uid); in getPackagePriority() 21 void setPackagePriority(String packageName, int uid, int priority); in setPackagePriority() 23 boolean getPackagePeekable(String packageName, int uid); in getPackagePeekable() 25 void setPackagePeekable(String packageName, int uid, boolean peekable); in setPackagePeekable() 27 int getPackageVisibilityOverride(String packageName, int uid); in getPackageVisibilityOverride() 29 void setPackageVisibilityOverride(String packageName, int uid, int visibility); in setPackageVisibilityOverride()
|
/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 179 public static void setThreadStatsUid(int uid) { in setThreadStatsUid() 268 final int uid = android.os.Process.myUid(); in incrementOperationCount() local 465 public static long getUidTxBytes(int uid) { in getUidTxBytes() 481 public static long getUidRxBytes(int uid) { in getUidRxBytes() 497 public static long getUidTxPackets(int uid) { in getUidTxPackets() 513 public static long getUidRxPackets(int uid) { in getUidRxPackets() 524 public static long getUidTcpTxBytes(int uid) { in getUidTcpTxBytes() 535 public static long getUidTcpRxBytes(int uid) { in getUidTcpRxBytes() 546 public static long getUidUdpTxBytes(int uid) { in getUidUdpTxBytes() 557 public static long getUidUdpRxBytes(int uid) { in getUidUdpRxBytes() [all …]
|
D | INetworkPolicyManager.aidl | 33 void setUidPolicy(int uid, int policy); in setUidPolicy() 34 void addUidPolicy(int uid, int policy); in addUidPolicy() 35 void removeUidPolicy(int uid, int policy); in removeUidPolicy() 36 int getUidPolicy(int uid); in getUidPolicy() 39 boolean isUidForeground(int uid); in isUidForeground()
|
D | INetworkStatsService.aidl | 42 NetworkStats getDataLayerSnapshotForUid(int uid); in getDataLayerSnapshotForUid() 47 void incrementOperationCount(int uid, int tag, int operationCount); in incrementOperationCount() 50 void setUidForeground(int uid, boolean uidForeground); in setUidForeground()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 148 public void scheduleCpuSyncDueToRemovedUid(int uid) { in scheduleCpuSyncDueToRemovedUid() 240 void removeUid(int uid) { in removeUid() 258 void noteProcessStart(String name, int uid) { in noteProcessStart() 264 void noteProcessCrash(String name, int uid) { in noteProcessCrash() 270 void noteProcessAnr(String name, int uid) { in noteProcessAnr() 276 void noteProcessState(String name, int uid, int state) { in noteProcessState() 282 void noteProcessFinish(String name, int uid) { in noteProcessFinish() 345 public void noteEvent(int code, String name, int uid) { in noteEvent() 352 public void noteSyncStart(String name, int uid) { in noteSyncStart() 359 public void noteSyncFinish(String name, int uid) { in noteSyncFinish() [all …]
|
/frameworks/base/core/java/android/service/gatekeeper/ |
D | IGateKeeperService.aidl | 41 GateKeeperResponse enroll(int uid, in byte[] currentPasswordHandle, in byte[] currentPassword, in enroll() 52 … GateKeeperResponse verify(int uid, in byte[] enrolledPasswordHandle, in byte[] providedPassword); in verify() 65 GateKeeperResponse verifyChallenge(int uid, long challenge, in byte[] enrolledPasswordHandle, in verifyChallenge() 73 long getSecureUserId(int uid); in getSecureUserId() 80 void clearSecureUserId(int uid); in clearSecureUserId()
|
/frameworks/base/core/java/com/android/server/ |
D | NetworkManagementSocketTagger.java | 61 public static void setThreadSocketStatsUid(int uid) { in setThreadSocketStatsUid() 76 private void tagSocketFd(FileDescriptor fd, int tag, int uid) { in tagSocketFd() 114 public static void setKernelCounterSet(int uid, int counterSet) { in setKernelCounterSet() 124 public static void resetKernelUidStats(int uid) { in resetKernelUidStats() 146 private static native int native_tagSocketFd(FileDescriptor fd, int tag, int uid); in native_tagSocketFd() 148 private static native int native_setCounterSet(int uid, int counterSetNum); in native_setCounterSet() 149 private static native int native_deleteTagData(int tag, int uid); in native_deleteTagData()
|
/frameworks/base/core/java/android/os/storage/ |
D | MountServiceInternal.java | 42 public int getMountMode(int uid, String packageName); in getMountMode() 53 public boolean hasExternalStorage(int uid, String packageName); in hasExternalStorage() 71 public abstract void onExternalStoragePolicyChanged(int uid, String packageName); in onExternalStoragePolicyChanged() 81 public abstract int getExternalStorageMountMode(int uid, String packageName); in getExternalStorageMountMode()
|
/frameworks/native/services/sensorservice/ |
D | BatteryService.cpp | 41 bool BatteryService::addSensor(uid_t uid, int handle) { in addSensor() 53 bool BatteryService::removeSensor(uid_t uid, int handle) { in removeSensor() 63 void BatteryService::enableSensorImpl(uid_t uid, int handle) { in enableSensorImpl() 72 void BatteryService::disableSensorImpl(uid_t uid, int handle) { in disableSensorImpl() 82 void BatteryService::cleanupImpl(uid_t uid) { in cleanupImpl()
|
D | BatteryService.h | 38 uid_t uid; member 54 static void enableSensor(uid_t uid, int handle) { in enableSensor() 57 static void disableSensor(uid_t uid, int handle) { in disableSensor() 60 static void cleanup(uid_t uid) { in cleanup()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 123 public void onPackageAdded(String packageName, int uid) { in onPackageAdded() 129 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() 136 public void onPackageRemovedAllUsers(String packageName, int uid) { in onPackageRemovedAllUsers() 139 public void onPackageUpdateStarted(String packageName, int uid) { in onPackageUpdateStarted() 142 public void onPackageUpdateFinished(String packageName, int uid) { in onPackageUpdateFinished() 162 public boolean onPackageChanged(String packageName, int uid, String[] components) { in onPackageChanged() 173 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { in onHandleForceStop() 180 public void onUidRemoved(int uid) { in onUidRemoved() 293 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() local 319 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() local [all …]
|
/frameworks/base/core/java/android/app/ |
D | IProcessObserver.aidl | 22 void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities); in onForegroundActivitiesChanged() 23 void onProcessStateChanged(int pid, int uid, int procState); in onProcessStateChanged() 24 void onProcessDied(int pid, int uid); in onProcessDied()
|
D | AppOpsManager.java | 1050 public PackageOps(String packageName, int uid, List<OpEntry> entries) { in PackageOps() 1241 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, int[] ops) { in getOpsForPackage() 1250 public void setUidMode(int code, int uid, int mode) { in setUidMode() 1258 public void setMode(int code, int uid, String packageName, int mode) { in setMode() 1279 final int uid = Binder.getCallingUid(); in setRestriction() local 1366 private String buildSecurityExceptionMsg(int op, int uid, String packageName) { in buildSecurityExceptionMsg() 1397 public int checkOp(String op, int uid, String packageName) { in checkOp() 1405 public int checkOpNoThrow(String op, int uid, String packageName) { in checkOpNoThrow() 1423 public int noteOp(String op, int uid, String packageName) { in noteOp() 1431 public int noteOpNoThrow(String op, int uid, String packageName) { in noteOpNoThrow() [all …]
|
D | AppImportanceMonitor.java | 37 final int uid; field in AppImportanceMonitor.AppEntry 101 public int getImportance(int uid) { in getImportance() 112 public void onImportanceChanged(int uid, int importance, int oldImportance) { in onImportanceChanged() 115 void updateImportanceLocked(int uid, int pid, int importance, boolean repChange) { in updateImportanceLocked()
|
/frameworks/base/services/core/java/com/android/server/ |
D | GraphicsStatsService.java | 79 private boolean isValid(int uid, String packageName) { in isValid() 91 int uid = Binder.getCallingUid(); in requestBufferForProcess() local 117 int uid, int pid, String packageName) throws RemoteException { in requestBufferForProcessLocked() 142 private ActiveBuffer fetchActiveBuffersLocked(IBinder token, int uid, int pid, in fetchActiveBuffersLocked() 162 private HistoricalData removeHistoricalDataLocked(int uid, String packageName) { in removeHistoricalDataLocked() 215 ActiveBuffer(IBinder token, int uid, int pid, String packageName) in ActiveBuffer() 248 void update(String packageName, int uid, MemoryFile file) { in update()
|
D | AppOpsService.java | 111 public final int uid; field in AppOpsService.UidState 115 public UidState(int uid) { in UidState() 143 public final int uid; field in AppOpsService.Op 319 public void packageRemoved(int uid, String packageName) { in packageRemoved() 345 public void uidRemoved(int uid) { in uidRemoved() 426 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in getOpsForPackage() 447 private void pruneOp(Op op, int uid, String packageName) { in pruneOp() 470 public void setUidMode(int code, int uid, int mode) { in setUidMode() 579 public void setMode(int code, int uid, String packageName, int mode) { in setMode() 840 public int checkOperation(int code, int uid, String packageName) { in checkOperation() [all …]
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 96 public static final boolean isIsolated(int uid) { in isIsolated() 106 public static boolean isApp(int uid) { in isApp() 119 public static final int getUserId(int uid) { in getUserId() 160 public static final int getAppId(int uid) { in getAppId() 199 public static void formatUid(StringBuilder sb, int uid) { in formatUid() 224 public static String formatUid(int uid) { in formatUid() 235 public static void formatUid(PrintWriter pw, int uid) { in formatUid()
|
/frameworks/base/core/java/android/security/ |
D | IKeystoreService.aidl | 35 int insert(String name, in byte[] item, int uid, int flags); in insert() 36 int del(String name, int uid); in del() 37 int exist(String name, int uid); in exist() 38 String[] list(String namePrefix, int uid); in list() 44 int generate(String name, int uid, int keyType, int keySize, int flags, in generate() 46 int import_key(String name, in byte[] data, int uid, int flags); in import_key() 55 int clear_uid(long uid); in clear_uid() 59 int generateKey(String alias, in KeymasterArguments arguments, in byte[] entropy, int uid, in generateKey() 64 in byte[] keyData, int uid, int flags, out KeyCharacteristics characteristics); in importKey()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 1410 final int uid = readIntAttribute(in, ATTR_UID); in readPolicyLocked() local 1423 final int uid = UserHandle.getUid(UserHandle.USER_OWNER, appId); in readPolicyLocked() local 1504 final int uid = mUidPolicy.keyAt(i); in writePolicyLocked() local 1528 public void setUidPolicy(int uid, int policy) { in setUidPolicy() 1549 public void addUidPolicy(int uid, int policy) { in addUidPolicy() 1566 public void removeUidPolicy(int uid, int policy) { in removeUidPolicy() 1582 private void setUidPolicyUncheckedLocked(int uid, int policy, boolean persist) { in setUidPolicyUncheckedLocked() 1593 public int getUidPolicy(int uid) { in getUidPolicy() 1608 final int uid = mUidPolicy.keyAt(i); in getUidsWithPolicy() local 1627 final int uid = mUidPolicy.keyAt(i); in removePoliciesForUserLocked() local [all …]
|