/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
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 33 void noteStartSensor(int uid, int sensor); in noteStartSensor() 34 void noteStopSensor(int uid, int sensor); in noteStopSensor() 35 void noteStartVideo(int uid); in noteStartVideo() 36 void noteStopVideo(int uid); in noteStopVideo() 37 void noteStartAudio(int uid); in noteStartAudio() 38 void noteStopAudio(int uid); in noteStopAudio() 41 void noteFlashlightOn(int uid); in noteFlashlightOn() 42 void noteFlashlightOff(int uid); in noteFlashlightOff() 43 void noteStartCamera(int uid); in noteStartCamera() 44 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 | 20 int getPriority(String packageName, int uid); in getPriority() 22 void setPriority(String packageName, int uid, int priority); in setPriority() 24 int getVisibilityOverride(String packageName, int uid); in getVisibilityOverride() 26 void setVisibilityOverride(String packageName, int uid, int visibility); in setVisibilityOverride() 28 void setImportance(String packageName, int uid, int importance); in setImportance() 30 int getImportance(String packageName, int uid); in getImportance()
|
/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 208 public static void setThreadStatsUid(int uid) { in setThreadStatsUid() 322 final int uid = android.os.Process.myUid(); in incrementOperationCount() local 525 public static long getUidTxBytes(int uid) { in getUidTxBytes() 554 public static long getUidRxBytes(int uid) { in getUidRxBytes() 583 public static long getUidTxPackets(int uid) { in getUidTxPackets() 612 public static long getUidRxPackets(int uid) { in getUidRxPackets() 630 public static long getUidTcpTxBytes(int uid) { in getUidTcpTxBytes() 641 public static long getUidTcpRxBytes(int uid) { in getUidTcpRxBytes() 652 public static long getUidUdpTxBytes(int uid) { in getUidUdpTxBytes() 663 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() 62 void addRestrictBackgroundWhitelistedUid(int uid); in addRestrictBackgroundWhitelistedUid() 63 void removeRestrictBackgroundWhitelistedUid(int uid); in removeRestrictBackgroundWhitelistedUid()
|
D | INetworkPolicyListener.aidl | 22 void onUidRulesChanged(int uid, int uidRules); in onUidRulesChanged() 25 void onRestrictBackgroundWhitelistChanged(int uid, boolean whitelisted); in onRestrictBackgroundWhitelistChanged() 26 void onRestrictBackgroundBlacklistChanged(int uid, boolean blacklisted); in onRestrictBackgroundBlacklistChanged()
|
/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/android/app/ |
D | IUidObserver.aidl | 24 void onUidStateChanged(int uid, int procState); in onUidStateChanged() 29 void onUidGone(int uid); in onUidGone() 34 void onUidActive(int uid); in onUidActive() 40 void onUidIdle(int uid); in onUidIdle()
|
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 | 1099 public PackageOps(String packageName, int uid, List<OpEntry> entries) { in PackageOps() 1290 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, int[] ops) { in getOpsForPackage() 1308 public void setUidMode(int code, int uid, int mode) { in setUidMode() 1327 public void setUidMode(String appOp, int uid, int mode) { in setUidMode() 1329 mService.setUidMode(AppOpsManager.strOpToOp(appOp), uid, mode); in setUidMode() local 1357 public void setMode(int code, int uid, String packageName, int mode) { in setMode() 1379 final int uid = Binder.getCallingUid(); in setRestriction() local 1472 private String buildSecurityExceptionMsg(int op, int uid, String packageName) { in buildSecurityExceptionMsg() 1503 public int checkOp(String op, int uid, String packageName) { in checkOp() 1511 public int checkOpNoThrow(String op, int uid, String packageName) { in checkOpNoThrow() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 165 public void scheduleCpuSyncDueToRemovedUid(int uid) { in scheduleCpuSyncDueToRemovedUid() 289 void removeUid(int uid) { in removeUid() 307 void noteProcessStart(String name, int uid) { in noteProcessStart() 313 void noteProcessCrash(String name, int uid) { in noteProcessCrash() 319 void noteProcessAnr(String name, int uid) { in noteProcessAnr() 325 void noteProcessFinish(String name, int uid) { in noteProcessFinish() 331 void noteUidProcessState(int uid, int state) { in noteUidProcessState() 394 public void noteEvent(int code, String name, int uid) { in noteEvent() 401 public void noteSyncStart(String name, int uid) { in noteSyncStart() 408 public void noteSyncFinish(String name, int uid) { in noteSyncFinish() [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 489 final int uid = UserHandle.getUid(userId, app.uid); in addDefaultRestrictBackgroundWhitelistUidsLocked() local 1497 final int uid = readIntAttribute(in, ATTR_UID); in readPolicyLocked() local 1511 final int uid = UserHandle.getUid(UserHandle.USER_SYSTEM, appId); in readPolicyLocked() local 1520 final int uid = readIntAttribute(in, ATTR_UID); in readPolicyLocked() local 1523 final int uid = readIntAttribute(in, ATTR_UID); in readPolicyLocked() local 1606 final int uid = mUidPolicy.keyAt(i); in writePolicyLocked() local 1626 final int uid = mRestrictBackgroundWhitelistUids.keyAt(i); in writePolicyLocked() local 1635 final int uid = mRestrictBackgroundWhitelistRevokedUids.keyAt(i); in writePolicyLocked() local 1654 public void setUidPolicy(int uid, int policy) { in setUidPolicy() 1675 public void addUidPolicy(int uid, int policy) { in addUidPolicy() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | MockKeyStore.java | 91 private KeyBlob access(int uid, String key, boolean createIfNotExist) { in access() 109 public KeyBlob getKeyBlob(int uid, String key) { in getKeyBlob() 113 private boolean put(String key, byte[] value, int uid, int flags) { in put() 118 private boolean importKey(String keyName, byte[] key, int uid, int flags) { in importKey() 122 private boolean delete(String key, int uid) { in delete() 129 private boolean contains(String key, int uid) { in contains() 157 int uid = mStore.keyAt(i); in toString() local
|
/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/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/security/ |
D | IKeystoreService.aidl | 35 byte[] get(String name, int uid); in get() 36 int insert(String name, in byte[] item, int uid, int flags); in insert() 37 int del(String name, int uid); in del() 38 int exist(String name, int uid); in exist() 39 String[] list(String namePrefix, int uid); in list() 45 int generate(String name, int uid, int keyType, int keySize, int flags, in generate() 47 int import_key(String name, in byte[] data, int uid, int flags); in import_key() 53 long getmtime(String name, int uid); in getmtime() 56 int clear_uid(long uid); in clear_uid() 60 int generateKey(String alias, in KeymasterArguments arguments, in byte[] entropy, int uid, in generateKey() [all …]
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 129 public void onPackageAdded(String packageName, int uid) { in onPackageAdded() 135 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() 142 public void onPackageRemovedAllUsers(String packageName, int uid) { in onPackageRemovedAllUsers() 145 public void onPackageUpdateStarted(String packageName, int uid) { in onPackageUpdateStarted() 148 public void onPackageUpdateFinished(String packageName, int uid) { in onPackageUpdateFinished() 168 public boolean onPackageChanged(String packageName, int uid, String[] components) { in onPackageChanged() 179 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { in onHandleForceStop() 186 public void onUidRemoved(int uid) { in onUidRemoved() 279 public void onPackageDataCleared(String packageName, int uid) { in onPackageDataCleared() 308 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() local [all …]
|
/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/keystore/java/android/security/ |
D | KeyStore.java | 158 public byte[] get(String key, int uid) { in get() 171 public boolean put(String key, byte[] value, int uid, int flags) { in put() 175 public int insert(String key, byte[] value, int uid, int flags) { in insert() 184 public boolean delete(String key, int uid) { in delete() 198 public boolean contains(String key, int uid) { in contains() 214 public String[] list(String prefix, int uid) { in list() 296 public boolean generate(String key, int uid, int keyType, int keySize, int flags, in generate() 307 public boolean importKey(String keyName, byte[] key, int uid, int flags) { in importKey() 334 public boolean grant(String key, int uid) { in grant() 343 public boolean ungrant(String key, int uid) { in ungrant() [all …]
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 113 public static boolean isIsolated(int uid) { in isIsolated() 123 public static boolean isApp(int uid) { in isApp() 137 public static UserHandle getUserHandleForUid(int uid) { in getUserHandleForUid() 145 public static @UserIdInt int getUserId(int uid) { in getUserId() 181 public static @AppIdInt int getAppId(int uid) { in getAppId() 220 public static void formatUid(StringBuilder sb, int uid) { in formatUid() 245 public static String formatUid(int uid) { in formatUid() 256 public static void formatUid(PrintWriter pw, int uid) { in formatUid()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreProvider.java | 175 int uid, in getAndroidKeyStorePublicKey() 216 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStorePublicKeyFromKeystore() 256 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStoreKeyPairFromKeystore() 267 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStorePrivateKeyFromKeystore() 275 @NonNull KeyStore keyStore, @NonNull String secretKeyAlias, int uid) in loadAndroidKeyStoreSecretKeyFromKeystore() 323 public static java.security.KeyStore getKeyStoreForUid(int uid) in getKeyStoreForUid()
|