/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() 70 virtual void onUidProcAdjChanged(uid_t uid, int32_t adj) { in onUidProcAdjChanged() 91 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 114 uid_t uid = data.readInt32(); in onTransact() local 124 uid_t uid = data.readInt32(); in onTransact() local
|
/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/apex/jobscheduler/service/java/com/android/server/ |
D | AppStateTrackerImpl.java | 186 public boolean isAppBackgroundRestricted(int uid, @NonNull String packageName) { in isAppBackgroundRestricted() 273 int uid, @NonNull String packageName) { in onRunAnyAppOpsChanged() 294 private void onUidActiveStateChanged(AppStateTrackerImpl sender, int uid) { in onUidActiveStateChanged() 377 public void updateJobsForUid(int uid, boolean isNowActive) { in updateJobsForUid() 384 public void updateJobsForUidPackage(int uid, String packageName, boolean isNowActive) { in updateJobsForUidPackage() 390 public void updateBackgroundRestrictedForUidPackage(int uid, String packageName, in updateBackgroundRestrictedForUidPackage() 404 public void updateAlarmsForUid(int uid) { in updateAlarmsForUid() 417 public void unblockAlarmsForUid(int uid) { in unblockAlarmsForUid() 423 public void unblockAlarmsForUidPackage(int uid, String packageName) { in unblockAlarmsForUidPackage() 429 public void removeAlarmsForUid(int uid) { in removeAlarmsForUid() [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 375 int uid = 1009; in setPlatformKeyGenerationId_invalidatesExistingKeysForUser() local 402 int uid = 10009; in removeUserFromAllTables_removesData() local 423 int uid = 1009; in setRecoveryStatus_withSingleKey() local 448 int uid = 1009; in getStatusForAllKeys_with3Keys() local [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingConfig.java | 27 void setShowBadge(String packageName, int uid, boolean showBadge); in setShowBadge() 28 boolean canShowBadge(String packageName, int uid); in canShowBadge() 30 int getBubblePreference(String packageName, int uid); in getBubblePreference() 35 boolean isGroupBlocked(String packageName, int uid, String groupId); in isGroupBlocked() 40 int uid); in getNotificationChannelGroups() 41 void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group, in createNotificationChannelGroup() 43 boolean createNotificationChannel(String pkg, int uid, NotificationChannel channel, in createNotificationChannel() 46 void updateNotificationChannel(String pkg, int uid, NotificationChannel updatedChannel, in updateNotificationChannel() 48 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, in getNotificationChannel() 50 NotificationChannel getConversationNotificationChannel(String pkg, int uid, String channelId, in getConversationNotificationChannel() [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/errorprone/tests/res/android/app/ |
D | AppOpsManager.java | 21 public int noteOp(String op, int uid, String packageName) { in noteOp() 29 public int noteOp(int op, int uid, String packageName) { in noteOp() 33 public int noteOp(String op, int uid, String packageName, in noteOp() 38 public int noteOp(int op, int uid, String packageName, in noteOp() 43 public int noteOpNoThrow(String op, int uid, String packageName) { in noteOpNoThrow() 47 public int noteOpNoThrow(int op, int uid, String packageName) { in noteOpNoThrow() 55 public int startOp(int op, int uid, String packageName) { in startOp() 59 public int startOp(int op, int uid, String packageName, boolean startIfModeDefault) { in startOp() 63 public int startOp(String op, int uid, String packageName) { in startOp() 67 public int startOpNoThrow(String op, int uid, String packageName) { in startOpNoThrow() [all …]
|
/frameworks/av/media/utils/include/mediautils/ |
D | ServiceUtilities.h | 47 static inline bool isServiceUid(uid_t uid) { in isServiceUid() 52 static inline bool isAudioServerUid(uid_t uid) { in isAudioServerUid() 58 static inline bool isAudioServerOrRootUid(uid_t uid) { in isAudioServerOrRootUid() 65 static inline bool isAudioServerOrSystemServerUid(uid_t uid) { in isAudioServerOrSystemServerUid() 71 static inline bool isAudioServerOrMediaServerOrSystemServerOrRootUid(uid_t uid) { in isAudioServerOrMediaServerOrSystemServerOrRootUid() 78 static inline bool isAudioServerOrMediaServerUid(uid_t uid) { in isAudioServerOrMediaServerUid() 125 bool allowPlaybackCapture(uid_t uid) { in allowPlaybackCapture() 156 uid_t uid = -1; // uid used for lookup. member
|
/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() 63 void onUidProcAdjChanged(int uid, int adj); in onUidProcAdjChanged() 75 void onUidCachedChanged(int uid, boolean cached); in onUidCachedChanged()
|
D | UidObserver.java | 28 public void onUidActive(int uid) { in onUidActive() 32 public void onUidCachedChanged(int uid, boolean cached) { in onUidCachedChanged() 36 public void onUidGone(int uid, boolean disabled) { in onUidGone() 40 public void onUidIdle(int uid, boolean disabled) { in onUidIdle() 44 public void onUidProcAdjChanged(int uid, int adj) { in onUidProcAdjChanged() 48 public void onUidStateChanged(int uid, int procState, long procStateSeq, int capability) { in onUidStateChanged()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 43 void noteStartSensor(int uid, int sensor); in noteStartSensor() 45 void noteStopSensor(int uid, int sensor); in noteStopSensor() 47 void noteStartVideo(int uid); in noteStartVideo() 49 void noteStopVideo(int uid); in noteStopVideo() 53 oneway void noteStartAudio(int uid); in noteStartAudio() 55 oneway void noteStopAudio(int uid); in noteStopAudio() 61 void noteFlashlightOn(int uid); in noteFlashlightOn() 63 void noteFlashlightOff(int uid); in noteFlashlightOff() 65 void noteStartCamera(int uid); in noteStartCamera() 67 void noteStopCamera(int uid); in noteStopCamera() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageVerificationState.java | 67 void addRequiredVerifierUid(int uid) { in addRequiredVerifierUid() 73 boolean checkRequiredVerifierUid(int uid) { in checkRequiredVerifierUid() 82 void addSufficientVerifier(int uid) { in addSufficientVerifier() 87 boolean checkSufficientVerifierUid(int uid) { in checkSufficientVerifierUid() 91 void setVerifierResponseOnTimeout(int uid, int code) { in setVerifierResponseOnTimeout() 111 void setVerifierResponse(int uid, int code) { in setVerifierResponse() 199 boolean extendTimeout(int uid) { in extendTimeout() 212 boolean timeoutExtended(int uid) { in timeoutExtended()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseAppStateDurationsTracker.java | 53 void onUidProcStateChanged(final int uid, final int procState) { in onUidProcStateChanged() 71 void onUidGone(final int uid) { 90 void onUntrackingUidLocked(int uid) { in onUntrackingUidLocked() 94 long getTotalDurations(String packageName, int uid, long now, int index, boolean bgOnly) { in getTotalDurations() 112 long getTotalDurations(String packageName, int uid, long now, int index) { in getTotalDurations() 116 long getTotalDurations(String packageName, int uid, long now) { in getTotalDurations() 120 long getTotalDurations(int uid, long now, int index, boolean bgOnly) { in getTotalDurations() 136 long getTotalDurations(int uid, long now, int index) { in getTotalDurations() 140 long getTotalDurations(int uid, long now) { in getTotalDurations() 144 long getTotalDurationsSince(String packageName, int uid, long since, long now, int index, in getTotalDurationsSince() [all …]
|
D | FgsTempAllowList.java | 76 public void add(int uid, long durationMs, @Nullable E entry) { in add() 110 public Pair<Long, E> get(int uid) { in get() 128 public boolean isAllowed(int uid) { in isAllowed() 136 public void removeUid(int uid) { in removeUid() 149 final int uid = mTempAllowList.keyAt(i); in removeAppId() local 163 final int uid = mTempAllowList.keyAt(i); in forEach() local
|
D | OomAdjusterDebugLogger.java | 43 boolean shouldLog(int uid) { in shouldLog() 66 void logUidStateChanged(int uid, int uidstate, int olduidstate, in logUidStateChanged() 75 void logProcStateChanged(int uid, int pid, int procstate, int oldprocstate, in logProcStateChanged() 84 void logScheduleUidIdle1(int uid, long delay) { in logScheduleUidIdle1() 89 void logScheduleUidIdle2(int uid, int pid, long delay) { in logScheduleUidIdle2() 99 void logSetLastBackgroundTime(int uid, long time) { in logSetLastBackgroundTime() 105 void logClearLastBackgroundTime(int uid) { in logClearLastBackgroundTime()
|
D | AppRestrictionController.java | 466 PkgSettings(String packageName, int uid) { in PkgSettings() 648 @RestrictionLevel int update(String packageName, int uid, @RestrictionLevel int level, in update() 663 int getReason(String packageName, int uid) { in getReason() 671 @RestrictionLevel int getRestrictionLevel(int uid) { in getRestrictionLevel() 693 @RestrictionLevel int getRestrictionLevel(int uid, String packageName) { in getRestrictionLevel() 703 final int uid = pm.getPackageUid(packageName, STOCK_PM_FLAGS, userId); in getRestrictionLevel() local 707 private @RestrictionLevel int getLastRestrictionLevel(int uid, String packageName) { in getLastRestrictionLevel() 716 void forEachPackageInUidLocked(int uid, in forEachPackageInUidLocked() 738 PkgSettings getRestrictionSettingsLocked(int uid, String packageName) { in getRestrictionSettingsLocked() 745 final int uid = mRestrictionLevels.keyAt(i); in removeUser() local [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | MirrorActiveUids.java | 38 synchronized void onUidActive(int uid, int procState) { in onUidActive() 42 synchronized void onUidInactive(int uid) { in onUidInactive() 46 synchronized void onUidProcStateChanged(int uid, int procState) { in onUidProcStateChanged() 53 synchronized @ProcessState int getUidState(int uid) { in getUidState() 58 synchronized void onNonAppSurfaceVisibilityChanged(int uid, boolean visible) { in onNonAppSurfaceVisibilityChanged() 77 synchronized boolean hasNonAppVisibleWindow(int uid) { in hasNonAppVisibleWindow()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyStoreManagerTest.java | 240 int uid = Binder.getCallingUid(); in importKey_storesTheKey() local 273 int uid = Binder.getCallingUid(); in importKeyWithMetadata_nullMetadata_storesTheKey() local 286 int uid = Binder.getCallingUid(); in importKeyWithMetadata_nonNullMetadata_storesTheKey() local 322 int uid = Binder.getCallingUid(); in generateKeyWithMetadata_nullMetadata_storesTheKey() local 333 int uid = Binder.getCallingUid(); in generateKeyWithMetadata_nonNullMetadata_storesTheKey() local 344 int uid = Binder.getCallingUid(); in removeKey_removesAKey() local 354 int uid = Binder.getCallingUid(); in removeKey_updatesShouldCreateSnapshot() local 367 int uid = Binder.getCallingUid(); in removeKey_failureDoesNotUpdateShouldCreateSnapshot() local 379 int uid = Binder.getCallingUid(); in initRecoveryService_succeedsWithCertFile() local 401 int uid = Binder.getCallingUid(); in initRecoveryService_updatesShouldCreatesnapshotOnCertUpdate() local [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/base/core/java/com/android/internal/compat/ |
D | ChangeReporter.java | 98 public void reportChange(int uid, long changeId, int state, boolean isLoggableBySdk) { in reportChange() 118 public void reportChange(int uid, long changeId, int state) { in reportChange() 145 boolean shouldWriteToStatsLog(int uid, long changeId, int state) { in shouldWriteToStatsLog() 186 boolean shouldWriteToDebug(int uid, long changeId, int state) { in shouldWriteToDebug() 202 boolean shouldWriteToDebug(int uid, long changeId, int state, boolean isLoggableBySdk) { in shouldWriteToDebug() 215 private boolean checkAndSetIsAlreadyReported(int uid, ChangeReport changeReport) { in checkAndSetIsAlreadyReported() 223 private boolean isAlreadyReported(int uid, ChangeReport report) { in isAlreadyReported() 227 private void markAsReported(int uid, ChangeReport report) { in markAsReported() 239 public void resetReportedChanges(int uid) { in resetReportedChanges() 243 private void debugLog(int uid, long changeId, int state) { in debugLog()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 165 public void onPackageAdded(String packageName, int uid) { in onPackageAdded() 172 public void onPackageAddedWithExtras(String packageName, int uid, Bundle extras) { in onPackageAddedWithExtras() 179 public void onPackageRemoved(String packageName, int uid) { in onPackageRemoved() 186 public void onPackageRemovedWithExtras(String packageName, int uid, Bundle extras) { in onPackageRemovedWithExtras() 193 public void onPackageRemovedAllUsers(String packageName, int uid) { in onPackageRemovedAllUsers() 200 public void onPackageRemovedAllUsersWithExtras(String packageName, int uid, Bundle extras) { in onPackageRemovedAllUsersWithExtras() 203 public void onPackageUpdateStarted(String packageName, int uid) { in onPackageUpdateStarted() 210 public void onPackageUpdateStartedWithExtras(String packageName, int uid, Bundle extras) { in onPackageUpdateStartedWithExtras() 213 public void onPackageUpdateFinished(String packageName, int uid) { in onPackageUpdateFinished() 220 public void onPackageUpdateFinishedWithExtras(String packageName, int uid, Bundle extras) { in onPackageUpdateFinishedWithExtras() [all …]
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsUidStateTrackerImpl.java | 122 public int getUidState(int uid) { in getUidState() 126 private int getUidStateLocked(int uid) { in getUidStateLocked() 132 public int evalMode(int uid, int code, int mode) { in evalMode() 145 private int evalModeInternal(int uid, int code, int uidState, int uidCapability) { in evalModeInternal() 187 public boolean isUidInForeground(int uid) { in isUidInForeground() 212 int uid = uidPackageNames.keyAt(i); in updateAppWidgetVisibility() local 220 public void updateUidProcState(int uid, int procState, int capability) { in updateUidProcState() 278 public void dumpUidState(PrintWriter pw, int uid, long nowElapsed) { in dumpUidState() 321 private void updateUidPendingStateIfNeeded(int uid) { in updateUidPendingStateIfNeeded() 325 private void updateUidPendingStateIfNeededLocked(int uid) { in updateUidPendingStateIfNeededLocked() [all …]
|
D | AppOpsUidStateTracker.java | 79 void updateUidProcState(int uid, int procState, int capability); in updateUidProcState() 90 int getUidState(int uid); in getUidState() 95 boolean isUidInForeground(int uid); in isUidInForeground() 100 int evalMode(int uid, int code, int mode); in evalMode() 121 void onUidStateChanged(int uid, int uidState, boolean foregroundModeMayChange); in onUidStateChanged() 124 void dumpUidState(PrintWriter pw, int uid, long nowElapsed); in dumpUidState()
|
/frameworks/base/core/java/com/android/internal/logging/testing/ |
D | UiEventLoggerFake.java | 37 public final int uid; field in UiEventLoggerFake.FakeUiEvent 42 FakeUiEvent(int eventId, int uid, String packageName) { in FakeUiEvent() 50 FakeUiEvent(int eventId, int uid, String packageName, InstanceId instanceId) { in FakeUiEvent() 58 FakeUiEvent(int eventId, int uid, String packageName, InstanceId instanceId, int position) { in FakeUiEvent() 97 public void log(UiEventEnum event, int uid, String packageName) { in log() 105 public void logWithInstanceId(UiEventEnum event, int uid, String packageName, in logWithInstanceId() 114 public void logWithPosition(UiEventEnum event, int uid, String packageName, int position) { in logWithPosition() 122 public void logWithInstanceIdAndPosition(UiEventEnum event, int uid, String packageName, in logWithInstanceIdAndPosition()
|