Home
last modified time | relevance | path

Searched refs:mOwnerUid (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/service/voice/
DVoiceInteractionManagerInternal.java109 private final int mOwnerUid; field in VoiceInteractionManagerInternal.HotwordDetectionServiceIdentity
113 mOwnerUid = ownerUid; in HotwordDetectionServiceIdentity()
123 return mOwnerUid; in getOwnerUid()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceLog.java98 private final int mOwnerUid; field in VirtualDeviceLog.LogEntry
104 this.mOwnerUid = ownerUid; in LogEntry()
115 sb.append(mOwnerUid); in dump()
117 sb.append(packageNameCache.getPackageName(mOwnerUid)); in dump()
DVirtualDeviceImpl.java158 private final int mOwnerUid; field in VirtualDeviceImpl
310 mOwnerUid = attributionSource.getUid();
341 mVirtualDeviceLog.logCreated(deviceId, mOwnerUid);
552 mVirtualDeviceLog.logClosed(mDeviceId, mOwnerUid);
1370 return mOwnerUid;
/frameworks/base/services/core/java/com/android/server/wm/
DEmbeddedWindowController.java105 mAtmService.getProcessController(window.mOwnerPid, window.mOwnerUid); in updateProcessController()
208 final int mOwnerUid; field in EmbeddedWindowController.EmbeddedWindow
247 mOwnerUid = ownerUid; in EmbeddedWindow()
287 mWmService.mAtmService.getProcessController(mOwnerPid, mOwnerUid); in onRemoved()
320 return mOwnerUid; in getUid()
396 return uid == mOwnerUid && pid == mOwnerPid; in isInputMethodClientFocus()
DRotationWatcherController.java156 pw.print(watcher.mOwnerUid); in dump()
167 pw.print(listener.mOwnerUid); in dump()
199 final int mOwnerUid = Binder.getCallingUid(); field in RotationWatcherController.RotationWatcher
DWindowState.java297 final int mOwnerUid; field in WindowState
1093 mOwnerUid = ownerId; in WindowState()
1280 return mOwnerUid; in getOwningUid()
2681 + ", attrs=" + mAttrs.type + ", belonging to " + mOwnerUid); in switchUser()
3220 mDrawLock.setWorkSource(new WorkSource(mOwnerUid, mAttrs.packageName)); in pokeDrawLockLw()
3382 mWmService.mAtmService.mActiveUids.onNonAppSurfaceVisibilityChanged(mOwnerUid, shown); in onSurfaceShownChanged()
4119 pw.println(prefix + "mOwnerUid=" + mOwnerUid in dump()
4412 if (DEBUG_VISIBILITY) Slog.w(TAG, "hiding " + this + ", belonging to " + mOwnerUid); in performShowLocked()
DDisplayContent.java834 final int lostFocusUid = mTmpWindow.mOwnerUid;
836 if (w.mAttrs.type == TYPE_TOAST && w.mOwnerUid == lostFocusUid) {
3808 w.mOwnerUid == uid && w.isFocused()); in canAddToastWindowForUid()
3813 w.mAttrs.type == TYPE_TOAST && w.mOwnerUid == uid && !w.mPermanentlyHidden in canAddToastWindowForUid()
3819 if (oldFocus == null || (newFocus != null && newFocus.mOwnerUid == oldFocus.mOwnerUid)) { in scheduleToastWindowsTimeoutIfNeededLocked()
DBackgroundActivityStartController.java836 if (imeWindow != null && callingAppId == imeWindow.mOwnerUid) { in checkBackgroundActivityStartAllowedByCaller()
DRootWindowContainer.java3272 if (w.mOwnerUid == uid && w.isVisible()) { in hasVisibleWindowAboveButDoesNotOwnNotificationShade()
3276 return visibleWindowFound[0] && w.mOwnerUid != uid; in hasVisibleWindowAboveButDoesNotOwnNotificationShade()
DWindowManagerService.java1783 || displayContent.mCurrentFocus.mOwnerUid != callingUid) { in addWindow()
9338 updateInputChannel(channelToken, win.mOwnerUid, win.mOwnerPid, displayId, surface, name, in updateInputChannel()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreSession.java103 private final int mOwnerUid; field in BlobStoreSession
132 this.mOwnerUid = ownerUid; in BlobStoreSession()
153 return mOwnerUid; in getOwnerUid()
161 return mOwnerUid == callingUid && mOwnerPackageName.equals(callingPackageName); in hasAccess()
543 + ",uid:" + mOwnerUid in toString()
550 if (callingUid != mOwnerUid) { in assertCallerIsOwner()
551 throw new SecurityException(mOwnerUid + " is not the session owner"); in assertCallerIsOwner()
558 fout.println("ownerUid: " + mOwnerUid); in dump()
581 XmlUtils.writeIntAttribute(out, ATTR_UID, mOwnerUid); in writeToXml()
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.h203 uid_t getOwnerUid() const { return mOwnerUid; } in getOwnerUid()
325 const uid_t mOwnerUid; variable
DEventThread.cpp196 : mOwnerUid(callingUid), in EventThreadConnection()
398 const Period frameInterval = mCallback.getVsyncPeriod(connection->mOwnerUid); in getLatestVsyncEventData()
583 return mCallback.throttleVsync(expectedPresentTime, connection->mOwnerUid); in shouldConsumeEvent()
706 const Period frameInterval = mCallback.getVsyncPeriod(consumer->mOwnerUid); in dispatchEvent()
DEventThread.h84 const uid_t mOwnerUid; variable
DLayerInfo.cpp46 mOwnerUid(ownerUid), in LayerInfo()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java2620 mService.updateUidProcStateInternal(wakeLock.mOwnerUid, PROCESS_STATE_RECEIVER); in testDisableWakelocksInLightDeviceIdle_FlagDisabled_BgApp()
2633 mService.updateUidProcStateInternal(wakeLock.mOwnerUid, PROCESS_STATE_FOREGROUND_SERVICE); in testDisableWakelocksInLightDeviceIdle_FlagDisabled_FgApp()
2646 mService.updateUidProcStateInternal(wakeLock.mOwnerUid, PROCESS_STATE_RECEIVER); in testDisableWakelocksInLightDeviceIdle_FlagEnabled_BgApp()
2659 mService.updateUidProcStateInternal(wakeLock.mOwnerUid, PROCESS_STATE_FOREGROUND_SERVICE); in testDisableWakelocksInLightDeviceIdle_FlagEnabled_FgApp()
2671 mService.updateUidProcStateInternal(wakeLock.mOwnerUid, PROCESS_STATE_FOREGROUND_SERVICE); in testLowPowerStandby_whenInactive_FgsWakeLockEnabled()
2682 mService.updateUidProcStateInternal(wakeLock.mOwnerUid, PROCESS_STATE_FOREGROUND_SERVICE); in testLowPowerStandby_whenActive_FgsWakeLockDisabled()
2694 mService.updateUidProcStateInternal(wakeLock.mOwnerUid, PROCESS_STATE_FOREGROUND_SERVICE); in testLowPowerStandby_whenActive_FgsWakeLockEnabledIfAllowlisted()
2697 mService.setLowPowerStandbyAllowlistInternal(new int[]{wakeLock.mOwnerUid}); in testLowPowerStandby_whenActive_FgsWakeLockEnabledIfAllowlisted()
2707 mService.updateUidProcStateInternal(wakeLock.mOwnerUid, PROCESS_STATE_BOUND_TOP); in testLowPowerStandby_whenActive_BoundTopWakeLockDisabled()
2882 setUncachedUidProcState(wakeLock.mOwnerUid); in testFeatureEnabledProcStateUncachedToCached_screenWakeLockDisabled()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DVirtualDisplayAdapter.java253 private final int mOwnerUid; field in VirtualDisplayAdapter.VirtualDisplayDevice
282 mOwnerUid = ownerUid; in VirtualDisplayDevice()
565 mInfo.ownerUid = mOwnerUid; in getDisplayDeviceInfoLocked()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java1761 opUid = wakeLock.mOwnerUid;
1869 wakeLock.mOwnerUid);
1894 wakeLock.mPackageName, wakeLock.mOwnerUid, wakeLock.mOwnerPid,
1923 wakeLock.mPackageName, wakeLock.mOwnerUid, wakeLock.mOwnerPid,
1956 wakeLock.mOwnerUid, wakeLock.mOwnerPid, wakeLock.mWorkSource,
1983 mNotifier.onLongPartialWakeLockStart(wakeLock.mTag, wakeLock.mOwnerUid,
1992 mNotifier.onLongPartialWakeLockFinish(wakeLock.mTag, wakeLock.mOwnerUid,
2003 wakeLock.mOwnerUid, wakeLock.mOwnerPid, wakeLock.mWorkSource,
2026 wakeLock.mPackageName, wakeLock.mOwnerUid, wakeLock.mOwnerPid,
2909 return userId == UserHandle.getUserId(wakeLock.mOwnerUid);
[all …]
/frameworks/base/core/java/android/view/
DDisplay.java99 private final int mOwnerUid; field in Display
694 mOwnerUid = displayInfo.ownerUid; in Display()
832 return mOwnerUid; in getOwnerUid()
1915 return hasAccess(uid, mFlags, mOwnerUid, mDisplayId); in hasAccess()
/frameworks/native/services/surfaceflinger/
DLayer.cpp213 mOwnerUid = args.ownerUid; in Layer()
215 mOwnerAppId = mOwnerUid % PER_USER_RANGE; in Layer()
1427 mFlinger->mFrameTimeline->createSurfaceFrameForToken(info, mOwnerPid, mOwnerUid, in createSurfaceFrameForTransaction()
1446 mFlinger->mFrameTimeline->createSurfaceFrameForToken(info, mOwnerPid, mOwnerUid, in createSurfaceFrameForBuffer()
1471 mOwnerPid, mOwnerUid, in setFrameTimelineVsyncForSkippedFrames()
1696 mOwnerPid, mOwnerUid, isHandleAlive() ? " handleAlive" : ""); in dumpOffscreenDebugInfo()
2306 layerInfo->set_owner_uid(mOwnerUid); in writeToProtoCommonState()
2469 mDrawingState.inputInfo.ownerUid = gui::Uid{mOwnerUid}; in fillInputInfo()
2826 mFlinger->getMaxAcquiredBufferCountForCurrentRefreshRate(mOwnerUid); in callReleaseBufferCallback()
2969 mFlinger->getMaxAcquiredBufferCountForCurrentRefreshRate(mOwnerUid); in releasePendingBuffer()
[all …]
DLayer.h842 virtual uid_t getOwnerUid() const { return mOwnerUid; } in getOwnerUid()
1088 uid_t mOwnerUid; variable
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java177 private final int mOwnerUid; field in MediaSessionRecord
298 mOwnerUid = ownerUid; in MediaSessionRecord()
387 return mOwnerUid; in getUid()
735 pw.println(indent + "ownerPid=" + mOwnerPid + ", ownerUid=" + mOwnerUid in dump()
DMediaRouter2ServiceImpl.java1089 record.mOwnerUid, in revokeManagerRecordAccessIfNeededLocked()
1102 manager.mOwnerUid) in revokeManagerRecordAccessIfNeededLocked()
2300 public final int mOwnerUid; field in ManagerRecord
2324 mOwnerUid = ownerUid; in ManagerRecord()
2350 pw.println(indent + "mOwnerUid=" + mOwnerUid); in dump()
2536 .anyMatch(manager -> manager.mOwnerUid == uid); in maybeUpdateDiscoveryPreferenceForUid()
/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.h245 const uid_t mOwnerUid; variable
DFrameTimeline.cpp334 mOwnerUid(ownerUid), in SurfaceFrame()
685 mTimeStats->incrementJankyFrames({refreshRate, mRenderRate, mOwnerUid, mLayerName, in onPresent()

12