/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() 84 uid_t uid = data.readInt32(); in onTransact() local 92 uid_t uid = data.readInt32(); in onTransact() local 99 uid_t uid = data.readInt32(); in onTransact() local 106 uid_t uid = data.readInt32(); in onTransact() local
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 72 public boolean checkConfigOverridePermission(int uid) { in checkConfigOverridePermission() 84 public void enforceLocationPermission(String pkgName, @Nullable String featureId, int uid) { in enforceLocationPermission() 128 int uid, boolean coarseForTargetSdkLessThanQ, @Nullable String message) { in checkCallersLocationPermission() 163 int uid) { in enforceFineLocationPermission() 181 int uid, boolean hideFromAppOps) { in checkCallersFineLocationPermission() 202 private boolean checkCallersHardwareLocationPermission(int uid) { in checkCallersHardwareLocationPermission() 216 public void enforceCanAccessScanResults(String pkgName, @Nullable String featureId, int uid, in enforceCanAccessScanResults() 272 @Nullable String featureId, int uid, boolean ignoreLocationSettings, in enforceCanAccessScanResultsForWifiScanner() 309 public boolean checkCanAccessWifiDirect(String pkgName, @Nullable String featureId, int uid, in checkCanAccessWifiDirect() 347 public void checkPackage(int uid, String pkgName) throws SecurityException { in checkPackage() [all …]
|
/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 int getBubblePreference(String packageName, int uid); in getBubblePreference() 36 boolean isGroupBlocked(String packageName, int uid, String groupId); in isGroupBlocked() 39 int uid); in getNotificationChannelGroups() 40 void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group, in createNotificationChannelGroup() 43 int uid, boolean includeDeleted, boolean includeNonGrouped, boolean includeEmpty); in getNotificationChannelGroups() 44 boolean createNotificationChannel(String pkg, int uid, NotificationChannel channel, in createNotificationChannel() [all …]
|
D | NotificationChannelLogger.java | 44 default void logNotificationChannelCreated(@NonNull NotificationChannel channel, int uid, in logNotificationChannelCreated() 48 channel, uid, pkg, 0, getLoggingImportance(channel)); in logNotificationChannelCreated() local 57 default void logNotificationChannelDeleted(@NonNull NotificationChannel channel, int uid, in logNotificationChannelDeleted() 61 channel, uid, pkg, getLoggingImportance(channel), 0); in logNotificationChannelDeleted() local 72 default void logNotificationChannelModified(@NonNull NotificationChannel channel, int uid, in logNotificationChannelModified() 75 channel, uid, pkg, oldLoggingImportance, getLoggingImportance(channel)); in logNotificationChannelModified() local 87 int uid, String pkg, boolean isNew, boolean wasBlocked) { in logNotificationChannelGroup() 89 channelGroup, uid, pkg, wasBlocked); in logNotificationChannelGroup() local 99 int uid, String pkg) { in logNotificationChannelGroupDeleted() 110 default void logAppNotificationsAllowed(int uid, String pkg, boolean enabled) { in logAppNotificationsAllowed() [all …]
|
/frameworks/base/media/java/android/media/session/ |
D | ISessionCallback.aidl | 28 void onCommand(String packageName, int pid, int uid, String command, in Bundle args, in onCommand() 30 void onMediaButton(String packageName, int pid, int uid, in Intent mediaButtonIntent, in onMediaButton() 32 void onMediaButtonFromController(String packageName, int pid, int uid, in onMediaButtonFromController() 36 void onPrepare(String packageName, int pid, int uid); in onPrepare() 37 void onPrepareFromMediaId(String packageName, int pid, int uid, String mediaId, in onPrepareFromMediaId() 39 void onPrepareFromSearch(String packageName, int pid, int uid, String query, in Bundle extras); in onPrepareFromSearch() 40 void onPrepareFromUri(String packageName, int pid, int uid, in Uri uri, in Bundle extras); in onPrepareFromUri() 41 void onPlay(String packageName, int pid, int uid); in onPlay() 42 void onPlayFromMediaId(String packageName, int pid, int uid, String mediaId, in Bundle extras); in onPlayFromMediaId() 43 void onPlayFromSearch(String packageName, int pid, int uid, String query, in Bundle extras); in onPlayFromSearch() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppStateTracker.java | 263 int uid, @NonNull String packageName) { in onRunAnyAppOpsChanged() 283 private void onUidForegroundStateChanged(AppStateTracker sender, int uid) { in onUidForegroundStateChanged() 290 private void onUidActiveStateChanged(AppStateTracker sender, int uid) { in onUidActiveStateChanged() 360 public void updateJobsForUid(int uid, boolean isNowActive) { in updateJobsForUid() 367 public void updateJobsForUidPackage(int uid, String packageName, boolean isNowActive) { in updateJobsForUidPackage() 374 public void stopForegroundServicesForUidPackage(int uid, String packageName) { in stopForegroundServicesForUidPackage() 387 public void unblockAlarmsForUid(int uid) { in unblockAlarmsForUid() 393 public void unblockAlarmsForUidPackage(int uid, String packageName) { in unblockAlarmsForUidPackage() 401 public void onUidForeground(int uid, boolean foreground) { in onUidForeground() 567 private int findForcedAppStandbyUidPackageIndexLocked(int uid, @NonNull String packageName) { in findForcedAppStandbyUidPackageIndexLocked() [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/av/media/utils/include/mediautils/ |
D | ServiceUtilities.h | 41 static inline bool isServiceUid(uid_t uid) { in isServiceUid() 46 static inline bool isAudioServerUid(uid_t uid) { in isAudioServerUid() 52 static inline bool isAudioServerOrRootUid(uid_t uid) { in isAudioServerOrRootUid() 58 static inline bool isAudioServerOrSystemServerUid(uid_t uid) { in isAudioServerOrSystemServerUid() 64 static inline bool isAudioServerOrMediaServerOrSystemServerOrRootUid(uid_t uid) { in isAudioServerOrMediaServerOrSystemServerOrRootUid() 71 static inline bool isAudioServerOrMediaServerUid(uid_t uid) { in isAudioServerOrMediaServerUid() 102 bool allowPlaybackCapture(uid_t uid) { in allowPlaybackCapture() 133 uid_t uid = -1; // uid used for lookup. member
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyStoreManagerTest.java | 211 int uid = Binder.getCallingUid(); in importKey_storesTheKey() local 244 int uid = Binder.getCallingUid(); in importKeyWithMetadata_nullMetadata_storesTheKey() local 257 int uid = Binder.getCallingUid(); in importKeyWithMetadata_nonNullMetadata_storesTheKey() local 293 int uid = Binder.getCallingUid(); in generateKeyWithMetadata_nullMetadata_storesTheKey() local 304 int uid = Binder.getCallingUid(); in generateKeyWithMetadata_nonNullMetadata_storesTheKey() local 315 int uid = Binder.getCallingUid(); in removeKey_removesAKey() local 325 int uid = Binder.getCallingUid(); in removeKey_updatesShouldCreateSnapshot() local 338 int uid = Binder.getCallingUid(); in removeKey_failureDoesNotUpdateShouldCreateSnapshot() local 349 int uid = Binder.getCallingUid(); in initRecoveryService_succeedsWithCertFile() local 370 int uid = Binder.getCallingUid(); in initRecoveryService_updatesShouldCreatesnapshotOnCertUpdate() local [all …]
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManagerInternal.java | 48 public int getMountMode(int uid, String packageName); in getMountMode() 59 public boolean hasExternalStorage(int uid, String packageName); in hasExternalStorage() 77 public abstract void onExternalStoragePolicyChanged(int uid, String packageName); in onExternalStoragePolicyChanged() 87 public abstract int getExternalStorageMountMode(int uid, String packageName); in getExternalStorageMountMode() 120 public abstract void onAppOpsChanged(int code, int uid, in onAppOpsChanged() 136 public abstract boolean hasLegacyExternalStorage(int uid); in hasLegacyExternalStorage() 146 public abstract void prepareAppDataAfterInstall(@NonNull String packageName, int uid); in prepareAppDataAfterInstall() 152 public abstract boolean isExternalStorageService(int uid); in isExternalStorageService()
|
/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 …]
|
/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() 55 void onUidStateChanged(int uid, int procState, long procStateSeq, int capability); in onUidStateChanged() 67 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/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/am/ |
D | BatteryStatsService.java | 221 public void noteJobsDeferred(int uid, int numDeferred, long sinceLast) { in noteJobsDeferred() 315 void removeUid(int uid) { in removeUid() 345 void noteProcessStart(String name, int uid) { in noteProcessStart() 353 void noteProcessCrash(String name, int uid) { in noteProcessCrash() 361 void noteProcessAnr(String name, int uid) { in noteProcessAnr() 367 void noteProcessFinish(String name, int uid) { in noteProcessFinish() 376 void noteUidProcessState(int uid, int state) { in noteUidProcessState() 440 public void noteEvent(int code, String name, int uid) { in noteEvent() 447 public void noteSyncStart(String name, int uid) { in noteSyncStart() 456 public void noteSyncFinish(String name, int uid) { in noteSyncFinish() [all …]
|
D | PendingStartActivityUids.java | 47 synchronized void add(int uid, int pid) { in add() 53 synchronized void delete(int uid) { in delete() 66 synchronized boolean isPendingTopPid(int uid, int pid) { in isPendingTopPid() 75 synchronized boolean isPendingTopUid(int uid) { in isPendingTopUid()
|
/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 | 195 int uid, in getAndroidKeyStorePublicKey() 236 @NonNull String alias, int uid) in getKeyCharacteristics() 257 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid, in loadAndroidKeyStorePublicKeyFromKeystore() 291 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStorePublicKeyFromKeystore() 299 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid, in loadAndroidKeyStoreKeyPairFromKeystore() 313 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStoreKeyPairFromKeystore() 321 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid, in loadAndroidKeyStorePrivateKeyFromKeystore() 332 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStorePrivateKeyFromKeystore() 340 @NonNull String secretKeyAlias, int uid, @NonNull KeyCharacteristics keyCharacteristics) in loadAndroidKeyStoreSecretKeyFromKeystore() 372 @NonNull KeyStore keyStore, @NonNull String userKeyAlias, int uid) in loadAndroidKeyStoreKeyFromKeystore() [all …]
|
/frameworks/base/core/java/com/android/internal/logging/testing/ |
D | UiEventLoggerFake.java | 36 public final int uid; field in UiEventLoggerFake.FakeUiEvent 41 FakeUiEvent(int eventId, int uid, String packageName) { in FakeUiEvent() 49 FakeUiEvent(int eventId, int uid, String packageName, InstanceId instanceId) { in FakeUiEvent() 57 FakeUiEvent(int eventId, int uid, String packageName, InstanceId instanceId, int position) { in FakeUiEvent() 91 public void log(UiEventEnum event, int uid, String packageName) { in log() 99 public void logWithInstanceId(UiEventEnum event, int uid, String packageName, in logWithInstanceId() 108 public void logWithPosition(UiEventEnum event, int uid, String packageName, int position) { in logWithPosition() 116 public void logWithInstanceIdAndPosition(UiEventEnum event, int uid, String packageName, in logWithInstanceIdAndPosition()
|
/frameworks/av/media/utils/ |
D | ServiceUtilities.cpp | 44 const String16& opPackageName, uid_t uid) { in resolveCallingPackage() 65 uid_t uid, bool start) { in checkRecordingInternal() 107 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in recordingAllowed() 111 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid) { in startRecording() 115 void finishRecording(const String16& opPackageName, uid_t uid) { in finishRecording() 132 bool captureAudioOutputAllowed(pid_t pid, uid_t uid) { in captureAudioOutputAllowed() 140 bool captureMediaOutputAllowed(pid_t pid, uid_t uid) { in captureMediaOutputAllowed() 148 bool captureVoiceCommunicationOutputAllowed(pid_t pid, uid_t uid) { in captureVoiceCommunicationOutputAllowed() 157 bool captureHotwordAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in captureHotwordAllowed() 185 bool modifyAudioRoutingAllowed(pid_t pid, uid_t uid) { in modifyAudioRoutingAllowed() [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/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() 803 public static long getUidRxBytes(int uid) { in getUidRxBytes() 829 public static long getUidTxPackets(int uid) { in getUidTxPackets() 855 public static long getUidRxPackets(int uid) { in getUidRxPackets() 870 public static long getUidTcpTxBytes(int uid) { in getUidTcpTxBytes() 881 public static long getUidTcpRxBytes(int uid) { in getUidTcpRxBytes() 892 public static long getUidUdpTxBytes(int uid) { in getUidUdpTxBytes() 903 public static long getUidUdpRxBytes(int uid) { in getUidUdpRxBytes() [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() 245 private void checkPackage(int uid, String pkgName) in checkPackage() 258 private int getUidPermission(String permissionType, int uid) { in getUidPermission()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 139 public void onPackageAdded(String packageName, int uid) { in onPackageAdded() 146 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() 153 public void onPackageRemovedAllUsers(String packageName, int uid) { in onPackageRemovedAllUsers() 156 public void onPackageUpdateStarted(String packageName, int uid) { in onPackageUpdateStarted() 159 public void onPackageUpdateFinished(String packageName, int uid) { in onPackageUpdateFinished() 180 public boolean onPackageChanged(String packageName, int uid, String[] components) { in onPackageChanged() 191 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { in onHandleForceStop() 198 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 …]
|