/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | BridgeRenderSession.java | 45 private final RenderSessionImpl mSession; field in BridgeRenderSession 56 return mSession != null ? mSession.getImage() : in getImage() 62 return mSession != null ? mSession.getViewInfos() : Collections.emptyList(); in getRootViews() 67 return mSession != null ? mSession.getSystemViewInfos() : Collections.emptyList(); in getSystemRootViews() 72 return mSession != null ? mSession.getDefaultNamespacedProperties() : in getDefaultNamespacedProperties() 78 return mSession != null ? mSession.getDefaultNamespacedStyles() : Collections.emptyMap(); in getDefaultNamespacedStyles() 83 if (mSession != null) { in measure() 86 mLastResult = mSession.acquire(timeout); in measure() 88 mSession.invalidateRenderingSize(); in measure() 89 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/ |
D | TvView.java | 84 private Session mSession; field in TvView 207 if (hasWindowFocus() && mSession != null) { in setMain() 208 mSession.setMain(); in setMain() 281 if (mSession == null) { in setStreamVolume() 285 mSession.setStreamVolume(volume); in setStreamVolume() 319 if (mSession != null) { in tune() 320 mSession.tune(channelUri, params); in tune() 363 if (mSession != null) { in resetInternal() 367 mSession.release(); in resetInternal() 368 mSession = null; 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 …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodSessionWrapper.java | 42 private final IInputMethodSession mSession; field in InputMethodSessionWrapper 45 mSession = inputMethodSession; in InputMethodSessionWrapper() 65 mSession.finishInput(); in finishInput() 74 mSession.updateCursorAnchorInfo(cursorAnchorInfo); in updateCursorAnchorInfo() 83 mSession.displayCompletions(completions); in displayCompletions() 92 mSession.updateExtractedText(token, text); in updateExtractedText() 101 mSession.appPrivateCommand(action, data); in appPrivateCommand() 110 mSession.notifyImeHidden(); in notifyImeHidden() 119 mSession.viewClicked(focusChanged); in viewClicked() 128 mSession.updateCursor(newCursor); in updateCursor() [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/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 | 69 private Session mSession; field in ScrollCaptureController 75 private final Session mSession; field in ScrollCaptureController.LongScreenshot 78 mSession = session; in LongScreenshot() 97 mSession.release(); in release() 122 return mSession.getPageHeight(); in getPageHeight() 172 mSession = mSessionFuture.get(); in onStartComplete() 174 Log.d(TAG, "got session " + mSession); in onStartComplete() 188 mTileFuture = mSession.requestTile(topPx); in requestNextTile() 230 if (expectedTiles >= mSession.getMaxTiles()) { in onCaptureResult() 243 >= mSession.getTargetHeight() * IDEAL_PORTION_ABOVE) { in onCaptureResult() [all …]
|
/frameworks/base/core/java/com/android/internal/jank/ |
D | FrameTracker.java | 93 private final Session mSession; field in FrameTracker 144 mSession = session; in FrameTracker() 188 Log.d(TAG, "surfaceDestroyed: " + mSession.getName() in FrameTracker() 216 Log.d(TAG, "begin: " + mSession.getName() + ", begin=" + mBeginVsyncId); in begin() 222 mListener.onCujEvents(mSession, ACTION_SESSION_BEGIN); in begin() 237 Trace.beginAsyncSection(mSession.getName(), (int) mBeginVsyncId); in postTraceStartMarker() 258 Log.d(TAG, "end: " + mSession.getName() in end() 261 Trace.endAsyncSection(mSession.getName(), (int) mBeginVsyncId); in end() 262 mSession.setReason(reason); in end() 264 mListener.onCujEvents(mSession, ACTION_SESSION_END); 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/native/libs/binder/ |
D | RpcSession.cpp | 303 : mSession(session) { in ExclusiveConnection() 305 std::unique_lock<std::mutex> _l(mSession->mMutex); in ExclusiveConnection() 307 mSession->mWaitingThreads++; in ExclusiveConnection() 315 findConnection(tid, &exclusive, &available, mSession->mClientConnections, in ExclusiveConnection() 316 mSession->mClientConnectionsOffset); in ExclusiveConnection() 329 mSession->mClientConnectionsOffset = in ExclusiveConnection() 330 (mSession->mClientConnectionsOffset + 1) % mSession->mClientConnections.size(); in ExclusiveConnection() 338 findConnection(tid, &exclusive, nullptr /*available*/, mSession->mServerConnections, in ExclusiveConnection() 354 LOG_ALWAYS_FATAL_IF(mSession->mClientConnections.size() == 0, in ExclusiveConnection() 360 mSession->mClientConnections.size(), mSession->mServerConnections.size()); in ExclusiveConnection() [all …]
|
/frameworks/base/core/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/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/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionSessionConnection.java | 102 IVoiceInteractionSession mSession; field in VoiceInteractionSessionConnection 235 if (mSession != null) { in showLocked() 237 mSession.show(mShowArgs, mShowFlags, showCallback); in showLocked() 278 mSession.handleAssist( in doHandleAssistWithoutData() 294 return mSession != null; in canHandleReceivedAssistDataLocked() 300 if (mSession == null) { in onAssistDataReceivedLocked() 306 mSession.handleAssist(-1, null, null, null, null, 0, 0); in onAssistDataReceivedLocked() 336 mSession.handleAssist(taskId, activityId, assistData, structure, in onAssistDataReceivedLocked() 347 if (mSession == null) { in onAssistScreenshotReceivedLocked() 352 mSession.handleScreenshot(screenshot); in onAssistScreenshotReceivedLocked() [all …]
|
/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/base/apex/blobstore/framework/java/android/app/blob/ |
D | BlobStoreManager.java | 627 private final IBlobStoreSession mSession; field in BlobStoreManager.Session 630 mSession = session; in Session() 661 final ParcelFileDescriptor pfd = mSession.openWrite(offsetBytes, lengthBytes); in openWrite() 685 return mSession.openRead(); in openRead() 707 return mSession.getSize(); in getSize() 725 mSession.close(); in close() 744 mSession.abandon(); in abandon() 774 mSession.allowPackageAccess(packageName, certificate); in allowPackageAccess() 800 return mSession.isPackageAccessAllowed(packageName, certificate); in isPackageAccessAllowed() 823 mSession.allowSameSignatureAccess(); in allowSameSignatureAccess() [all …]
|
/frameworks/layoutlib/bridge/src/android/animation/ |
D | AnimationThread.java | 67 private final RenderSessionImpl mSession; field in AnimationThread 75 mSession = scene; in AnimationThread() 110 RenderSession session = mSession.getSession(); in run() 140 result = mSession.acquire(250); in run() 155 if (mSession.render(false /*freshRender*/).isSuccess()) { in run() 159 mSession.release(); in run()
|
/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/core/java/com/android/internal/view/ |
D | BaseIWindow.java | 46 private IWindowSession mSession; field in BaseIWindow 49 mSession = session; in setSession() 58 mSession.finishDrawing(this, null /* postDrawTransaction */); in resized() 121 mSession.wallpaperOffsetsComplete(asBinder()); in dispatchWallpaperOffsets() 131 mSession.reportDropResult(this, false); in dispatchDragEvent() 147 mSession.wallpaperCommandComplete(asBinder(), null); in dispatchWallpaperCommand()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | Camera2Focuser.java | 57 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()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | ApplicationsStateRoboTest.java | 110 private Session mSession; field in ApplicationsStateRoboTest 213 mSession = mApplicationsState.newSession(mCallbacks); in setUp() 218 mSession.onDestroy(); in tearDown() 273 mSession.onResume(); in testDefaultSession_isResumed_LoadsAll() 277 mSession.rebuild(ApplicationsState.FILTER_EVERYTHING, ApplicationsState.SIZE_COMPARATOR); in testDefaultSession_isResumed_LoadsAll() 300 mSession.onResume(); in testDefaultSession_isPaused_NotLoadsAll() 304 mSession.mResumed = false; in testDefaultSession_isPaused_NotLoadsAll() 305 mSession.rebuild(ApplicationsState.FILTER_EVERYTHING, ApplicationsState.SIZE_COMPARATOR); in testDefaultSession_isPaused_NotLoadsAll() 313 mSession.setSessionFlags(ApplicationsState.FLAG_SESSION_REQUEST_ICONS); in testCustomSessionLoadsIconsOnly() 314 mSession.onResume(); in testCustomSessionLoadsIconsOnly() [all …]
|
/frameworks/base/apex/media/framework/java/android/media/ |
D | Session2Link.java | 53 private final MediaSession2 mSession; field in Session2Link 57 mSession = session; in Session2Link() 62 mSession = null; in Session2Link() 151 mSession.onConnect(caller, pid, uid, seq, connectionRequest); in onConnect() 156 mSession.onDisconnect(caller, seq); in onDisconnect() 162 mSession.onSessionCommand(caller, seq, command, args, resultReceiver); in onSessionCommand() 167 mSession.onCancelCommand(caller, seq); in onCancelCommand()
|