Searched refs:session (Results 101 - 125 of 243) sorted by relevance

12345678910

/frameworks/av/include/media/
H A DAudioSystem.h146 // Allocate a new unique ID for use as an audio session ID or I/O handle.
156 // Get the HW synchronization source used for an audio session.
166 // playback is complete on another audio session.
204 audio_session_t session,
215 audio_session_t session);
218 audio_session_t session);
221 audio_session_t session);
227 audio_session_t session,
236 audio_session_t session);
238 audio_session_t session);
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DANetworkSession.cpp56 NetworkThread(ANetworkSession *session);
145 ANetworkSession::NetworkThread::NetworkThread(ANetworkSession *session) argument
146 : mSession(session) {
975 sp<Session> session; local
1139 session = new Session(
1146 session->setMode(Session::MODE_DATAGRAM);
1148 session->setMode(Session::MODE_RTSP);
1151 mSessions.add(session->sessionID(), session);
1155 *sessionID = session
1177 const sp<Session> session = mSessions.valueAt(index); local
1216 const sp<Session> session = mSessions.valueAt(index); local
1234 const sp<Session> session = mSessions.valueAt(index); local
1263 const sp<Session> &session = mSessions.valueAt(i); local
1322 const sp<Session> &session = mSessions.valueAt(i); local
1401 sp<Session> session = *sessionsToAdd.begin(); local
[all...]
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java48 * {@link #createSession()} to provide a spell checker session that is corresponding
49 * to requested language and so on. The spell checker session returned by this method
90 * Factory method to create a spell checker session impl
105 public final void setInternalISpellCheckerSession(InternalISpellCheckerSession session) { argument
106 mInternalSession = session;
213 * Request to close this session.
221 * @return Locale for this session
228 * @return Bundle for this session
243 Bundle bundle, Session session) {
245 mSession = session;
242 InternalISpellCheckerSession(String locale, ISpellCheckerSessionListener listener, Bundle bundle, Session session) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java32 public void setSession(IWindowSession session) { argument
33 mSession = session;
/frameworks/base/media/java/android/media/session/
H A DISessionCallback.aidl16 package android.media.session;
/frameworks/base/media/java/android/media/tv/
H A DITvInputSessionCallback.aidl26 * new session has been created.
30 void onSessionCreated(ITvInputSession session, in IBinder hardwareSessionToken);
H A DTvView.java305 // createSession() was called but the actual session for the given inputId has not
315 // any session is created (e.g. when quickly tuning to a channel from input A and then
528 Log.w(TAG, "sendAppPrivateCommand - session not yet created (action \"" + action
638 // Set main again to regain main session.
1005 public void onSessionCreated(Session session) { argument
1010 Log.w(TAG, "onSessionCreated - session already created");
1012 if (session != null) {
1013 session.release();
1017 mSession = session;
1018 if (session !
1057 onSessionReleased(Session session) argument
1075 onChannelRetuned(Session session, Uri channelUri) argument
1089 onTracksChanged(Session session, List<TvTrackInfo> tracks) argument
1103 onTrackSelected(Session session, int type, String trackId) argument
1117 onVideoSizeChanged(Session session, int width, int height) argument
1131 onVideoAvailable(Session session) argument
1145 onVideoUnavailable(Session session, int reason) argument
1159 onContentAllowed(Session session) argument
1173 onContentBlocked(Session session, TvContentRating rating) argument
1187 onLayoutSurface(Session session, int left, int top, int right, int bottom) argument
1205 onSessionEvent(Session session, String eventType, Bundle eventArgs) argument
1219 onTimeShiftStatusChanged(Session session, int status) argument
1233 onTimeShiftStartPositionChanged(Session session, long timeMs) argument
1247 onTimeShiftCurrentPositionChanged(Session session, long timeMs) argument
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestPushMessage.java76 public void execute(ClientSession session) throws IOException { argument
77 executePut(session, mMsg.getBytes());
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapRequest.java59 public void execute(ClientSession session) throws IOException { argument
69 mOp = (ClientOperation) session.get(mHeaderSet);
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraConstrainedHighSpeedCaptureSessionImpl.java184 throw new UnsupportedOperationException("Constrained high speed session doesn't support"
194 "a constrained high speed capture session");
202 throw new UnsupportedOperationException("Constrained high speed session doesn't support"
212 "a constrained high speed capture session");
266 public void onConfigured(CameraCaptureSession session) { argument
270 public void onConfigureFailed(CameraCaptureSession session) { argument
274 public void onReady(CameraCaptureSession session) { argument
278 public void onActive(CameraCaptureSession session) { argument
282 public void onClosed(CameraCaptureSession session) { argument
286 public void onSurfacePrepared(CameraCaptureSession session, Surfac argument
[all...]
/frameworks/base/core/java/android/printservice/
H A DPrintService.java47 * PrinterDiscoverySession} instance. The returned session encapsulates the interaction
52 * For every printer discovery session all printers have to be added since system does
54 * should be added only once during a discovery session. Only an already added printer
445 PrinterDiscoverySession session = onCreatePrinterDiscoverySession();
446 if (session == null) {
447 throw new NullPointerException("session cannot be null");
449 if (session.getId() == mLastSessionId) {
450 throw new IllegalStateException("cannot reuse session instances");
452 mDiscoverySession = session;
453 mLastSessionId = session
[all...]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DSimplePlayer.java65 int stopButtonId, ImageView stopButton, TextView sessionText, String fileName, int stream, int session)
67 set(context, playPausebuttonId, playPausebutton, stopButtonId, stopButton, sessionText, stream, session);
72 int stopButtonId, ImageView stopButton, TextView sessionText, int fileResId, int stream, int session) {
73 set(context, playPausebuttonId, playPausebutton, stopButtonId, stopButton, sessionText, stream, session);
79 int stopButtonId, ImageView stopButton, TextView sessionText, int stream, int session) {
93 mSession = session;
64 SimplePlayer(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, String fileName, int stream, int session) argument
71 SimplePlayer(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, int fileResId, int stream, int session) argument
78 set(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, int stream, int session) argument
H A DPresetReverbTest.java129 Log.d(TAG, "Invalid session #: "+mSessionText.getText().toString());
249 private void getEffect(int session) { argument
251 if (sInstances.containsKey(session)) {
252 mPresetReverb = sInstances.get(session);
255 mPresetReverb = new PresetReverb(0, session);
263 sInstances.put(session, mPresetReverb);
285 private void putEffect(int session) { argument
294 sInstances.remove(session);
H A DVisualizerTest.java191 Log.d(TAG, "Invalid session #: "+mSessionText.getText().toString());
251 private void getEffect(int session) { argument
253 if (sInstances.containsKey(session)) {
254 mVisualizer = sInstances.get(session);
257 mVisualizer = new Visualizer(session);
264 sInstances.put(session, mVisualizer);
283 private void putEffect(int session) { argument
291 sInstances.remove(session);
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.h111 audio_session_t session,
122 audio_session_t session);
125 audio_session_t session);
128 audio_session_t session);
131 audio_session_t session,
142 audio_session_t session);
146 audio_session_t session);
148 audio_session_t session);
172 int session,
214 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
218 releaseSoundTriggerSession(audio_session_t session) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaEqualizerTest.java253 private void getEqualizer(int session) { argument
254 if (mEqualizer == null || session != mSession) {
255 if (session != mSession && mEqualizer != null) {
260 mEqualizer = new Equalizer(0, session);
261 mSession = session;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DEffectDescriptor.cpp56 int session,
65 ALOGV("registerEffect() effect %s, io %d, strategy %d session %d id %d",
66 desc->name, io, strategy, session, id);
73 effectDesc->mSession = session;
155 ALOGV("isNonOffloadableEffectEnabled() non offloadable effect %s enabled on session %d",
53 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DCircularDisplayMask.java55 public CircularDisplayMask(Display display, SurfaceSession session, int zOrder, argument
68 ctrl = new WindowStateAnimator.SurfaceTrace(session, "CircularDisplayMask",
72 ctrl = new SurfaceControl(session, "CircularDisplayMask", mScreenSize.x,
H A DFocusedStackFrame.java50 public FocusedStackFrame(Display display, SurfaceSession session) { argument
54 ctrl = new SurfaceTrace(session, "FocusedStackFrame",
57 ctrl = new SurfaceControl(session, "FocusedStackFrame",
H A DStrictModeFlash.java41 public StrictModeFlash(Display display, SurfaceSession session) { argument
44 ctrl = new SurfaceControl(session, "StrictModeFlash",
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DNotificationHelper.java17 import android.media.session.MediaController;
18 import android.media.session.MediaSession;
19 import android.media.session.PlaybackState;
46 public NotificationHelper(Service service, MediaSession session) { argument
48 mSession = session;
49 mController = session.getController();
74 * Posts the notification and starts tracking the session to keep it
75 * updated. The notification will automatically be removed if the session is
98 * Removes the notification and stops tracking the session. If the session
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
H A DAnimationThread.java111 RenderSession session = mSession.getSession();
157 mListener.onNewFrame(session);
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DMain.java352 * Create a new rendering session and test that rendering given layout on nexus 5
358 // Create session params.
359 RenderSession session = sBridge.createSession(params);
361 if (!session.getResult().isSuccess()) {
362 getLogger().error(session.getResult().getException(),
363 session.getResult().getErrorMessage());
365 // Render the session with a timeout of 50s.
366 Result renderResult = session.render(50000);
368 getLogger().error(session.getResult().getException(),
369 session
[all...]
/frameworks/support/v4/api21/android/support/v4/media/session/
H A DPlaybackStateCompatApi21.java17 package android.support.v4.media.session;
19 import android.media.session.PlaybackState;
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java436 if (state.session != null) {
438 state.session.release();
497 // Only the application that requested this session or the system can access it.
499 throw new SecurityException("Illegal access to the session with token " + sessionToken
510 ITvInputSession session = sessionState.session;
511 if (session == null) {
515 return session;
573 // Let clients know the create session requests are failed.
578 if (sessionState.session
1918 private ITvInputSession session; field in class:TvInputManagerService.SessionState
2134 onSessionCreated(ITvInputSession session, IBinder hardwareSessionToken) argument
2154 addSessionTokenToClientStateLocked(ITvInputSession session) argument
[all...]

Completed in 2503 milliseconds

12345678910