Home
last modified time | relevance | path

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

1234

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java45 private final RenderSessionImpl mSession; field in BridgeRenderSession
55 return mSession.getImage(); in getImage()
60 return mSession.isAlphaChannelImage(); in isAlphaChannelImage()
65 return mSession.getViewInfos(); in getRootViews()
70 return mSession.getSystemViewInfos(); in getSystemRootViews()
75 return mSession.getDefaultProperties(); in getDefaultProperties()
82 mLastResult = mSession.acquire(timeout); in render()
85 mSession.invalidateRenderingSize(); in render()
87 mLastResult = mSession.render(false /*freshRender*/); in render()
90 mSession.release(); in render()
[all …]
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSessionService.java44 VoiceInteractionSession mSession; field in VoiceInteractionSessionService
86 if (mSession != null) { in onConfigurationChanged()
87 mSession.onConfigurationChanged(newConfig); in onConfigurationChanged()
94 if (mSession != null) { in onLowMemory()
95 mSession.onLowMemory(); in onLowMemory()
102 if (mSession != null) { in onTrimMemory()
103 mSession.onTrimMemory(level); in onTrimMemory()
109 if (mSession == null) { in dump()
113 mSession.dump(" ", fd, writer, args); in dump()
118 if (mSession != null) { in doNewSession()
[all …]
/frameworks/base/media/java/android/media/tv/
DTvView.java82 private Session mSession; field in TvView
204 if (hasWindowFocus() && mSession != null) { in setMain()
205 mSession.setMain(); in setMain()
278 if (mSession == null) { in setStreamVolume()
282 mSession.setStreamVolume(volume); in setStreamVolume()
316 if (mSession != null) { in tune()
317 mSession.tune(channelUri, params); in tune()
360 if (mSession != null) { in resetInternal()
364 mSession.release(); in resetInternal()
365 mSession = null; in resetInternal()
[all …]
DTvRecordingClient.java47 private TvInputManager.Session mSession; field in TvRecordingClient
120 if (mSession != null) { in tune()
121 mSession.tune(channelUri, params); in tune()
147 if (mSession != null) { in resetInternal()
148 mSession.release(); in resetInternal()
149 mSession = null; in resetInternal()
176 if (mSession != null) { in startRecording()
177 mSession.startRecording(programUri); in startRecording()
198 if (mSession != null) { in stopRecording()
199 mSession.stopRecording(); in stopRecording()
[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/opt/net/voip/src/java/android/net/sip/
DSipSession.java236 private final ISipSession mSession; field in SipSession
240 mSession = realSession; in SipSession()
262 return mSession.getLocalIp(); in getLocalIp()
276 return mSession.getLocalProfile(); in getLocalProfile()
291 return mSession.getPeerProfile(); in getPeerProfile()
306 return mSession.getState(); in getState()
320 return mSession.isInCall(); in isInCall()
334 return mSession.getCallId(); in getCallId()
365 mSession.register(duration); in register()
382 mSession.unregister(); in unregister()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java481 private ImsCallSession mSession = null; field in ImsCall
591 if (mSession != null) { in close()
592 mSession.close(); in close()
593 mSession = null; in close()
674 if (mSession == null) { in getLocalCallProfile()
680 return mSession.getLocalCallProfile(); in getLocalCallProfile()
695 if (mSession == null) { in getRemoteCallProfile()
701 return mSession.getRemoteCallProfile(); in getRemoteCallProfile()
746 if (mSession == null) { in getState()
750 return mSession.getState(); in getState()
[all …]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipService.java638 private SipSessionGroup.SipSessionImpl mSession; field in SipService.SipKeepAliveProcessCallback
653 if (mSession != null) { in start()
675 mSession = (SipSessionGroup.SipSessionImpl) in start()
677 mSession.startKeepAliveProcess(mInterval, this); in start()
686 if (mSession != null) { in stop()
687 mSession.stopKeepAliveProcess(); in stop()
688 mSession = null; in stop()
702 if (mSession == null) return; in restart()
706 mSession.stopKeepAliveProcess(); in restart()
708 mSession.startKeepAliveProcess(mInterval, this); in restart()
[all …]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMasObexClientSession.java56 private ClientSession mSession; field in BluetoothMasObexClientSession
136 mSession = new ClientSession(mTransport); in connect()
141 headerset = mSession.connect(headerset); in connect()
155 if (mSession != null) { in disconnect()
157 mSession.disconnect(null); in disconnect()
162 mSession.close(); in disconnect()
173 request.execute(mSession); in executeRequest()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java89 IVoiceInteractionSession mSession; field in VoiceInteractionSessionConnection
308 if (mSession != null) { in showLocked()
310 mSession.show(mShowArgs, mShowFlags, showCallback); in showLocked()
374 if (mSession == null) { in deliverSessionDataLocked()
382 mSession.handleAssist(null, null, null, 0, 0); in deliverSessionDataLocked()
394 mSession.handleAssist(null, null, null, assistData.activityIndex, in deliverSessionDataLocked()
409 mSession.handleScreenshot(mScreenshot); in deliverSessionDataLocked()
442 mSession.handleAssist(assistData, structure, content, in deliverSessionDataLocked()
456 if (mSession != null) { in hideLocked()
458 mSession.hide(); in hideLocked()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
DAnimationThread.java68 private final RenderSessionImpl mSession; field in AnimationThread
76 mSession = scene; in AnimationThread()
111 RenderSession session = mSession.getSession(); in run()
141 result = mSession.acquire(250); in run()
156 if (mSession.render(false /*freshRender*/).isSuccess()) { in run()
160 mSession.release(); in run()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java31 private IWindowSession mSession; field in BaseIWindow
35 mSession = session; in setSession()
44 mSession.finishDrawing(this); in resized()
78 mSession.wallpaperOffsetsComplete(asBinder()); in dispatchWallpaperOffsets()
103 mSession.wallpaperCommandComplete(asBinder(), null); in dispatchWallpaperCommand()
/frameworks/base/docs/html-intl/intl/ja/training/tv/playback/
Dnow-playing.jd34 mSession = new MediaSession(this, "MusicService");
35 mSession.setCallback(new MediaSessionCallback());
36 mSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS |
40 setSessionToken(mSession.getSessionToken());
54 if (!mSession.isActive()) {
55 mSession.setActive(true);
75 mSession.setPlaybackState(stateBuilder.build());
121 mSession.setMetadata(metadataBuilder.build());
133 mSession.setSessionActivity(pi);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaBrowserServiceSupport.java132 private MediaSessionCompat mSession; field in MediaBrowserServiceSupport
157 mSession = new MediaSessionCompat(this, "MusicService"); in onCreate()
158 setSessionToken(mSession.getSessionToken()); in onCreate()
159 mSession.setCallback(new MediaSessionCallback()); in onCreate()
160 mSession.setFlags(MediaSessionCompat.FLAG_HANDLES_MEDIA_BUTTONS | in onCreate()
172 mSession.setSessionActivity(pi); in onCreate()
176 mSession.setExtras(extras); in onCreate()
193 MediaButtonReceiver.handleIntent(mSession, startIntent); in onStartCommand()
219 mSession.release(); in onDestroy()
370 mSession.setQueue(mPlayingQueue); in onPlay()
[all …]
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java75 private INetworkStatsSession mSession; field in NetworkStats
105 mSession = statsService.openSessionForUsageStats(context.getOpPackageName()); in NetworkStats()
380 if (mSession != null) { in close()
382 mSession.close(); in close()
388 mSession = null; in close()
401 mSummary = mSession.getDeviceSummaryForNetwork(mTemplate, mStartTimeStamp, mEndTimeStamp); in getDeviceSummaryForNetwork()
415 mSummary = mSession.getSummaryForAllUid(mTemplate, mStartTimeStamp, mEndTimeStamp, in startSummaryEnumeration()
433 mHistory = mSession.getHistoryIntervalForUid(mTemplate, uid, in startHistoryEnumeration()
451 int[] uids = mSession.getRelevantUids(); in startUserUidEnumeration()
456 NetworkStatsHistory history = mSession.getHistoryIntervalForUid(mTemplate, uid, in startUserUidEnumeration()
[all …]
/frameworks/base/media/java/android/media/
DRemoteControlClient.java335 private MediaSession mSession; field in RemoteControlClient
378 mSession = helper.getSession(mRcMediaIntent); in registerWithSession()
387 mSession = null; in unregisterWithSession()
400 return mSession; in getMediaSession()
576 if (mSession != null && mMetadataBuilder != null) { in apply()
578 mSession.setMetadata(mMediaMetadata); in apply()
683 if (mSession != null) { in setPlaybackStateInt()
692 mSession.setPlaybackState(mSessionPlaybackState); in setPlaybackStateInt()
718 if (mSession != null) { in setTransportControlFlags()
723 mSession.setPlaybackState(mSessionPlaybackState); in setTransportControlFlags()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
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()
/frameworks/av/drm/mediadrm/plugins/clearkey/
DCryptoPlugin.cpp67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples, in decrypt()
86 mSession.clear(); in setMediaDrmSession()
88 mSession = SessionLibrary::get()->findSession(sessionId); in setMediaDrmSession()
89 if (!mSession.get()) { in setMediaDrmSession()
/frameworks/base/core/tests/coretests/src/android/print/mockservice/
DPrinterDiscoverySessionCallbacks.java27 private StubbablePrinterDiscoverySession mSession; field in PrinterDiscoverySessionCallbacks
30 mSession = session; in setSession()
34 return mSession; in getSession()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioCapability.java88 private int mSession; field in RadioCapability
130 mSession = session; in RadioCapability()
161 return mSession; in getSession()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingSessionCallback.java253 private volatile CameraCaptureSession mSession; field in BlockingSessionCallback.SessionFuture
257 mSession = session; in setSession()
273 return mSession != null; in isDone()
279 return mSession; in get()
290 if (mSession == null) { in get()
293 return mSession; in get()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DSummaryForAllUidLoader.java32 private final INetworkStatsSession mSession; field in SummaryForAllUidLoader
45 mSession = session; in SummaryForAllUidLoader()
62 return mSession.getSummaryForAllUid(template, start, end, false); in loadInBackground()
DChartDataLoader.java44 private final INetworkStatsSession mSession; field in ChartDataLoader
61 mSession = session; in ChartDataLoader()
89 data.network = mSession.getHistoryForNetwork(template, fields); in loadInBackground()
135 final NetworkStatsHistory history = mSession.getHistoryForUid( in collectHistoryForUid()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DSimplePlayer.java59 int mSession; field in SimplePlayer
93 mSession = session; in set()
111 if (mSession != 0) { in playOrPause()
112 mMediaPlayer.setAudioSessionId(mSession); in playOrPause()
113 Log.d(TAG, "mMediaPlayer.setAudioSessionId(): "+ mSession); in playOrPause()

1234