/frameworks/base/media/java/android/media/session/ |
H A D | ISessionController.aidl | 16 package android.media.session; 23 import android.media.session.ISessionControllerCallback; 24 import android.media.session.MediaSession; 25 import android.media.session.ParcelableVolumeInfo; 26 import android.media.session.PlaybackState;
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionStack.java | 21 import android.media.session.MediaController.PlaybackInfo; 22 import android.media.session.PlaybackState; 23 import android.media.session.MediaSession; 68 * Checks if a media session is created from the most recent app. 70 * @param record A media session record to be examined. 71 * @return {@code true} if the media session's package name equals to the most recent app, false 99 * @param fromForegroundUser {@code true} if the session is created by the foreground user. 123 * Notify the priority tracker that a session's state changed. 147 * Handle any stack changes that need to occur in response to a session 148 * state change. TODO add the old and new session stat [all...] |
H A D | MediaSessionService.java | 38 import android.media.session.IActiveSessionsListener; 39 import android.media.session.ISession; 40 import android.media.session.ISessionCallback; 41 import android.media.session.ISessionManager; 42 import android.media.session.MediaSession; 144 Log.d(TAG, "Unknown session updated. Ignoring."); 153 * Tells the system UI that volume has changed on a remote session. 155 public void notifyRemoteVolumeChanged(int flags, MediaSessionRecord session) { argument 160 mRvc.remoteVolumeChanged(session.getControllerBinder(), flags); 170 Log.d(TAG, "Unknown session change 228 sessionDied(MediaSessionRecord session) argument 234 destroySession(MediaSessionRecord session) argument 305 destroySessionLocked(MediaSessionRecord session) argument 561 addSessionLocked(MediaSessionRecord session) argument 565 removeSessionLocked(MediaSessionRecord session) argument 891 dispatchAdjustVolumeLocked(int suggestedStream, int direction, int flags, MediaSessionRecord session) argument 924 handleVoiceKeyEventLocked(KeyEvent keyEvent, boolean needWakeLock, MediaSessionRecord session) argument 954 dispatchMediaKeyEventLocked(KeyEvent keyEvent, boolean needWakeLock, MediaSessionRecord session) argument [all...] |
/frameworks/base/core/java/android/view/textservice/ |
H A D | SpellCheckerSession.java | 139 * @return true if the connection to a text service of this session is disconnected and not 147 * Get the spell checker service info this spell checker session has. 162 * Finish this session and allow TextServicesManagerService to disconnect the bound spell 282 private void processTask(ISpellCheckerSession session, SpellCheckerParams scp, argument 287 + " session.hashCode()=#" + Integer.toHexString(session.hashCode()) 297 session.onCancel(); 304 session.onGetSuggestionsMultiple(scp.mTextInfos, 312 session.onGetSentenceSuggestionsMultiple( 320 session 369 onServiceConnected(ISpellCheckerSession session) argument 540 onServiceConnected(ISpellCheckerSession session) argument [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioSession.cpp | 29 AudioSession::AudioSession(audio_session_t session, argument 39 mSession(session), mInputSource(inputSource), 101 if (other->session() == mSession && 139 snprintf(buffer, SIZE, "%*sAudio session %d:\n", spaces, "", index+1); 141 snprintf(buffer, SIZE, "%*s- session: %2d\n", spaces, "", mSession); 166 status_t AudioSessionCollection::addSession(audio_session_t session, argument 170 ssize_t index = indexOfKey(session); 173 ALOGW("addSession() session %d already in", session); 177 add(session, audioSessio 183 removeSession(audio_session_t session) argument [all...] |
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyInterfaceImpl.cpp | 151 audio_session_t session, 173 return mAudioPolicyManager->getOutputForAttr(attr, output, session, stream, uid, samplingRate, 179 audio_session_t session) 195 status_t status = audioPolicyEffects->addOutputSessionEffects(output, stream, session); 197 ALOGW("Failed to add effects on session %d", session); 201 return mAudioPolicyManager->startOutput(output, stream, session); 206 audio_session_t session) 215 mOutputCommandThread->stopOutputCommand(output, stream, session); 221 audio_session_t session) 149 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uid_t uid, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, audio_port_handle_t selectedDeviceId, const audio_offload_info_t *offloadInfo) argument 177 startOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 204 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 219 doStopOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 240 releaseOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 251 doReleaseOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 260 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, pid_t pid, uid_t uid, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags, audio_port_handle_t selectedDeviceId) argument 357 startInput(audio_io_handle_t input, audio_session_t session) argument 368 stopInput(audio_io_handle_t input, audio_session_t session) argument 379 releaseInput(audio_io_handle_t input, audio_session_t session) argument 488 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, audio_session_t session, int id) argument 661 acquireSoundTriggerSession(audio_session_t *session, audio_io_handle_t *ioHandle, audio_devices_t *device) argument 672 releaseSoundTriggerSession(audio_session_t session) argument [all...] |
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | RecordingActivityMonitor.java | 53 public void onRecordingConfigurationChanged(int event, int session, int source, argument 59 updateSnapshot(event, session, source, recordingInfo); 117 * @param session 125 private List<AudioRecordingConfiguration> updateSnapshot(int event, int session, int source, argument 132 // return failure if an unknown recording session stopped 133 configChanged = (mRecordConfigs.remove(new Integer(session)) != null); 149 final Integer sessionKey = new Integer(session); 152 new AudioRecordingConfiguration(session, source, 164 new AudioRecordingConfiguration(session, source, 170 Log.e(TAG, String.format("Unknown event %d for session [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | BordeauxSessionStorage.java | 30 // This class manages the database for storing the session data. 35 // unique key for the session 60 throw new RuntimeException("Can't open session database"); 102 BordeauxSessionManager.Session session = new BordeauxSessionManager.Session(); 105 session.learnerClass = Class.forName(className); 106 session.learner = (IBordeauxLearner) session.learnerClass.getConstructor().newInstance(); 111 session.learner.setModel(model); 112 return session; 125 throw new RuntimeException("Unexpected duplication in session tabl [all...] |
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
H A D | BluetoothMasRequestGetFolderListingSize.java | 53 public void execute(ClientSession session) throws IOException { argument 54 executeGet(session);
|
H A D | BluetoothMasRequestGetMessagesListingSize.java | 54 public void execute(ClientSession session) throws IOException { argument 55 executeGet(session);
|
H A D | BluetoothMasRequestSetMessageStatus.java | 49 public void execute(ClientSession session) throws IOException { argument 50 executePut(session, FILLER_BYTE);
|
H A D | BluetoothMasRequest.java | 89 abstract public void execute(ClientSession session) throws IOException; argument 91 protected void executeGet(ClientSession session) throws IOException { argument 95 op = (ClientOperation) session.get(mHeaderSet); 128 protected void executePut(ClientSession session, byte[] body) throws IOException { argument 134 op = session.put(mHeaderSet);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/ |
H A D | WifiNanClientState.java | 74 WifiNanSessionState session = mSessions.valueAt(i); 75 if (session.isPubSubIdSession(pubSubId)) { 76 return session; 84 WifiNanSessionState session = mSessions.get(sessionId); 85 if (session != null) { 93 WifiNanSessionState session = mSessions.get(sessionId); 94 if (session == null) { 100 session.destroy();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RadioCapability.java | 87 /** Unique session value defined by framework returned in all "responses/unsol" */ 118 * @param session the request transaction id 127 public RadioCapability(int phoneId, int session, int phase, argument 130 mSession = session; 156 * Get unique session id. 158 * @return unique session id
|
/frameworks/support/media-compat/api22/android/support/v4/media/session/ |
H A D | PlaybackStateCompatApi22.java | 17 package android.support.v4.media.session; 19 import android.media.session.PlaybackState;
|
/frameworks/support/media-compat/api24/android/support/v4/media/session/ |
H A D | MediaControllerCompatApi24.java | 17 package android.support.v4.media.session; 19 import android.media.session.MediaController;
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioInputDescriptor.h | 56 bool hasPreemptedSession(audio_session_t session) const; 62 status_t addAudioSession(audio_session_t session, 64 status_t removeAudioSession(audio_session_t session); 65 sp<AudioSession> getAudioSession(audio_session_t session) const; 79 // Because a preemptible capture session can preempt another one, we end up in an endless loop 80 // situation were each session is allowed to restart after being preempted, 82 // To avoid this situation, we store which audio session was preempted when 83 // a particular input started and prevent preemption of this active input by this session.
|
H A D | AudioSession.h | 34 AudioSession(audio_session_t session, 47 audio_session_t session() const { return mSession; } function in class:android::AudioSession 85 status_t addSession(audio_session_t session, 89 status_t removeSession(audio_session_t session);
|
/frameworks/av/include/media/ |
H A D | IAudioPolicyService.h | 63 audio_session_t session, 74 audio_session_t session) = 0; 77 audio_session_t session) = 0; 80 audio_session_t session) = 0; 83 audio_session_t session, 92 audio_session_t session) = 0; 94 audio_session_t session) = 0; 96 audio_session_t session) = 0; 112 audio_session_t session, 155 virtual status_t acquireSoundTriggerSession(audio_session_t *session, [all...] |
/frameworks/base/media/java/android/media/tv/ |
H A D | TvRecordingClient.java | 71 * recording session for the corresponding TV input and establish a connection between the 72 * application and the session. If recording has already started in the current recording 73 * session, this method throws an exception. 78 * <p>The recording session will respond by calling 92 * recording session for the corresponding TV input and establish a connection between the 93 * application and the session. If recording has already started in the current recording 94 * session, this method throws an exception. This can be used to provide domain-specific 100 * <p>The recording session will respond by calling 136 * Releases the resources in the current recording session immediately. This may be called at 137 * any time, however if the session i 305 onSessionCreated(TvInputManager.Session session) argument 334 onTuned(TvInputManager.Session session, Uri channelUri) argument 347 onSessionReleased(TvInputManager.Session session) argument 365 onRecordingStopped(TvInputManager.Session session, Uri recordedProgramUri) argument 378 onError(TvInputManager.Session session, int error) argument 390 onSessionEvent(TvInputManager.Session session, String eventType, Bundle eventArgs) argument [all...] |
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
H A D | IMediaSession.aidl | 16 package android.support.v4.media.session; 22 import android.support.v4.media.session.IMediaControllerCallback; 23 import android.support.v4.media.session.ParcelableVolumeInfo; 24 import android.support.v4.media.session.PlaybackStateCompat; 25 import android.support.v4.media.session.MediaSessionCompat;
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyInterface.h | 108 audio_session_t session, 120 audio_session_t session) = 0; 124 audio_session_t session) = 0; 128 audio_session_t session) = 0; 133 audio_session_t session, 143 audio_session_t session) = 0; 146 audio_session_t session) = 0; 149 audio_session_t session) = 0; 185 int session, 217 virtual status_t acquireSoundTriggerSession(audio_session_t *session, [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SipAudioCall.java | 111 * Called when the session is established. 121 * Called when the session is terminated. 131 * Called when the peer is busy during session initialization. 332 * @return the session state 345 * @return the session object that carries this call 378 public void onCalling(SipSession session) { 379 if (DBG) log("onCalling: session=" + session); 391 public void onRingingBack(SipSession session) { 392 if (DBG) log("onRingingBackk: " + session); 588 attachCall(SipSession session, String sessionDescription) argument [all...] |
/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();
|