/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() 154 public boolean checkCallersLocationPermission(String pkgName, int uid, in checkCallersLocationPermission() 183 public void enforceFineLocationPermission(String pkgName, int uid) { in enforceFineLocationPermission() 199 private boolean checkCallersFineLocationPermission(String pkgName, int uid, in checkCallersFineLocationPermission() 225 private boolean checkCallersHardwareLocationPermission(int uid) { in checkCallersHardwareLocationPermission() 236 public void enforceCanAccessScanResults(String pkgName, int uid) throws SecurityException { in enforceCanAccessScanResults() 288 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/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 | 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/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/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/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 isAudioServerOrMediaServerUid(uid_t uid) { in isAudioServerOrMediaServerUid() 91 bool allowPlaybackCapture(uid_t uid) { in allowPlaybackCapture()
|
/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/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/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/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/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/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/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/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/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/base/core/java/android/net/ |
D | TrafficStats.java | 304 public static void setThreadStatsUid(int uid) { in setThreadStatsUid() 473 final int uid = android.os.Process.myUid(); in incrementOperationCount() local 762 public static long getUidTxBytes(int uid) { in getUidTxBytes() 795 public static long getUidRxBytes(int uid) { in getUidRxBytes() 828 public static long getUidTxPackets(int uid) { in getUidTxPackets() 861 public static long getUidRxPackets(int uid) { in getUidRxPackets() 883 public static long getUidTcpTxBytes(int uid) { in getUidTcpTxBytes() 894 public static long getUidTcpRxBytes(int uid) { in getUidTcpRxBytes() 905 public static long getUidUdpTxBytes(int uid) { in getUidUdpTxBytes() 916 public static long getUidUdpRxBytes(int uid) { in getUidUdpRxBytes() [all …]
|
/frameworks/av/media/utils/ |
D | ServiceUtilities.cpp | 42 const String16& opPackageName, uid_t uid) { in resolveCallingPackage() 63 uid_t uid, bool start) { in checkRecordingInternal() 102 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in recordingAllowed() 106 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid) { in startRecording() 110 void finishRecording(const String16& opPackageName, uid_t uid) { in finishRecording() 127 bool captureAudioOutputAllowed(pid_t pid, uid_t uid) { in captureAudioOutputAllowed() 135 bool captureMediaOutputAllowed(pid_t pid, uid_t uid) { in captureMediaOutputAllowed() 143 bool captureHotwordAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in captureHotwordAllowed() 203 bool modifyPhoneStateAllowed(pid_t pid, uid_t uid) { in modifyPhoneStateAllowed() 210 bool bypassInterruptionPolicyAllowed(pid_t pid, uid_t uid) { in bypassInterruptionPolicyAllowed() [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/core/java/android/os/ |
D | UserHandle.java | 161 public static boolean isIsolated(int uid) { in isIsolated() 175 public static boolean isApp(int uid) { in isApp() 188 public static boolean isCore(int uid) { in isCore() 202 public static UserHandle getUserHandleForUid(int uid) { in getUserHandleForUid() 211 public static @UserIdInt int getUserId(int uid) { in getUserId() 255 public static @AppIdInt int getAppId(int uid) { in getAppId() 268 public static int getSharedAppGid(int uid) { in getSharedAppGid() 298 public static int getCacheAppGid(int uid) { in getCacheAppGid() 316 public static void formatUid(StringBuilder sb, int uid) { in formatUid() 346 public static String formatUid(int uid) { in formatUid() [all …]
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 135 public void onPackageAdded(String packageName, int uid) { in onPackageAdded() 142 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() 149 public void onPackageRemovedAllUsers(String packageName, int uid) { in onPackageRemovedAllUsers() 152 public void onPackageUpdateStarted(String packageName, int uid) { in onPackageUpdateStarted() 155 public void onPackageUpdateFinished(String packageName, int uid) { in onPackageUpdateFinished() 176 public boolean onPackageChanged(String packageName, int uid, String[] components) { in onPackageChanged() 187 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { in onHandleForceStop() 194 public void onUidRemoved(int uid) { in onUidRemoved() 305 public void onPackageDataCleared(String packageName, int uid) { in onPackageDataCleared() 335 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() local [all …]
|