Home
last modified time | relevance | path

Searched refs:appUid (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java83 int appUid = intent.getIntExtra(Intent.EXTRA_UID, -1); in PermissionMonitor()
92 onAppAdded(appName, appUid); in PermissionMonitor()
94 onAppRemoved(appUid); in PermissionMonitor()
229 private synchronized void onAppAdded(String appName, int appUid) { in onAppAdded() argument
230 if (TextUtils.isEmpty(appName) || appUid < 0) { in onAppAdded()
231 loge("Invalid app in onAppAdded: " + appName + " | " + appUid); in onAppAdded()
240 Boolean permission = mApps.get(appUid); in onAppAdded()
244 mApps.put(appUid, isSystem); in onAppAdded()
247 apps.put(appUid, isSystem); in onAppAdded()
256 private synchronized void onAppRemoved(int appUid) { in onAppRemoved() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java795 final int notificationId, final String notificationTag, final int appUid) { in startAppOwnNotificationSettingsActivity() argument
798 startNotificationGutsIntent(intent, appUid); in startAppOwnNotificationSettingsActivity()
802 private void startAppNotificationSettingsActivity(String packageName, final int appUid) { in startAppNotificationSettingsActivity() argument
805 intent.putExtra(Settings.EXTRA_APP_UID, appUid); in startAppNotificationSettingsActivity()
806 startNotificationGutsIntent(intent, appUid); in startAppNotificationSettingsActivity()
809 private void startNotificationGutsIntent(final Intent intent, final int appUid) { in startNotificationGutsIntent() argument
824 new UserHandle(UserHandle.getUserId(appUid))); in startNotificationGutsIntent()
849 int appUid = -1; in inflateGuts() local
857 appUid = info.uid; in inflateGuts()
869 if (appUid >= 0) { in inflateGuts()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java128 void addIsolatedUid(int isolatedUid, int appUid) { in addIsolatedUid() argument
130 mStats.addIsolatedUidLocked(isolatedUid, appUid); in addIsolatedUid()
134 void removeIsolatedUid(int isolatedUid, int appUid) { in removeIsolatedUid() argument
136 mStats.removeIsolatedUidLocked(isolatedUid, appUid); in removeIsolatedUid()
DServiceRecord.java421 final int appUid = appInfo.uid; in postNotification() local
487 appUid, appPid, null, localForegroundId, localForegroundNoti, in postNotification()
496 ams.crashApplication(appUid, appPid, localPackageName, in postNotification()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2482 public void addIsolatedUidLocked(int isolatedUid, int appUid) { in addIsolatedUidLocked() argument
2483 mIsolatedUids.put(isolatedUid, appUid); in addIsolatedUidLocked()
2486 public void removeIsolatedUidLocked(int isolatedUid, int appUid) { in removeIsolatedUidLocked() argument
2488 if (curUid == appUid) { in removeIsolatedUidLocked()