Home
last modified time | relevance | path

Searched refs:sessionInfo (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/telecomm/java/com/android/internal/telecom/
DIConnectionService.aidl39 in Session.Info sessionInfo); in addConnectionServiceAdapter() argument
42 in Session.Info sessionInfo); in removeConnectionServiceAdapter() argument
50 in Session.Info sessionInfo); in createConnection() argument
52 void createConnectionComplete(String callId, in Session.Info sessionInfo); in createConnectionComplete() argument
55 in ConnectionRequest request, boolean isIncoming, in Session.Info sessionInfo); in createConnectionFailed() argument
63 in Session.Info sessionInfo); in createConference() argument
65 void createConferenceComplete(String callId, in Session.Info sessionInfo); in createConferenceComplete() argument
68 in ConnectionRequest request, boolean isIncoming, in Session.Info sessionInfo); in createConferenceFailed() argument
71 void abort(String callId, in Session.Info sessionInfo); in abort() argument
73 void answerVideo(String callId, int videoState, in Session.Info sessionInfo); in answerVideo() argument
[all …]
DIConnectionServiceAdapter.aidl45 in Session.Info sessionInfo); in handleCreateConnectionComplete() argument
51 in Session.Info sessionInfo); in handleCreateConferenceComplete() argument
53 void setActive(String callId, in Session.Info sessionInfo); in setActive() argument
55 void setRinging(String callId, in Session.Info sessionInfo); in setRinging() argument
57 void setDialing(String callId, in Session.Info sessionInfo); in setDialing() argument
59 void setPulling(String callId, in Session.Info sessionInfo); in setPulling() argument
62 in Session.Info sessionInfo); in setDisconnected() argument
64 void setOnHold(String callId, in Session.Info sessionInfo); in setOnHold() argument
66 void setRingbackRequested(String callId, boolean ringing, in Session.Info sessionInfo); in setRingbackRequested() argument
69 in Session.Info sessionInfo); in setConnectionCapabilities() argument
[all …]
/frameworks/base/media/java/android/media/
DMediaRouter2Manager.java205 @NonNull RoutingSessionInfo sessionInfo) { in getMediaControllerForRoutingSession()
207 if (areSessionsMatched(controller, sessionInfo)) { in getMediaControllerForRoutingSession()
249 public List<MediaRoute2Info> getAvailableRoutes(@NonNull RoutingSessionInfo sessionInfo) { in getAvailableRoutes() argument
250 Objects.requireNonNull(sessionInfo, "sessionInfo must not be null"); in getAvailableRoutes()
254 String packageName = sessionInfo.getClientPackageName(); in getAvailableRoutes()
262 || sessionInfo.getSelectedRoutes().contains(route.getId()) in getAvailableRoutes()
263 || sessionInfo.getTransferableRoutes().contains(route.getId())) { in getAvailableRoutes()
283 public List<MediaRoute2Info> getTransferableRoutes(@NonNull RoutingSessionInfo sessionInfo) { in getTransferableRoutes() argument
284 Objects.requireNonNull(sessionInfo, "sessionInfo must not be null"); in getTransferableRoutes()
288 String packageName = sessionInfo.getClientPackageName(); in getTransferableRoutes()
[all …]
DMediaRoute2ProviderService.java240 @NonNull RoutingSessionInfo sessionInfo) { in notifySessionCreated() argument
241 Objects.requireNonNull(sessionInfo, "sessionInfo must not be null"); in notifySessionCreated()
245 + ", sessionInfo=" + sessionInfo); in notifySessionCreated()
253 String sessionId = sessionInfo.getId(); in notifySessionCreated()
259 mSessionInfo.put(sessionInfo.getId(), sessionInfo); in notifySessionCreated() local
265 mRemoteCallback.notifySessionCreated(requestId, sessionInfo); in notifySessionCreated()
276 public final void notifySessionUpdated(@NonNull RoutingSessionInfo sessionInfo) { in notifySessionUpdated() argument
277 Objects.requireNonNull(sessionInfo, "sessionInfo must not be null"); in notifySessionUpdated()
280 Log.d(TAG, "notifySessionUpdated: Updating session id=" + sessionInfo); in notifySessionUpdated()
283 String sessionId = sessionInfo.getId(); in notifySessionUpdated()
[all …]
DMediaRouter2.java897 void createControllerOnHandler(int requestId, @Nullable RoutingSessionInfo sessionInfo) { in createControllerOnHandler() argument
915 if (sessionInfo == null) { in createControllerOnHandler()
919 sessionInfo.getProviderId())) { in createControllerOnHandler()
922 + ", actual providerId=" + sessionInfo.getProviderId() in createControllerOnHandler()
935 if (!sessionInfo.isSystemSession()) { in createControllerOnHandler()
936 new RoutingController(sessionInfo).release(); in createControllerOnHandler()
943 if (sessionInfo.isSystemSession()) { in createControllerOnHandler()
945 newController.setRoutingSessionInfo(sessionInfo); in createControllerOnHandler()
947 newController = new RoutingController(sessionInfo); in createControllerOnHandler()
956 void updateControllerOnHandler(RoutingSessionInfo sessionInfo) { in updateControllerOnHandler() argument
[all …]
DRoutingSessionInfo.java420 public Builder(@NonNull RoutingSessionInfo sessionInfo) { in Builder() argument
421 Objects.requireNonNull(sessionInfo, "sessionInfo must not be null"); in Builder()
423 mId = sessionInfo.mId; in Builder()
424 mName = sessionInfo.mName; in Builder()
425 mClientPackageName = sessionInfo.mClientPackageName; in Builder()
426 mProviderId = sessionInfo.mProviderId; in Builder()
428 mSelectedRoutes = new ArrayList<>(sessionInfo.mSelectedRoutes); in Builder()
429 mSelectableRoutes = new ArrayList<>(sessionInfo.mSelectableRoutes); in Builder()
430 mDeselectableRoutes = new ArrayList<>(sessionInfo.mDeselectableRoutes); in Builder()
431 mTransferableRoutes = new ArrayList<>(sessionInfo.mTransferableRoutes); in Builder()
[all …]
DIMediaRoute2ProviderServiceCallback.aidl30 void notifySessionCreated(long requestId, in RoutingSessionInfo sessionInfo); in notifySessionCreated() argument
31 void notifySessionsUpdated(in List<RoutingSessionInfo> sessionInfo); in notifySessionsUpdated() argument
32 void notifySessionReleased(in RoutingSessionInfo sessionInfo); in notifySessionReleased() argument
DIMediaRouter2.aidl32 void notifySessionCreated(int requestId, in @nullable RoutingSessionInfo sessionInfo); in notifySessionCreated() argument
33 void notifySessionInfoChanged(in RoutingSessionInfo sessionInfo); in notifySessionInfoChanged() argument
34 void notifySessionReleased(in RoutingSessionInfo sessionInfo); in notifySessionReleased() argument
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionPerUserService.java131 final AppPredictionSessionInfo sessionInfo = new AppPredictionSessionInfo( in onCreatePredictionSessionLocked() local
137 if (sessionInfo.linkToDeath()) { in onCreatePredictionSessionLocked()
138 mSessionInfos.put(sessionId, sessionInfo); in onCreatePredictionSessionLocked()
152 final AppPredictionSessionInfo sessionInfo = mSessionInfos.get(sessionId); in notifyAppTargetEventLocked() local
153 if (sessionInfo == null) return; in notifyAppTargetEventLocked()
154 resolveService(sessionId, false, sessionInfo.mUsesPeopleService, in notifyAppTargetEventLocked()
164 final AppPredictionSessionInfo sessionInfo = mSessionInfos.get(sessionId); in notifyLaunchLocationShownLocked() local
165 if (sessionInfo == null) return; in notifyLaunchLocationShownLocked()
166 resolveService(sessionId, false, sessionInfo.mUsesPeopleService, in notifyLaunchLocationShownLocked()
176 final AppPredictionSessionInfo sessionInfo = mSessionInfos.get(sessionId); in sortAppTargetsLocked() local
[all …]
/frameworks/base/telecomm/java/android/telecom/
DRemoteConnectionService.java112 public void setActive(String callId, Session.Info sessionInfo) {
123 public void setRinging(String callId, Session.Info sessionInfo) {
129 public void setDialing(String callId, Session.Info sessionInfo) {
135 public void setPulling(String callId, Session.Info sessionInfo) {
142 Session.Info sessionInfo) {
153 public void setOnHold(String callId, Session.Info sessionInfo) {
164 public void setRingbackRequested(String callId, boolean ringing, Session.Info sessionInfo) {
171 Session.Info sessionInfo) {
183 Session.Info sessionInfo) {
195 Session.Info sessionInfo) {
[all …]
DConnectionServiceAdapterServant.java386 Session.Info sessionInfo) {
399 Session.Info sessionInfo) {
409 public void setActive(String connectionId, Session.Info sessionInfo) {
414 public void setRinging(String connectionId, Session.Info sessionInfo) {
419 public void setDialing(String connectionId, Session.Info sessionInfo) {
424 public void setPulling(String connectionId, Session.Info sessionInfo) {
430 Session.Info sessionInfo) {
438 public void setOnHold(String connectionId, Session.Info sessionInfo) {
444 Session.Info sessionInfo) {
451 Session.Info sessionInfo) {
[all …]
DConnectionService.java230 Session.Info sessionInfo) {
231 Log.startSession(sessionInfo, SESSION_ADD_CS_ADAPTER);
243 Session.Info sessionInfo) {
244 Log.startSession(sessionInfo, SESSION_REMOVE_CS_ADAPTER);
262 Session.Info sessionInfo) {
263 Log.startSession(sessionInfo, SESSION_CREATE_CONN);
279 public void createConnectionComplete(String id, Session.Info sessionInfo) {
280 Log.startSession(sessionInfo, SESSION_CREATE_CONN_COMPLETE);
297 Session.Info sessionInfo) {
298 Log.startSession(sessionInfo, SESSION_CREATE_CONN_FAILED);
[all …]
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DStubMediaRoute2ProviderService.java211 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onSetSessionVolume() local
212 if (sessionInfo == null) { in onSetSessionVolume()
215 volume = Math.max(0, Math.min(volume, sessionInfo.getVolumeMax())); in onSetSessionVolume()
216 RoutingSessionInfo newSessionInfo = new RoutingSessionInfo.Builder(sessionInfo) in onSetSessionVolume()
244 RoutingSessionInfo sessionInfo = new RoutingSessionInfo.Builder(sessionId, packageName) in onCreateSession() local
254 notifySessionCreated(requestId, sessionInfo); in onCreateSession()
265 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onReleaseSession() local
266 if (sessionInfo == null) { in onReleaseSession()
270 for (String routeId : sessionInfo.getSelectedRoutes()) { in onReleaseSession()
285 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onSelectRoute() local
[all …]
DRoutingSessionInfoTest.java51 RoutingSessionInfo sessionInfo = new RoutingSessionInfo.Builder( in testProviderId() local
60 RoutingSessionInfo sessionInfoWithProviderId = new RoutingSessionInfo.Builder(sessionInfo) in testProviderId()
63 assertNotEquals(sessionInfo.getSelectedRoutes(), in testProviderId()
65 assertNotEquals(sessionInfo.getSelectableRoutes(), in testProviderId()
67 assertNotEquals(sessionInfo.getDeselectableRoutes(), in testProviderId()
69 assertNotEquals(sessionInfo.getTransferableRoutes(), in testProviderId()
/frameworks/base/services/smartspace/java/com/android/server/smartspace/
DSmartspacePerUserService.java111 final SmartspaceSessionInfo sessionInfo = new SmartspaceSessionInfo( in onCreateSmartspaceSessionLocked() local
117 if (sessionInfo.linkToDeath()) { in onCreateSmartspaceSessionLocked()
118 mSessionInfos.put(sessionId, sessionInfo); in onCreateSmartspaceSessionLocked()
132 final SmartspaceSessionInfo sessionInfo = mSessionInfos.get(sessionId); in notifySmartspaceEventLocked() local
133 if (sessionInfo == null) return; in notifySmartspaceEventLocked()
142 final SmartspaceSessionInfo sessionInfo = mSessionInfos.get(sessionId); in requestSmartspaceUpdateLocked() local
143 if (sessionInfo == null) return; in requestSmartspaceUpdateLocked()
154 final SmartspaceSessionInfo sessionInfo = mSessionInfos.get(sessionId); in registerSmartspaceUpdatesLocked() local
155 if (sessionInfo == null) return; in registerSmartspaceUpdatesLocked()
159 sessionInfo.addCallbackLocked(callback); in registerSmartspaceUpdatesLocked()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DPackageInstallerImpl.java63 PackageInstaller.SessionInfo sessionInfo = mySessions.get(i); in PackageInstallerImpl() local
64 String packageName = sessionInfo.getAppPackageName(); in PackageInstallerImpl()
65 PackageInstaller.SessionInfo oldInfo = mSessionInfoMap.put(packageName, sessionInfo); in PackageInstallerImpl()
113 PackageInstaller.SessionInfo sessionInfo = mSessionInfoMap.get(packageName); in install() local
114 if (sessionInfo != null) { in install()
130 sessionInfo = mSessionInfoMap.get(packageName); in install()
132 session = mPackageInstaller.openSession(sessionInfo.getSessionId()); in install()
146 getCommitCallback(packageName, sessionInfo.getSessionId(), callback)); in install()
149 cancelSession(sessionInfo.getSessionId(), packageName); in install()
180 PackageInstaller.SessionInfo sessionInfo = mSessionInfoMap.get(packageName); in getSession() local
[all …]
/frameworks/base/services/searchui/java/com/android/server/searchui/
DSearchUiPerUserService.java112 final SearchSessionInfo sessionInfo = new SearchSessionInfo( in onCreateSearchSessionLocked() local
118 if (sessionInfo.linkToDeath()) { in onCreateSearchSessionLocked()
119 mSessionInfos.put(sessionId, sessionInfo); in onCreateSearchSessionLocked()
133 final SearchSessionInfo sessionInfo = mSessionInfos.get(sessionId); in notifyLocked() local
134 if (sessionInfo == null) return; in notifyLocked()
145 final SearchSessionInfo sessionInfo = mSessionInfos.get(sessionId); in queryLocked() local
146 if (sessionInfo == null) return; in queryLocked()
159 final SearchSessionInfo sessionInfo = mSessionInfos.remove(sessionId); in onDestroyLocked() local
160 if (sessionInfo == null) return; in onDestroyLocked()
163 sessionInfo.destroy(); in onDestroyLocked()
[all …]
/frameworks/base/services/people/java/com/android/server/people/
DPeopleService.java401 sessionInfo -> sessionInfo.getPredictor().onAppTargetEvent(event)); in notifyAppTargetEvent()
408 sessionInfo -> sessionInfo.getPredictor().onLaunchLocationShown( in notifyLaunchLocationShown()
416 sessionInfo -> sessionInfo.getPredictor().onSortAppTargets( in sortAppTargets()
424 runForSession(sessionId, sessionInfo -> sessionInfo.addCallback(callback)); in registerPredictionUpdates()
430 runForSession(sessionId, sessionInfo -> sessionInfo.removeCallback(callback)); in unregisterPredictionUpdates()
436 sessionInfo -> sessionInfo.getPredictor().onRequestPredictionUpdate()); in requestPredictionUpdate()
441 runForSession(sessionId, sessionInfo -> { in onDestroyPredictionSession()
442 sessionInfo.onDestroy(); in onDestroyPredictionSession()
469 SessionInfo sessionInfo = mSessions.get(sessionId); in runForSession() local
470 if (sessionInfo == null) { in runForSession()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaRoute2ProviderServiceProxy.java459 private RoutingSessionInfo assignProviderIdForSession(RoutingSessionInfo sessionInfo) { in assignProviderIdForSession() argument
460 return new RoutingSessionInfo.Builder(sessionInfo) in assignProviderIdForSession()
486 for (RoutingSessionInfo sessionInfo : mSessionInfos) { in disconnect()
487 mCallback.onSessionReleased(this, sessionInfo); in disconnect()
600 void postSessionCreated(long requestId, RoutingSessionInfo sessionInfo) { in postSessionCreated() argument
601 mHandler.post(() -> onSessionCreated(Connection.this, requestId, sessionInfo)); in postSessionCreated()
604 void postSessionsUpdated(List<RoutingSessionInfo> sessionInfo) { in postSessionsUpdated() argument
605 mHandler.post(() -> onSessionsUpdated(Connection.this, sessionInfo)); in postSessionsUpdated()
608 void postSessionReleased(RoutingSessionInfo sessionInfo) { in postSessionReleased() argument
609 mHandler.post(() -> onSessionReleased(Connection.this, sessionInfo)); in postSessionReleased()
[all …]
DMediaRouter2ServiceImpl.java1351 long uniqueRequestId, @NonNull RoutingSessionInfo sessionInfo) { in onSessionCreated() argument
1353 this, provider, uniqueRequestId, sessionInfo)); in onSessionCreated()
1358 @NonNull RoutingSessionInfo sessionInfo) { in onSessionUpdated() argument
1360 this, provider, sessionInfo)); in onSessionUpdated()
1365 @NonNull RoutingSessionInfo sessionInfo) { in onSessionReleased() argument
1367 this, provider, sessionInfo)); in onSessionReleased()
1689 long uniqueRequestId, @NonNull RoutingSessionInfo sessionInfo) { in onSessionCreatedOnHandler() argument
1704 notifySessionCreatedToManagers(managerRequestId, sessionInfo); in onSessionCreatedOnHandler()
1708 + "uniqueRequestId=" + uniqueRequestId + ", sessionInfo=" + sessionInfo); in onSessionCreatedOnHandler()
1724 if (sessionInfo.isSystemSession() in onSessionCreatedOnHandler()
[all …]
DMediaRoute2Provider.java114 long requestId, @Nullable RoutingSessionInfo sessionInfo); in onSessionCreated() argument
116 @NonNull RoutingSessionInfo sessionInfo); in onSessionUpdated() argument
118 @NonNull RoutingSessionInfo sessionInfo); in onSessionReleased() argument
/frameworks/base/core/java/android/hardware/display/
DWifiDisplayStatus.java89 WifiDisplaySessionInfo sessionInfo =
93 activeDisplay, displays, sessionInfo);
107 WifiDisplay activeDisplay, WifiDisplay[] displays, WifiDisplaySessionInfo sessionInfo) { in WifiDisplayStatus() argument
118 mSessionInfo = (sessionInfo != null) ? sessionInfo : new WifiDisplaySessionInfo(); in WifiDisplayStatus()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DInfoMediaManagerTest.java98 final RoutingSessionInfo sessionInfo = mock(RoutingSessionInfo.class); in onRouteAdded_getAvailableRoutes_shouldAddMediaDevice() local
99 routingSessionInfos.add(sessionInfo); in onRouteAdded_getAvailableRoutes_shouldAddMediaDevice()
102 when(sessionInfo.getSelectedRoutes()).thenReturn(selectedRoutes); in onRouteAdded_getAvailableRoutes_shouldAddMediaDevice()
149 final RoutingSessionInfo sessionInfo = mock(RoutingSessionInfo.class); in onPreferredFeaturesChanged_samePackageName_shouldAddMediaDevice() local
150 routingSessionInfos.add(sessionInfo); in onPreferredFeaturesChanged_samePackageName_shouldAddMediaDevice()
153 when(sessionInfo.getSelectedRoutes()).thenReturn(selectedRoutes); in onPreferredFeaturesChanged_samePackageName_shouldAddMediaDevice()
185 final RoutingSessionInfo sessionInfo = mock(RoutingSessionInfo.class); in onRoutesChanged_getAvailableRoutes_shouldAddMediaDevice() local
186 routingSessionInfos.add(sessionInfo); in onRoutesChanged_getAvailableRoutes_shouldAddMediaDevice()
189 when(sessionInfo.getSelectedRoutes()).thenReturn(selectedRoutes); in onRoutesChanged_getAvailableRoutes_shouldAddMediaDevice()
249 final RoutingSessionInfo sessionInfo = mock(RoutingSessionInfo.class); in onRoutesRemoved_getAvailableRoutes_shouldAddMediaDevice() local
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java72 PackageInstaller.SessionInfo sessionInfo = packageInstaller.getSessionInfo(sessionId); in onCreate() local
73 callingPackage = (sessionInfo != null) ? sessionInfo.getInstallerPackageName() : null; in onCreate()
75 (sessionInfo != null) ? sessionInfo.getInstallerAttributionTag() : null; in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DInfoMediaManager.java200 final RoutingSessionInfo sessionInfo = getRoutingSessionInfo(); in releaseSession() local
202 if (sessionInfo != null) { in releaseSession()
203 mRouterManager.releaseSession(sessionInfo); in releaseSession()
393 boolean shouldEnableVolumeSeekBar(RoutingSessionInfo sessionInfo) { in shouldEnableVolumeSeekBar() argument
394 return sessionInfo.isSystemSession() // System sessions are not remote in shouldEnableVolumeSeekBar()
396 || sessionInfo.getSelectedRoutes().size() <= 1; in shouldEnableVolumeSeekBar()
565 public void onSessionUpdated(RoutingSessionInfo sessionInfo) { in onSessionUpdated() argument

12