/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | VirtualDeviceLog.java | 45 void logCreated(int deviceId, int ownerUid) { in logCreated() argument 51 addEntry(new LogEntry(TYPE_CREATED, deviceId, System.currentTimeMillis(), ownerUid)); in logCreated() 57 void logClosed(int deviceId, int ownerUid) { in logClosed() argument 63 addEntry(new LogEntry(TYPE_CLOSED, deviceId, System.currentTimeMillis(), ownerUid)); in logClosed() 100 LogEntry(int type, int deviceId, long timestamp, int ownerUid) { in LogEntry() argument 104 this.mOwnerUid = ownerUid; in LogEntry() 131 String getPackageName(int ownerUid) { in getPackageName() argument 133 if (mUidToPackagesCache.contains(ownerUid)) { in getPackageName() 134 return mUidToPackagesCache.get(ownerUid); in getPackageName() 136 packages = mPackageManager.getPackagesForUid(ownerUid); in getPackageName() [all …]
|
/frameworks/base/core/java/com/android/internal/net/ |
D | ConnectivityBlobStore.java | 81 final int ownerUid = Binder.getCallingUid(); in put() local 83 values.put("owner", ownerUid); in put() 104 final int ownerUid = Binder.getCallingUid(); in get() local 108 new String[] {Integer.toString(ownerUid), name} /* selectionArgs */, in get() argument 130 final int ownerUid = Binder.getCallingUid(); in remove() local 134 new String[] {Integer.toString(ownerUid), name} /* whereArgs */); in remove() 153 final int ownerUid = Binder.getCallingUid(); in list() local 159 Integer.toString(ownerUid), in list() argument
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerCreationArgs.cpp | 44 ownerUid = callingUid; in LayerCreationArgs() 45 if (ownerUid == AID_GRAPHICS || ownerUid == AID_SYSTEM) { in LayerCreationArgs() 48 ownerUid = static_cast<uid_t>( in LayerCreationArgs() 49 metadata.getInt32(gui::METADATA_OWNER_UID, static_cast<int32_t>(ownerUid))); in LayerCreationArgs() 79 << " pid=" << ownerPid << " uid=" << ownerUid; in getDebugString()
|
D | LayerSnapshot.cpp | 124 inputInfo.ownerUid = gui::Uid{state.ownerUid}; in LayerSnapshot() 126 uid = state.ownerUid; in LayerSnapshot() 434 inputInfo.ownerUid = requested.ownerUid; in merge()
|
D | LayerCreationArgs.h | 56 uid_t ownerUid; member
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | WakeLockLog.java | 159 public void onWakeLockAcquired(String tag, int ownerUid, int flags, long eventTime) { in onWakeLockAcquired() argument 160 onWakeLockEvent(TYPE_ACQUIRE, tag, ownerUid, flags, eventTime); in onWakeLockAcquired() 170 public void onWakeLockReleased(String tag, int ownerUid, long eventTime) { in onWakeLockReleased() argument 171 onWakeLockEvent(TYPE_RELEASE, tag, ownerUid, 0 /* flags */, eventTime); in onWakeLockReleased() 249 private void onWakeLockEvent(int eventType, String tag, int ownerUid, in onWakeLockEvent() argument 253 + ", ownerUid: " + ownerUid in onWakeLockEvent() 263 handleWakeLockEventInternal(eventType, tagNameReducer(tag), ownerUid, translatedFlags, in onWakeLockEvent() 275 private void handleWakeLockEventInternal(int eventType, String tag, int ownerUid, int flags, in handleWakeLockEventInternal() argument 279 tag, ownerUid, true /* shouldCreate */); in handleWakeLockEventInternal() 477 .append(tag == null ? "---" : tag.ownerUid); in toStringInternal() [all …]
|
D | Notifier.java | 268 int ownerUid, int ownerPid, WorkSource workSource, String historyTag, in onWakeLockAcquired() argument 273 + ", ownerUid=" + ownerUid + ", ownerPid=" + ownerPid in onWakeLockAcquired() 276 notifyWakeLockListener(callback, tag, true, ownerUid, flags); in onWakeLockAcquired() 280 final boolean unimportantForLogging = ownerUid == Process.SYSTEM_UID in onWakeLockAcquired() 286 mBatteryStats.noteStartWakelock(ownerUid, ownerPid, tag, historyTag, in onWakeLockAcquired() 289 mAppOps.startOpNoThrow(AppOpsManager.OP_WAKE_LOCK, ownerUid, packageName); in onWakeLockAcquired() 297 mWakeLockLog.onWakeLockAcquired(tag, ownerUid, flags, /*eventTime=*/ -1); in onWakeLockAcquired() 302 public void onLongPartialWakeLockStart(String tag, int ownerUid, WorkSource workSource, in onLongPartialWakeLockStart() argument 305 Slog.d(TAG, "onLongPartialWakeLockStart: ownerUid=" + ownerUid in onLongPartialWakeLockStart() 316 mBatteryStats.noteLongPartialWakelockStart(tag, historyTag, ownerUid); in onLongPartialWakeLockStart() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 437 public int ownerUid; field in DisplayDeviceInfo 530 || ownerUid != other.ownerUid in diff() 579 ownerUid = other.ownerUid; in copyFrom() 624 if (ownerUid != 0 || ownerPackageName != null) { in toString() 626 sb.append(" (uid ").append(ownerUid).append(")"); in toString()
|
D | VirtualDisplayAdapter.java | 119 IMediaProjection projection, int ownerUid, String ownerPackageName, String uniqueId, in createVirtualDisplayLocked() argument 138 ownerUid, ownerPackageName, surface, flags, new Callback(callback, mHandler), in createVirtualDisplayLocked() 276 int ownerUid, String ownerPackageName, Surface surface, int flags, in VirtualDisplayDevice() argument 282 mOwnerUid = ownerUid; in VirtualDisplayDevice() 565 mInfo.ownerUid = mOwnerUid; in getDisplayDeviceInfoLocked()
|
/frameworks/native/libs/gui/ |
D | WindowInfo.cpp | 100 info.ownerUid == ownerUid && info.packageName == packageName && in operator ==() 122 static_assert(sizeof(ownerUid.val()) == 4u); in writeToParcel() 146 parcel->writeInt32(ownerUid.val()) ?: in writeToParcel() 223 ownerUid = Uid{static_cast<uid_t>(ownerUidInt)}; in readFromParcel() 266 << ", ownerUid=" << info.ownerUid.toString() << ", dispatchingTimeout=" in operator <<()
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionManagerInternal.java | 111 public HotwordDetectionServiceIdentity(int isolatedUid, int ownerUid) { in HotwordDetectionServiceIdentity() argument 113 mOwnerUid = ownerUid; in HotwordDetectionServiceIdentity()
|
/frameworks/native/libs/gui/tests/ |
D | WindowInfo_test.cpp | 64 i.ownerUid = gui::Uid{24}; in TEST() 95 ASSERT_EQ(i.ownerUid, i2.ownerUid); in TEST()
|
D | EndToEndNativeInputTest.cpp | 845 nonTouchableSurface->mInputInfo.ownerUid = gui::Uid{22222}; in TEST_F() 866 nonTouchableSurface->mInputInfo.ownerUid = gui::Uid{22222}; in TEST_F() 867 parentSurface->mInputInfo.ownerUid = gui::Uid{22222}; in TEST_F() 890 nonTouchableSurface->mInputInfo.ownerUid = gui::Uid{22222}; in TEST_F() 891 parentSurface->mInputInfo.ownerUid = gui::Uid{22222}; in TEST_F() 910 bufferSurface->mInputInfo.ownerUid = gui::Uid{22222}; in TEST_F() 925 bufferSurface->mInputInfo.ownerUid = gui::Uid{22222}; in TEST_F() 968 surface->mInputInfo.ownerUid = gui::Uid{11111}; in TEST_F() 974 obscuringSurface->mInputInfo.ownerUid = gui::Uid{22222}; in TEST_F() 987 surface->mInputInfo.ownerUid = gui::Uid{11111}; in TEST_F() [all …]
|
/frameworks/base/core/java/android/view/ |
D | InputWindowHandle.java | 130 public int ownerUid; field in InputWindowHandle 203 ownerUid = other.ownerUid; in InputWindowHandle()
|
D | DisplayInfo.java | 295 public int ownerUid; field in DisplayInfo 451 && ownerUid == other.ownerUid in equals() 513 ownerUid = other.ownerUid; in copyFrom() 577 ownerUid = source.readInt(); in readFromParcel() 646 dest.writeInt(ownerUid); in writeToParcel() 810 return Display.hasAccess(uid, flags, ownerUid, displayId); in hasAccess() 917 if (ownerUid != 0 || ownerPackageName != null) { in toString() 919 sb.append(" (uid ").append(ownerUid).append(")"); in toString()
|
/frameworks/base/libs/storage/include/storage/ |
D | IMountService.h | 51 const int32_t ownerUid) = 0; 55 const String16& key, const int32_t ownerUid) = 0;
|
/frameworks/base/core/jni/ |
D | android_hardware_input_InputWindowHandle.cpp | 68 jfieldID ownerUid; member 165 mInfo.ownerUid = gui::Uid{ in updateInfo() 166 static_cast<uid_t>(env->GetIntField(obj, gInputWindowHandleClassInfo.ownerUid))}; in updateInfo() 309 env->SetIntField(inputWindowHandle, gInputWindowHandleClassInfo.ownerUid, in android_view_InputWindowHandle_fromWindowInfo() 310 windowInfo.ownerUid.val()); in android_view_InputWindowHandle_fromWindowInfo() 423 GET_FIELD_ID(gInputWindowHandleClassInfo.ownerUid, clazz, in register_android_view_InputWindowHandle()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | HandwritingEventReceiverSurface.java | 54 mWindowHandle.ownerUid = Process.myUid(); in HandwritingEventReceiverSurface() 79 mWindowHandle.ownerUid = imeUid; in startIntercepting()
|
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobStoreSession.java | 127 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() 600 final int ownerUid = XmlUtils.readIntAttribute(in, ATTR_UID); in createFromXml() local 626 blobHandle, ownerUid, ownerPackageName, creationTimeMs, stateChangeListener); in createFromXml()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | CpuPowerStatsCollector.java | 434 int ownerUid; in processUidStats() local 436 ownerUid = Process.getAppUidForSdkSandboxUid(uid); in processUidStats() 438 ownerUid = mUidResolver.mapUid(uid); in processUidStats() 441 long[] ownerStats = mCpuPowerStats.uidStats.get(ownerUid); in processUidStats() 443 mCpuPowerStats.uidStats.put(ownerUid, uidStats.stats); in processUidStats()
|
D | PowerStatsUidResolver.java | 235 final int ownerUid = mIsolatedUids.valueAt(i); in dump() local 237 pw.println(" " + isolatedUid + "->" + ownerUid + " (ref count = " + refs + ")"); in dump()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TestDisplayContent.java | 145 Builder setOwnerUid(int ownerUid) { in setOwnerUid() argument 146 mInfo.ownerUid = ownerUid; in setOwnerUid()
|
/frameworks/base/libs/storage/ |
D | IMountService.cpp | 241 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/core/java/com/android/server/wm/ |
D | InputWindowHandleWrapper.java | 211 if (mHandle.ownerUid == uid) { in setOwnerUid() 214 mHandle.ownerUid = uid; in setOwnerUid()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/ |
D | BlobStoreManagerServiceTest.java | 358 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()
|