Home
last modified time | relevance | path

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

12345

/aosp14/frameworks/base/core/java/android/inputmethodservice/
H A DInlineSuggestionSessionController.java80 private InlineSuggestionSession mSession; field in InlineSuggestionSessionController
100 if (mSession != null) { in onMakeInlineSuggestionsRequest()
101 mSession.invalidate(); in onMakeInlineSuggestionsRequest()
109 mSession.makeInlineSuggestionRequestUncheck(); in onMakeInlineSuggestionsRequest()
136 if (mSession != null) { in notifyOnStartInput()
140 if (!mSession.isCallbackInvoked() && match(mSession.getRequestInfo())) { in notifyOnStartInput()
142 } else if (mSession.shouldSendImeStatus()) { in notifyOnStartInput()
160 if (mSession != null && mSession.shouldSendImeStatus()) { in notifyOnShowInputRequested()
178 if (mSession != null && mSession.shouldSendImeStatus()) { in notifyOnStartInputView()
196 if (mSession != null && mSession.shouldSendImeStatus()) { in notifyOnFinishInputView()
[all …]
/aosp14/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSessionService.java91 if (mSession != null) { in onConfigurationChanged()
99 if (mSession != null) { in onLowMemory()
100 mSession.onLowMemory(); in onLowMemory()
107 if (mSession != null) { in onTrimMemory()
114 if (mSession == null) { in dump()
123 if (mSession != null) { in doNewSession()
124 mSession.doDestroy(); in doNewSession()
125 mSession = null; in doNewSession()
132 mSession.doDestroy(); in doNewSession()
133 mSession = null; in doNewSession()
[all …]
/aosp14/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillInlineSessionController.java86 if (mSession != null) { in onCreateInlineSuggestionsRequestLocked()
88 mSession.destroySessionLocked(); in onCreateInlineSuggestionsRequestLocked()
107 if (mSession != null) { in destroyLocked()
109 mSession.destroySessionLocked(); in destroyLocked()
110 mSession = null; in destroyLocked()
124 if (mSession != null) { in getInlineSuggestionsRequestLocked()
137 if (mSession != null) { in hideInlineSuggestionsUiLocked()
165 if (mSession != null) { in resetInlineFillUiLocked()
166 mSession.resetInlineFillUiLocked(); in resetInlineFillUiLocked()
211 if (mSession != null) { in isImeShowing()
[all …]
H A DLogFieldClassificationScoreOnResultListener.java35 private Session mSession; field in LogFieldClassificationScoreOnResultListener
49 this.mSession = session; in LogFieldClassificationScoreOnResultListener()
62 Session session = mSession; in onResult()
77 mSession = null; in onResult()
/aosp14/frameworks/base/media/java/android/media/tv/interactive/
H A DTvInteractiveAppView.java113 private Session mSession; field in TvInteractiveAppView
345 if (mSession == null) { in setSessionSurface()
352 if (mSession == null) { in dispatchSurfaceChanged()
448 if (mSession == null) { in dispatchKeyEvent()
486 if (mSession != null) { in startInteractiveApp()
498 if (mSession != null) { in stopInteractiveApp()
512 if (mSession != null) { in resetInteractiveApp()
973 mSession = null; in resetInternal()
1020 return mSession; in getInteractiveAppSession()
1044 if (mSession == null || mSession.getInputSession() == null) { in unsetTvView()
[all …]
/aosp14/frameworks/base/media/java/android/media/tv/
H A DTvView.java92 private Session mSession; field in TvView
209 return mSession; in getInputSession()
306 if (mSession == null) { in setStreamVolume()
405 if (mSession != null) { in resetInternal()
409 mSession.release(); in resetInternal()
410 mSession = null; in resetInternal()
440 if (mSession != null) { in unblockContent()
455 if (mSession != null) { in setCaptionEnabled()
468 if (mSession != null) { in selectAudioPresentation()
483 if (mSession == null) { in getAudioPresentations()
[all …]
H A DTvRecordingClient.java156 if (mSession != null) { in tune()
188 if (mSession != null) { in resetInternal()
189 mSession.release(); in resetInternal()
194 mSession = null; in resetInternal()
253 if (mSession != null) { in startRecording()
275 if (mSession != null) { in stopRecording()
328 if (mSession != null) { in pauseRecording()
371 if (mSession != null) { in resumeRecording()
390 if (mSession != null) { in sendAppPrivateCommand()
497 mSession = session; in onSessionCreated()
[all …]
H A DTvInputManager.java909 private Session mSession; field in TvInputManager.SessionCallbackRecord
918 mSession = session; in postSessionCreated()
969 if (mSession.mIAppNotificationEnabled in postTracksChanged()
982 if (mSession.mIAppNotificationEnabled in postTrackSelected()
1004 if (mSession.mIAppNotificationEnabled in postVideoAvailable()
1017 if (mSession.mIAppNotificationEnabled in postVideoUnavailable()
1030 if (mSession.mIAppNotificationEnabled in postContentAllowed()
1193 if (mSession.mIAppNotificationEnabled) { in postBroadcastInfoResponse()
1207 if (mSession.mIAppNotificationEnabled) { in postAdResponse()
1220 if (mSession.mIAppNotificationEnabled) { in postAdBufferConsumed()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A 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()
/aosp14/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerService.java37 private PlayerSession mSession; field in PlayerService
48 if (mSession == null) { in onCreate()
49 mSession = onCreatePlayerController(); in onCreate()
50 mSession.createSession(); 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()
158 if (mSession == null) { in getSessionToken()
162 return mSession.getSessionToken(); in getSessionToken()
[all …]
H A DPlayerSession.java42 protected MediaSession mSession; field in PlayerSession
79 mSession.setCallback(mCallback); in createSession()
80 mSession.setPlaybackState(mPlaybackState); 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()
129 if (mSession != null && mSession.isActive()) { in updateMetadata()
145 mSession.setPlaybackState(mPlaybackState); in updateState()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/complication/
H A 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()
174 touchHandler.onSessionStart(mSession); in testSessionEndWithTouchInInset()
193 verify(mSession).pop(); in testSessionEndWithTouchInInset()
222 touchHandler.onSessionStart(mSession); in testSessionLifecycle()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A 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 …]
/aosp14/frameworks/base/core/java/com/android/internal/jank/
H A DFrameTracker.java106 private final Session mSession; field in FrameTracker
204 mSession = session; in FrameTracker()
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()
365 mSession.setReason(reason); in end()
429 mSession.setReason(reason); in cancel()
457 mListener.onCujEvents(mSession, action); in notifyCujEvent()
668 if (mSession.logToStatsd()) { in finish()
672 mSession.getStatsdInteractionType(), in finish()
[all …]
/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A 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 …]
H A DIAccessibilityInputMethodSessionInvoker.java39 private final IAccessibilityInputMethodSession mSession; field in IAccessibilityInputMethodSessionInvoker
59 mSession = session; in IAccessibilityInputMethodSessionInvoker()
104 mSession.finishInput(); in finishInputInternal()
126 mSession.updateSelection( in updateSelectionInternal()
147 mSession.invalidateInput(editorInfo, connection, sessionId); in invalidateInputInternal()
/aosp14/frameworks/base/omapi/java/android/se/omapi/
H A 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()
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
H A 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()
/aosp14/frameworks/base/apex/blobstore/framework/java/android/app/blob/
H A DBlobStoreManager.java643 private final IBlobStoreSession mSession; field in BlobStoreManager.Session
646 mSession = session; in Session()
701 return mSession.openRead(); in openRead()
723 return mSession.getSize(); in getSize()
741 mSession.close(); in close()
760 mSession.abandon(); in abandon()
839 mSession.allowSameSignatureAccess(); in allowSameSignatureAccess()
859 return mSession.isSameSignatureAccessAllowed(); in isSameSignatureAccessAllowed()
887 mSession.allowPublicAccess(); in allowPublicAccess()
906 return mSession.isPublicAccessAllowed(); in isPublicAccessAllowed()
[all …]
/aosp14/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionSessionConnection.java127 IVoiceInteractionSession mSession; field in VoiceInteractionSessionConnection
318 if (mSession != null) { in showLocked()
378 mSession.handleAssist( in doHandleAssistWithoutData()
394 return mSession != null; in canHandleReceivedAssistDataLocked()
400 if (mSession == null) { in onAssistDataReceivedLocked()
447 if (mSession == null) { in onAssistScreenshotReceivedLocked()
509 if (mSession != null) { in hideLocked()
549 if (mSession != null) { in cancelLocked()
570 mSession = null; in cancelLocked()
581 mSession = session; in deliverNewSessionLocked()
[all …]
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/
H A 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()
/aosp14/frameworks/base/core/java/com/android/internal/view/
H A 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()
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCamera2Focuser.java57 private final CameraCaptureSession mSession; field in Camera2Focuser
119 mSession = session; in Camera2Focuser()
222 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler); in cancelAutoFocus()
223 mSession.capture(requestBuilder.build(), listener, mHandler); in cancelAutoFocus()
259 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler); in startAutoFocusLocked()
260 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusLocked()
283 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler); in startAutoFocusFullActiveLocked()
284 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusFullActiveLocked()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
H A DApplicationsStateRoboTest.java125 private Session mSession; field in ApplicationsStateRoboTest
236 mSession.onDestroy(); in tearDown()
291 mSession.onResume(); in testDefaultSession_isResumed_LoadsAll()
318 mSession.onResume(); in testDefaultSession_isPaused_NotLoadsAll()
322 mSession.mResumed = false; in testDefaultSession_isPaused_NotLoadsAll()
332 mSession.onResume(); in testCustomSessionLoadsIconsOnly()
351 mSession.onResume(); in testCustomSessionLoadsSizesOnly()
369 mSession.onResume(); in testCustomSessionLoadsHomeOnly()
388 mSession.onResume(); in testCustomSessionLoadsLeanbackOnly()
407 mSession.onResume(); in onResume_shouldNotIncludeSystemHiddenModule()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
H A DAidlSession.java32 private final ISession mSession; field in AidlSession
39 mSession = session; in AidlSession()
46 return mSession; in getSession()

12345