Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/e2e/
DMetricConditionLink_e2e_test.cpp113 int appUid = 123; in TEST() local
114 auto crashEvent1 = CreateAppCrashEvent(appUid, bucketStartTimeNs + 1); in TEST()
115 auto crashEvent2 = CreateAppCrashEvent(appUid, bucketStartTimeNs + 201); in TEST()
116 auto crashEvent3= CreateAppCrashEvent(appUid, bucketStartTimeNs + 2 * bucketSizeNs - 101); in TEST()
118 auto crashEvent4 = CreateAppCrashEvent(appUid, bucketStartTimeNs + 51); in TEST()
119 auto crashEvent5 = CreateAppCrashEvent(appUid, bucketStartTimeNs + bucketSizeNs + 299); in TEST()
120 auto crashEvent6 = CreateAppCrashEvent(appUid, bucketStartTimeNs + bucketSizeNs + 2001); in TEST()
122 auto crashEvent7 = CreateAppCrashEvent(appUid, bucketStartTimeNs + 16); in TEST()
123 auto crashEvent8 = CreateAppCrashEvent(appUid, bucketStartTimeNs + bucketSizeNs + 249); in TEST()
125 auto crashEvent9 = CreateAppCrashEvent(appUid, bucketStartTimeNs + bucketSizeNs + 351); in TEST()
[all …]
DDurationMetric_e2e_test.cpp403 int appUid = 123; in TEST() local
404 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(appUid, "App1")}; in TEST()
410 event = CreateMoveToBackgroundEvent(appUid, bucketStartTimeNs + 22 * NS_PER_SEC); // 0:22 in TEST()
414 appUid, bucketStartTimeNs + (3 * 60 + 15) * NS_PER_SEC); // 3:15 in TEST()
502 int appUid = 123; in TEST() local
503 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(appUid, "App1")}; in TEST()
509 event = CreateMoveToBackgroundEvent(appUid, bucketStartTimeNs + 22 * NS_PER_SEC); // 0:22 in TEST()
518 appUid, bucketStartTimeNs + (3 * 60 + 15) * NS_PER_SEC); // 3:15 in TEST()
538 android::util::WAKELOCK_STATE_CHANGED, appUid); in TEST()
615 int appUid = 123; in TEST() local
[all …]
/frameworks/base/core/java/android/bluetooth/
DUidTraffic.java31 public UidTraffic(int appUid) { in UidTraffic() argument
32 mAppUid = appUid; in UidTraffic()
35 public UidTraffic(int appUid, long rx, long tx) { in UidTraffic() argument
36 mAppUid = appUid; in UidTraffic()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogController.kt70 private var appUid: Int? = null in <lambda>() variable
105 this.appUid = uid in <lambda>()
179 appUid = null in <lambda>()
203 noMan.getNotificationChannelGroupsForPackage(packageName!!, appUid!!, false) in <lambda>()
213 noMan.areNotificationsEnabledForPackage(packageName!!, appUid!!) in <lambda>()
222 noMan.setNotificationsEnabledForPackage(packageName!!, appUid!!, b) in <lambda>()
231 noMan.updateNotificationChannelForPackage(packageName!!, appUid!!, channel) in <lambda>()
252 onSettingsClickListener?.onClick(sender, null, appUid!!) in <lambda>()
DNotificationGutsManager.java140 private void startAppNotificationSettingsActivity(String packageName, final int appUid, in startAppNotificationSettingsActivity() argument
144 intent.putExtra(Settings.EXTRA_APP_UID, appUid); in startAppNotificationSettingsActivity()
152 mNotificationActivityStarter.startNotificationGutsIntent(intent, appUid, row); in startAppNotificationSettingsActivity()
155 private void startAppDetailsSettingsActivity(String packageName, final int appUid, in startAppDetailsSettingsActivity() argument
160 intent.putExtra(Settings.EXTRA_APP_UID, appUid); in startAppDetailsSettingsActivity()
164 mNotificationActivityStarter.startNotificationGutsIntent(intent, appUid, row); in startAppDetailsSettingsActivity()
307 onSettingsClick = (View v, NotificationChannel channel, int appUid) -> { in initializeNotificationInfo()
311 startAppNotificationSettingsActivity(packageName, appUid, channel, row); in initializeNotificationInfo()
DNotificationInfo.java239 void onClick(View v, NotificationChannel channel, int appUid); in onClick() argument
820 String packageName, int appUid, @Nullable NotificationChannel channelToUpdate,
824 mAppUid = appUid;
DNotificationGuts.java118 void onClick(View v, int appUid); in onClick() argument
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java652 int appUid; field in OomAdjuster.ComputeOomAdjWindowCallback
657 int procState, int schedGroup, int appUid, int logUid, int processStateCurTop) { in initialize() argument
663 this.appUid = appUid; in initialize()
674 if (DEBUG_OOM_ADJ_REASON || logUid == appUid) { in onVisibleActivity()
681 if (DEBUG_OOM_ADJ_REASON || logUid == appUid) { in onVisibleActivity()
699 if (DEBUG_OOM_ADJ_REASON || logUid == appUid) { in onPausedActivity()
706 if (DEBUG_OOM_ADJ_REASON || logUid == appUid) { in onPausedActivity()
724 if (DEBUG_OOM_ADJ_REASON || logUid == appUid) { in onStoppingActivity()
740 if (DEBUG_OOM_ADJ_REASON || logUid == appUid) { in onStoppingActivity()
756 if (DEBUG_OOM_ADJ_REASON || logUid == appUid) { in onOtherActivity()
[all …]
DServiceRecord.java793 final int appUid = appInfo.uid; in postNotification() local
867 if (nm.getNotificationChannel(localPackageName, appUid, in postNotification()
892 appUid, appPid, null, localForegroundId, localForegroundNoti, in postNotification()
901 appUid, appPid, localPackageName); in postNotification()
DBatteryStatsService.java335 void addIsolatedUid(int isolatedUid, int appUid) { in addIsolatedUid() argument
337 mStats.addIsolatedUidLocked(isolatedUid, appUid); in addIsolatedUid()
341 void removeIsolatedUid(int isolatedUid, int appUid) { in removeIsolatedUid() argument
343 mStats.scheduleRemoveIsolatedUidLocked(isolatedUid, appUid); in removeIsolatedUid()
DActiveServices.java846 int appUid, int appPid, String localPackageName) { in killMisbehavingService() argument
849 mAm.crashApplication(appUid, appPid, localPackageName, -1, in killMisbehavingService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationActivityStarter.java33 void startNotificationGutsIntent(Intent intent, int appUid, in startNotificationGutsIntent() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java387 public void startNotificationGutsIntent(final Intent intent, final int appUid, in startNotificationGutsIntent() argument
396 new UserHandle(UserHandle.getUserId(appUid))); in startNotificationGutsIntent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogControllerTest.kt183 override fun onClick(v: View, c: NotificationChannel, appUid: Int) { in onClick()
DNotificationInfoTest.java473 (View v, NotificationChannel c, int appUid) -> { in testBindNotification_SetsOnClickListenerForSettings()
522 (View v, NotificationChannel c, int appUid) -> { in testBindNotification_SettingsButtonInvisibleWhenDeviceUnprovisioned()
560 (View v, NotificationChannel c, int appUid) -> { }, in testBindNotification_SettingsButtonReappearsAfterSecondBind()
652 (View v, NotificationChannel c, int appUid) -> { in testOnClickListenerPassesNullChannelForBundle()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java898 final int appUid = 10001; in testApply464xlatAdjustments() local
905 v4Iface, appUid, SET_DEFAULT, TAG_NONE, in testApply464xlatAdjustments()
922 otherIface, appUid, SET_DEFAULT, TAG_NONE, in testApply464xlatAdjustments()
938 v4Iface, appUid, SET_DEFAULT, TAG_NONE, in testApply464xlatAdjustments()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3913 public void addIsolatedUidLocked(int isolatedUid, int appUid) { in addIsolatedUidLocked() argument
3914 mIsolatedUids.put(isolatedUid, appUid); in addIsolatedUidLocked()
3915 final Uid u = getUidStatsLocked(appUid); in addIsolatedUidLocked()
3923 public void scheduleRemoveIsolatedUidLocked(int isolatedUid, int appUid) { in scheduleRemoveIsolatedUidLocked() argument
3925 if (curUid == appUid) { in scheduleRemoveIsolatedUidLocked()