Home
last modified time | relevance | path

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

123

/frameworks/av/drm/libmediadrm/
DPluginMetricsReporting.cpp36 uid_t appUid) { in reportVendorMetrics() argument
38 mediametrics_setUid(analyticsItem, appUid); in reportVendorMetrics()
70 uid_t appUid) { in reportDrmPluginMetrics() argument
76 return reportVendorMetrics(b64EncodedMetrics, name, appUid); in reportDrmPluginMetrics()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DCameraAccessController.java72 public int appUid; field in CameraAccessController.InjectionSessionData
86 void onCameraAccessBlocked(int appUid); in onCameraAccessBlocked() argument
162 data.appUid = packageUid; in blockCameraAccessIfNeeded()
194 int appUid = queryUidFromPackageName(userId, packageName); in onCameraOpened() local
195 if (mVirtualDeviceManagerInternal.isAppRunningOnAnyVirtualDevice(appUid)) { in onCameraOpened()
198 data.appUid = appUid; in onCameraOpened()
207 if (appUid != Process.INVALID_UID) { in onCameraOpened()
208 packageUids.add(appUid); in onCameraOpened()
309 mBlockedCallback.onCameraAccessBlocked(data.appUid); in onInjectionError()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogController.kt71 private var appUid: Int? = null in <lambda>() variable
109 this.appUid = uid in <lambda>()
182 appUid = null in <lambda>()
222 noMan.getRecentBlockedNotificationChannelGroupsForPackage(packageName!!, appUid!!) in <lambda>()
232 noMan.areNotificationsEnabledForPackage(packageName!!, appUid!!) in <lambda>()
241 noMan.setNotificationsEnabledForPackage(packageName!!, appUid!!, b) in <lambda>()
250 noMan.updateNotificationChannelForPackage(packageName!!, appUid!!, channel) in <lambda>()
271 onSettingsClickListener?.onClick(sender, channel, appUid!!) in <lambda>()
DNotificationGutsManager.java232 private void startAppNotificationSettingsActivity(String packageName, final int appUid, in startAppNotificationSettingsActivity() argument
236 intent.putExtra(Settings.EXTRA_APP_UID, appUid); in startAppNotificationSettingsActivity()
244 mNotificationActivityStarter.startNotificationGutsIntent(intent, appUid, row); in startAppNotificationSettingsActivity()
247 private void startAppDetailsSettingsActivity(String packageName, final int appUid, in startAppDetailsSettingsActivity() argument
252 intent.putExtra(Settings.EXTRA_APP_UID, appUid); in startAppDetailsSettingsActivity()
253 mNotificationActivityStarter.startNotificationGutsIntent(intent, appUid, row); in startAppDetailsSettingsActivity()
396 onSettingsClick = (View v, NotificationChannel channel, int appUid) -> { in initializeNotificationInfo()
400 startAppNotificationSettingsActivity(packageName, appUid, channel, row); in initializeNotificationInfo()
442 onSettingsClick = (View v, NotificationChannel channel, int appUid) -> { in initializePartialConversationNotificationInfo()
446 startAppNotificationSettingsActivity(packageName, appUid, channel, row); in initializePartialConversationNotificationInfo()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DLegacyMediaDataManagerImpl.kt133 appUid = Process.INVALID_UID in <lambda>()
446 val appUid = in addResumptionControls() constant
460 appUid = appUid, in addResumptionControls()
464 logSingleVsMultipleMediaAdded(appUid, packageName, instanceId) in addResumptionControls()
465 logger.logResumeMediaAdded(appUid, packageName, instanceId) in addResumptionControls()
576 logger.logMediaTimeout(it.appUid, it.packageName, it.instanceId) in setInactive()
633 logger.logMediaRemoved(it.appUid, it.packageName, it.instanceId) in removeEntry()
721 val appUid = currentEntry?.appUid ?: Process.INVALID_UID in loadMediaDataInBgForResumption() constant
726 artworkBitmap = loadBitmapFromUriForUser(desc.iconUri!!, userId, appUid, packageName) in loadMediaDataInBgForResumption()
775 appUid = appUid, in loadMediaDataInBgForResumption()
[all …]
DMediaDataProcessor.kt414 val appUid = in <lambda>() constant
429 appUid = appUid, in <lambda>()
433 logSingleVsMultipleMediaAdded(appUid, packageName, instanceId) in <lambda>()
434 logger.logResumeMediaAdded(appUid, packageName, instanceId) in <lambda>()
531 logger.logMediaTimeout(it.appUid, it.packageName, it.instanceId) in <lambda>()
588 logger.logMediaRemoved(it.appUid, it.packageName, it.instanceId) in <lambda>()
667 val appUid = currentEntry?.appUid ?: Process.INVALID_UID in <lambda>() constant
672 artworkBitmap = loadBitmapFromUriForUser(desc.iconUri!!, userId, appUid, packageName) in <lambda>()
721 appUid = appUid, in <lambda>()
859 val appUid = appInfo?.uid ?: Process.INVALID_UID in <lambda>() constant
[all …]
/frameworks/native/libs/binder/include_activitymanager/binder/
DIActivityManager.h54 virtual status_t logFgsApiBegin(int32_t apiType, int32_t appUid, int32_t appPid) = 0;
55 virtual status_t logFgsApiEnd(int32_t apiType, int32_t appUid, int32_t appPid) = 0;
56 virtual status_t logFgsApiStateChanged(int32_t apiType, int32_t state, int32_t appUid,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationChannelHelper.java48 final int appUid = entry.getSbn().getUid(); in createConversationChannelIfNeeded() local
59 pkg, appUid, channel, in createConversationChannelIfNeeded()
62 context.getOpPackageName(), UserHandle.getUserId(appUid), pkg, in createConversationChannelIfNeeded()
DNotificationActivityStarter.java37 void startNotificationGutsIntent(Intent intent, int appUid, in startNotificationGutsIntent() argument
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobNotificationCoordinator.java91 public final int appUid; field in JobNotificationCoordinator.NotificationDetails
95 NotificationDetails(@NonNull UserPackage userPackage, int appPid, int appUid, in NotificationDetails() argument
102 this.appUid = appUid; in NotificationDetails()
194 final int userId = UserHandle.getUserId(details.appUid); in removeNotificationAssociation()
209 packageName, packageName, details.appUid, details.appPid, /* tag */ null, in removeNotificationAssociation()
300 && UserHandle.getUserId(details.appUid) == userId in maybeDeleteNotificationChannelAssociation()
/frameworks/native/libs/binder/
DIActivityManager.cpp187 virtual status_t logFgsApiBegin(int32_t apiType, int32_t appUid, int32_t appPid) { in logFgsApiBegin() argument
191 data.writeInt32(appUid); in logFgsApiBegin()
202 virtual status_t logFgsApiEnd(int32_t apiType, int32_t appUid, int32_t appPid) { in logFgsApiEnd() argument
206 data.writeInt32(appUid); in logFgsApiEnd()
217 virtual status_t logFgsApiStateChanged(int32_t apiType, int32_t state, int32_t appUid, in logFgsApiStateChanged() argument
223 data.writeInt32(appUid); in logFgsApiStateChanged()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DDrmMetrics.h73 void SetAppUid(uid_t appUid) { mAppUid = appUid; } in SetAppUid() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/audio/
DVirtualAudioControllerTest.java201 for (int appUid : appUids) { in createPlaybackConfigurations()
206 playerIdCard, /* piid= */ 1000, appUid, /* pid= */ 1000); in createPlaybackConfigurations()
216 for (int appUid : appUids) { in createRecordingConfigurations()
219 /* uid= */ appUid, in createRecordingConfigurations()
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java1665 int appUid; field in OomAdjuster.ComputeOomAdjWindowCallback
1672 boolean hasVisibleActivities, int procState, int schedGroup, int appUid, in initialize() argument
1680 this.appUid = appUid; in initialize()
1693 if (DEBUG_OOM_ADJ_REASON || logUid == appUid) { in onVisibleActivity()
1700 if (DEBUG_OOM_ADJ_REASON || logUid == appUid) { in onVisibleActivity()
1717 if (DEBUG_OOM_ADJ_REASON || logUid == appUid) { in onPausedActivity()
1724 if (DEBUG_OOM_ADJ_REASON || logUid == appUid) { in onPausedActivity()
1741 if (DEBUG_OOM_ADJ_REASON || logUid == appUid) { in onStoppingActivity()
1757 if (DEBUG_OOM_ADJ_REASON || logUid == appUid) { in onStoppingActivity()
1772 if (DEBUG_OOM_ADJ_REASON || logUid == appUid) { in onOtherActivity()
[all …]
/frameworks/av/media/libmedia/include/media/
DPluginMetricsReporting.h30 uid_t appUid);
/frameworks/native/libs/cputimeinstate/
Dtesttimeinstate.cpp668 uint32_t appUid = AID_APP_START, sandboxUid; in TEST_F() local
675 appUid = std::max(appUid, kv.first); in TEST_F()
677 appUid++; in TEST_F()
678 sandboxUid = appUid + (AID_SDK_SANDBOX_PROCESS_START - AID_APP_START); in TEST_F()
690 ASSERT_NE(allTimes->find(appUid), allTimes->end()); in TEST_F()
697 ASSERT_NE(allConcurrentTimes->find(appUid), allConcurrentTimes->end()); in TEST_F()
701 ASSERT_TRUE(clearUidTimes(appUid)); in TEST_F()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/
DMediaTestUtils.kt43 appUid = -1
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DPartialConversationInfoTest.java242 (View v, NotificationChannel c, int appUid) -> { in testBindNotification_SetsOnClickListenerForSettings()
265 (View v, NotificationChannel c, int appUid) -> { in testBindNotification_SetsOnClickListenerForSettings_mainText()
303 (View v, NotificationChannel c, int appUid) -> { in testBindNotification_SettingsButtonInvisibleWhenDeviceUnprovisioned()
/frameworks/base/services/core/java/com/android/server/wm/
DClientLifecycleManager.java270 @NonNull String appPackageName, int appUid) { in shouldDispatchLaunchActivityItemIndependently() argument
273 UserHandle.getUserHandleForUid(appUid)); in shouldDispatchLaunchActivityItemIndependently()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBluetoothPowerCalculatorTest.java343 private UidTraffic createUidTraffic(int appUid, long rxBytes, long txBytes) { in createUidTraffic() argument
346 when(uidTraffic.getUid()).thenReturn(appUid); in createUidTraffic()
352 uidTrafficParcel.writeInt(appUid); in createUidTraffic()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/audio/
DVirtualAudioController.java305 void addPlayingAppsForTesting(int appUid) { in addPlayingAppsForTesting() argument
307 mPlayingAppUids.add(appUid); in addPlayingAppsForTesting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DBubblesManager.java628 final int appUid = entry.getSbn().getUid();
648 int currentPref = mNotificationManager.getBubblePreferenceForPackage(appPkg, appUid);
650 mNotificationManager.setBubblesAllowed(appPkg, appUid, BUBBLE_PREFERENCE_SELECTED);
652 mNotificationManager.updateNotificationChannelForPackage(appPkg, appUid, channel);
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java303 int appUid = UserHandle.getUid(userId, mPm.getPackageUid(packageName, 0)); in onCommand() local
304 mBinderService.setBubblesAllowed(packageName, appUid, preference); in onCommand()
319 int appUid = UserHandle.getUid(userId, mPm.getPackageUid(packageName, 0)); in onCommand() local
320 mBinderService.updateNotificationChannelForPackage(packageName, appUid, in onCommand()
/frameworks/base/core/java/android/companion/virtual/audio/
DVirtualAudioSession.java246 for (int appUid : appUids) { in createAudioStreams()
247 mReroutedAppUids.add(appUid); in createAudioStreams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/shared/model/
DMediaData.kt95 val appUid: Int = Process.INVALID_UID, constant in com.android.systemui.media.controls.shared.model.MediaData

123