Searched refs:mSession (Results 1 - 25 of 61) 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.java79 private Session mSession; field in class:TvView
203 if (hasWindowFocus() && mSession != null) {
204 mSession.setMain();
263 if (mSession == null) {
267 mSession.setStreamVolume(volume);
300 if (mSession != null) {
301 mSession.tune(channelUri, params);
338 if (mSession != null) {
356 if (mSession != null) {
357 mSession
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DRadioCapability.java88 private int mSession; field in class:RadioCapability
130 mSession = session;
161 return mSession;
205 + " mSession=" + getSession()
/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.java413 private ImsCallSession mSession = null; field in class:ImsCall
467 if (mSession != null) {
468 mSession.close();
469 mSession = null;
535 if (mSession == null) {
541 return mSession.getLocalCallProfile();
556 if (mSession == null) {
562 return mSession.getRemoteCallProfile();
593 if (mSession == null) {
597 return 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;
312 mSession = session;
322 if (mSession == null || mSession == session) {
/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/service/media/
H A DMediaBrowserService.java80 MediaSession.Token mSession; field in class:MediaBrowserService
192 if (mSession != null) {
194 mSession, connection.root.getExtras());
331 if (mSession != null) {
334 mSession = token;
357 return mSession;
/frameworks/base/media/java/android/media/session/
H A DMediaSessionLegacyHelper.java168 return holder == null ? null : holder.mSession;
267 holder.mSession.setFlags(holder.mFlags);
282 holder.mSession.setFlags(holder.mFlags);
310 holder.mSession.setFlags(holder.mFlags);
311 holder.mSession.setMediaButtonReceiver(pi);
325 holder.mSession.setFlags(holder.mFlags);
461 public final MediaSession mSession; field in class:MediaSessionLegacyHelper.SessionHolder
470 mSession = session;
476 mSession.setCallback(null);
477 mSession
[all...]

Completed in 949 milliseconds

123