/frameworks/base/core/java/android/net/ |
H A D | TrafficStats.java | 123 * session started, or {@code null} if no session active. 264 * Start profiling data usage for current UID. Only one profiling session 331 public static void closeQuietly(INetworkStatsSession session) { argument 333 if (session != null) { 335 session.close();
|
H A D | SSLCertificateSocketFactory.java | 49 * <li>Optional SSL session caching with {@link SSLSessionCache} 122 * and SSL session cache. 135 * disabled, using an optional handshake timeout and SSL session cache. 200 SSLSession session = ssl.getSession(); 201 if (session == null) { 202 throw new SSLException("Cannot verify SSL socket without session"); 204 if (!HttpsURLConnection.getDefaultHostnameVerifier().verify(hostname, session)) { 381 * Enables <a href="http://tools.ietf.org/html/rfc5077#section-3.2">session ticket</a> 385 * @param useSessionTickets {@code true} to enable session ticket support on this socket.
|
H A D | VpnService.java | 272 * allowed for the rest of the VPN's session. @see Builder#allowFamily 414 * Set the name of this session. It will be displayed in 418 public Builder setSession(String session) { argument 419 mConfig.session = session;
|
/frameworks/base/core/java/com/android/internal/net/ |
H A D | VpnConfig.java | 89 public String session; field in class:VpnConfig 149 out.writeString(session); 174 config.session = in.readString();
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
H A D | ManageDialog.java | 77 if (mConfig.session != null) { 78 ((TextView) view.findViewById(R.id.session)).setText(mConfig.session);
|
/frameworks/support/v4/api21/android/support/v4/media/session/ |
H A D | MediaSessionCompatApi21.java | 17 package android.support.v4.media.session; 27 import android.media.session.MediaSession; 28 import android.media.session.PlaybackState;
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipSessionGroup.java | 111 // session that processes INVITE requests 279 SipSessionImpl session = mSessionMap.get(key); 280 if ((session != null) && isLoggable(session)) { 287 return ((session != null) ? session : mCallReceiverSession); 302 private synchronized void removeSipSession(SipSessionImpl session) { argument 303 if (session == mCallReceiverSession) return; 304 String key = session.getCallId(); 307 if ((s != null) && (s != session)) { 1575 onError(ISipSession session, int errorCode, String message) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | RemoteController.java | 24 import android.media.session.MediaController; 25 import android.media.session.MediaSession; 26 import android.media.session.MediaSessionLegacyHelper; 27 import android.media.session.MediaSessionManager; 28 import android.media.session.PlaybackState; 457 * This receives updates when the current session changes. This is 474 * Listens for changes to the active session stack and replaces the 475 * currently tracked session if it has changed. 544 Log.d(TAG, "Registered session listener with component " + listenerComponent 555 Log.d(TAG, "Unregistered session listene [all...] |
H A D | RemoteControlClient.java | 23 import android.media.session.MediaSessionLegacyHelper; 24 import android.media.session.PlaybackState; 25 import android.media.session.MediaSession; 392 * session while it is registered with 393 * {@link AudioManager#registerRemoteControlClient}. The session returned 395 * other APIs that require a session. 397 * @return A media session object or null.
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaEnvReverbTest.java | 452 // auxiliary reverb will be chosen by the effect framework as we are on session 0 512 private void getReverb(int session) { argument 513 if (mReverb == null || session != mSession) { 514 if (session != mSession && mReverb != null) { 519 mReverb = new EnvironmentalReverb(0, session); 520 mSession = session;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | ScreenRotationAnimation.java | 218 SurfaceSession session, boolean inTransaction, boolean forceDefaultOrientation, 267 mSurfaceControl = new SurfaceTrace(session, "ScreenshotSurface", 273 mSurfaceControl = new SurfaceControl(session, "ScreenshotSurface", 372 public boolean setRotationInTransaction(int rotation, SurfaceSession session, argument 376 return startAnimation(session, maxAnimationDuration, animationScale, 387 private boolean startAnimation(SurfaceSession session, long maxAnimationDuration, argument 563 mCustomBlackFrame = new BlackFrame(session, outer, inner, 603 mExitingBlackFrame = new BlackFrame(session, outer, inner, 626 mEnteringBlackFrame = new BlackFrame(session, outer, inner, 644 public boolean dismiss(SurfaceSession session, lon argument 217 ScreenRotationAnimation(Context context, DisplayContent displayContent, SurfaceSession session, boolean inTransaction, boolean forceDefaultOrientation, boolean isSecure) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
H A D | Main.java | 503 * Create a new rendering session and test that rendering the given layout doesn't throw any 513 // Create session params. 514 RenderSession session = sBridge.createSession(params); 517 session.setElapsedFrameTimeNanos(frameTimeNanos); 520 if (!session.getResult().isSuccess()) { 521 getLogger().error(session.getResult().getException(), 522 session.getResult().getErrorMessage()); 524 // Render the session with a timeout of 50s. 525 Result renderResult = session.render(50000); 527 getLogger().error(session [all...] |
/frameworks/base/media/java/android/media/session/ |
H A D | MediaSessionLegacyHelper.java | 17 package android.media.session; 41 * Helper for connecting existing APIs up to the new session APIs. This can be 42 * used by RCC, AudioFocus, etc. to create a single session that translates to 366 MediaSession session; 367 session = new MediaSession(mContext, TAG + "-" + pi.getCreatorPackage()); 368 session.setActive(true); 369 holder = new SessionHolder(session, pi); 462 public SessionHolder(MediaSession session, PendingIntent pi) { argument 463 mSession = session;
|
H A D | MediaSessionManager.java | 17 package android.media.session; 25 import android.media.session.ISessionManager; 72 * Create a new session in the system and get the binder for it. 202 Log.w(TAG, "Attempted to add session listener twice, ignoring."); 282 * most relevant audio stream or media session. The direction must be one of 301 * Check if the global priority session is currently active. This can be 302 * used to decide if media keys should be sent to the session or to the app.
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | EnvReverbTest.java | 515 private void getEffect(int session) { argument 517 if (sInstances.containsKey(session)) { 518 mReverb = sInstances.get(session); 521 mReverb = new EnvironmentalReverb(0, session); 530 sInstances.put(session, mReverb); 553 private void putEffect(int session) { argument 564 sInstances.remove(session);
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
H A D | Pm.java | 408 System.out.println("Success: created install session [" + sessionId + "]"); 543 PackageInstaller.Session session = null; 547 session = new PackageInstaller.Session( 555 out = session.openWrite(splitName, 0, sizeBytes); 566 session.addProgress(fraction); 569 session.fsync(out); 581 IoUtils.closeQuietly(session); 586 PackageInstaller.Session session = null; 588 session = new PackageInstaller.Session( 592 session [all...] |
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 687 audio_session_t session, 730 " session %d selectedDeviceId %d", 732 session, selectedDeviceId); 744 mOutputRoutes.addRoute(session, *stream, SessionRoute::SOURCE_TYPE_NA, deviceDesc, uid); 756 *output = getOutputForDevice(device, session, *stream, 760 mOutputRoutes.removeRoute(session); 769 audio_session_t session __unused, 859 // FIXME: We should check the audio session here but we do not have it in this context. 1077 audio_session_t session) 1079 ALOGV("startOutput() output %d, stream %d, session 685 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 1075 startOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 1221 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 1362 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, 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, input_type_t *inputType) argument 1451 getInputForDevice(audio_devices_t device, String8 address, audio_session_t session, uid_t uid, audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags, AudioMix *policyMix) argument 1589 startInput(audio_io_handle_t input, audio_session_t session) argument 1684 stopInput(audio_io_handle_t input, audio_session_t session) argument 1745 releaseInput(audio_io_handle_t input, audio_session_t session) argument 1977 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument 2898 acquireSoundTriggerSession(audio_session_t *session, audio_io_handle_t *ioHandle, audio_devices_t *device) argument [all...] |
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyService.cpp | 241 void AudioPolicyService::onRecordingConfigurationUpdate(int event, audio_session_t session, argument 245 mOutputCommandThread->recordingConfigurationUpdateCommand(event, session, source, 249 void AudioPolicyService::doOnRecordingConfigurationUpdate(int event, audio_session_t session, argument 255 mNotificationClients.valueAt(i)->onRecordingConfigurationUpdate(event, session, source, 323 int event, audio_session_t session, audio_source_t source, 328 mAudioPolicyServiceClient->onRecordingConfigurationUpdate(event, session, source, 769 audio_session_t session) 776 data->mSession = session; 784 audio_session_t session) 791 data->mSession = session; 322 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 767 stopOutputCommand(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 782 releaseOutputCommand(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 875 recordingConfigurationUpdateCommand( 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/media/java/android/media/browse/ |
H A D | MediaBrowser.java | 28 import android.media.session.MediaController; 29 import android.media.session.MediaSession; 303 * Gets the media session token associated with the media browser. 305 * Note that the session token may become invalid or change when the 309 * @return The session token for the browser, never null. 553 final String root, final MediaSession.Token session, final Bundle extra) { 569 mMediaSessionToken = session; 1057 public void onConnect(String root, MediaSession.Token session, argument 1061 mediaBrowser.onServiceConnected(this, root, session, extras); 552 onServiceConnected(final IMediaBrowserServiceCallbacks callback, final String root, final MediaSession.Token session, final Bundle extra) argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
H A D | DataUsageController.java | 83 Log.w(TAG, "Failed to open stats session", e); 85 Log.w(TAG, "Failed to open stats session", e); 124 final INetworkStatsSession session = getSession(); 125 if (session == null) { 126 return warn("no stats session"); 130 final NetworkStatsHistory history = session.getHistoryForNetwork(template, FIELDS);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
H A D | DataCollector.java | 44 * A session starts when the screen is turned on. 45 * A session ends when the screen is turned off or user unlocks the phone. 130 SensorLoggerSession session = mCurrentSession; 133 session.end(System.currentTimeMillis(), result); 134 queueSession(session);
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 46 sp<SurfaceComposerClient> session() const;
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 34 private static native long nativeCreate(SurfaceSession session, String name, argument 267 * @param session The surface session, must not be null. 276 public SurfaceControl(SurfaceSession session, argument 279 if (session == null) { 280 throw new IllegalArgumentException("session must not be null"); 296 mNativeObject = nativeCreate(session, name, w, h, format, flags);
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/session/ |
H A D | MediaSessionCompatApi18.java | 16 package android.support.v4.media.session;
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionRecord.java | 30 import android.media.session.ISession; 31 import android.media.session.ISessionCallback; 32 import android.media.session.ISessionController; 33 import android.media.session.ISessionControllerCallback; 34 import android.media.session.MediaController; 35 import android.media.session.MediaController.PlaybackInfo; 36 import android.media.session.MediaSession; 37 import android.media.session.ParcelableVolumeInfo; 38 import android.media.session.PlaybackState; 69 * The length of time a session wil [all...] |