Searched refs:mSession (Results 26 - 50 of 95) sorted by relevance

1234

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCamera2Focuser.java57 private final CameraCaptureSession mSession; field in class:Camera2Focuser
119 mSession = session;
222 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler);
223 mSession.capture(requestBuilder.build(), listener, mHandler);
259 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler);
260 mSession.capture(requestBuilder.build(), listener, mHandler);
283 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler);
284 mSession.capture(requestBuilder.build(), listener, mHandler);
/frameworks/base/media/java/android/media/
H A DRemoteControlClient.java335 private MediaSession mSession; field in class:RemoteControlClient
378 mSession = helper.getSession(mRcMediaIntent);
387 mSession = null;
400 return mSession;
576 if (mSession != null && mMetadataBuilder != null) {
578 mSession.setMetadata(mMediaMetadata);
683 if (mSession != null) {
692 mSession.setPlaybackState(mSessionPlaybackState);
718 if (mSession != null) {
723 mSession
[all...]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionSessionConnection.java91 IVoiceInteractionSession mSession; field in class:VoiceInteractionSessionConnection
308 if (mSession != null) {
310 mSession.show(mShowArgs, mShowFlags, showCallback);
374 if (mSession == null) {
382 mSession.handleAssist(null, null, null, 0, 0);
394 mSession.handleAssist(null, null, null, assistData.activityIndex,
409 mSession.handleScreenshot(mScreenshot);
442 mSession.handleAssist(assistData, structure, content,
457 if (mSession != null) {
459 mSession
[all...]
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaBrowserServiceSupport.java132 private MediaSessionCompat mSession; field in class:MediaBrowserServiceSupport
157 mSession = new MediaSessionCompat(this, "MusicService");
158 setSessionToken(mSession.getSessionToken());
159 mSession.setCallback(new MediaSessionCallback());
160 mSession.setFlags(MediaSessionCompat.FLAG_HANDLES_MEDIA_BUTTONS |
172 mSession.setSessionActivity(pi);
176 mSession.setExtras(extras);
193 MediaButtonReceiver.handleIntent(mSession, startIntent);
219 mSession.release();
370 mSession
[all...]
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaBrowserServiceSupport.java132 private MediaSessionCompat mSession; field in class:MediaBrowserServiceSupport
157 mSession = new MediaSessionCompat(this, "MusicService");
158 setSessionToken(mSession.getSessionToken());
159 mSession.setCallback(new MediaSessionCallback());
160 mSession.setFlags(MediaSessionCompat.FLAG_HANDLES_MEDIA_BUTTONS |
172 mSession.setSessionActivity(pi);
176 mSession.setExtras(extras);
193 MediaButtonReceiver.handleIntent(mSession, startIntent);
219 mSession.release();
370 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;
H A DMediaEqualizerTest.java54 private int mSession = -1; field in class:MediaEqualizerTest
254 if (mEqualizer == null || session != mSession) {
255 if (session != mSession && mEqualizer != null) {
261 mSession = session;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DChartDataLoader.java44 private final INetworkStatsSession mSession; field in class:ChartDataLoader
61 mSession = session;
89 data.network = mSession.getHistoryForNetwork(template, fields);
135 final NetworkStatsHistory history = mSession.getHistoryForUid(
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioSession.h47 audio_session_t session() const { return mSession; }
67 const audio_session_t mSession; member in class:android::AudioSession
H A DEffectDescriptor.h35 int mSession; // audio session the effect is on member in class:android::EffectDescriptor
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingSessionCallback.java261 private volatile CameraCaptureSession mSession; field in class:BlockingSessionCallback.SessionFuture
265 mSession = session;
281 return mSession != null;
287 return mSession;
298 if (mSession == null) {
301 return mSession;
/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/core/java/android/content/pm/
H A DPackageInstaller.java692 private IPackageInstallerSession mSession; field in class:PackageInstaller.Session
696 mSession = session;
716 mSession.setClientProgress(progress);
725 mSession.addClientProgress(progress);
766 mSession.openWrite(name, offsetBytes, lengthBytes));
768 final ParcelFileDescriptor clientSocket = mSession.openWrite(name,
817 return mSession.getNames();
839 final ParcelFileDescriptor pfd = mSession.openRead(name);
861 mSession.removeSplit(splitName);
884 mSession
[all...]
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DViewState.java74 private final Session mSession; field in class:ViewState
83 mSession = session;
128 return mSession.getServiceName();
/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/media/java/android/media/session/
H A DMediaSessionLegacyHelper.java165 return holder == null ? null : holder.mSession;
218 holder.mSession.setFlags(holder.mFlags);
233 holder.mSession.setFlags(holder.mFlags);
261 holder.mSession.setFlags(holder.mFlags);
262 holder.mSession.setMediaButtonReceiver(pi);
276 holder.mSession.setFlags(holder.mFlags);
412 public final MediaSession mSession; field in class:MediaSessionLegacyHelper.SessionHolder
421 mSession = session;
427 mSession.setCallback(null);
428 mSession
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2StillCaptureTest.java232 focuser = new Camera2Focuser(mCamera, mSession, mPreviewSurface, afListener,
267 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler);
279 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler);
302 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler);
305 mSession.capture(previewRequest.build(), resultListener, mHandler);
313 mSession.capture(previewRequest.build(), resultListener, mHandler);
320 mSession.capture(previewRequest.build(), resultListener, mHandler);
345 mSession.capture(request, resultListener, mHandler);
414 mSession = configureCameraSession(mCamera, outputSurfaces,
424 mSession
[all...]
H A DCamera2ReprocessCaptureTest.java538 mSession.captureBurst(reprocessRequests, captureCallback, mHandler);
541 mSession.capture(request, captureCallback, mHandler);
549 mSession.abortCaptures();
625 mSession.captureBurst(reprocessRequests, captureCallback, mHandler);
705 mSession.captureBurst(reprocessRequests, captureCallback, mHandler);
780 mSession.captureBurst(reprocessRequests, captureCallback, mHandler);
902 mSession = configureReprocessableCameraSession(mCamera, inputConfig, outSurfaces,
906 mInputSurface = mSession.getInputSurface();
920 if (mSession != null) {
921 mSession
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoPlugin.h59 android::sp<Session> mSession; member in class:clearkeydrm::CryptoPlugin
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/
H A DMediaControllerCompatTest.java70 private MediaSessionCompat mSession; field in class:MediaControllerCompatTest
79 mSession = new MediaSessionCompat(getContext(), SESSION_TAG);
80 mSession.setCallback(mCallback, mHandler);
81 mSession.setFlags(MediaSessionCompat.FLAG_HANDLES_QUEUE_COMMANDS);
82 mController = mSession.getController();
89 mSession.release();
104 mSession.setRatingType(RatingCompat.RATING_5_STARS);
111 assertEquals(mSession.getSessionToken(), mController.getSessionToken());
176 mSession.setFlags(0);
215 mSession
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioSession.cpp41 mSession(session), mInputSource(inputSource),
95 mClientInterface->onRecordingConfigurationUpdate(event, mSession, mInputSource,
105 if (other->session() == mSession &&
133 mSession, mInputSource,
147 snprintf(buffer, SIZE, "%*s- session: %2d\n", spaces, "", mSession);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2AgentImpl.java199 private CameraCaptureSession mSession; field in class:AndroidCamera2AgentImpl.Camera2Handler
260 if (mSession != null) {
262 mSession = null;
312 mSession.setRepeatingRequest(
334 mSession.stopRepeating();
448 mSession.capture(
477 mSession.capture(
568 mSession.capture(
627 mSession.capture(
699 mSession
[all...]
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java239 private final Session mSession; field in class:SpellCheckerService.InternalISpellCheckerSession
246 mSession = session;
259 mSession.onGetSuggestionsMultiple(
271 mSession.onGetSentenceSuggestionsMultiple(textInfos, suggestionsLimit));
281 mSession.onCancel();
292 mSession.onClose();
/frameworks/base/media/java/android/media/tv/
H A DTvInputManager.java552 private Session mSession; field in class:TvInputManager.SessionCallbackRecord
561 mSession = session;
574 mSessionCallback.onSessionReleased(mSession);
583 mSessionCallback.onChannelRetuned(mSession, channelUri);
592 mSessionCallback.onTracksChanged(mSession, tracks);
601 mSessionCallback.onTrackSelected(mSession, type, trackId);
610 mSessionCallback.onVideoSizeChanged(mSession, width, height);
619 mSessionCallback.onVideoAvailable(mSession);
628 mSessionCallback.onVideoUnavailable(mSession, reason);
637 mSessionCallback.onContentAllowed(mSession);
[all...]

Completed in 990 milliseconds

1234