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

1234

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridgeRenderSession.java49 private final RenderSessionImpl mSession; field in class:BridgeRenderSession
60 return mSession != null ? mSession.getImage() :
66 return mSession != null && mSession.isAlphaChannelImage();
71 return mSession != null ? mSession.getViewInfos() : Collections.emptyList();
76 return mSession != null ? mSession.getSystemViewInfos() : Collections.emptyList();
81 return mSession !
[all...]
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSessionService.java44 VoiceInteractionSession mSession; field in class:VoiceInteractionSessionService
86 if (mSession != null) {
87 mSession.onConfigurationChanged(newConfig);
94 if (mSession != null) {
95 mSession.onLowMemory();
102 if (mSession != null) {
103 mSession.onTrimMemory(level);
109 if (mSession == null) {
113 mSession.dump(" ", fd, writer, args);
118 if (mSession !
[all...]
/frameworks/base/core/tests/coretests/src/android/print/mockservice/
H A DPrinterDiscoverySessionCallbacks.java27 private StubbablePrinterDiscoverySession mSession; field in class:PrinterDiscoverySessionCallbacks
30 mSession = session;
34 return mSession;
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/mockservice/
H A DPrinterDiscoverySessionCallbacks.java27 private StubbablePrinterDiscoverySession mSession; field in class:PrinterDiscoverySessionCallbacks
30 mSession = session;
34 return mSession;
/frameworks/support/customtabs/tests/src/android/support/customtabs/
H A DTestCustomTabsService.java31 private CustomTabsSessionToken mSession; field in class:TestCustomTabsService
40 mSession = sessionToken;
63 if (mSession == null) return false;
65 mSession.getCallback().extraCallback(CALLBACK_BIND_TO_POST_MESSAGE, null);
H A DPostMessageTest.java62 private CustomTabsSession mSession; field in class:PostMessageTest
95 mSession = client.newSession(mCallback);
136 assertTrue(mSession.requestPostMessageChannel(Uri.EMPTY));
137 assertEquals(CustomTabsService.RESULT_SUCCESS, mSession.postMessage("", null));
/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/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/support/media-compat/tests/src/android/support/v4/media/
H A DStubMediaBrowserServiceCompatWithDelayedMediaSession.java36 private MediaSessionCompat mSession; field in class:StubMediaBrowserServiceCompatWithDelayedMediaSession
42 mSession = new MediaSessionCompat(
60 setSessionToken(mSession.getSessionToken());
H A DStubRemoteMediaBrowserServiceCompat.java40 private static MediaSessionCompat mSession; field in class:StubRemoteMediaBrowserServiceCompat
46 mSession = new MediaSessionCompat(this, "StubRemoteMediaBrowserServiceCompat");
47 setSessionToken(mSession.getSessionToken());
/frameworks/support/v7/mediarouter/tests/src/android/support/v7/media/
H A DMediaRouterTest.java46 private MediaSessionCompat mSession; field in class:MediaRouterTest
56 mSession = new MediaSessionCompat(mContext, SESSION_TAG);
63 mSession.release();
76 mSession.setCallback(mSessionCallback);
77 mRouter.setMediaSessionCompat(mSession);
81 MediaControllerCompat controller = mSession.getController();
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoPlugin.cpp67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples,
86 mSession.clear();
88 mSession = SessionLibrary::get()->findSession(sessionId);
89 if (!mSession.get()) {
/frameworks/base/media/java/android/media/tv/
H A DTvRecordingClient.java47 private TvInputManager.Session mSession; field in class:TvRecordingClient
120 if (mSession != null) {
121 mSession.tune(channelUri, params);
147 if (mSession != null) {
148 mSession.release();
149 mSession = null;
176 if (mSession != null) {
177 mSession.startRecording(programUri);
198 if (mSession != null) {
199 mSession
[all...]
H A DTvView.java83 private Session mSession; field in class:TvView
205 if (hasWindowFocus() && mSession != null) {
206 mSession.setMain();
279 if (mSession == null) {
283 mSession.setStreamVolume(volume);
317 if (mSession != null) {
318 mSession.tune(channelUri, params);
361 if (mSession != null) {
365 mSession.release();
366 mSession
[all...]
/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/support/media-compat/tests/src/android/support/v4/media/session/
H A DMediaSessionCompatTest.java90 private MediaSessionCompat mSession; field in class:MediaSessionCompatTest
98 mSession = new MediaSessionCompat(getContext(), TEST_SESSION_TAG);
106 mSession.release();
107 mSession = null;
117 assertNotNull(mSession.getSessionToken());
118 assertFalse("New session should not be active", mSession.isActive());
121 MediaControllerCompat controller = mSession.getController();
139 mSession.setCallback(callback, new Handler(Looper.getMainLooper()));
141 getContext(), mSession.getMediaSession());
142 assertEquals(session.getSessionToken(), mSession
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java33 private IWindowSession mSession; field in class:BaseIWindow
37 mSession = session;
47 mSession.finishDrawing(this);
81 mSession.wallpaperOffsetsComplete(asBinder());
91 mSession.reportDropResult(this, false);
113 mSession.wallpaperCommandComplete(asBinder(), null);
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
H A DAnimationThread.java67 private final RenderSessionImpl mSession; field in class:AnimationThread
75 mSession = scene;
110 RenderSession session = mSession.getSession();
140 result = mSession.acquire(250);
155 if (mSession.render(false /*freshRender*/).isSuccess()) {
159 mSession.release();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DSummaryForAllUidLoader.java32 private final INetworkStatsSession mSession; field in class:SummaryForAllUidLoader
45 mSession = session;
62 return mSession.getSummaryForAllUid(template, start, end, false);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasObexClientSession.java56 private ClientSession mSession; field in class:BluetoothMasObexClientSession
136 mSession = new ClientSession(mTransport);
141 headerset = mSession.connect(headerset);
155 if (mSession != null) {
157 mSession.disconnect(null);
162 mSession.close();
173 request.execute(mSession);
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipService.java638 private SipSessionGroup.SipSessionImpl mSession; field in class:SipService.SipKeepAliveProcessCallback
653 if (mSession != null) {
675 mSession = (SipSessionGroup.SipSessionImpl)
677 mSession.startKeepAliveProcess(mInterval, this);
686 if (mSession != null) {
687 mSession.stopKeepAliveProcess();
688 mSession = null;
702 if (mSession == null) return;
706 mSession.stopKeepAliveProcess();
708 mSession
805 private SipSessionGroup.SipSessionImpl mSession; field in class:SipService.SipAutoReg
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsCall.java482 private ImsCallSession mSession = null; field in class:ImsCall
592 if (mSession != null) {
593 mSession.close();
594 mSession = null;
675 if (mSession == null) {
681 return mSession.getLocalCallProfile();
696 if (mSession == null) {
702 return mSession.getRemoteCallProfile();
753 if (mSession == null) {
757 return mSession
[all...]
/frameworks/base/core/java/android/app/usage/
H A DNetworkStats.java75 private INetworkStatsSession mSession; field in class:NetworkStats
105 mSession = statsService.openSessionForUsageStats(context.getOpPackageName());
428 if (mSession != null) {
430 mSession.close();
436 mSession = null;
449 mSummary = mSession.getDeviceSummaryForNetwork(mTemplate, mStartTimeStamp, mEndTimeStamp);
463 mSummary = mSession.getSummaryForAllUid(mTemplate, mStartTimeStamp, mEndTimeStamp,
481 mHistory = mSession.getHistoryIntervalForUid(mTemplate, uid,
499 int[] uids = mSession.getRelevantUids();
504 NetworkStatsHistory history = mSession
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DSessionRoute.h46 mSession(session),
62 audio_session_t mSession; member in class:android::SessionRoute

Completed in 728 milliseconds

1234