Searched refs:mSession (Results 1 - 25 of 59) sorted by relevance

123

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridgeRenderSession.java43 private final RenderSessionImpl mSession; field in class:BridgeRenderSession
53 return mSession.getImage();
58 return mSession.isAlphaChannelImage();
63 return mSession.getViewInfos();
68 return mSession.getSystemViewInfos();
73 return mSession.getDefaultProperties(viewObject);
92 mLastResult = mSession.acquire(timeout);
94 mLastResult = mSession.render(false /*freshRender*/);
97 mSession.release();
109 mLastResult = mSession
[all...]
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSessionService.java40 VoiceInteractionSession mSession; field in class:VoiceInteractionSessionService
80 if (mSession != null) {
81 mSession.doDestroy();
82 mSession = null;
84 mSession = onNewSession(args);
86 mSystemService.deliverNewSession(token, mSession.mSession, mSession.mInteractor);
87 mSession.doCreate(mSystemService, token, args);
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerService.java37 private PlayerSession mSession; field in class:PlayerService
48 if (mSession == null) {
49 mSession = onCreatePlayerController();
50 mSession.createSession();
51 mSession.setListener(mPlayerListener);
52 mNotifyHelper = new NotificationHelper(this, mSession.mSession);
73 mSession.onDestroy();
74 mSession = null;
126 mSession
[all...]
H A DPlayerSession.java42 protected MediaSession mSession; field in class:PlayerSession
78 mSession = new MediaSession(mContext, "OneMedia");
79 mSession.setCallback(mCallback);
80 mSession.setPlaybackState(mPlaybackState);
81 mSession.setFlags(MediaSession.FLAG_HANDLES_TRANSPORT_CONTROLS
83 mSession.setActive(true);
96 if (mSession != null) {
97 mSession.release();
98 mSession = null;
107 return mSession
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvView.java78 private Session mSession; field in class:TvView
201 if (hasWindowFocus() && mSession != null) {
202 mSession.setMain();
261 if (mSession == null) {
265 mSession.setStreamVolume(volume);
298 if (mSession != null) {
299 mSession.tune(channelUri, params);
336 if (mSession != null) {
354 if (mSession != null) {
355 mSession
[all...]
H A DTvInputManager.java313 private Session mSession; field in class:TvInputManager.SessionCallbackRecord
322 mSession = session;
335 mSessionCallback.onSessionReleased(mSession);
344 mSessionCallback.onChannelRetuned(mSession, channelUri);
353 mSession.mAudioTracks.clear();
354 mSession.mVideoTracks.clear();
355 mSession.mSubtitleTracks.clear();
358 mSession.mAudioTracks.add(track);
360 mSession.mVideoTracks.add(track);
362 mSession
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java29 private IWindowSession mSession; field in class:BaseIWindow
33 mSession = session;
41 mSession.finishDrawing(this);
75 mSession.wallpaperOffsetsComplete(asBinder());
96 mSession.wallpaperCommandComplete(asBinder(), null);
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipSession.java236 private final ISipSession mSession; field in class:SipSession
240 mSession = realSession;
262 return mSession.getLocalIp();
276 return mSession.getLocalProfile();
291 return mSession.getPeerProfile();
306 return mSession.getState();
320 return mSession.isInCall();
334 return mSession.getCallId();
365 mSession.register(duration);
382 mSession
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
H A DAnimationThread.java68 private final RenderSessionImpl mSession; field in class:AnimationThread
76 mSession = scene;
111 RenderSession session = mSession.getSession();
141 result = mSession.acquire(250);
156 if (mSession.render(false /*freshRender*/).isSuccess()) {
160 mSession.release();
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasObexClientSession.java53 private ClientSession mSession; field in class:BluetoothMasObexClientSession.ClientThread
92 mRequest.execute(mSession);
112 mSession = new ClientSession(mTransport);
117 headerset = mSession.connect(headerset);
130 mSession.disconnect(null);
135 mSession.close();
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoPlugin.h34 CryptoPlugin(const android::sp<Session>& session) : mSession(session) {}
51 android::sp<Session> mSession; member in class:clearkeydrm::CryptoPlugin
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapClient.java376 private final BluetoothPbapSession mSession; field in class:BluetoothPbapClient
519 mSession = new BluetoothPbapSession(device, mSessionHandler);
527 mSession.start();
532 if (mSession != null) {
533 mSession.stop();
541 mSession.stop();
548 mSession.abort();
565 return mSession.makeRequest(req);
578 return mSession.makeRequest(req);
592 return mSession
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsCall.java400 private ImsCallSession mSession = null; field in class:ImsCall
432 if (mSession != null) {
433 mSession.close();
434 mSession = null;
496 if (mSession == null) {
502 return mSession.getLocalCallProfile();
533 if (mSession == null) {
537 return mSession.getState();
549 return mSession;
577 if (mSession
[all...]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipService.java612 private SipSessionGroup.SipSessionImpl mSession; field in class:SipService.SipKeepAliveProcessCallback
627 if (mSession != null) {
649 mSession = (SipSessionGroup.SipSessionImpl)
651 mSession.startKeepAliveProcess(mInterval, this);
660 if (mSession != null) {
661 mSession.stopKeepAliveProcess();
662 mSession = null;
676 if (mSession == null) return;
680 mSession.stopKeepAliveProcess();
682 mSession
779 private SipSessionGroup.SipSessionImpl mSession; field in class:SipService.SipAutoReg
[all...]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingSessionCallback.java184 private volatile CameraCaptureSession mSession; field in class:BlockingSessionCallback.SessionFuture
188 mSession = session;
204 return mSession != null;
210 return mSession;
221 if (mSession == null) {
224 return mSession;
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionManagerServiceImpl.java74 if (mActiveSession != null && mActiveSession.mSession != null) {
76 mActiveSession.mSession.closeSystemDialogs();
108 IVoiceInteractionSession mSession; field in class:VoiceInteractionManagerServiceImpl.SessionConnection
150 if (mSession != null) {
152 mSession.destroy();
157 if (mSession != null) {
159 mAm.finishVoiceTask(mSession);
171 mSession = null;
182 pw.print(prefix); pw.print("mSession="); pw.println(mSession);
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaBassBoostTest.java50 private int mSession = -1; field in class:MediaBassBoostTest
185 if (mBassBoost == null || session != mSession) {
186 if (session != mSession && mBassBoost != null) {
192 mSession = session;
H A DMediaVirtualizerTest.java50 private int mSession = -1; field in class:MediaVirtualizerTest
186 if (mVirtualizer == null || session != mSession) {
187 if (session != mSession && mVirtualizer != null) {
193 mSession = session;
/frameworks/base/media/java/android/media/
H A DRemoteControlClient.java336 private MediaSession mSession; field in class:RemoteControlClient
391 mSession = helper.getSession(mRcMediaIntent);
400 mSession = null;
413 return mSession;
589 if (mSession != null && mMetadataBuilder != null) {
591 mSession.setMetadata(mMediaMetadata);
696 if (mSession != null) {
705 mSession.setPlaybackState(mSessionPlaybackState);
764 if (mSession != null) {
769 mSession
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DFlashlightController.java65 private CameraCaptureSession mSession; field in class:FlashlightController
191 if (mSession == null) {
201 mSession.capture(request, null, mHandler);
219 mSession = null;
311 mSession = session;
318 if (mSession == null || mSession == session) {
H A DMobileDataController.java62 private INetworkStatsSession mSession; field in class:MobileDataController
75 if (mSession == null) {
77 mSession = mStatsService.openSession();
84 return mSession;
115 final NetworkStatsHistory history = mSession.getHistoryForNetwork(template, FIELDS);
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DSimplePlayer.java59 int mSession; field in class:SimplePlayer
93 mSession = session;
111 if (mSession != 0) {
112 mMediaPlayer.setAudioSessionId(mSession);
113 Log.d(TAG, "mMediaPlayer.setAudioSessionId(): "+ mSession);
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
H A DBrowserService.java104 private MediaSession mSession; field in class:BrowserService
110 mSession = new MediaSession(this, "com.example.android.musicservicedemo.BrowserService");
111 setSessionToken(mSession.getSessionToken());
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java238 private final Session mSession; field in class:SpellCheckerService.InternalISpellCheckerSession
245 mSession = session;
258 mSession.onGetSuggestionsMultiple(
270 mSession.onGetSentenceSuggestionsMultiple(textInfos, suggestionsLimit));
280 mSession.onCancel();
291 mSession.onClose();
/frameworks/base/media/java/android/media/session/
H A DMediaSessionLegacyHelper.java171 return holder == null ? null : holder.mSession;
259 holder.mSession.setFlags(holder.mFlags);
274 holder.mSession.setFlags(holder.mFlags);
302 holder.mSession.setFlags(holder.mFlags);
303 holder.mSession.setMediaButtonReceiver(pi);
317 holder.mSession.setFlags(holder.mFlags);
453 public final MediaSession mSession; field in class:MediaSessionLegacyHelper.SessionHolder
462 mSession = session;
468 mSession.setCallback(null);
469 mSession
[all...]

Completed in 1491 milliseconds

123