/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | BridgeRenderSession.java | 55 private final RenderSessionImpl mSession; field in BridgeRenderSession 68 return mSession != null ? mSession.getImage() : in getImage() 74 return mSession != null ? mSession.getViewInfos() : Collections.emptyList(); in getRootViews() 79 return mSession != null ? mSession.getSystemViewInfos() : Collections.emptyList(); in getSystemRootViews() 84 return mSession != null ? mSession.getDefaultNamespacedProperties() : in getDefaultNamespacedProperties() 90 return mSession != null ? mSession.getDefaultNamespacedStyles() : Collections.emptyMap(); in getDefaultNamespacedStyles() 95 if (mSession != null) { in measure() 98 mLastResult = mSession.acquire(timeout); in measure() 100 mSession.invalidateRenderingSize(); in measure() 101 mLastResult = mSession.measure(); in measure() [all …]
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InlineSuggestionSessionController.java | 80 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/core/java/android/service/voice/ |
D | VoiceInteractionSessionService.java | 49 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/services/autofill/java/com/android/server/autofill/ |
D | AutofillInlineSessionController.java | 60 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/media/java/android/media/tv/interactive/ |
D | TvInteractiveAppView.java | 110 private Session mSession; field in TvInteractiveAppView 299 if (mSession == null || !isAttachedToWindow() || mMediaViewCreated) { in createSessionMediaView() 303 mSession.createMediaView(this, mMediaViewFrame); in createSessionMediaView() 308 if (mSession == null || !mMediaViewCreated) { in removeSessionMediaView() 311 mSession.removeMediaView(); in removeSessionMediaView() 317 if (mSession == null || !isAttachedToWindow() || !mMediaViewCreated) { in relayoutSessionMediaView() 324 mSession.relayoutMediaView(viewFrame); in relayoutSessionMediaView() 338 if (mSession == null) { in setSessionSurface() 341 mSession.setSurface(surface); in setSessionSurface() 345 if (mSession == null) { in dispatchSurfaceChanged() [all …]
|
/frameworks/base/media/java/android/media/tv/ |
D | TvView.java | 87 private Session mSession; field in TvView 202 return mSession; in getInputSession() 225 if (hasWindowFocus() && mSession != null) { in setMain() 226 mSession.setMain(); in setMain() 299 if (mSession == null) { in setStreamVolume() 303 mSession.setStreamVolume(volume); in setStreamVolume() 337 if (mSession != null) { in tune() 338 mSession.tune(channelUri, params); in tune() 381 if (mSession != null) { in resetInternal() 385 mSession.release(); in resetInternal() [all …]
|
D | TvRecordingClient.java | 48 private TvInputManager.Session mSession; field in TvRecordingClient 123 if (mSession != null) { in tune() 125 mSession.tune(channelUri, params); in tune() 155 if (mSession != null) { in resetInternal() 156 mSession.release(); in resetInternal() 161 mSession = null; in resetInternal() 220 if (mSession != null) { in startRecording() 221 mSession.startRecording(programUri, params); in startRecording() 242 if (mSession != null) { in stopRecording() 243 mSession.stopRecording(); in stopRecording() [all …]
|
D | TvInputManager.java | 719 private Session mSession; field in TvInputManager.SessionCallbackRecord 728 mSession = session; in postSessionCreated() 741 mSessionCallback.onSessionReleased(mSession); in postSessionReleased() 750 mSessionCallback.onChannelRetuned(mSession, channelUri); in postChannelRetuned() 759 mSessionCallback.onTracksChanged(mSession, tracks); in postTracksChanged() 760 if (mSession.mIAppNotificationEnabled in postTracksChanged() 761 && mSession.getInteractiveAppSession() != null) { in postTracksChanged() 762 mSession.getInteractiveAppSession().notifyTracksChanged(tracks); in postTracksChanged() 772 mSessionCallback.onTrackSelected(mSession, type, trackId); in postTrackSelected() 773 if (mSession.mIAppNotificationEnabled in postTrackSelected() [all …]
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | PlayerService.java | 37 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 …]
|
D | PlayerSession.java | 42 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/core/java/android/view/inputmethod/ |
D | InputMethodSessionWrapper.java | 43 private final IInputMethodSession mSession; field in InputMethodSessionWrapper 46 mSession = inputMethodSession; in InputMethodSessionWrapper() 66 mSession.finishInput(); in finishInput() 75 mSession.updateCursorAnchorInfo(cursorAnchorInfo); in updateCursorAnchorInfo() 84 mSession.displayCompletions(completions); in displayCompletions() 93 mSession.updateExtractedText(token, text); in updateExtractedText() 102 mSession.appPrivateCommand(action, data); in appPrivateCommand() 111 mSession.viewClicked(focusChanged); in viewClicked() 120 mSession.updateCursor(newCursor); in updateCursor() 130 mSession.updateSelection( in updateSelection() [all …]
|
D | IAccessibilityInputMethodSessionInvoker.java | 35 private final IAccessibilityInputMethodSession mSession; field in IAccessibilityInputMethodSessionInvoker 39 mSession = session; in IAccessibilityInputMethodSessionInvoker() 58 mSession.finishInput(); in finishInput() 68 mSession.updateSelection( in updateSelection() 79 mSession.invalidateInput(editorInfo, connection, sessionId); in invalidateInput()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/touch/ |
D | HideComplicationTouchHandlerTest.java | 72 DreamTouchHandler.TouchSession mSession; field in HideComplicationTouchHandlerTest 103 when(mSession.getActiveSessionCount()).thenReturn(2); in testSessionEndOnMultipleSessions() 109 touchHandler.onSessionStart(mSession); in testSessionEndOnMultipleSessions() 112 verify(mSession).pop(); in testSessionEndOnMultipleSessions() 135 when(mSession.getActiveSessionCount()).thenReturn(1); in testSessionEndWhenBouncerShowing() 141 touchHandler.onSessionStart(mSession); in testSessionEndWhenBouncerShowing() 144 verify(mSession).pop(); in testSessionEndWhenBouncerShowing() 167 when(mSession.getActiveSessionCount()).thenReturn(1); in testSessionEndWithTouchInInset() 173 touchHandler.onSessionStart(mSession); in testSessionEndWithTouchInInset() 178 verify(mSession).registerInputListener(inputEventListenerCaptor.capture()); in testSessionEndWithTouchInInset() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ContentRecordingController.java | 39 private ContentRecordingSession mSession = null; field in ContentRecordingController 52 return mSession; in getContentRecordingSessionLocked() 67 || ContentRecordingSession.isSameDisplay(mSession, incomingSession))) { in setContentRecordingSessionLocked() 77 mSession == null ? null : mSession.getDisplayId()); in setContentRecordingSessionLocked() 82 if (mSession != null) { in setContentRecordingSessionLocked() 91 mSession = incomingSession; in setContentRecordingSessionLocked()
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SipSession.java | 238 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/ |
D | ScrollCaptureController.java | 72 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() 192 if (mSession != null) { in onCancelled() 193 mSession.end(); in onCancelled() 200 mSession = mSessionFuture.get(); in onStartComplete() 202 Log.d(TAG, "got session " + mSession); in onStartComplete() 222 mTileFuture = mSession.requestTile(topPx); in requestNextTile() [all …]
|
/frameworks/base/core/java/com/android/internal/jank/ |
D | FrameTracker.java | 100 private final Session mSession; field in FrameTracker 197 mSession = session; in FrameTracker() 252 Log.d(TAG, "surfaceDestroyed: " + mSession.getName() in FrameTracker() 289 Log.d(TAG, "begin: " + mSession.getName() + ", begin=" + mBeginVsyncId in begin() 305 + mSession.getName()); in begin() 325 Trace.beginAsyncSection(mSession.getName(), (int) mBeginVsyncId); in beginInternal() 348 Log.d(TAG, "end: " + mSession.getName() in end() 352 Trace.endAsyncSection(mSession.getName(), (int) mBeginVsyncId); in end() 353 mSession.setReason(reason); in end() 360 Log.e(TAG, "force finish cuj because of time out:" + mSession.getName()); in end() [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsCall.java | 577 private ImsCallSession mSession = null; field in ImsCall 693 if (mSession != null) { in close() 694 mSession.close(); in close() 695 mSession = null; in close() 777 if (mSession == null) { in getLocalCallProfile() 783 return mSession.getLocalCallProfile(); in getLocalCallProfile() 798 if (mSession == null) { in getRemoteCallProfile() 804 return mSession.getRemoteCallProfile(); in getRemoteCallProfile() 855 if (mSession == null) { in getState() 859 return mSession.getState(); in getState() [all …]
|
/frameworks/base/omapi/java/android/se/omapi/ |
D | Session.java | 47 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/ |
D | InstallTask.java | 45 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/ |
D | SipService.java | 640 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/ |
D | BlobStoreManager.java | 643 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/ |
D | BlockingExtensionSessionCallback.java | 161 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/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionSessionConnection.java | 125 IVoiceInteractionSession mSession; field in VoiceInteractionSessionConnection 313 if (mSession != null) { in showLocked() 315 mSession.show(mShowArgs, mShowFlags, showCallback); in showLocked() 372 mSession.handleAssist( in doHandleAssistWithoutData() 388 return mSession != null; in canHandleReceivedAssistDataLocked() 394 if (mSession == null) { in onAssistDataReceivedLocked() 400 mSession.handleAssist(-1, null, null, null, null, 0, 0); in onAssistDataReceivedLocked() 430 mSession.handleAssist(taskId, activityId, assistData, structure, in onAssistDataReceivedLocked() 441 if (mSession == null) { in onAssistScreenshotReceivedLocked() 446 mSession.handleScreenshot(screenshot); in onAssistScreenshotReceivedLocked() [all …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | BaseIWindow.java | 45 private IWindowSession mSession; field in BaseIWindow 48 mSession = session; in setSession() 57 mSession.finishDrawing(this, null /* postDrawTransaction */, seqId); in resized() 108 mSession.wallpaperOffsetsComplete(asBinder()); in dispatchWallpaperOffsets() 118 mSession.reportDropResult(this, false); in dispatchDragEvent() 134 mSession.wallpaperCommandComplete(asBinder(), null); in dispatchWallpaperCommand()
|