/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 88 public boolean getNotificationsBanned(String pkg, int uid) { in getNotificationsBanned() 98 public boolean setNotificationsEnabledForPackage(String pkg, int uid, boolean enabled) { in setNotificationsEnabledForPackage() 108 public boolean canShowBadge(String pkg, int uid) { in canShowBadge() 117 public boolean setShowBadge(String pkg, int uid, boolean showBadge) { in setShowBadge() 127 public NotificationChannel getChannel(String pkg, int uid, String channelId) { in getChannel() 140 public NotificationChannelGroup getGroup(String groupId, String pkg, int uid) { in getGroup() 152 public ParceledListSlice<NotificationChannelGroup> getChannelGroups(String pkg, int uid) { in getChannelGroups() 161 public void updateChannel(String pkg, int uid, NotificationChannel channel) { in updateChannel() 169 public int getDeletedChannelCount(String pkg, int uid) { in getDeletedChannelCount() 178 public boolean onlyHasDefaultChannel(String pkg, int uid) { in onlyHasDefaultChannel() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | ForegroundUtils.java | 58 void onUidToBackground(int uid); in onUidToBackground() 76 public boolean registerUidToBackgroundCallback(Callback callback, int uid) { in registerUidToBackgroundCallback() 94 public boolean isInForeground(int uid) { in isInForeground() 114 private boolean isInForegroundLocked(int uid) { in isInForegroundLocked() 118 private void handleUidToBackground(int uid) { in handleUidToBackground() 137 public void onForegroundActivitiesChanged(int pid, int uid, in onForegroundActivitiesChanged() 180 public void onProcessDied(int pid, int uid) throws RemoteException { in onProcessDied()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | SystemFacade.java | 35 public Network getActiveNetwork(int uid, boolean ignoreBlocked); in getActiveNetwork() 37 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked); in getNetworkInfo() 41 public boolean isActiveNetworkMeteredForUid(int uid); in isActiveNetworkMeteredForUid() 64 public boolean userOwnsPackage(int uid, String pckg) throws NameNotFoundException; in userOwnsPackage() 69 public boolean isCleartextTrafficPermitted(int uid); in isCleartextTrafficPermitted()
|
D | RealSystemFacade.java | 53 public Network getActiveNetwork(int uid, boolean ignoreBlocked) { in getActiveNetwork() 59 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked) { in getNetworkInfo() 71 public boolean isActiveNetworkMeteredForUid(int uid) { in isActiveNetworkMeteredForUid() 94 public boolean userOwnsPackage(int uid, String packageName) throws NameNotFoundException { in userOwnsPackage() 99 public boolean isCleartextTrafficPermitted(int uid) { in isCleartextTrafficPermitted()
|
D | DownloadIdleService.java | 187 final int uid = android.os.Process.myUid(); in cleanOrphans() local 189 fromDisk.addAll(listFilesRecursive(getCacheDir(), null, uid)); in cleanOrphans() local 190 fromDisk.addAll(listFilesRecursive(getFilesDir(), null, uid)); in cleanOrphans() local 191 fromDisk.addAll(listFilesRecursive(Environment.getDownloadCacheDirectory(), null, uid)); in cleanOrphans() local
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataSaverBackend.java | 85 public void setIsWhitelisted(int uid, String packageName, boolean whitelisted) { in setIsWhitelisted() 95 public boolean isWhitelisted(int uid) { in isWhitelisted() 124 public void setIsBlacklisted(int uid, String packageName, boolean blacklisted) { in setIsBlacklisted() 134 public boolean isBlacklisted(int uid) { in isBlacklisted() 153 private void handleWhitelistChanged(int uid, boolean isWhitelisted) { in handleWhitelistChanged() 159 private void handleBlacklistChanged(int uid, boolean isBlacklisted) { in handleBlacklistChanged() 165 private void handleUidPoliciesChanged(int uid, int newPolicy) { in handleUidPoliciesChanged() 213 void onWhitelistStatusChanged(int uid, boolean isWhitelisted); in onWhitelistStatusChanged() 214 void onBlacklistStatusChanged(int uid, boolean isBlacklisted); in onBlacklistStatusChanged()
|
D | DataSaverPreference.java | 49 public void onWhitelistStatusChanged(int uid, boolean isWhitelisted) { in onWhitelistStatusChanged() 53 public void onBlacklistStatusChanged(int uid, boolean isBlacklisted) { in onBlacklistStatusChanged()
|
D | AppDataUsage.java | 125 int uid = (args != null) ? args.getInt(AppInfoBase.ARG_PACKAGE_UID, -1) in onCreate() local 278 private void addUid(int uid) { in addUid() 310 final int uid = mAppItem.key; in getAppRestrictBackground() local 327 int uid = 0; in onViewCreated() local 423 public void onWhitelistStatusChanged(int uid, boolean isWhitelisted) { in onWhitelistStatusChanged() 430 public void onBlacklistStatusChanged(int uid, boolean isBlacklisted) { in onBlacklistStatusChanged()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | FakeSystemFacade.java | 68 public Network getActiveNetwork(int uid, boolean ignoreBlocked) { in getActiveNetwork() 88 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked) { in getNetworkInfo() 105 public boolean isActiveNetworkMeteredForUid(int uid) { in isActiveNetworkMeteredForUid() 125 public boolean userOwnsPackage(int uid, String pckg) throws NameNotFoundException { in userOwnsPackage() 130 public boolean isCleartextTrafficPermitted(int uid) { in isCleartextTrafficPermitted()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | ProviderUtil.java | 46 public static boolean isAccessRestricted(Context context, String packageName, int uid) { in isAccessRestricted() 59 public static boolean shouldSetCreator(ContentValues values, int uid) { in shouldSetCreator() 72 public static boolean shouldRemoveCreator(ContentValues values, int uid) { in shouldRemoveCreator()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryUtils.java | 94 public long getProcessTimeMs(@StatusType int type, @Nullable BatteryStats.Uid uid, in getProcessTimeMs() 114 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which, long rawRealTimeUs) { in getScreenUsageTimeMs() 132 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which) { in getScreenUsageTimeMs() 137 private long getProcessBackgroundTimeMs(BatteryStats.Uid uid, int which) { in getProcessBackgroundTimeMs() 147 private long getProcessForegroundTimeMs(BatteryStats.Uid uid, int which) { in getProcessForegroundTimeMs() 198 final BatteryStats.Uid uid = sippers.get(i).uidObj; in smearScreenBatterySipper() local 280 public String getPackageName(int uid) { in getPackageName() 307 public boolean isBackgroundRestrictionEnabled(final int targetSdkVersion, final int uid, in isBackgroundRestrictionEnabled() 396 long getForegroundActivityTotalTimeUs(BatteryStats.Uid uid, long rawRealtimeUs) { in getForegroundActivityTotalTimeUs() 406 long getForegroundServiceTotalTimeUs(BatteryStats.Uid uid, long rawRealtimeUs) { in getForegroundServiceTotalTimeUs()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateInstallAppsBridge.java | 55 protected void updateExtraInfo(AppEntry app, String packageName, int uid) { in updateExtraInfo() 79 private boolean hasPermission(String permission, int uid) { in hasPermission() 89 private int getAppOpMode(int appOpCode, int uid, String packageName) { in getAppOpMode() 93 InstallAppsState createInstallAppsStateFor(String packageName, int uid) { in createInstallAppsStateFor()
|
D | AppStateUsageBridge.java | 46 protected void updateExtraInfo(AppEntry app, String pkg, int uid) { in updateExtraInfo() 50 public UsageState getUsageInfo(String pkg, int uid) { in getUsageInfo()
|
D | AppStateWriteSettingsBridge.java | 47 protected void updateExtraInfo(AppEntry app, String pkg, int uid) { in updateExtraInfo() 51 public WriteSettingsState getWriteSettingsInfo(String pkg, int uid) { in getWriteSettingsInfo()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsMockPackageManager.java | 67 public String getNameForUid(int uid) { in getNameForUid() 72 public String[] getPackagesForUid(int uid) { in getPackagesForUid() 87 Integer uid = mReverse.get(packageName); in getApplicationInfo() local 129 public List<ProviderInfo> queryContentProviders(String processName, int uid, int flags, in queryContentProviders()
|
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/ |
D | FrontendAppIdentifier.java | 20 private final int uid; field in FrontendAppIdentifier 23 public FrontendAppIdentifier(int uid, int subscriptionId) { in FrontendAppIdentifier()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowPermissionChecker.java | 44 public static void addPermission(String permission, int pid, int uid, String packageName, in addPermission() 51 int pid, int uid, String packageName) { in checkPermission() 62 public PermissionInfo(String permission, int pid, int uid, String packageName) { in PermissionInfo()
|
/packages/services/Car/libvehiclemonitor/java/src/com/android/car/vehiclemonitor/ |
D | VehicleMonitor.java | 62 void onAppViolation(int pid, int uid, int action, int violation); in onAppViolation() 113 public void setAppPriority(int pid, int uid, @ApplicationPriority int priority) in setAppPriority() 135 private void notifyAppViolation(int pid, int uid, int action, int violation) { in notifyAppViolation() 161 public void onAppViolation(int pid, int uid, int action, int violation) { in onAppViolation() 175 AppViolation(int pid, int uid, int action, int violation) { in AppViolation()
|
/packages/services/Car/service/src/com/android/car/ |
D | SystemActivityMonitoringService.java | 182 public boolean isInForeground(int pid, int uid) { in isInForeground() 280 private void handleForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities) { in handleForegroundActivitiesChanged() 295 private void handleProcessDied(int pid, int uid) { in handleProcessDied() 301 private void doHandlePidGoneLocked(int pid, int uid) { in doHandlePidGoneLocked() 362 public void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities) { in onForegroundActivitiesChanged() 372 public void onProcessDied(int pid, int uid) { in onProcessDied() 402 private void requestForegroundActivitiesChanged(int pid, int uid, in requestForegroundActivitiesChanged() 409 private void requestProcessDied(int pid, int uid) { in requestProcessDied()
|
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
D | IKeyChainServiceTestSupport.aidl | 37 void revokeAppPermission(int uid, String alias); in revokeAppPermission() 38 void grantAppPermission(int uid, String alias); in grantAppPermission()
|
/packages/services/Car/libvehiclemonitor/native/ |
D | IVehicleMonitor.cpp | 44 uint32_t pid, uint32_t uid, vehicle_app_priority priority) { in setAppPriority() 81 uid_t uid = IPCThreadState::self()->getCallingUid(); in isSystemUser() local 109 int32_t uid = data.readInt32(); in onTransact() local
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/checker/ |
D | WakeLockAnomalyDetector.java | 80 final BatteryStats.Uid uid = sipper.uidObj; in detectAnomalies() local 112 long getCurrentDurationMs(BatteryStats.Uid uid, long elapsedRealtimeMs) { in getCurrentDurationMs() 119 long getBackgroundTotalDurationMs(BatteryStats.Uid uid, long elapsedRealtimeMs) { in getBackgroundTotalDurationMs()
|
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/ |
D | DefaultAppInfo.java | 43 public DefaultAppInfo(PackageManagerWrapper pm, int uid, ComponentName cn) { in DefaultAppInfo() 47 public DefaultAppInfo(PackageManagerWrapper pm, int uid, ComponentName cn, String summary) { in DefaultAppInfo() 51 public DefaultAppInfo(PackageManagerWrapper pm, int uid, ComponentName cn, String summary, in DefaultAppInfo()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredNfcFServicesCache.java | 83 public final int uid; field in RegisteredNfcFServicesCache.DynamicSystemCode 86 DynamicSystemCode(int uid, String systemCode) { in DynamicSystemCode() 93 public final int uid; field in RegisteredNfcFServicesCache.DynamicNfcid2 96 DynamicNfcid2(int uid, String nfcid2) { in DynamicNfcid2() 533 public boolean registerSystemCodeForService(int userId, int uid, in registerSystemCodeForService() 590 public String getSystemCodeForService(int userId, int uid, ComponentName componentName) { in getSystemCodeForService() 605 public boolean removeSystemCodeForService(int userId, int uid, ComponentName componentName) { in removeSystemCodeForService() 610 public boolean setNfcid2ForService(int userId, int uid, in setNfcid2ForService() 665 public String getNfcid2ForService(int userId, int uid, ComponentName componentName) { in getNfcid2ForService()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallStart.java | 136 private boolean declaresAppOpPermission(int uid, String permission) { in declaresAppOpPermission() 157 private int getMaxTargetSdkVersionForUid(int uid) { in getMaxTargetSdkVersionForUid() 229 private boolean isSystemDownloadsProvider(int uid) { in isSystemDownloadsProvider()
|