/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 if (mOwnerClientIdsToSessionNum.containsKey(ownerId)) { in removeOwner() 93 mAvailableSessionNum += mOwnerClientIdsToSessionNum.get(ownerId); in removeOwner() 94 mOwnerClientIdsToSessionNum.remove(ownerId); in removeOwner() 103 public void removeSession(int ownerId) { in removeSession() argument 104 if (mOwnerClientIdsToSessionNum.containsKey(ownerId)) { in removeSession() [all …]
|
D | TunerResourceManagerService.java | 1128 int ownerId = getFrontendResource(inUseHandle).getOwnerClientId(); in transferFeOwner() local 1129 if (ownerId != newOwnerId) { in transferFeOwner() 1131 + ", " + ownerId + ", " + newOwnerId); in transferFeOwner() 1276 for (int ownerId : cas.getOwnerClientIds()) { in requestCasSessionInternal() 1278 int priority = updateAndGetOwnerClientPriority(ownerId); in requestCasSessionInternal() 1280 lowestPriorityOwnerId = ownerId; in requestCasSessionInternal() 1283 == (getClientProfile(ownerId)).getProcessId()); in requestCasSessionInternal() 1329 for (int ownerId : ciCam.getOwnerClientIds()) { in requestCiCamInternal() 1331 int priority = updateAndGetOwnerClientPriority(ownerId); in requestCiCamInternal() 1333 lowestPriorityOwnerId = ownerId; in requestCiCamInternal() [all …]
|
/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/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/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTestsBase.java | 607 WindowState createWindow(WindowState parent, int type, String name, int ownerId) { in createWindow() argument 609 ? createWindow(parent, type, mDisplayContent, name, ownerId) in createWindow() 610 : createWindow(parent, type, parent.mToken, name, ownerId); in createWindow() 625 int ownerId) { in createWindow() argument 628 return createWindow(parent, type, token, name, ownerId); in createWindow() 645 int ownerId) { in createWindow() argument 646 return createWindow(parent, type, token, name, ownerId, in createWindow() 651 int ownerId, boolean ownerCanAddInternalSystemWindow) { in createWindow() argument 652 return createWindow(parent, type, token, name, ownerId, ownerCanAddInternalSystemWindow, in createWindow() 657 int ownerId, boolean ownerCanAddInternalSystemWindow, IWindow iwindow) { in createWindow() argument [all …]
|
D | DragDropControllerTests.java | 147 private WindowState createDropTargetWindow(String name, int ownerId) { in createDropTargetWindow() argument 148 final Task task = new TaskBuilder(mSupervisor).setUserId(ownerId).build(); in createDropTargetWindow() 154 null, TYPE_BASE_APPLICATION, activity, name, ownerId, false, new TestIWindow()); in createDropTargetWindow()
|
D | WindowStateTests.java | 1513 int ownerId = 20; in testIsSecureLocked_sensitiveContentBlockOrClearScreenCaptureForApp() local 1514 final WindowState window = createWindow(null, TYPE_APPLICATION, "window", ownerId); in testIsSecureLocked_sensitiveContentBlockOrClearScreenCaptureForApp() 1518 PackageInfo blockedPackage = new PackageInfo(testPackage, ownerId); in testIsSecureLocked_sensitiveContentBlockOrClearScreenCaptureForApp()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 653 int32_t ownerId, int32_t state, int oomScoreOffset, bool systemNativeClient);
|
D | CameraService.cpp | 5179 const std::set<std::string>& conflictingKeys, int32_t score, int32_t ownerId, in makeClientDescriptor() argument 5186 key, value, cost, conflictingKeys, score_adj, ownerId, state_adj, in makeClientDescriptor()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowState.java | 1084 int ownerId, int showUserId, boolean ownerCanAddInternalSystemWindow) { in WindowState() argument 1093 mOwnerUid = ownerId; in WindowState()
|