Searched refs:session (Results 51 - 75 of 283) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/session/
H A DISessionController.aidl16 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 DMediaSessionStack.java21 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 true if the media session's package name equals to the most recent app, false
124 * Notify the priority tracker that a session's state changed.
148 * Handle any stack changes that need to occur in response to a session
149 * state change. TODO add the old and new session state as params
164 * important session i
[all...]
H A DMediaSessionService.java38 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;
137 Log.d(TAG, "Unknown session updated. Ignoring.");
146 * Tells the system UI that volume has changed on a remote session.
148 public void notifyRemoteVolumeChanged(int flags, MediaSessionRecord session) { argument
153 mRvc.remoteVolumeChanged(session.getControllerBinder(), flags);
163 Log.d(TAG, "Unknown session change
217 sessionDied(MediaSessionRecord session) argument
223 destroySession(MediaSessionRecord session) argument
289 destroySessionLocked(MediaSessionRecord session) argument
557 addSessionLocked(MediaSessionRecord session) argument
561 removeSessionLocked(MediaSessionRecord session) argument
872 dispatchAdjustVolumeLocked(int suggestedStream, int direction, int flags, MediaSessionRecord session) argument
906 handleVoiceKeyEventLocked(KeyEvent keyEvent, boolean needWakeLock, MediaSessionRecord session) argument
936 dispatchMediaKeyEventLocked(KeyEvent keyEvent, boolean needWakeLock, MediaSessionRecord session) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerService.java123 private static final String TAG_SESSION = "session";
180 * Used for generating session IDs. Since this is created at boot time,
230 final PackageInstallerSession session = mSessions.valueAt(i);
231 unclaimedIcons.remove(buildAppIconFile(session.sessionId));
253 final PackageInstallerSession session = mSessions.valueAt(i);
254 unclaimedStages.remove(session.stageDir);
283 final PackageInstallerSession session = mSessions.valueAt(i);
284 final String cid = session.stageCid;
287 // Claimed by active session, mount it
348 final PackageInstallerSession session
449 writeSessionLocked(XmlSerializer out, PackageInstallerSession session) argument
940 isCallingUidOwner(PackageInstallerSession session) argument
1231 onSessionBadgingChanged(PackageInstallerSession session) argument
1236 onSessionActiveChanged(PackageInstallerSession session, boolean active) argument
1240 onSessionProgressChanged(PackageInstallerSession session, float progress) argument
1244 onSessionFinished(final PackageInstallerSession session, boolean success) argument
1265 onSessionPrepared(PackageInstallerSession session) argument
1271 onSessionSealedBlocking(PackageInstallerSession session) argument
[all...]
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerSession.java139 * @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 DAudioSession.cpp29 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 DAudioPolicyInterfaceImpl.cpp151 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 DRecordingActivityMonitor.java53 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 DBordeauxSessionStorage.java30 // 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 DBluetoothMasRequestGetFolderListingSize.java53 public void execute(ClientSession session) throws IOException { argument
54 executeGet(session);
H A DBluetoothMasRequestGetMessagesListingSize.java54 public void execute(ClientSession session) throws IOException { argument
55 executeGet(session);
H A DBluetoothMasRequestSetMessageStatus.java49 public void execute(ClientSession session) throws IOException { argument
50 executePut(session, FILLER_BYTE);
H A DBluetoothMasRequest.java89 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 DWifiNanClientState.java74 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 DRadioCapability.java87 /** 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/v4/api22/android/support/v4/media/session/
H A DPlaybackStateCompatApi22.java17 package android.support.v4.media.session;
19 import android.media.session.PlaybackState;
/frameworks/support/v4/api24/android/support/v4/media/session/
H A DMediaControllerCompatApi24.java17 package android.support.v4.media.session;
19 import android.media.session.MediaController;
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioInputDescriptor.h56 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 DAudioSession.h34 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/base/core/java/android/inputmethodservice/
H A DAbstractInputMethodService.java58 * Instantiate a new client session for the input method, by calling
67 * Take care of enabling or disabling an existing session by calling its
71 public void setSessionEnabled(InputMethodSession session, boolean enabled) { argument
72 ((AbstractInputMethodSessionImpl)session).setEnabled(enabled);
76 * Take care of killing an existing session by calling its
80 public void revokeSession(InputMethodSession session) { argument
81 ((AbstractInputMethodSessionImpl)session).revokeSelf();
87 * interface. This takes care of basic maintenance of the session,
95 * Check whether this session has been enabled by the system. If not
103 * Check whether this session ha
[all...]
/frameworks/av/include/media/
H A DIAudioPolicyService.h63 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 DTvRecordingClient.java71 * 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/v4/java/android/support/v4/media/session/
H A DIMediaSession.aidl16 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 DAudioPolicyInterface.h108 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 DSipAudioCall.java111 * 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...]

Completed in 736 milliseconds

1234567891011>>