/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/ |
D | CasResource.java | 79 public void setOwner(int ownerId) { in setOwner() argument 80 int sessionNum = mOwnerClientIdsToSessionNum.get(ownerId) == null in setOwner() 81 ? 1 : (mOwnerClientIdsToSessionNum.get(ownerId) + 1); in setOwner() 82 mOwnerClientIdsToSessionNum.put(ownerId, sessionNum); in setOwner() 91 public void removeOwner(int ownerId) { in removeOwner() argument 92 mAvailableSessionNum += mOwnerClientIdsToSessionNum.get(ownerId); in removeOwner() 93 mOwnerClientIdsToSessionNum.remove(ownerId); in removeOwner()
|
D | TunerResourceManagerService.java | 819 for (int ownerId : cas.getOwnerClientIds()) { in requestCasSessionInternal() 821 int priority = getOwnerClientPriority(ownerId); in requestCasSessionInternal() 823 lowestPriorityOwnerId = ownerId; in requestCasSessionInternal() 868 for (int ownerId : ciCam.getOwnerClientIds()) { in requestCiCamInternal() 870 int priority = getOwnerClientPriority(ownerId); in requestCiCamInternal() 872 lowestPriorityOwnerId = ownerId; in requestCiCamInternal() 1278 for (int ownerId : cas.getOwnerClientIds()) { in removeCasResource() 1279 getClientProfile(ownerId).releaseCas(); in removeCasResource() 1289 for (int ownerId : ciCam.getOwnerClientIds()) { in removeCiCamResource() 1290 getClientProfile(ownerId).releaseCiCam(); in removeCiCamResource()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTestsBase.java | 354 WindowState createWindow(WindowState parent, int type, String name, int ownerId) { in createWindow() argument 356 ? createWindow(parent, type, mDisplayContent, name, ownerId) in createWindow() 357 : createWindow(parent, type, parent.mToken, name, ownerId); in createWindow() 372 int ownerId) { in createWindow() argument 375 return createWindow(parent, type, token, name, ownerId); in createWindow() 392 int ownerId) { in createWindow() argument 393 return createWindow(parent, type, token, name, ownerId, in createWindow() 398 int ownerId, boolean ownerCanAddInternalSystemWindow) { in createWindow() argument 399 return createWindow(parent, type, token, name, ownerId, ownerCanAddInternalSystemWindow, in createWindow() 404 int ownerId, boolean ownerCanAddInternalSystemWindow, IWindow iwindow) { in createWindow() argument [all …]
|
D | DragDropControllerTests.java | 126 private WindowState createDropTargetWindow(String name, int ownerId) { in createDropTargetWindow() argument 129 final Task task = createTaskInRootTask(rootTask, ownerId); in createDropTargetWindow() 134 null, TYPE_BASE_APPLICATION, activity, name, ownerId, false, new TestIWindow()); in createDropTargetWindow()
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | ClientManagerTest.cpp | 29 TestClient(int id, int32_t cost, const std::set<int>& conflictingKeys, int32_t ownerId, in TestClient() 32 mOwnerId(ownerId), mScore(score), mState(state), mIsVendorClient(isVendorClient) {}; in TestClient()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherControllerTest.kt | 84 private val ownerId = UserHandle.USER_SYSTEM constant 85 private val ownerInfo = UserInfo(ownerId, "Owner", null, 140 `when`(userTracker.userId).thenReturn(ownerId) in testAddGuest_okButtonPressed_isLogged()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | ClientManager.h | 144 const std::set<KEY>& conflictingKeys, int32_t score, int32_t ownerId, int32_t state, 147 int32_t score, int32_t ownerId, int32_t state, bool isVendorClient, 212 const std::set<KEY>& conflictingKeys, int32_t score, int32_t ownerId, int32_t state, in ClientDescriptor() argument 216 mOwnerId{ownerId} {} 220 std::set<KEY>&& conflictingKeys, int32_t score, int32_t ownerId, int32_t state, in ClientDescriptor() argument 224 mPriority(score, state, isVendorClient, scoreOffset), mOwnerId{ownerId} {}
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 519 int32_t ownerId, int32_t state, int oomScoreOffset);
|
D | CameraService.cpp | 3823 const std::set<String8>& conflictingKeys, int32_t score, int32_t ownerId, in makeClientDescriptor() argument 3831 key, value, cost, conflictingKeys, score_adj, ownerId, state_adj, isVendorClient, in makeClientDescriptor()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowState.java | 1027 int ownerId, int showUserId, boolean ownerCanAddInternalSystemWindow) { in WindowState() argument 1028 this(service, s, c, token, parentWindow, appOp, a, viewVisibility, ownerId, showUserId, in WindowState() 1044 int ownerId, int showUserId, boolean ownerCanAddInternalSystemWindow, in WindowState() argument 1053 mOwnerUid = ownerId; in WindowState()
|