/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | QueueFragment.java | 24 import android.support.v4.media.session.MediaControllerCompat; 25 import android.support.v4.media.session.MediaSessionCompat; 26 import android.support.v4.media.session.PlaybackStateCompat; 61 Log.d(TAG, "onConnected: session token " + mMediaBrowser.getSessionToken());
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | MediaNotificationManager.java | 33 import android.support.v4.media.session.MediaControllerCompat; 34 import android.support.v4.media.session.MediaSessionCompat; 35 import android.support.v4.media.session.PlaybackStateCompat; 101 * Posts the notification and starts tracking the session to keep it 102 * updated. The notification will automatically be removed if the session is 128 * Removes the notification and stops tracking the session. If the session 168 * Update the state based on a change on the session token. Called either when 169 * we are running for the first time or when the media session owner has destroyed the session [all...] |
H A D | QueueFragment.java | 24 import android.support.v4.media.session.MediaControllerCompat; 25 import android.support.v4.media.session.MediaSessionCompat; 26 import android.support.v4.media.session.PlaybackStateCompat; 61 Log.d(TAG, "onConnected: session token " + mMediaBrowser.getSessionToken());
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 45 sp<SurfaceComposerClient> session() const;
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 34 private static native long nativeCreate(SurfaceSession session, String name, argument 273 * @param session The surface session, must not be null. 282 public SurfaceControl(SurfaceSession session, argument 285 if (session == null) { 286 throw new IllegalArgumentException("session must not be null"); 302 mNativeObject = nativeCreate(session, name, w, h, format, flags);
|
/frameworks/support/media-compat/jellybean-mr2/android/support/v4/media/session/ |
H A D | MediaSessionCompatApi18.java | 16 package android.support.v4.media.session;
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionRecord.java | 30 import android.media.session.ISession; 31 import android.media.session.ISessionCallback; 32 import android.media.session.ISessionController; 33 import android.media.session.ISessionControllerCallback; 34 import android.media.session.MediaController; 35 import android.media.session.MediaController.PlaybackInfo; 36 import android.media.session.MediaSession; 37 import android.media.session.ParcelableVolumeInfo; 38 import android.media.session.PlaybackState; 69 * The length of time a session wil [all...] |
/frameworks/base/media/java/android/media/session/ |
H A D | MediaSessionManager.java | 17 package android.media.session; 25 import android.media.session.ISessionManager; 72 * Create a new session in the system and get the binder for it. 202 Log.w(TAG, "Attempted to add session listener twice, ignoring."); 282 * most relevant audio stream or media session. The direction must be one of 301 * Check if the global priority session is currently active. This can be 302 * used to decide if media keys should be sent to the session or to the app.
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | InputMethodManagerService.java | 244 IInputMethodSession session; field in class:InputMethodManagerService.SessionState 252 + " session " + Integer.toHexString( 253 System.identityHashCode(session)) 262 session = _session; 435 * Currently enabled session. Only touched by service thread, not 755 public void sessionCreated(IInputMethodSession session) { argument 758 mParentIMMS.onSessionCreated(mMethod, session, mChannel); 1316 final SessionState session = mCurClient.curSession; 1318 executeOrSendMessage(session.method, mCaller.obtainMessageIOOO( 1319 MSG_START_INPUT, mCurInputContextMissingMethods, session, mCurInputContex 1552 onSessionCreated(IInputMethod method, IInputMethodSession session, InputChannel channel) argument 2763 setEnabledSessionInMainThread(SessionState session) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Watermark.java | 56 Watermark(Display display, DisplayMetrics dm, SurfaceSession session, String[] tokens) { argument 117 ctrl = new SurfaceControl(session, "WatermarkSurface",
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | AndroidCamera2AgentImpl.java | 407 public void onCaptureProgressed(CameraCaptureSession session, 414 public void onCaptureCompleted(CameraCaptureSession session, 434 public void onCaptureFailed(CameraCaptureSession session, 586 public void onCaptureProgressed(CameraCaptureSession session, 593 public void onCaptureCompleted(CameraCaptureSession session, 613 public void onCaptureFailed(CameraCaptureSession session, 722 // Avoid initializing another capture session unless we absolutely have to 751 Log.e(TAG, "Failed to create camera capture session", ex); 760 Log.e(TAG, "Failed to close existing camera capture session", ex); 819 // This callback monitors our camera session ( [all...] |
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
H A D | Pm.java | 434 System.out.println("Success: created install session [" + sessionId + "]"); 569 PackageInstaller.Session session = null; 573 session = new PackageInstaller.Session( 581 out = session.openWrite(splitName, 0, sizeBytes); 592 session.addProgress(fraction); 595 session.fsync(out); 607 IoUtils.closeQuietly(session); 612 PackageInstaller.Session session = null; 614 session = new PackageInstaller.Session( 618 session [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaVisualizerTest.java | 544 private void getVisualizer(int session) { argument 545 if (mVisualizer == null || session != mSession) { 546 if (session != mSession && mVisualizer != null) { 551 mVisualizer = new Visualizer(session); 552 mSession = session;
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | CameraOps.java | 403 * Configure the camera session. 422 * Main listener for camera session events 429 public void onConfigured(CameraCaptureSession session) { 430 mCameraSession = session; 445 public void onConfigureFailed(CameraCaptureSession session) { 446 mErrorDisplayer.showErrorDialog("Unable to configure the capture session"); 504 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, 559 * Start running an HDR burst on a configured camera session 591 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request,
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouter.java | 40 import android.support.v4.media.session.MediaSessionCompat; 729 * Sets the media session to enable remote control of the volume of the 732 * session to null to clear it. 734 * @param mediaSession The {@link android.media.session.MediaSession} to 745 * Sets a compat media session to enable remote control of the volume of the 748 * Set the session to null to clear it. 2590 public void setMediaSession(Object session) { argument 2594 if (session == null) { 2597 mMediaSession = new MediaSessionRecord(session); 2602 public void setMediaSessionCompat(final MediaSessionCompat session) { argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 236 * Audio session ID 305 * @param sessionId ID of audio session the AudioRecord must be attached to, or 306 * {@link AudioManager#AUDIO_SESSION_ID_GENERATE} if the session isn't known at construction 307 * time. See also {@link AudioManager#generateAudioSessionId()} to obtain a session ID before 377 int[] session = new int[1]; 378 session[0] = sessionId; 384 session, ActivityThread.currentOpPackageName(), 0 /*nativeRecordInJavaObj*/); 391 mSessionId = session[0]; 421 int[] session = { 0 }; 434 session, [all...] |
H A D | AudioTrack.java | 294 * Audio session ID 371 * Class constructor with audio session. Use this constructor when the AudioTrack must be 372 * attached to a particular audio session. The primary use of the audio session ID is to 373 * associate audio effects to a particular instance of AudioTrack: if an audio session ID 375 * and media players in the same session and not to the output mix. 376 * When an AudioTrack is created without specifying a session, it will create its own session 378 * If a non-zero session ID is provided, this AudioTrack will share effects attached to this 379 * session [all...] |
H A D | AudioSystem.java | 154 * Returns a new unused audio session ID 279 * @param session 291 void onRecordingConfigurationChanged(int event, int session, int source, argument 307 * @param session 313 private static void recordingCallbackFromNative(int event, int session, int source, argument 320 cb.onRecordingConfigurationChanged(event, session, source, recordingFormat);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvInputService.java | 71 * so by deriving from this class and providing their own session implementation based on 130 Log.w(TAG, "Creating session without input channel"); 183 * <p>May return {@code null} if this TV input service fails to create a session for some 187 * @param inputId The ID of the TV input associated with the session. 195 * <p>May return {@code null} if this TV input service fails to create a recording session for 198 * @param inputId The ID of the TV input associated with the recording session. 270 * Base class for derived classes to implement to provide a TV input session. 314 * session is created to enable the overlay view. 344 * Dispatches an event to the application using this session. 370 * session no [all...] |
/frameworks/base/core/tests/coretests/src/android/print/ |
H A D | IPrintManagerParametersTest.java | 118 // Get the session. 119 StubbablePrinterDiscoverySession session = 123 if (session.getPrinters().isEmpty()) { 128 mGoodPrinterId = session.getService() 152 session.addPrinters(printers); 213 // Wait for printer discovery session to be ready 647 // Remove discovery session so that the next test create a new one. Usually a leaked 648 // session is removed on the next call from the print service. But in this case we want 707 // Stopping an already stopped session is a no-op 843 // Destroying already destroyed session i [all...] |
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/ |
H A D | BrowserService.java | 36 import android.media.session.MediaSession;
|
/frameworks/support/compat/api21/android/support/v4/app/ |
H A D | ActivityCompatApi21.java | 24 import android.media.session.MediaController;
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/ |
H A D | QueueHelper.java | 20 import android.support.v4.media.session.MediaSessionCompat; 134 * @return list containing {@link android.media.session.MediaSession.QueueItem}'s
|
/frameworks/support/media-compat/api21/android/support/v4/media/ |
H A D | MediaBrowserServiceCompatApi21.java | 22 import android.media.session.MediaSession;
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/ |
H A D | QueueHelper.java | 20 import android.support.v4.media.session.MediaSessionCompat; 134 * @return list containing {@link android.media.session.MediaSession.QueueItem}'s
|