/frameworks/native/libs/binder/ |
D | IBatteryStats.cpp | 35 virtual void noteStartSensor(int uid, int sensor) { in noteStartSensor() 43 virtual void noteStopSensor(int uid, int sensor) { in noteStopSensor() 51 virtual void noteStartVideo(int uid) { in noteStartVideo() 58 virtual void noteStopVideo(int uid) { in noteStopVideo() 65 virtual void noteStartAudio(int uid) { in noteStartAudio() 72 virtual void noteStopAudio(int uid) { in noteStopAudio() 91 virtual void noteFlashlightOn(int uid) { in noteFlashlightOn() 98 virtual void noteFlashlightOff(int uid) { in noteFlashlightOff() 105 virtual void noteStartCamera(int uid) { in noteStartCamera() 112 virtual void noteStopCamera(int uid) { in noteStopCamera() [all …]
|
D | IUidObserver.cpp | 33 virtual void onUidGone(uid_t uid, bool disabled) in onUidGone() 42 virtual void onUidActive(uid_t uid) in onUidActive() 50 virtual void onUidIdle(uid_t uid, bool disabled) in onUidIdle() 59 virtual void onUidStateChanged(uid_t uid, int32_t procState, int64_t procStateSeq) in onUidStateChanged() 82 uid_t uid = data.readInt32(); in onTransact() local 90 uid_t uid = data.readInt32(); in onTransact() local 97 uid_t uid = data.readInt32(); in onTransact() local 104 uid_t uid = data.readInt32(); in onTransact() local
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 69 public boolean checkConfigOverridePermission(int uid) { in checkConfigOverridePermission() 85 public boolean checkChangePermission(int uid) { in checkChangePermission() 101 public boolean checkWifiAccessPermission(int uid) { in checkWifiAccessPermission() 117 public void enforceLocationPermission(String pkgName, int uid) { in enforceLocationPermission() 155 public boolean checkCallersLocationPermission(String pkgName, int uid, in checkCallersLocationPermission() 184 public void enforceFineLocationPermission(String pkgName, int uid) { in enforceFineLocationPermission() 200 private boolean checkCallersFineLocationPermission(String pkgName, int uid, in checkCallersFineLocationPermission() 226 private boolean checkCallersHardwareLocationPermission(int uid) { in checkCallersHardwareLocationPermission() 237 public void enforceCanAccessScanResults(String pkgName, int uid) throws SecurityException { in enforceCanAccessScanResults() 289 String pkgName, int uid, boolean ignoreLocationSettings, boolean hideFromAppOps) in enforceCanAccessScanResultsForWifiScanner() [all …]
|
D | WifiPermissionsWrapper.java | 52 public int getCallingUserId(int uid) { in getCallingUserId() 77 public int getUidPermission(String permissionType, int uid) { in getUidPermission() 95 public int getOverrideWifiConfigPermission(int uid) throws RemoteException { in getOverrideWifiConfigPermission() 107 public int getChangeWifiConfigPermission(int uid) throws RemoteException { in getChangeWifiConfigPermission() 119 public int getAccessWifiStatePermission(int uid) throws RemoteException { in getAccessWifiStatePermission() 131 public int getLocalMacAddressPermission(int uid) throws RemoteException { in getLocalMacAddressPermission()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingConfig.java | 27 void setImportance(String packageName, int uid, int importance); in setImportance() 28 int getImportance(String packageName, int uid); in getImportance() 29 void setShowBadge(String packageName, int uid, boolean showBadge); in setShowBadge() 30 boolean canShowBadge(String packageName, int uid); in canShowBadge() 32 boolean areBubblesAllowed(String packageName, int uid); in areBubblesAllowed() 34 boolean isGroupBlocked(String packageName, int uid, String groupId); in isGroupBlocked() 37 int uid); in getNotificationChannelGroups() 38 void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group, in createNotificationChannelGroup() 41 int uid, boolean includeDeleted, boolean includeNonGrouped, boolean includeEmpty); in getNotificationChannelGroups() 42 boolean createNotificationChannel(String pkg, int uid, NotificationChannel channel, in createNotificationChannel() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppStateTracker.java | 262 int uid, @NonNull String packageName) { in onRunAnyAppOpsChanged() 282 private void onUidForegroundStateChanged(AppStateTracker sender, int uid) { in onUidForegroundStateChanged() 289 private void onUidActiveStateChanged(AppStateTracker sender, int uid) { in onUidActiveStateChanged() 359 public void updateJobsForUid(int uid, boolean isNowActive) { in updateJobsForUid() 366 public void updateJobsForUidPackage(int uid, String packageName, boolean isNowActive) { in updateJobsForUidPackage() 373 public void stopForegroundServicesForUidPackage(int uid, String packageName) { in stopForegroundServicesForUidPackage() 386 public void unblockAlarmsForUid(int uid) { in unblockAlarmsForUid() 392 public void unblockAlarmsForUidPackage(int uid, String packageName) { in unblockAlarmsForUidPackage() 400 public void onUidForeground(int uid, boolean foreground) { in onUidForeground() 566 private int findForcedAppStandbyUidPackageIndexLocked(int uid, @NonNull String packageName) { in findForcedAppStandbyUidPackageIndexLocked() [all …]
|
/frameworks/av/media/utils/include/mediautils/ |
D | ServiceUtilities.h | 40 static inline bool isServiceUid(uid_t uid) { in isServiceUid() 45 static inline bool isAudioServerUid(uid_t uid) { in isAudioServerUid() 51 static inline bool isAudioServerOrRootUid(uid_t uid) { in isAudioServerOrRootUid() 57 static inline bool isAudioServerOrSystemServerUid(uid_t uid) { in isAudioServerOrSystemServerUid() 63 static inline bool isAudioServerOrSystemServerOrRootUid(uid_t uid) { in isAudioServerOrSystemServerOrRootUid() 69 static inline bool isAudioServerOrMediaServerUid(uid_t uid) { in isAudioServerOrMediaServerUid() 98 bool allowPlaybackCapture(uid_t uid) { in allowPlaybackCapture()
|
/frameworks/base/media/java/android/media/session/ |
D | ISessionCallback.aidl | 29 void onCommand(String packageName, int pid, int uid, ISessionControllerCallback caller, in onCommand() 31 void onMediaButton(String packageName, int pid, int uid, in Intent mediaButtonIntent, in onMediaButton() 33 void onMediaButtonFromController(String packageName, int pid, int uid, in onMediaButtonFromController() 37 void onPrepare(String packageName, int pid, int uid, ISessionControllerCallback caller); in onPrepare() 38 void onPrepareFromMediaId(String packageName, int pid, int uid, in onPrepareFromMediaId() 40 void onPrepareFromSearch(String packageName, int pid, int uid, in onPrepareFromSearch() 42 void onPrepareFromUri(String packageName, int pid, int uid, in onPrepareFromUri() 44 void onPlay(String packageName, int pid, int uid, ISessionControllerCallback caller); in onPlay() 45 void onPlayFromMediaId(String packageName, int pid, int uid, in onPlayFromMediaId() 47 void onPlayFromSearch(String packageName, int pid, int uid, in onPlayFromSearch() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDbTest.java | 82 int uid = 10009; in insertKey_replacesOldKey() local 141 int uid = 60001; in removeKey_removesAKey() local 166 int uid = 1009; in getKey_returnsInsertedKey() local 189 int uid = 1009; in getAllKeys_getsKeysWithUserIdAndGenerationId() local 227 int uid = 6000; in getAllKeys_doesNotReturnKeysWithBadGenerationId() local 245 int uid = 10009; in getAllKeys_doesNotReturnKeysWithBadUserId() local 336 int uid = 1009; in setPlatformKeyGenerationId_invalidatesExistingKeysForUser() local 363 int uid = 10009; in removeUserFromAllTables_removesData() local 384 int uid = 1009; in setRecoveryStatus_withSingleKey() local 409 int uid = 1009; in getStatusForAllKeys_with3Keys() local [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyStoreManagerTest.java | 210 int uid = Binder.getCallingUid(); in importKey_storesTheKey() local 243 int uid = Binder.getCallingUid(); in importKeyWithMetadata_nullMetadata_storesTheKey() local 256 int uid = Binder.getCallingUid(); in importKeyWithMetadata_nonNullMetadata_storesTheKey() local 292 int uid = Binder.getCallingUid(); in generateKeyWithMetadata_nullMetadata_storesTheKey() local 303 int uid = Binder.getCallingUid(); in generateKeyWithMetadata_nonNullMetadata_storesTheKey() local 314 int uid = Binder.getCallingUid(); in removeKey_removesAKey() local 324 int uid = Binder.getCallingUid(); in removeKey_updatesShouldCreateSnapshot() local 337 int uid = Binder.getCallingUid(); in removeKey_failureDoesNotUpdateShouldCreateSnapshot() local 348 int uid = Binder.getCallingUid(); in initRecoveryService_succeedsWithCertFile() local 369 int uid = Binder.getCallingUid(); in initRecoveryService_updatesShouldCreatesnapshotOnCertUpdate() local [all …]
|
/frameworks/base/core/java/android/app/ |
D | IUidObserver.aidl | 33 void onUidGone(int uid, boolean disabled); in onUidGone() 38 void onUidActive(int uid); in onUidActive() 44 void onUidIdle(int uid, boolean disabled); in onUidIdle() 54 void onUidStateChanged(int uid, int procState, long procStateSeq); in onUidStateChanged() 66 void onUidCachedChanged(int uid, boolean cached); in onUidCachedChanged()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 36 void noteStartSensor(int uid, int sensor); in noteStartSensor() 37 void noteStopSensor(int uid, int sensor); in noteStopSensor() 38 void noteStartVideo(int uid); in noteStartVideo() 39 void noteStopVideo(int uid); in noteStopVideo() 40 void noteStartAudio(int uid); in noteStartAudio() 41 void noteStopAudio(int uid); in noteStopAudio() 44 void noteFlashlightOn(int uid); in noteFlashlightOn() 45 void noteFlashlightOff(int uid); in noteFlashlightOff() 46 void noteStartCamera(int uid); in noteStartCamera() 47 void noteStopCamera(int uid); in noteStopCamera() [all …]
|
D | IAppOpsService.aidl | 32 int checkOperation(int code, int uid, String packageName); in checkOperation() 33 int noteOperation(int code, int uid, String packageName); in noteOperation() 34 int startOperation(IBinder token, int code, int uid, String packageName, in startOperation() 37 void finishOperation(IBinder token, int code, int uid, String packageName); in finishOperation() 42 int checkAudioOperation(int code, int usage, int uid, String packageName); in checkAudioOperation() 50 int checkPackage(int uid, String packageName); in checkPackage() 54 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops); in getOpsForPackage() 55 void getHistoricalOps(int uid, String packageName, in List<String> ops, long beginTimeMillis, in getHistoricalOps() 57 void getHistoricalOpsFromDiskRaw(int uid, String packageName, in List<String> ops, in getHistoricalOpsFromDiskRaw() 64 List<AppOpsManager.PackageOps> getUidOps(int uid, in int[] ops); in getUidOps() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverySnapshotStorage.java | 81 public synchronized void put(int uid, KeyChainSnapshot snapshot) { in put() 97 public synchronized KeyChainSnapshot get(int uid) { in get() 114 public synchronized void remove(int uid) { in remove() 124 private void writeToDisk(int uid, KeyChainSnapshot snapshot) in writeToDisk() 147 private KeyChainSnapshot readFromDisk(int uid) in readFromDisk() 163 private File getSnapshotFile(int uid) { in getSnapshotFile() 169 private String getSnapshotFileName(int uid) { in getSnapshotFileName()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | MockKeyStore.java | 82 private KeyBlob access(int uid, String key, boolean createIfNotExist) { in access() 100 public KeyBlob getKeyBlob(int uid, String key) { in getKeyBlob() 104 private boolean put(String key, byte[] value, int uid, int flags) { in put() 109 private boolean importKey(String keyName, byte[] key, int uid, int flags) { in importKey() 113 private boolean delete(String key, int uid) { in delete() 120 private boolean contains(String key, int uid) { in contains() 129 int uid = mStore.keyAt(i); in toString() local
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | MirrorActiveUids.java | 31 synchronized void onUidActive(int uid, int procState) { in onUidActive() 35 synchronized void onUidInactive(int uid) { in onUidInactive() 43 synchronized void onUidProcStateChanged(int uid, int procState) { in onUidProcStateChanged() 50 synchronized int getUidState(int uid) { in getUidState()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreProvider.java | 189 int uid, in getAndroidKeyStorePublicKey() 230 @NonNull String alias, int uid) in getKeyCharacteristics() 251 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid, in loadAndroidKeyStorePublicKeyFromKeystore() 284 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStorePublicKeyFromKeystore() 292 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid, in loadAndroidKeyStoreKeyPairFromKeystore() 305 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStoreKeyPairFromKeystore() 313 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid, in loadAndroidKeyStorePrivateKeyFromKeystore() 323 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStorePrivateKeyFromKeystore() 331 @NonNull String secretKeyAlias, int uid, @NonNull KeyCharacteristics keyCharacteristics) in loadAndroidKeyStoreSecretKeyFromKeystore() 362 @NonNull KeyStore keyStore, @NonNull String userKeyAlias, int uid) in loadAndroidKeyStoreKeyFromKeystore() [all …]
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManagerInternal.java | 45 public int getMountMode(int uid, String packageName); in getMountMode() 56 public boolean hasExternalStorage(int uid, String packageName); in hasExternalStorage() 74 public abstract void onExternalStoragePolicyChanged(int uid, String packageName); in onExternalStoragePolicyChanged() 84 public abstract int getExternalStorageMountMode(int uid, String packageName); in getExternalStorageMountMode() 110 public abstract void onAppOpsChanged(int code, int uid, in onAppOpsChanged()
|
/frameworks/av/media/utils/ |
D | ServiceUtilities.cpp | 42 const String16& opPackageName, uid_t uid) { in resolveCallingPackage() 63 uid_t uid, bool start) { in checkRecordingInternal() 105 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in recordingAllowed() 109 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid) { in startRecording() 113 void finishRecording(const String16& opPackageName, uid_t uid) { in finishRecording() 130 bool captureAudioOutputAllowed(pid_t pid, uid_t uid) { in captureAudioOutputAllowed() 138 bool captureMediaOutputAllowed(pid_t pid, uid_t uid) { in captureMediaOutputAllowed() 146 bool captureHotwordAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in captureHotwordAllowed() 181 bool modifyDefaultAudioEffectsAllowed(pid_t pid, uid_t uid) { in modifyDefaultAudioEffectsAllowed() 202 bool modifyPhoneStateAllowed(pid_t pid, uid_t uid) { in modifyPhoneStateAllowed() [all …]
|
D | BatteryNotifier.cpp | 41 void BatteryNotifier::noteStartVideo(uid_t uid) { in noteStartVideo() 50 void BatteryNotifier::noteStopVideo(uid_t uid) { in noteStopVideo() 77 void BatteryNotifier::noteStartAudio(uid_t uid) { in noteStartAudio() 86 void BatteryNotifier::noteStopAudio(uid_t uid) { in noteStopAudio() 113 void BatteryNotifier::noteFlashlightOn(const String8& id, uid_t uid) { in noteFlashlightOn() 126 void BatteryNotifier::noteFlashlightOff(const String8& id, uid_t uid) { in noteFlashlightOff() 148 void BatteryNotifier::noteStartCamera(const String8& id, uid_t uid) { in noteStartCamera() 160 void BatteryNotifier::noteStopCamera(const String8& id, uid_t uid) { in noteStopCamera()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 223 public void noteJobsDeferred(int uid, int numDeferred, long sinceLast) { in noteJobsDeferred() 317 void removeUid(int uid) { in removeUid() 347 void noteProcessStart(String name, int uid) { in noteProcessStart() 355 void noteProcessCrash(String name, int uid) { in noteProcessCrash() 363 void noteProcessAnr(String name, int uid) { in noteProcessAnr() 369 void noteProcessFinish(String name, int uid) { in noteProcessFinish() 378 void noteUidProcessState(int uid, int state) { in noteUidProcessState() 445 public void noteEvent(int code, String name, int uid) { in noteEvent() 452 public void noteSyncStart(String name, int uid) { in noteSyncStart() 461 public void noteSyncFinish(String name, int uid) { in noteSyncFinish() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | LocationPermissionChecker.java | 86 int uid, @Nullable String message) { in checkLocationPermission() 108 String pkgName, @Nullable String featureId, int uid, @Nullable String message) { in checkLocationPermissionWithDetailInfo() 134 public void enforceLocationPermission(String pkgName, @Nullable String featureId, int uid, in enforceLocationPermission() 147 int uid, @Nullable String message) { in checkLocationPermissionInternal() 178 int uid, boolean coarseForTargetSdkLessThanQ, @Nullable String message) { in checkCallersLocationPermission() 240 int uid, @Nullable String message) { in noteAppOpAllowed() 244 private void checkPackage(int uid, String pkgName) in checkPackage() 257 private int getUidPermission(String permissionType, int uid) { in getUidPermission()
|
/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 305 public static void setThreadStatsUid(int uid) { in setThreadStatsUid() 474 final int uid = android.os.Process.myUid(); in incrementOperationCount() local 777 public static long getUidTxBytes(int uid) { in getUidTxBytes() 810 public static long getUidRxBytes(int uid) { in getUidRxBytes() 843 public static long getUidTxPackets(int uid) { in getUidTxPackets() 876 public static long getUidRxPackets(int uid) { in getUidRxPackets() 898 public static long getUidTcpTxBytes(int uid) { in getUidTcpTxBytes() 909 public static long getUidTcpRxBytes(int uid) { in getUidTcpRxBytes() 920 public static long getUidUdpTxBytes(int uid) { in getUidUdpTxBytes() 931 public static long getUidUdpRxBytes(int uid) { in getUidUdpRxBytes() [all …]
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 161 public static boolean isIsolated(int uid) { in isIsolated() 176 public static boolean isApp(int uid) { in isApp() 189 public static boolean isCore(int uid) { in isCore() 203 public static UserHandle getUserHandleForUid(int uid) { in getUserHandleForUid() 212 public static @UserIdInt int getUserId(int uid) { in getUserId() 256 public static @AppIdInt int getAppId(int uid) { in getAppId() 269 public static int getSharedAppGid(int uid) { in getSharedAppGid() 299 public static int getCacheAppGid(int uid) { in getCacheAppGid() 317 public static void formatUid(StringBuilder sb, int uid) { in formatUid() 347 public static String formatUid(int uid) { in formatUid() [all …]
|
/frameworks/native/services/sensorservice/ |
D | BatteryService.cpp | 36 bool BatteryService::addSensor(uid_t uid, int handle) { in addSensor() 48 bool BatteryService::removeSensor(uid_t uid, int handle) { in removeSensor() 58 void BatteryService::enableSensorImpl(uid_t uid, int handle) { in enableSensorImpl() 67 void BatteryService::disableSensorImpl(uid_t uid, int handle) { in disableSensorImpl() 77 void BatteryService::cleanupImpl(uid_t uid) { in cleanupImpl()
|