/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | MediaSessions.java | 28 import android.media.session.ISessionController; 29 import android.media.session.MediaController; 30 import android.media.session.MediaController.PlaybackInfo; 31 import android.media.session.MediaSession.QueueItem; 32 import android.media.session.MediaSession.Token; 33 import android.media.session.MediaSessionManager; 34 import android.media.session.MediaSessionManager.OnActiveSessionsChangedListener; 35 import android.media.session.PlaybackState; 53 * Convenience client for all media session updates. Provides a callback interface for events 116 private void onRemoteVolumeChangedH(ISessionController session, in argument 124 onUpdateRemoteControllerH(ISessionController session) argument [all...] |
/frameworks/base/core/java/android/security/net/config/ |
H A D | RootTrustManager.java | 82 SSLSession session = sslSocket.getHandshakeSession(); 83 if (session == null) { 84 throw new CertificateException("Not in handshake; no session available"); 86 String host = session.getPeerHost(); 98 SSLSession session = engine.getHandshakeSession(); 99 if (session == null) { 100 throw new CertificateException("Not in handshake; no session available"); 102 String host = session.getPeerHost();
|
/frameworks/base/media/java/android/media/ |
H A D | RemoteDisplay.java | 129 final int width, final int height, final int flags, final int session) { 133 mListener.onDisplayConnected(surface, width, height, flags, session); 163 int width, int height, int flags, int session); 128 notifyDisplayConnected(final Surface surface, final int width, final int height, final int flags, final int session) argument 162 onDisplayConnected(Surface surface, int width, int height, int flags, int session) argument
|
/frameworks/support/v4/java/android/support/v4/media/session/ |
H A D | MediaButtonReceiver.java | 17 package android.support.v4.media.session; 27 import android.support.v4.media.session.MediaControllerCompat; 28 import android.support.v4.media.session.MediaSessionCompat; 41 * <receiver android:name="android.support.v4.media.session.MediaButtonReceiver" >
|
/frameworks/av/camera/ndk/ |
H A D | NdkCameraDevice.cpp | 153 /*out*/ACameraCaptureSession** session) { 155 if (device == nullptr || outputs == nullptr || callbacks == nullptr || session == nullptr) { 156 ALOGE("%s: Error: invalid input: device %p, outputs %p, callbacks %p, session %p", 157 __FUNCTION__, device, outputs, callbacks, session); 160 return device->createCaptureSession(outputs, callbacks, session); 149 ACameraDevice_createCaptureSession( ACameraDevice* device, const ACaptureSessionOutputContainer* outputs, const ACameraCaptureSession_stateCallbacks* callbacks, ACameraCaptureSession** session) argument
|
/frameworks/av/media/libmedia/ |
H A D | IRemoteDisplayClient.cpp | 41 uint32_t width, uint32_t height, uint32_t flags, uint32_t session) 49 data.writeInt32(session); 84 uint32_t session = data.readInt32(); local 85 onDisplayConnected(surfaceTexture, width, height, flags, session); 40 onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer, uint32_t width, uint32_t height, uint32_t flags, uint32_t session) argument
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputMethod.aidl | 47 void setSessionEnabled(IInputMethodSession session, boolean enabled); 49 void revokeSession(IInputMethodSession session);
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
H A D | X509HostnameVerifier.java | 67 boolean verify(String host, SSLSession session); argument
|
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/ |
H A D | DataIdleTest.java | 75 INetworkStatsSession session = null; 78 session = mStatsService.openSession(); 79 final NetworkStats stats = session.getSummaryForAllUid( 85 TrafficStats.closeQuietly(session);
|
/frameworks/support/v4/api23/android/support/v4/media/session/ |
H A D | MediaSessionCompatApi23.java | 17 package android.support.v4.media.session;
|
/frameworks/support/v4/froyo/android/support/v4/media/session/ |
H A D | MediaSessionCompatApi8.java | 16 package android.support.v4.media.session;
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | NotificationCompatImpl21.java | 20 import android.media.session.MediaSession;
|
/frameworks/base/cmds/media/src/com/android/commands/media/ |
H A D | Media.java | 24 import android.media.session.ISessionController; 25 import android.media.session.ISessionControllerCallback; 26 import android.media.session.ISessionManager; 27 import android.media.session.ParcelableVolumeInfo; 28 import android.media.session.PlaybackState; 71 "media monitor: monitor updates to the specified session.\n" + 82 "Can't connect to media session service; is the system running?"); 109 showError("Error: must include a session id"); 116 for (IBinder session : sessions) { 117 ISessionController controller = ISessionController.Stub.asInterface(session); [all...] |
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyInterfaceImplLegacy.cpp | 152 audio_session_t session) 168 status_t status = audioPolicyEffects->addOutputSessionEffects(output, stream, session); 170 ALOGW("Failed to add effects on session %d", session); 175 return mpAudioPolicy->start_output(mpAudioPolicy, output, stream, session); 180 audio_session_t session) 189 mOutputCommandThread->stopOutputCommand(output, stream, session); 195 audio_session_t session) 205 status_t status = audioPolicyEffects->releaseOutputSessionEffects(output, stream, session); 207 ALOGW("Failed to release effects on session 150 startOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 178 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 193 doStopOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 214 releaseOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 234 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, pid_t pid __unused, uid_t uid __unused, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags __unused, audio_port_handle_t selectedDeviceId __unused) argument 428 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, audio_session_t session, int id) argument [all...] |
H A D | AudioPolicyService.h | 81 audio_session_t session, 92 audio_session_t session); 95 audio_session_t session); 98 audio_session_t session); 101 audio_session_t session, 110 audio_session_t session); 112 audio_session_t session); 114 audio_session_t session); 132 audio_session_t session, 191 virtual status_t acquireSoundTriggerSession(audio_session_t *session, [all...] |
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipService.java | 89 // session ID --> session 403 private synchronized void addPendingSession(ISipSession session) { argument 406 mPendingSessions.put(session.getCallId(), session); 574 SipSessionGroup.SipSessionImpl session = 578 if (!isRegistered() || callingSelf(this, session)) { 580 session.endCall(); 585 addPendingSession(session); 587 session 601 onError(ISipSession session, int errorCode, String message) argument 1020 onRegistering(ISipSession session) argument 1030 notCurrentSession(ISipSession session) argument 1040 onRegistrationDone(ISipSession session, int duration) argument 1077 onRegistrationFailed(ISipSession session, int errorCode, String message) argument 1102 onRegistrationTimeout(ISipSession session) argument [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | IInputMethodWrapper.java | 96 public void sessionCreated(InputMethodSession session) { argument 98 if (session != null) { 100 new IInputMethodSessionWrapper(mContext, session, mChannel); 288 public void setSessionEnabled(IInputMethodSession session, boolean enabled) { argument 291 session).getInternalInputMethodSession(); 293 Log.w(TAG, "Session is already finished: " + session); 299 Log.w(TAG, "Incoming session not of correct type: " + session, e); 304 public void revokeSession(IInputMethodSession session) { argument 307 session) [all...] |
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraDevice.cpp | 148 /*out*/ACameraCaptureSession** session) { 160 // Create new session 163 ALOGE("Fail to create new session. cannot configure streams"); 170 // set new session as current session 174 *session = newSession; 180 sp<ACameraCaptureSession> session, 185 session, cbs, numRequests, requests, captureSequenceId, /*isRepeating*/false); 190 sp<ACameraCaptureSession> session, 195 session, cb 145 createCaptureSession( const ACaptureSessionOutputContainer* outputs, const ACameraCaptureSession_stateCallbacks* callbacks, ACameraCaptureSession** session) argument 179 captureLocked( sp<ACameraCaptureSession> session, ACameraCaptureSession_captureCallbacks* cbs, int numRequests, ACaptureRequest** requests, int* captureSequenceId) argument 189 setRepeatingRequestsLocked( sp<ACameraCaptureSession> session, ACameraCaptureSession_captureCallbacks* cbs, int numRequests, ACaptureRequest** requests, int* captureSequenceId) argument 199 submitRequestsLocked( sp<ACameraCaptureSession> session, ACameraCaptureSession_captureCallbacks* cbs, int numRequests, ACaptureRequest** requests, int* captureSequenceId, bool isRepeating) argument 325 notifySessionEndOfLifeLocked(ACameraCaptureSession* session) argument 397 flushLocked(ACameraCaptureSession* session) argument 699 sp<ACameraCaptureSession> session = cbh.mSession; local 1030 CallbackHolder( sp<ACameraCaptureSession> session, const Vector<sp<CaptureRequest> >& requests, bool isRepeating, ACameraCaptureSession_captureCallbacks* cbs) argument 1256 sp<ACameraCaptureSession> session = cbh.mSession; local 1316 sp<ACameraCaptureSession> session = cbh.mSession; local [all...] |
H A D | ACameraDevice.h | 63 /*out*/ACameraCaptureSession** session); 106 camera_status_t captureLocked(sp<ACameraCaptureSession> session, 111 camera_status_t setRepeatingRequestsLocked(sp<ACameraCaptureSession> session, 117 sp<ACameraCaptureSession> session, 129 // only For session to hold device lock 130 // Always grab device lock before grabbing session lock 134 // For capture session to notify its end of life 135 void notifySessionEndOfLifeLocked(ACameraCaptureSession* session); 166 // This will avoid a busy session being deleted before it's back to idle state 208 * Capture session relate 294 createCaptureSession( const ACaptureSessionOutputContainer* outputs, const ACameraCaptureSession_stateCallbacks* callbacks, ACameraCaptureSession** session) argument [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | SessionLibrary.cpp | 66 void SessionLibrary::destroySession(const sp<Session>& session) { argument 68 mSessions.removeItem(session->sessionId());
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioInputDescriptor.cpp | 116 bool AudioInputDescriptor::hasPreemptedSession(audio_session_t session) const 118 return (mPreemptedSessions.indexOf(session) >= 0); 142 audio_session_t session) const { 143 return mSessions.valueFor(session); 151 status_t AudioInputDescriptor::addAudioSession(audio_session_t session, argument 153 return mSessions.addSession(session, audioSession, /*AudioSessionInfoProvider*/this); 156 status_t AudioInputDescriptor::removeAudioSession(audio_session_t session) { argument 157 return mSessions.removeSession(session);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupManager.java | 214 RestoreSession session = null; 219 session = new RestoreSession(mContext, binder); 220 result = session.restorePackage(mContext.getPackageName(), observer); 225 if (session != null) { 226 session.endRestoreSession(); 242 RestoreSession session = null; 249 session = new RestoreSession(mContext, binder); 255 return session;
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothAvrcpController.aidl | 22 import android.media.session.PlaybackState;
|
/frameworks/base/core/java/android/print/ |
H A D | PrinterDiscoverySession.java | 73 Log.e(LOG_TAG, "Error creating printer discovery session", re); 79 Log.w(LOG_TAG, "Ignoring start printers discovery - session destroyed"); 94 Log.w(LOG_TAG, "Ignoring stop printers discovery - session destroyed"); 109 Log.w(LOG_TAG, "Ignoring start printer state tracking - session destroyed"); 121 Log.w(LOG_TAG, "Ignoring stop printer state tracking - session destroyed"); 133 Log.w(LOG_TAG, "Ignoring validate printers - session destroyed"); 145 Log.w(LOG_TAG, "Ignoring destroy - session destroyed"); 152 Log.w(LOG_TAG, "Ignoring get printers - session destroyed"); 176 Log.e(LOG_TAG, "Destroying leaked printer discovery session"); 191 Log.e(LOG_TAG, "Error destroying printer discovery session", r 294 PrinterDiscoveryObserver(PrinterDiscoverySession session) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | EnergyProbe.java | 41 public EnergyProbe(int session) { argument 43 mVisualizer = new Visualizer(session);
|