Home
last modified time | relevance | path

Searched refs:mSession (Results 1 – 25 of 157) sorted by relevance

1234567

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java53 private final RenderSessionImpl mSession; field in BridgeRenderSession
66 return mSession != null ? mSession.getImage() : in getImage()
72 return mSession != null ? mSession.getViewInfos() : Collections.emptyList(); in getRootViews()
77 return mSession != null ? mSession.getSystemViewInfos() : Collections.emptyList(); in getSystemRootViews()
82 return mSession != null ? mSession.getDefaultNamespacedProperties() : in getDefaultNamespacedProperties()
88 return mSession != null ? mSession.getDefaultNamespacedStyles() : Collections.emptyMap(); in getDefaultNamespacedStyles()
93 if (mSession != null) { in measure()
96 mLastResult = mSession.acquire(timeout); in measure()
98 mSession.invalidateRenderingSize(); in measure()
99 mLastResult = mSession.measure(); in measure()
[all …]
/frameworks/base/core/java/android/inputmethodservice/
DInlineSuggestionSessionController.java80 private InlineSuggestionSession mSession; field in InlineSuggestionSessionController
100 if (mSession != null) { in onMakeInlineSuggestionsRequest()
101 mSession.invalidate(); in onMakeInlineSuggestionsRequest()
103 mSession = new InlineSuggestionSession(requestInfo, callback, mRequestSupplier, in onMakeInlineSuggestionsRequest()
108 if (mImeInputStarted && match(mSession.getRequestInfo())) { in onMakeInlineSuggestionsRequest()
109 mSession.makeInlineSuggestionRequestUncheck(); in onMakeInlineSuggestionsRequest()
113 mSession.getRequestCallback().onInputMethodStartInputView(); in onMakeInlineSuggestionsRequest()
136 if (mSession != null) { in notifyOnStartInput()
137 mSession.consumeInlineSuggestionsResponse(InlineSuggestionSession.EMPTY_RESPONSE); in notifyOnStartInput()
140 if (!mSession.isCallbackInvoked() && match(mSession.getRequestInfo())) { in notifyOnStartInput()
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillInlineSessionController.java60 private AutofillInlineSuggestionsRequestSession mSession; field in AutofillInlineSessionController
86 if (mSession != null) { in onCreateInlineSuggestionsRequestLocked()
88 mSession.destroySessionLocked(); in onCreateInlineSuggestionsRequestLocked()
93 mSession = new AutofillInlineSuggestionsRequestSession(mInputMethodManagerInternal, mUserId, in onCreateInlineSuggestionsRequestLocked()
96 mSession.onCreateInlineSuggestionsRequestLocked(); in onCreateInlineSuggestionsRequestLocked()
107 if (mSession != null) { in destroyLocked()
108 mSession.onInlineSuggestionsResponseLocked(InlineFillUi.emptyUi(autofillId)); in destroyLocked()
109 mSession.destroySessionLocked(); in destroyLocked()
110 mSession = null; in destroyLocked()
124 if (mSession != null) { in getInlineSuggestionsRequestLocked()
[all …]
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSessionService.java49 VoiceInteractionSession mSession; field in VoiceInteractionSessionService
91 if (mSession != null) { in onConfigurationChanged()
92 mSession.onConfigurationChanged(newConfig); in onConfigurationChanged()
99 if (mSession != null) { in onLowMemory()
100 mSession.onLowMemory(); in onLowMemory()
107 if (mSession != null) { in onTrimMemory()
108 mSession.onTrimMemory(level); in onTrimMemory()
114 if (mSession == null) { in dump()
118 mSession.dump(" ", fd, writer, args); in dump()
123 if (mSession != null) { in doNewSession()
[all …]
/frameworks/base/media/java/android/media/tv/interactive/
DTvInteractiveAppView.java113 private Session mSession; field in TvInteractiveAppView
306 if (mSession == null || !isAttachedToWindow() || mMediaViewCreated) { in createSessionMediaView()
310 mSession.createMediaView(this, mMediaViewFrame); in createSessionMediaView()
315 if (mSession == null || !mMediaViewCreated) { in removeSessionMediaView()
318 mSession.removeMediaView(); in removeSessionMediaView()
324 if (mSession == null || !isAttachedToWindow() || !mMediaViewCreated) { in relayoutSessionMediaView()
331 mSession.relayoutMediaView(viewFrame); in relayoutSessionMediaView()
345 if (mSession == null) { in setSessionSurface()
348 mSession.setSurface(surface); in setSessionSurface()
352 if (mSession == null) { in dispatchSurfaceChanged()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DContentRecordingController.java39 private ContentRecordingSession mSession = null; field in ContentRecordingController
52 return mSession; in getContentRecordingSessionLocked()
84 mSession != null && incomingSession != null && mSession.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()
108 mSession == null ? null : mSession.getVirtualDisplayId()); in setContentRecordingSessionLocked()
127 if (mSession != null && !hasSessionUpdatedWithConsent) { in setContentRecordingSessionLocked()
136 mSession = incomingSession; in setContentRecordingSessionLocked()
/frameworks/base/media/java/android/media/tv/
DTvView.java92 private Session mSession; field in TvView
209 return mSession; in getInputSession()
232 if (hasWindowFocus() && mSession != null) { in setMain()
233 mSession.setMain(); in setMain()
306 if (mSession == null) { in setStreamVolume()
310 mSession.setStreamVolume(volume); in setStreamVolume()
360 if (mSession != null) { in tune()
361 mSession.tune(channelUri, params); in tune()
405 if (mSession != null) { in resetInternal()
409 mSession.release(); in resetInternal()
[all …]
DTvRecordingClient.java49 private TvInputManager.Session mSession; field in TvRecordingClient
156 if (mSession != null) { in tune()
158 mSession.tune(channelUri, params); in tune()
188 if (mSession != null) { in resetInternal()
189 mSession.release(); in resetInternal()
194 mSession = null; in resetInternal()
253 if (mSession != null) { in startRecording()
254 mSession.startRecording(programUri, params); in startRecording()
275 if (mSession != null) { in stopRecording()
276 mSession.stopRecording(); in stopRecording()
[all …]
DTvInputManager.java909 private Session mSession; field in TvInputManager.SessionCallbackRecord
918 mSession = session; in postSessionCreated()
931 mSessionCallback.onSessionReleased(mSession); in postSessionReleased()
940 mSessionCallback.onChannelRetuned(mSession, channelUri); in postChannelRetuned()
949 mSessionCallback.onAudioPresentationsChanged(mSession, audioPresentations); in postAudioPresentationsChanged()
958 mSessionCallback.onAudioPresentationSelected(mSession, presentationId, in postAudioPresentationSelected()
968 mSessionCallback.onTracksChanged(mSession, tracks); in postTracksChanged()
969 if (mSession.mIAppNotificationEnabled in postTracksChanged()
970 && mSession.getInteractiveAppSession() != null) { in postTracksChanged()
971 mSession.getInteractiveAppSession().notifyTracksChanged(tracks); in postTracksChanged()
[all …]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerService.java37 private PlayerSession mSession; field in PlayerService
48 if (mSession == null) { in onCreate()
49 mSession = onCreatePlayerController(); in onCreate()
50 mSession.createSession(); in onCreate()
51 mSession.setListener(mPlayerListener); in onCreate()
52 mNotifyHelper = new NotificationHelper(this, mSession.mSession); in onCreate()
73 mSession.onDestroy(); in onDestroy()
74 mSession = null; in onDestroy()
126 mSession.setContent(params); in sendRequest()
128 mSession.setNextContent(params); in sendRequest()
[all …]
DPlayerSession.java42 protected MediaSession mSession; field in PlayerSession
78 mSession = new MediaSession(mContext, "OneMedia"); in createSession()
79 mSession.setCallback(mCallback); in createSession()
80 mSession.setPlaybackState(mPlaybackState); in createSession()
81 mSession.setFlags(MediaSession.FLAG_HANDLES_TRANSPORT_CONTROLS in createSession()
83 mSession.setActive(true); in createSession()
96 if (mSession != null) { in releaseSession()
97 mSession.release(); in releaseSession()
98 mSession = null; in releaseSession()
107 return mSession.getSessionToken(); in getSessionToken()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/complication/
DHideComplicationTouchHandlerTest.java73 DreamTouchHandler.TouchSession mSession; field in HideComplicationTouchHandlerTest
104 when(mSession.getActiveSessionCount()).thenReturn(2); in testSessionEndOnMultipleSessions()
110 touchHandler.onSessionStart(mSession); in testSessionEndOnMultipleSessions()
113 verify(mSession).pop(); in testSessionEndOnMultipleSessions()
136 when(mSession.getActiveSessionCount()).thenReturn(1); in testSessionEndWhenBouncerShowing()
142 touchHandler.onSessionStart(mSession); in testSessionEndWhenBouncerShowing()
145 verify(mSession).pop(); in testSessionEndWhenBouncerShowing()
168 when(mSession.getActiveSessionCount()).thenReturn(1); in testSessionEndWithTouchInInset()
174 touchHandler.onSessionStart(mSession); in testSessionEndWithTouchInInset()
179 verify(mSession).registerInputListener(inputEventListenerCaptor.capture()); in testSessionEndWithTouchInInset()
[all …]
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipSession.java238 private final ISipSession mSession; field in SipSession
242 mSession = realSession; in SipSession()
264 return mSession.getLocalIp(); in getLocalIp()
278 return mSession.getLocalProfile(); in getLocalProfile()
293 return mSession.getPeerProfile(); in getPeerProfile()
308 return mSession.getState(); in getState()
322 return mSession.isInCall(); in isInCall()
336 return mSession.getCallId(); in getCallId()
367 mSession.register(duration); in register()
384 mSession.unregister(); in unregister()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScrollCaptureController.java72 private Session mSession; field in ScrollCaptureController
80 private final Session mSession; field in ScrollCaptureController.LongScreenshot
84 mSession = session; in LongScreenshot()
103 mSession.release(); in release()
128 return mSession.getPageHeight(); in getPageHeight()
198 if (mSession != null) { in onCancelled()
199 mSession.end(); in onCancelled()
206 mSession = mSessionFuture.get(); in onStartComplete()
208 Log.d(TAG, "got session " + mSession); in onStartComplete()
228 mTileFuture = mSession.requestTile(topPx); in requestNextTile()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java593 private ImsCallSession mSession = null; field in ImsCall
709 if (mSession != null) { in close()
710 mSession.close(); in close()
711 mSession = null; in close()
793 if (mSession == null) { in getLocalCallProfile()
799 return mSession.getLocalCallProfile(); in getLocalCallProfile()
814 if (mSession == null) { in getRemoteCallProfile()
820 return mSession.getRemoteCallProfile(); in getRemoteCallProfile()
871 if (mSession == null) { in getState()
875 return mSession.getState(); in getState()
[all …]
/frameworks/base/core/java/com/android/internal/jank/
DFrameTracker.java106 private final Session mSession; field in FrameTracker
204 mSession = session; in FrameTracker()
260 Log.d(TAG, "surfaceDestroyed: " + mSession.getName() in FrameTracker()
297 Log.d(TAG, "begin: " + mSession.getName() + ", begin=" + mBeginVsyncId in begin()
313 + mSession.getName()); in begin()
332 Trace.asyncTraceForTrackBegin(Trace.TRACE_TAG_APP, mSession.getName(), mSession.getName(), in beginInternal()
358 Log.d(TAG, "end: " + mSession.getName() in end()
363 Trace.asyncTraceForTrackEnd(Trace.TRACE_TAG_APP, mSession.getName(), in end()
365 mSession.setReason(reason); in end()
391 Log.e(TAG, "force finish cuj, time out: " + mSession.getName()); in end()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DIInputMethodSessionInvoker.java47 private final IInputMethodSession mSession; field in IInputMethodSessionInvoker
66 mSession = inputMethodSession; in IInputMethodSessionInvoker()
112 mSession.finishInput(); in finishInputInternal()
130 mSession.updateCursorAnchorInfo(cursorAnchorInfo); in updateCursorAnchorInfoInternal()
148 mSession.displayCompletions(completions); in displayCompletionsInternal()
166 mSession.updateExtractedText(token, text); in updateExtractedTextInternal()
184 mSession.appPrivateCommand(action, data); in appPrivateCommandInternal()
202 mSession.viewClicked(focusChanged); in viewClickedInternal()
220 mSession.updateCursor(newCursor); in updateCursorInternal()
242 mSession.updateSelection( in updateSelectionInternal()
[all …]
/frameworks/base/omapi/java/android/se/omapi/
DSession.java47 private final ISecureElementSession mSession; field in Session
57 mSession = session; in Session()
83 return mSession.getAtr(); in getATR()
100 mSession.close(); in close()
114 return mSession.isClosed(); in isClosed()
132 mSession.closeChannels(); in closeChannels()
207 ISecureElementChannel channel = mSession.openBasicChannel(aid, p2, in openBasicChannel()
312 ISecureElementChannel channel = mSession.openLogicalChannel( in openLogicalChannel()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DInstallTask.java45 private PackageInstaller.Session mSession; field in InstallTask
60 mSession = session; in InstallTask()
75 sessionStream = mSession.openWrite(mPackageName, 0, -1); in execute()
80 mSession.fsync(sessionStream); in execute()
105 mSession.close(); in execute()
111 mSession.commit(mCommitCallback); in execute()
112 mSession.close(); in execute()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipService.java640 private SipSessionGroup.SipSessionImpl mSession; field in SipService.SipKeepAliveProcessCallback
655 if (mSession != null) { in start()
677 mSession = (SipSessionGroup.SipSessionImpl) in start()
679 mSession.startKeepAliveProcess(mInterval, this); in start()
688 if (mSession != null) { in stop()
689 mSession.stopKeepAliveProcess(); in stop()
690 mSession = null; in stop()
704 if (mSession == null) return; in restart()
708 mSession.stopKeepAliveProcess(); in restart()
710 mSession.startKeepAliveProcess(mInterval, this); in restart()
[all …]
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DBlobStoreManager.java643 private final IBlobStoreSession mSession; field in BlobStoreManager.Session
646 mSession = session; in Session()
677 final ParcelFileDescriptor pfd = mSession.openWrite(offsetBytes, lengthBytes); in openWrite()
701 return mSession.openRead(); in openRead()
723 return mSession.getSize(); in getSize()
741 mSession.close(); in close()
760 mSession.abandon(); in abandon()
790 mSession.allowPackageAccess(packageName, certificate); in allowPackageAccess()
816 return mSession.isPackageAccessAllowed(packageName, certificate); in isPackageAccessAllowed()
839 mSession.allowSameSignatureAccess(); in allowSameSignatureAccess()
[all …]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingExtensionSessionCallback.java161 private volatile CameraExtensionSession mSession; field in BlockingExtensionSessionCallback.SessionFuture
165 mSession = session; in setSession()
181 return mSession != null; in isDone()
187 return mSession; in get()
198 if (mSession == null) { in get()
201 return mSession; in get()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/
DExtendedRadioMockitoTestCase.java39 private MockitoSession mSession; field in ExtendedRadioMockitoTestCase
47 mSession = builder.startMocking(); in startSession()
63 if (mSession == null) { in finishSession()
75 mSession.finishMocking(); in finishSession()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java127 IVoiceInteractionSession mSession; field in VoiceInteractionSessionConnection
318 if (mSession != null) { in showLocked()
320 mSession.show(mShowArgs, mShowFlags, showCallback); in showLocked()
378 mSession.handleAssist( in doHandleAssistWithoutData()
394 return mSession != null; in canHandleReceivedAssistDataLocked()
400 if (mSession == null) { in onAssistDataReceivedLocked()
406 mSession.handleAssist(-1, null, null, null, null, 0, 0); in onAssistDataReceivedLocked()
436 mSession.handleAssist(taskId, activityId, assistData, structure, in onAssistDataReceivedLocked()
447 if (mSession == null) { in onAssistScreenshotReceivedLocked()
452 mSession.handleScreenshot(screenshot); in onAssistScreenshotReceivedLocked()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java47 private IWindowSession mSession; field in BaseIWindow
50 mSession = session; in setSession()
59 mSession.finishDrawing(this, null /* postDrawTransaction */, seqId); in resized()
112 mSession.wallpaperOffsetsComplete(asBinder()); in dispatchWallpaperOffsets()
122 mSession.reportDropResult(this, false); in dispatchDragEvent()
139 mSession.wallpaperCommandComplete(asBinder(), null); in dispatchWallpaperCommand()

1234567