Home
last modified time | relevance | path

Searched refs:ownerUid (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/power/
DWakeLockLog.java150 public void onWakeLockAcquired(String tag, int ownerUid, int flags) { in onWakeLockAcquired() argument
151 onWakeLockEvent(TYPE_ACQUIRE, tag, ownerUid, flags); in onWakeLockAcquired()
160 public void onWakeLockReleased(String tag, int ownerUid) { in onWakeLockReleased() argument
161 onWakeLockEvent(TYPE_RELEASE, tag, ownerUid, 0 /* flags */); in onWakeLockReleased()
222 private void onWakeLockEvent(int eventType, String tag, int ownerUid, in onWakeLockEvent() argument
226 + ", ownerUid: " + ownerUid in onWakeLockEvent()
235 handleWakeLockEventInternal(eventType, tagNameReducer(tag), ownerUid, translatedFlags, in onWakeLockEvent()
247 private void handleWakeLockEventInternal(int eventType, String tag, int ownerUid, int flags, in handleWakeLockEventInternal() argument
251 tag, ownerUid, true /* shouldCreate */); in handleWakeLockEventInternal()
441 .append(tag == null ? "---" : tag.ownerUid) in toStringInternal()
[all …]
DNotifier.java226 int ownerUid, int ownerPid, WorkSource workSource, String historyTag, in onWakeLockAcquired() argument
231 + ", ownerUid=" + ownerUid + ", ownerPid=" + ownerPid in onWakeLockAcquired()
238 final boolean unimportantForLogging = ownerUid == Process.SYSTEM_UID in onWakeLockAcquired()
244 mBatteryStats.noteStartWakelock(ownerUid, ownerPid, tag, historyTag, in onWakeLockAcquired()
247 mAppOps.startOpNoThrow(AppOpsManager.OP_WAKE_LOCK, ownerUid, packageName); in onWakeLockAcquired()
254 mWakeLockLog.onWakeLockAcquired(tag, ownerUid, flags); in onWakeLockAcquired()
257 public void onLongPartialWakeLockStart(String tag, int ownerUid, WorkSource workSource, in onLongPartialWakeLockStart() argument
260 Slog.d(TAG, "onLongPartialWakeLockStart: ownerUid=" + ownerUid in onLongPartialWakeLockStart()
271 mBatteryStats.noteLongPartialWakelockStart(tag, historyTag, ownerUid); in onLongPartialWakeLockStart()
273 FrameworkStatsLog.LONG_PARTIAL_WAKELOCK_STATE_CHANGED, ownerUid, null, tag, in onLongPartialWakeLockStart()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java357 public int ownerUid; field in DisplayDeviceInfo
433 || ownerUid != other.ownerUid in diff()
479 ownerUid = other.ownerUid; in copyFrom()
520 if (ownerUid != 0 || ownerPackageName != null) { in toString()
522 sb.append(" (uid ").append(ownerUid).append(")"); in toString()
DVirtualDisplayAdapter.java99 IMediaProjection projection, int ownerUid, String ownerPackageName, Surface surface, in createVirtualDisplayLocked() argument
106 UNIQUE_ID_PREFIX + ownerPackageName + "," + ownerUid + "," + name + ","; in createVirtualDisplayLocked()
119 ownerUid, ownerPackageName, surface, flags, in createVirtualDisplayLocked()
250 int ownerUid, String ownerPackageName, Surface surface, int flags, in VirtualDisplayDevice() argument
256 mOwnerUid = ownerUid; in VirtualDisplayDevice()
497 mInfo.ownerUid = mOwnerUid; in getDisplayDeviceInfoLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContextListenerController.java75 @NonNull WindowContainer<?> container, int ownerUid, @WindowType int type, in registerWindowContainerListener() argument
77 registerWindowContainerListener(clientToken, container, ownerUid, type, options, in registerWindowContainerListener()
98 @NonNull WindowContainer<?> container, int ownerUid, @WindowType int type, in registerWindowContainerListener() argument
102 listener = new WindowContextListenerImpl(clientToken, container, ownerUid, type, in registerWindowContainerListener()
211 int ownerUid, @WindowType int type, @Nullable Bundle options) { in WindowContextListenerImpl() argument
214 mOwnerUid = ownerUid; in WindowContextListenerImpl()
DInputWindowHandleWrapper.java207 if (mHandle.ownerUid == uid) { in setOwnerUid()
210 mHandle.ownerUid = uid; in setOwnerUid()
DEmbeddedWindowController.java202 WindowState hostWindowState, int ownerUid, int ownerPid, int windowType, in EmbeddedWindow() argument
210 mOwnerUid = ownerUid; in EmbeddedWindow()
DActivityRecordInputSink.java105 inputWindowHandle.ownerUid = WindowManagerService.MY_UID; in createInputWindowHandle()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionManagerInternal.java85 public HotwordDetectionServiceIdentity(int isolatedUid, int ownerUid) { in HotwordDetectionServiceIdentity() argument
87 mOwnerUid = ownerUid; in HotwordDetectionServiceIdentity()
/frameworks/base/core/java/android/view/
DInputWindowHandle.java130 public int ownerUid; field in InputWindowHandle
193 ownerUid = other.ownerUid; in InputWindowHandle()
DDisplayInfo.java267 public int ownerUid; field in DisplayInfo
390 && ownerUid == other.ownerUid in equals()
442 ownerUid = other.ownerUid; in copyFrom()
494 ownerUid = source.readInt(); in readFromParcel()
551 dest.writeInt(ownerUid); in writeToParcel()
706 return Display.hasAccess(uid, flags, ownerUid, displayId); in hasAccess()
807 if (ownerUid != 0 || ownerPackageName != null) { in toString()
809 sb.append(" (uid ").append(ownerUid).append(")"); in toString()
/frameworks/native/libs/gui/tests/
DWindowInfo_test.cpp65 i.ownerUid = 24; in TEST()
98 ASSERT_EQ(i.ownerUid, i2.ownerUid); in TEST()
DEndToEndNativeInputTest.cpp808 nonTouchableSurface->mInputInfo.ownerUid = 22222; in TEST_F()
829 nonTouchableSurface->mInputInfo.ownerUid = 22222; in TEST_F()
830 parentSurface->mInputInfo.ownerUid = 22222; in TEST_F()
853 nonTouchableSurface->mInputInfo.ownerUid = 22222; in TEST_F()
854 parentSurface->mInputInfo.ownerUid = 22222; in TEST_F()
873 bufferSurface->mInputInfo.ownerUid = 22222; in TEST_F()
888 bufferSurface->mInputInfo.ownerUid = 22222; in TEST_F()
935 surface->mInputInfo.ownerUid = 11111; in TEST_F()
941 obscuringSurface->mInputInfo.ownerUid = 22222; in TEST_F()
954 surface->mInputInfo.ownerUid = 11111; in TEST_F()
[all …]
/frameworks/native/libs/gui/
DWindowInfo.cpp75 info.ownerUid == ownerUid && info.packageName == packageName && in operator ==()
119 parcel->writeInt32(ownerUid) ?: in writeToParcel()
171 parcel->readInt32(&ownerUid) ?: in readFromParcel()
/frameworks/base/libs/storage/include/storage/
DIMountService.h51 const int32_t ownerUid) = 0;
55 const String16& key, const int32_t ownerUid) = 0;
/frameworks/base/services/core/java/com/android/server/inputmethod/
DHandwritingEventReceiverSurface.java58 mWindowHandle.ownerUid = Process.myUid(); in HandwritingEventReceiverSurface()
83 mWindowHandle.ownerUid = imeUid; in startIntercepting()
/frameworks/base/core/jni/
Dandroid_hardware_input_InputWindowHandle.cpp69 jfieldID ownerUid; member
168 mInfo.ownerUid = env->GetIntField(obj, in updateInfo()
169 gInputWindowHandleClassInfo.ownerUid); in updateInfo()
301 env->SetIntField(inputWindowHandle, gInputWindowHandleClassInfo.ownerUid, windowInfo.ownerUid); in android_view_InputWindowHandle_fromWindowInfo()
419 GET_FIELD_ID(gInputWindowHandleClassInfo.ownerUid, clazz, in register_android_view_InputWindowHandle()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreSession.java127 int ownerUid, String ownerPackageName, long creationTimeMs, in BlobStoreSession() argument
132 this.mOwnerUid = ownerUid; in BlobStoreSession()
139 int ownerUid, String ownerPackageName, SessionStateChangeListener listener) { in BlobStoreSession() argument
140 this(context, sessionId, blobHandle, ownerUid, ownerPackageName, in BlobStoreSession()
599 final int ownerUid = XmlUtils.readIntAttribute(in, ATTR_UID); in createFromXml() local
625 blobHandle, ownerUid, ownerPackageName, creationTimeMs, stateChangeListener); in createFromXml()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTestDisplayContent.java149 Builder setOwnerUid(int ownerUid) { in setOwnerUid() argument
150 mInfo.ownerUid = ownerUid; in setOwnerUid()
/frameworks/base/libs/storage/
DIMountService.cpp241 const String16& key, const int32_t ownerUid) in createSecureContainer() argument
249 data.writeInt32(ownerUid); in createSecureContainer()
296 int32_t mountSecureContainer(const String16& id, const String16& key, const int32_t ownerUid) in mountSecureContainer() argument
302 data.writeInt32(ownerUid); in mountSecureContainer()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceImpl.java144 IBinder token, int ownerUid, OnDeviceCloseListener listener,
149 this(context, associationInfo, token, ownerUid, /* inputController= */ null, listener,
155 int ownerUid, InputController inputController, OnDeviceCloseListener listener,
160 UserHandle ownerUserHandle = UserHandle.getUserHandleForUid(ownerUid);
166 mOwnerUid = ownerUid;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/
DBlobStoreManagerServiceTest.java358 private BlobStoreSession createBlobStoreSessionMock(String ownerPackageName, int ownerUid, in createBlobStoreSessionMock() argument
360 return createBlobStoreSessionMock(ownerPackageName, ownerUid, sessionId, sessionFile, in createBlobStoreSessionMock()
363 private BlobStoreSession createBlobStoreSessionMock(String ownerPackageName, int ownerUid, in createBlobStoreSessionMock() argument
367 doReturn(ownerUid).when(session).getOwnerUid(); in createBlobStoreSessionMock()
/frameworks/base/services/core/java/com/android/server/input/
DGestureMonitorSpyWindow.java62 mWindowHandle.ownerUid = uid; in GestureMonitorSpyWindow()
/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.h161 SurfaceFrame(const FrameTimelineInfo& frameTimelineInfo, pid_t ownerPid, uid_t ownerUid,
291 const FrameTimelineInfo& frameTimelineInfo, pid_t ownerPid, uid_t ownerUid,
452 const FrameTimelineInfo& frameTimelineInfo, pid_t ownerPid, uid_t ownerUid,
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.cpp40 LayerInfo::LayerInfo(const std::string& name, uid_t ownerUid, in LayerInfo() argument
43 mOwnerUid(ownerUid), in LayerInfo()

123