/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraConstrainedHighSpeedCaptureSessionImpl.java | 184 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 D | PrintService.java | 51 * PrinterDiscoverySession} instance. The returned session encapsulates the interaction 56 * For every printer discovery session all printers have to be added since system does 58 * should be added only once during a discovery session. Only an already added printer 281 * @return The created session. 458 PrinterDiscoverySession session = onCreatePrinterDiscoverySession(); 459 if (session == null) { 460 throw new NullPointerException("session cannot be null"); 462 if (session.getId() == mLastSessionId) { 463 throw new IllegalStateException("cannot reuse session instances"); 465 mDiscoverySession = session; [all...] |
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | SimplePlayer.java | 65 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 D | PresetReverbTest.java | 129 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 D | VisualizerTest.java | 191 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 D | AudioPolicyManager.h | 111 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, 216 virtual status_t acquireSoundTriggerSession(audio_session_t *session, 220 releaseSoundTriggerSession(audio_session_t session) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaEqualizerTest.java | 253 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/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | Camera2Focuser.java | 89 * @param session The camera capture session associated with this focuser 96 public Camera2Focuser(CameraDevice camera, CameraCaptureSession session, Surface requestSurface, argument 102 if (session == null) { 103 throw new IllegalArgumentException("session must not be null"); 119 mSession = session; 351 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, 366 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request,
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
H A D | CustomTabsIntent.java | 49 * Extra used to match the session. This has to be included in the intent to open in 274 * session is associated with. 276 * @param session The session to associate this Builder with. 278 public Builder(@Nullable CustomTabsSession session) { argument 279 if (session != null) mIntent.setPackage(session.getComponentName().getPackageName()); 282 bundle, EXTRA_SESSION, session == null ? null : session.getBinder());
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvView.java | 319 // createSession() was called but the actual session for the given inputId has not 329 // any session is created (e.g. when quickly tuning to a channel from input A and then 569 Log.w(TAG, "sendAppPrivateCommand - session not yet created (action \"" + action 679 // Set main again to regain main session. 1058 public void onSessionCreated(Session session) { argument 1063 Log.w(TAG, "onSessionCreated - session already created"); 1065 if (session != null) { 1066 session.release(); 1070 mSession = session; 1071 if (session ! 1114 onSessionReleased(Session session) argument 1132 onChannelRetuned(Session session, Uri channelUri) argument 1146 onTracksChanged(Session session, List<TvTrackInfo> tracks) argument 1160 onTrackSelected(Session session, int type, String trackId) argument 1174 onVideoSizeChanged(Session session, int width, int height) argument 1188 onVideoAvailable(Session session) argument 1202 onVideoUnavailable(Session session, int reason) argument 1216 onContentAllowed(Session session) argument 1230 onContentBlocked(Session session, TvContentRating rating) argument 1244 onLayoutSurface(Session session, int left, int top, int right, int bottom) argument 1262 onSessionEvent(Session session, String eventType, Bundle eventArgs) argument 1276 onTimeShiftStatusChanged(Session session, int status) argument 1290 onTimeShiftStartPositionChanged(Session session, long timeMs) argument 1304 onTimeShiftCurrentPositionChanged(Session session, long timeMs) argument [all...] |
H A D | TvInputManager.java | 331 // A mapping from the sequence number of a session to its SessionCallbackRecord. 335 // A sequence number for the next session to be created. Should be protected by a lock 344 * Interface used to receive the created session. 351 * @param session A {@link TvInputManager.Session} instance created. This can be 354 public void onSessionCreated(@Nullable Session session) { argument 359 * This typically happens when the process hosting the session has crashed or been killed. 361 * @param session A {@link TvInputManager.Session} instance released. 363 public void onSessionReleased(Session session) { argument 367 * This is called when the channel of this session is changed by the underlying TV input 370 * @param session 373 onChannelRetuned(Session session, Uri channelUri) argument 382 onTracksChanged(Session session, List<TvTrackInfo> tracks) argument 395 onTrackSelected(Session session, int type, @Nullable String trackId) argument 407 onVideoSizeChanged(Session session, int width, int height) argument 415 onVideoAvailable(Session session) argument 431 onVideoUnavailable(Session session, int reason) argument 440 onContentAllowed(Session session) argument 450 onContentBlocked(Session session, TvContentRating rating) argument 463 onLayoutSurface(Session session, int left, int top, int right, int bottom) argument 473 onSessionEvent(Session session, String eventType, Bundle eventArgs) argument 487 onTimeShiftStatusChanged(Session session, int status) argument 496 onTimeShiftStartPositionChanged(Session session, long timeMs) argument 505 onTimeShiftCurrentPositionChanged(Session session, long timeMs) argument 515 onTuned(Session session, Uri channelUri) argument 526 onRecordingStopped(Session session, Uri recordedProgramUri) argument 536 onError(Session session, @TvInputManager.RecordingError int error) argument 551 postSessionCreated(final Session session) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | CircularDisplayMask.java | 58 public CircularDisplayMask(Display display, SurfaceSession session, int zOrder, argument 71 ctrl = new WindowSurfaceController.SurfaceTrace(session, "CircularDisplayMask", 75 ctrl = new SurfaceControl(session, "CircularDisplayMask", mScreenSize.x,
|
H A D | EmulatorDisplayOverlay.java | 53 public EmulatorDisplayOverlay(Context context, Display display, SurfaceSession session, argument 61 ctrl = new WindowSurfaceController.SurfaceTrace(session, "EmulatorDisplayOverlay", 65 ctrl = new SurfaceControl(session, "EmulatorDisplayOverlay", mScreenSize.x,
|
H A D | StrictModeFlash.java | 44 public StrictModeFlash(Display display, SurfaceSession session) { argument 47 ctrl = new SurfaceControl(session, "StrictModeFlash",
|
/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 792 audio_session_t session, 804 return aps->getOutputForAttr(attr, output, session, stream, uid, 811 audio_session_t session) 815 return aps->startOutput(output, stream, session); 820 audio_session_t session) 824 return aps->stopOutput(output, stream, session); 829 audio_session_t session) 833 aps->releaseOutput(output, stream, session); 838 audio_session_t session, 850 attr, input, session, pi 790 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 809 startOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 818 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 827 releaseOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 836 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 854 startInput(audio_io_handle_t input, audio_session_t session) argument 862 stopInput(audio_io_handle_t input, audio_session_t session) argument 870 releaseInput(audio_io_handle_t input, audio_session_t session) argument 927 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, audio_session_t session, int id) argument 1146 acquireSoundTriggerSession(audio_session_t *session, audio_io_handle_t *ioHandle, audio_devices_t *device) argument 1155 releaseSoundTriggerSession(audio_session_t session) argument 1270 onRecordingConfigurationUpdate( int event, audio_session_t session, audio_source_t source, const audio_config_base_t *clientConfig, const audio_config_base_t *deviceConfig, audio_patch_handle_t patchHandle) argument [all...] |
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
H A D | NotificationHelper.java | 17 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/media/java/android/media/session/ |
H A D | ISessionCallback.aidl | 16 package android.media.session;
|
H A D | ParcelableVolumeInfo.java | 16 package android.media.session; 24 * session. The public implementation is {@link MediaController.PlaybackInfo}.
|
/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
H A D | AnimationThread.java | 111 RenderSession session = mSession.getSession(); 157 mListener.onNewFrame(session);
|
/frameworks/support/v4/api21/android/support/v4/media/session/ |
H A D | PlaybackStateCompatApi21.java | 17 package android.support.v4.media.session; 19 import android.media.session.PlaybackState;
|
/frameworks/base/core/java/android/service/voice/ |
H A D | VoiceInteractionSession.java | 69 * An active voice interaction session, providing a facility for the implementation 74 * <p>A voice interaction session can be self-contained, ultimately calling {@link #finish} 83 * Flag received in {@link #onShow}: originator requested that the session be started with 89 * Flag received in {@link #onShow}: originator requested that the session be started with 95 * Flag for use with {@link #onShow}: indicates that the session has been started from the 311 VoiceInteractionSession session = mSession.get(); 312 if (session != null) { 313 session.mHandlerCaller.sendMessage( 314 session.mHandlerCaller.obtainMessageO(MSG_CANCEL, Request.this)); 325 VoiceInteractionSession session, Bundl 324 Request(String packageName, int uid, IVoiceInteractorCallback callback, VoiceInteractionSession session, Bundle extras) argument 434 ConfirmationRequest(String packageName, int uid, IVoiceInteractorCallback callback, VoiceInteractionSession session, VoiceInteractor.Prompt prompt, Bundle extras) argument 493 PickOptionRequest(String packageName, int uid, IVoiceInteractorCallback callback, VoiceInteractionSession session, VoiceInteractor.Prompt prompt, VoiceInteractor.PickOptionRequest.Option[] options, Bundle extras) argument 603 CompleteVoiceRequest(String packageName, int uid, IVoiceInteractorCallback callback, VoiceInteractionSession session, VoiceInteractor.Prompt prompt, Bundle extras) argument 661 AbortVoiceRequest(String packageName, int uid, IVoiceInteractorCallback callback, VoiceInteractionSession session, VoiceInteractor.Prompt prompt, Bundle extras) argument 717 CommandRequest(String packageName, int uid, IVoiceInteractorCallback callback, VoiceInteractionSession session, String command, Bundle extras) argument [all...] |
/frameworks/av/include/camera/ndk/ |
H A D | NdkCameraDevice.h | 294 * Create a capture session output container. 297 * session. Use {@link ACaptureSessionOutputContainer_free} to free the container and its memory 312 * Free a capture session output container. 381 * Create a new camera capture session by providing the target output set of {@link ANativeWindow} 384 * <p>If there is a preexisting session, the previous session will be closed 386 * session. Otherwise the resources held by previous session will NOT be freed.</p> 388 * <p>The active capture session determines the set of potential output {@link ANativeWindow}s for 469 * <p>It can take several hundred milliseconds for the session' [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | EffectDescriptor.h | 35 int mSession; // audio session the effect is on 46 uint32_t strategy, int session, int id);
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyClientImpl.cpp | 174 status_t AudioPolicyService::AudioPolicyClient::moveEffects(audio_session_t session, argument 183 return af->moveEffects(session, src_output, dst_output); 223 int event, audio_session_t session, audio_source_t source, 227 mAudioPolicyService->onRecordingConfigurationUpdate(event, session, source, 222 onRecordingConfigurationUpdate( int event, audio_session_t session, audio_source_t source, const audio_config_base_t *clientConfig, const audio_config_base_t *deviceConfig, audio_patch_handle_t patchHandle) argument
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
H A D | AbstractVerifier.java | 98 SSLSession session = ssl.getSession(); 99 Certificate[] certs = session.getPeerCertificates(); 104 public final boolean verify(String host, SSLSession session) { argument 106 Certificate[] certs = session.getPeerCertificates();
|