Searched refs:session (Results 76 - 100 of 303) sorted by relevance

1234567891011>>

/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DPlayer.java22 import android.support.v4.media.session.MediaSessionCompat;
23 import android.support.v4.media.session.PlaybackStateCompat;
82 public static Player create(Context context, RouteInfo route, MediaSessionCompat session) { argument
92 player.setMediaSession(session);
158 private void setMediaSession(MediaSessionCompat session) { argument
159 mMediaSession = session;
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DPlayer.java22 import android.support.v4.media.session.MediaSessionCompat;
23 import android.support.v4.media.session.PlaybackStateCompat;
82 public static Player create(Context context, RouteInfo route, MediaSessionCompat session) { argument
92 player.setMediaSession(session);
158 private void setMediaSession(MediaSessionCompat session) { argument
159 mMediaSession = session;
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java129 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/av/camera/ndk/
H A DNdkCameraDevice.cpp153 /*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 DIRemoteDisplayClient.cpp41 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/android/inputmethodservice/
H A DAbstractInputMethodService.java61 * Instantiate a new client session for the input method, by calling
70 * Take care of enabling or disabling an existing session by calling its
74 public void setSessionEnabled(InputMethodSession session, boolean enabled) { argument
75 ((AbstractInputMethodSessionImpl)session).setEnabled(enabled);
79 * Take care of killing an existing session by calling its
83 public void revokeSession(InputMethodSession session) { argument
84 ((AbstractInputMethodSessionImpl)session).revokeSelf();
90 * interface. This takes care of basic maintenance of the session,
98 * Check whether this session has been enabled by the system. If not
106 * Check whether this session ha
[all...]
H A DIInputMethodWrapper.java96 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/base/core/java/com/android/internal/view/
H A DIInputMethod.aidl47 void setSessionEnabled(IInputMethodSession session, boolean enabled);
49 void revokeSession(IInputMethodSession session);
/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DX509HostnameVerifier.java67 boolean verify(String host, SSLSession session); argument
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
H A DDataIdleTest.java75 INetworkStatsSession session = null;
78 session = mStatsService.openSession();
79 final NetworkStats stats = session.getSummaryForAllUid(
85 TrafficStats.closeQuietly(session);
/frameworks/support/media-compat/api23/android/support/v4/media/session/
H A DMediaSessionCompatApi23.java17 package android.support.v4.media.session;
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DNotificationCompatImpl21.java20 import android.media.session.MediaSession;
/frameworks/base/cmds/media/src/com/android/commands/media/
H A DMedia.java24 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 DAudioPolicyInterfaceImplLegacy.cpp152 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 DAudioPolicyService.h81 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 DSipService.java89 // 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/av/camera/ndk/impl/
H A DACameraDevice.cpp148 /*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 DACameraDevice.h63 /*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 DSessionLibrary.cpp66 void SessionLibrary::destroySession(const sp<Session>& session) { argument
68 mSessions.removeItem(session->sessionId());
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioInputDescriptor.cpp116 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 DBackupManager.java222 RestoreSession session = null;
227 session = new RestoreSession(mContext, binder);
228 result = session.restorePackage(mContext.getPackageName(), observer);
233 if (session != null) {
234 session.endRestoreSession();
250 RestoreSession session = null;
257 session = new RestoreSession(mContext, binder);
263 return session;
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothAvrcpController.aidl22 import android.media.session.PlaybackState;
/frameworks/base/core/java/android/print/
H A DPrinterDiscoverySession.java73 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 DEnergyProbe.java41 public EnergyProbe(int session) { argument
43 mVisualizer = new Visualizer(session);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DSummaryForAllUidLoader.java43 public SummaryForAllUidLoader(Context context, INetworkStatsSession session, Bundle args) { argument
45 mSession = session;

Completed in 1172 milliseconds

1234567891011>>