Searched refs:incomingSession (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ContentRecordingController.java | 77 void setContentRecordingSessionLocked(@Nullable ContentRecordingSession incomingSession, in setContentRecordingSessionLocked() argument 80 if (incomingSession != null && !ContentRecordingSession.isValid(incomingSession)) { in setContentRecordingSessionLocked() 84 mSession != null && incomingSession != null && mSession.isWaitingForConsent() in setContentRecordingSessionLocked() 85 && !incomingSession.isWaitingForConsent(); in setContentRecordingSessionLocked() 86 if (ContentRecordingSession.isProjectionOnSameDisplay(mSession, incomingSession)) { in setContentRecordingSessionLocked() 92 incomingSession.getVirtualDisplayId(), mSession.getVirtualDisplayId()); in setContentRecordingSessionLocked() 98 incomingSession.getVirtualDisplayId(), mSession.getVirtualDisplayId()); in setContentRecordingSessionLocked() 103 if (incomingSession != null) { in setContentRecordingSessionLocked() 107 + "pre-existing session %s", incomingSession.getVirtualDisplayId(), in setContentRecordingSessionLocked() 110 incomingSession.getVirtualDisplayId()); in setContentRecordingSessionLocked() [all …]
|
D | WindowManagerInternal.java | 1045 public abstract boolean setContentRecordingSession(ContentRecordingSession incomingSession); in setContentRecordingSession() argument
|
D | WindowManagerService.java | 8628 @Nullable ContentRecordingSession incomingSession) { in setContentRecordingSession() 8631 if (incomingSession == null in setContentRecordingSession() 8632 || incomingSession.getContentToRecord() != RECORD_CONTENT_TASK) { in setContentRecordingSession() 8633 mContentRecordingController.setContentRecordingSessionLocked(incomingSession, in setContentRecordingSession() 8639 getTaskWindowContainerInfoForRecordingSession(incomingSession); in setContentRecordingSession() 8647 incomingSession.setTokenToRecord(wci.getToken().asBinder()); in setContentRecordingSession() 8649 incomingSession.setTargetUid(wci.getUid()); in setContentRecordingSession() 8650 mContentRecordingController.setContentRecordingSessionLocked(incomingSession, in setContentRecordingSession()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | QosCallbackTracker.java | 200 for (final QosBearerSession incomingSession : sessions) { in updateSessions() 201 int sessionId = incomingSession.getQosBearerSessionId(); in updateSessions() 202 incomingSessions.put(sessionId, incomingSession); in updateSessions() 208 final boolean incomingSessionMatch = doFiltersMatch(incomingSession, filter); in updateSessions() 214 sendSessionAvailable(callbackId, incomingSession, filter); in updateSessions() 222 if (!incomingSession.getQos().equals(existingSession.getQos())) { in updateSessions() 223 sendSessionAvailable(callbackId, incomingSession, filter); in updateSessions() 231 notifyMetricDedicatedBearerEvent(incomingSession, bearerState, true); in updateSessions() 240 notifyMetricDedicatedBearerEvent(incomingSession, bearerState, false); in updateSessions() 243 sessionsToAdd.add(incomingSession); in updateSessions()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ContentRecordingSessionTest.java | 157 ContentRecordingSession incomingSession = ContentRecordingSession.createDisplaySession( in testIsProjectionOnSameDisplay() local 159 incomingSession.setVirtualDisplayId(DEFAULT_DISPLAY); in testIsProjectionOnSameDisplay() 161 incomingSession)).isTrue(); in testIsProjectionOnSameDisplay() 163 incomingSession.setVirtualDisplayId(DEFAULT_DISPLAY + 1); in testIsProjectionOnSameDisplay() 165 incomingSession)).isFalse(); in testIsProjectionOnSameDisplay()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 372 boolean setContentRecordingSession(@Nullable ContentRecordingSession incomingSession) { in setContentRecordingSession() argument 375 final boolean setSessionSucceeded = mWmInternal.setContentRecordingSession(incomingSession); in setContentRecordingSession() 380 String projectionType = incomingSession != null in setContentRecordingSession() 382 incomingSession.getContentToRecord()) : "none"; in setContentRecordingSession() 393 mProjectionGrant.mSession = incomingSession; in setContentRecordingSession() 394 if (incomingSession != null) { in setContentRecordingSession() 398 mProjectionGrant.uid, incomingSession.getTargetUid()); in setContentRecordingSession() 400 dispatchSessionSet(mProjectionGrant.getProjectionInfo(), incomingSession); in setContentRecordingSession() local 827 public boolean setContentRecordingSession(@Nullable ContentRecordingSession incomingSession, in setContentRecordingSession() argument 839 incomingSession); in setContentRecordingSession()
|
/frameworks/base/core/java/android/view/ |
D | ContentRecordingSession.java | 162 ContentRecordingSession incomingSession) { in isProjectionOnSameDisplay() argument 163 return session != null && incomingSession != null in isProjectionOnSameDisplay() 164 && session.getVirtualDisplayId() == incomingSession.getVirtualDisplayId(); in isProjectionOnSameDisplay()
|
/frameworks/base/media/java/android/media/projection/ |
D | IMediaProjectionManager.aidl | 145 boolean setContentRecordingSession(in ContentRecordingSession incomingSession, in setContentRecordingSession() argument
|