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

12345

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridgeRenderSession.java44 private final RenderSessionImpl mSession; field in class:BridgeRenderSession
55 return mSession != null ? mSession.getImage() :
61 return mSession != null && mSession.isAlphaChannelImage();
66 return mSession != null ? mSession.getViewInfos() : Collections.emptyList();
71 return mSession != null ? mSession.getSystemViewInfos() : Collections.emptyList();
76 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/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/support/media/src/androidTest/java/androidx/media/
H A DMediaSessionManager_MediaSession2Test.java44 private MediaSession2 mSession; field in class:MediaSessionManager_MediaSession2Test
55 mSession = new MediaSession2.Builder(mContext)
67 mSession.close();
75 final MockPlayer player = (MockPlayer) mSession.getPlayer();
107 mSession.close();
108 mSession = new MediaSession2.Builder(mContext).setPlayer(new MockPlayer(0))
135 mSession.close();
H A DMediaSession2Test.java74 private MediaSession2 mSession; field in class:MediaSession2Test
85 mSession = new MediaSession2.Builder(mContext)
104 mSession.close();
133 mSession.close();
134 mSession = new MediaSession2.Builder(mContext)
149 createController(mSession.getToken(), true, new ControllerCallback() {
174 mSession.close();
176 mSession = new MediaSession2.Builder(mContext)
193 createController(mSession.getToken(), true, new ControllerCallback() {
265 createController(mSession
[all...]
/frameworks/support/media/src/main/java/androidx/media/
H A DMediaSession2Stub.java159 final MediaSession2.SupportLibraryImpl mSession; field in class:MediaSession2Stub
171 mSession = session;
172 mContext = mSession.getContext();
200 mSession.play();
203 mSession.pause();
206 mSession.reset();
209 mSession.prepare();
213 mSession.seekTo(seekPos);
218 mSession.setRepeatMode(repeatMode);
223 mSession
[all...]
H A DMediaSessionLegacyStub.java116 final MediaSession2.SupportLibraryImpl mSession; field in class:MediaSessionLegacyStub
128 mSession = session;
129 mContext = mSession.getContext();
134 mSession.getCallbackExecutor().execute(new Runnable() {
137 if (mSession.isClosed()) {
140 mSession.prepare();
147 mSession.getCallbackExecutor().execute(new Runnable() {
150 if (mSession.isClosed()) {
153 mSession.play();
160 mSession
[all...]
H A DMediaSessionService2.java141 private MediaSession2 mSession; field in class:MediaSessionService2
174 mSession = session;
175 if (mSession == null || !token.getId().equals(mSession.getToken().getId())) {
177 + ", but got " + mSession);
179 mBrowserServiceCompat.setSessionToken(mSession.getToken().getSessionCompatToken());
228 return mSession;
/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/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/
H A DStubMediaBrowserServiceCompatWithDelayedMediaSession.java39 private MediaSessionCompat mSession; field in class:StubMediaBrowserServiceCompatWithDelayedMediaSession
45 mSession = new MediaSessionCompat(
63 setSessionToken(mSession.getSessionToken());
H A DMediaSessionCompatCallbackTest.java132 private MediaSessionCompat mSession; field in class:MediaSessionCompatCallbackTest
146 mSession = new MediaSessionCompat(getTargetContext(), TEST_SESSION_TAG);
147 mSession.setCallback(mCallback, mHandler);
154 mSession.release();
163 assertNotNull(mSession.getSessionToken());
164 assertFalse("New session should not be active", mSession.isActive());
167 MediaControllerCompat controller = mSession.getController();
195 assertEquals(mSession.getSessionToken(), mSession.getController().getSessionToken());
210 mSession
[all...]
/frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/
H A DStubMediaBrowserServiceCompatWithDelayedMediaSession.java38 private MediaSessionCompat mSession; field in class:StubMediaBrowserServiceCompatWithDelayedMediaSession
44 mSession = new MediaSessionCompat(
62 setSessionToken(mSession.getSessionToken());
H A DMediaSessionCompatCallbackTest.java130 private MediaSessionCompat mSession; field in class:MediaSessionCompatCallbackTest
144 mSession = new MediaSessionCompat(getTargetContext(), TEST_SESSION_TAG);
145 mSession.setCallback(mCallback, mHandler);
152 mSession.release();
161 assertNotNull(mSession.getSessionToken());
162 assertFalse("New session should not be active", mSession.isActive());
165 MediaControllerCompat controller = mSession.getController();
193 assertEquals(mSession.getSessionToken(), mSession.getController().getSessionToken());
208 mSession
[all...]
/frameworks/support/mediarouter/src/androidTest/java/androidx/mediarouter/media/
H A DMediaRouterTest.java48 private MediaSessionCompat mSession; field in class:MediaRouterTest
58 mSession = new MediaSessionCompat(mContext, SESSION_TAG);
65 mSession.release();
78 mSession.setCallback(mSessionCallback);
79 mRouter.setMediaSessionCompat(mSession);
83 MediaControllerCompat controller = mSession.getController();
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
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.java84 private Session mSession; field in class:TvView
207 if (hasWindowFocus() && mSession != null) {
208 mSession.setMain();
281 if (mSession == null) {
285 mSession.setStreamVolume(volume);
319 if (mSession != null) {
320 mSession.tune(channelUri, params);
363 if (mSession != null) {
367 mSession.release();
368 mSession
[all...]
/frameworks/support/browser/src/androidTest/java/androidx/browser/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);
/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/core/java/com/android/internal/view/
H A DBaseIWindow.java34 private IWindowSession mSession; field in class:BaseIWindow
38 mSession = session;
49 mSession.finishDrawing(this);
83 mSession.wallpaperOffsetsComplete(asBinder());
93 mSession.reportDropResult(this, false);
115 mSession.wallpaperCommandComplete(asBinder(), null);
/frameworks/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/core/java/android/se/omapi/
H A DSession.java47 private final ISecureElementSession mSession; field in class:Session
57 mSession = session;
83 return mSession.getAtr();
100 mSession.close();
114 return mSession.isClosed();
132 mSession.closeChannels();
207 ISecureElementChannel channel = mSession.openBasicChannel(aid, p2,
312 ISecureElementChannel channel = mSession.openLogicalChannel(
/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/av/packages/MediaComponents/src/com/android/media/
H A DMediaSessionService2Impl.java53 private MediaSession2 mSession; field in class:MediaSessionService2Impl
69 return mSession;
90 mSession = mInstance.onCreateSession(token.getId());
91 if (mSession == null || !token.getId().equals(mSession.getToken().getId())) {
93 + ", but got " + mSession);
96 // mSession.registerPlayerEventCallback(mCallback, mSession.getExecutor());
105 return ((MediaSession2Impl) mSession.getProvider()).getSessionStub().asBinder();

Completed in 215 milliseconds

12345