Home
last modified time | relevance | path

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

123

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java43 private final RenderSessionImpl mSession; field in BridgeRenderSession
53 return mSession.getImage(); in getImage()
58 return mSession.isAlphaChannelImage(); in isAlphaChannelImage()
63 return mSession.getViewInfos(); in getRootViews()
68 return mSession.getSystemViewInfos(); in getSystemRootViews()
73 return mSession.getDefaultProperties(viewObject); in getDefaultProperties()
92 mLastResult = mSession.acquire(timeout); in render()
94 mLastResult = mSession.render(false /*freshRender*/); in render()
97 mSession.release(); in render()
109 mLastResult = mSession.acquire(RenderParams.DEFAULT_TIMEOUT); in animate()
[all …]
/frameworks/base/media/java/android/media/tv/
DTvView.java79 private Session mSession; field in TvView
203 if (hasWindowFocus() && mSession != null) { in setMain()
204 mSession.setMain(); in setMain()
263 if (mSession == null) { in setStreamVolume()
267 mSession.setStreamVolume(volume); in setStreamVolume()
300 if (mSession != null) { in tune()
301 mSession.tune(channelUri, params); in tune()
338 if (mSession != null) { in resetInternal()
356 if (mSession != null) { in requestUnblockContent()
357 mSession.requestUnblockContent(unblockedRating); in requestUnblockContent()
[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/core/java/android/service/voice/
DVoiceInteractionSessionService.java40 VoiceInteractionSession mSession; field in VoiceInteractionSessionService
80 if (mSession != null) { in doNewSession()
81 mSession.doDestroy(); in doNewSession()
82 mSession = null; in doNewSession()
84 mSession = onNewSession(args); in doNewSession()
86 mSystemService.deliverNewSession(token, mSession.mSession, mSession.mInteractor); in doNewSession()
87 mSession.doCreate(mSystemService, token, args); in doNewSession()
/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.java413 private ImsCallSession mSession = null; field in ImsCall
467 if (mSession != null) { in close()
468 mSession.close(); in close()
469 mSession = null; in close()
535 if (mSession == null) { in getLocalCallProfile()
541 return mSession.getLocalCallProfile(); in getLocalCallProfile()
556 if (mSession == null) { in getRemoteCallProfile()
562 return mSession.getRemoteCallProfile(); in getRemoteCallProfile()
593 if (mSession == null) { in getState()
597 return mSession.getState(); in getState()
[all …]
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
DBluetoothPbapClient.java376 private final BluetoothPbapSession mSession; field in BluetoothPbapClient
519 mSession = new BluetoothPbapSession(device, mSessionHandler); in BluetoothPbapClient()
527 mSession.start(); in connect()
532 if (mSession != null) { in finalize()
533 mSession.stop(); in finalize()
541 mSession.stop(); in disconnect()
548 mSession.abort(); in abort()
565 return mSession.makeRequest(req); in setPhoneBookFolderRoot()
578 return mSession.makeRequest(req); in setPhoneBookFolderUp()
592 return mSession.makeRequest(req); in setPhoneBookFolderDown()
[all …]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipService.java612 private SipSessionGroup.SipSessionImpl mSession; field in SipService.SipKeepAliveProcessCallback
627 if (mSession != null) { in start()
649 mSession = (SipSessionGroup.SipSessionImpl) in start()
651 mSession.startKeepAliveProcess(mInterval, this); in start()
660 if (mSession != null) { in stop()
661 mSession.stopKeepAliveProcess(); in stop()
662 mSession = null; in stop()
676 if (mSession == null) return; in restart()
680 mSession.stopKeepAliveProcess(); in restart()
682 mSession.startKeepAliveProcess(mInterval, this); in restart()
[all …]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMasObexClientSession.java53 private ClientSession mSession; field in BluetoothMasObexClientSession.ClientThread
92 mRequest.execute(mSession); in run()
112 mSession = new ClientSession(mTransport); in connect()
117 headerset = mSession.connect(headerset); in connect()
130 mSession.disconnect(null); in disconnect()
135 mSession.close(); in disconnect()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java29 private IWindowSession mSession; field in BaseIWindow
33 mSession = session; in setSession()
41 mSession.finishDrawing(this); in resized()
75 mSession.wallpaperOffsetsComplete(asBinder()); in dispatchWallpaperOffsets()
96 mSession.wallpaperCommandComplete(asBinder(), null); in dispatchWallpaperCommand()
/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/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingSessionCallback.java184 private volatile CameraCaptureSession mSession; field in BlockingSessionCallback.SessionFuture
188 mSession = session; in setSession()
204 return mSession != null; in isDone()
210 return mSession; in get()
221 if (mSession == null) { in get()
224 return mSession; in get()
/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/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceImpl.java74 if (mActiveSession != null && mActiveSession.mSession != null) {
76 mActiveSession.mSession.closeSystemDialogs();
108 IVoiceInteractionSession mSession; field in VoiceInteractionManagerServiceImpl.SessionConnection
150 if (mSession != null) { in cancel()
152 mSession.destroy(); in cancel()
157 if (mSession != null) { in cancel()
159 mAm.finishVoiceTask(mSession); in cancel()
171 mSession = null; in cancel()
182 pw.print(prefix); pw.print("mSession="); pw.println(mSession); in dump()
239 mActiveSession.mSession = session; in deliverNewSessionLocked()
[all …]
/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/base/media/java/android/media/
DRemoteControlClient.java336 private MediaSession mSession; field in RemoteControlClient
391 mSession = helper.getSession(mRcMediaIntent); in registerWithSession()
400 mSession = null; in unregisterWithSession()
413 return mSession; in getMediaSession()
589 if (mSession != null && mMetadataBuilder != null) { in apply()
591 mSession.setMetadata(mMediaMetadata); in apply()
696 if (mSession != null) { in setPlaybackStateInt()
705 mSession.setPlaybackState(mSessionPlaybackState); in setPlaybackStateInt()
764 if (mSession != null) { in setTransportControlFlags()
769 mSession.setPlaybackState(mSessionPlaybackState); in setTransportControlFlags()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightController.java65 private CameraCaptureSession mSession; field in FlashlightController
191 if (mSession == null) { in updateFlashlight()
201 mSession.capture(request, null, mHandler); in updateFlashlight()
219 mSession = null; in teardown()
312 mSession = session;
322 if (mSession == null || mSession == session) {
/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()
/frameworks/base/media/java/android/media/session/
DMediaSessionLegacyHelper.java168 return holder == null ? null : holder.mSession; in getSession()
267 holder.mSession.setFlags(holder.mFlags); in addRccListener()
282 holder.mSession.setFlags(holder.mFlags); in removeRccListener()
310 holder.mSession.setFlags(holder.mFlags); in addMediaButtonListener()
311 holder.mSession.setMediaButtonReceiver(pi); in addMediaButtonListener()
325 holder.mSession.setFlags(holder.mFlags); in removeMediaButtonListener()
461 public final MediaSession mSession; field in MediaSessionLegacyHelper.SessionHolder
470 mSession = session; in SessionHolder()
476 mSession.setCallback(null); in update()
477 mSession.release(); in update()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/
DCryptoPlugin.h34 CryptoPlugin(const android::sp<Session>& session) : mSession(session) {} in CryptoPlugin()
51 android::sp<Session> mSession; variable
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaBassBoostTest.java50 private int mSession = -1; field in MediaBassBoostTest
185 if (mBassBoost == null || session != mSession) { in getBassBoost()
186 if (session != mSession && mBassBoost != null) { in getBassBoost()
192 mSession = session; in getBassBoost()
DMediaVirtualizerTest.java50 private int mSession = -1; field in MediaVirtualizerTest
186 if (mVirtualizer == null || session != mSession) { in getVirtualizer()
187 if (session != mSession && mVirtualizer != null) { in getVirtualizer()
193 mSession = session; in getVirtualizer()
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java80 MediaSession.Token mSession; field in MediaBrowserService
192 if (mSession != null) { in connect()
194 mSession, connection.root.getExtras()); in connect()
331 if (mSession != null) { in setSessionToken()
334 mSession = token; in setSessionToken()
357 return mSession; in getSessionToken()
/frameworks/base/docs/html/training/tv/playback/
Dnow-playing.jd50 mSession = new MediaSession(this, "MusicService");
51 mSession.setCallback(new MediaSessionCallback());
52 mSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS |
56 setSessionToken(mSession.getSessionToken());
74 if (!mSession.isActive()) {
75 mSession.setActive(true);
99 mSession.setPlaybackState(stateBuilder.build());
149 mSession.setMetadata(metadataBuilder.build());
166 mSession.setSessionActivity(pi);

123