/frameworks/base/wifi/tests/src/android/net/wifi/aware/ |
WifiAwareManagerTest.java | 126 * (4) try publishing on old session (5) connect again 146 WifiAwareSession session = sessionCaptor.getValue(); local 150 session.publish(publishConfig, mockSessionCallback, mMockLooperHandler); 154 session.close(); 158 session.publish(new PublishConfig.Builder().build(), mockSessionCallback, 198 WifiAwareSession session = sessionCaptor.getValue(); local 202 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); 245 * success creates session, (3) pass through everything, (4) update publish 246 * through session, (5) terminate locally, (6) try another command - 282 WifiAwareSession session = sessionCaptor.getValue() local 374 WifiAwareSession session = sessionCaptor.getValue(); local 430 WifiAwareSession session = sessionCaptor.getValue(); local 511 WifiAwareSession session = sessionCaptor.getValue(); local 893 WifiAwareSession session = sessionCaptor.getValue(); local 966 WifiAwareSession session = sessionCaptor.getValue(); local 1041 WifiAwareSession session = sessionCaptor.getValue(); local 1143 WifiAwareSession session = sessionCaptor.getValue(); local [all...] |
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
MediaButtonReceiver.java | 17 package android.support.v4.media.session; 31 import android.support.v4.media.session.PlaybackStateCompat.MediaKeyAction; 44 * <receiver android:name="android.support.v4.media.session.MediaButtonReceiver" >
|
/hardware/qcom/audio/hal/ |
voice.c | 45 struct voice_session *session = NULL; local 48 ret = voice_extn_get_session_from_use_case(adev, usecase_id, &session); 50 session = &adev->voice.session[VOICE_SESS_IDX]; 53 return session; 105 struct voice_session *session = NULL; local 109 session = (struct voice_session *)voice_get_session_from_use_case(adev, usecase_id); 118 session->state.current = CALL_INACTIVE; 124 ret = platform_stop_voice_call(adev->platform, session->vsid); 127 if (session->pcm_rx) 160 struct voice_session *session = NULL; local [all...] |
/hardware/qcom/audio/hal/voice_extn/ |
voice_extn.c | 52 /* Voice Session Indices */ 133 ALOGE("%s: Invalid voice session index\n", __func__); 142 struct voice_session *session = NULL; local 147 session = &adev->voice.session[i]; 148 if(session->state.current == call_state){ 149 session_id = session->vsid; 162 struct voice_session *session = NULL; local 170 session = &adev->voice.session[i] 293 struct voice_session *session = NULL; local 338 struct voice_session *session = NULL; local [all...] |
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
hwc_tonemapper.cpp | 212 ToneMapSession *session = tone_map_sessions_.at(session_index); local 213 ToneMap(layer, session); 214 session->layer_index_ = INT(i); 221 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { 225 uint8_t buffer_index = session->current_buffer_index_; 226 int &release_fence_fd = session->release_fence_fd_[buffer_index]; 241 session->tone_map_task_.PerformTask(ToneMapTaskCode::kCodeBlit, &ctx); 244 DumpToneMapOutput(session, &ctx.fence_fd); 245 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer); 252 ToneMapSession *session = tone_map_sessions_.at(session_index) local 339 ToneMapSession *session = new ToneMapSession(buffer_allocator_); local [all...] |
/hardware/qcom/display/sdm845/sdm/libs/hwc/ |
hwc_tonemapper.cpp | 164 ToneMapSession *session = tone_map_sessions_.at(session_index); local 165 ToneMap(&content_list->hwLayers[i], layer, session); 166 session->layer_index_ = INT(i); 173 void HWCToneMapper::ToneMap(hwc_layer_1_t *hwc_layer, Layer* layer, ToneMapSession *session) { 178 uint8_t buffer_index = session->current_buffer_index_; 179 const private_handle_t *dst_hnd = session->intermediate_buffer_[buffer_index]; 183 buffer_sync_handler_.SyncMerge(session->release_fence_fd_[buffer_index], acquire_fd, &merged_fd); 189 if (session->release_fence_fd_[buffer_index] >= 0) { 190 CloseFd(&session->release_fence_fd_[buffer_index]); 194 fence_fd = session->gpu_tone_mapper_->blit(reinterpret_cast<const void *>(dst_hnd) 206 ToneMapSession *session = tone_map_sessions_.at(session_index); local 300 ToneMapSession *session = new ToneMapSession(); local [all...] |
/hardware/qcom/display/sdm845/sdm/libs/hwc2/ |
hwc_tonemapper.cpp | 173 ToneMapSession *session = tone_map_sessions_.at(session_index); local 174 ToneMap(layer, session); 175 session->layer_index_ = INT(i); 182 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { 187 uint8_t buffer_index = session->current_buffer_index_; 189 (session->buffer_info_[buffer_index].private_data); 195 buffer_sync_handler_.SyncMerge(session->release_fence_fd_[buffer_index], acquire_fd, &merged_fd); 201 if (session->release_fence_fd_[buffer_index] >= 0) { 202 CloseFd(&session->release_fence_fd_[buffer_index]); 206 fence_fd = session->gpu_tone_mapper_->blit(reinterpret_cast<const void *>(dst_hnd) 218 ToneMapSession *session = tone_map_sessions_.at(session_index); local 313 ToneMapSession *session = new ToneMapSession(buffer_allocator_); local [all...] |
/hardware/qcom/gps/msm8998/gnss/ |
GnssAdapter.h | 60 NiSession session; /* SUPL NI Session */ member in struct:__anon45477 61 NiSession sessionEs; /* Emergency SUPL NI Session */
|
/hardware/qcom/gps/msm8998/location/ |
LocationAPIClientBase.cpp | 142 LOC_LOGW("%s:%d] Existing tracking session present", __FUNCTION__, __LINE__); 149 uint32_t session = mLocationAPI->startTracking(options); local 150 LOC_LOGI("%s:%d] start new session: %d", __FUNCTION__, __LINE__, session); 154 requests = new RequestQueue(session); 170 uint32_t session = 0; local 173 session = requests->getSession(); 174 if (session > 0) { 176 mLocationAPI->stopTracking(session); 188 uint32_t session = 0 local 412 uint32_t session = 0; local 601 uint32_t session = id; local 621 uint32_t session = mLocationControlAPI->gnssDeleteAidingData(data); local 647 uint32_t session = mLocationControlAPI->enable(techType); local 666 uint32_t session = 0; local 694 uint32_t session = 0; local [all...] |
/hardware/qcom/gps/sdm845/gnss/ |
GnssAdapter.h | 60 NiSession session; /* SUPL NI Session */ member in struct:__anon45643 61 NiSession sessionEs; /* Emergency SUPL NI Session */
|
/hardware/qcom/gps/sdm845/location/ |
LocationAPIClientBase.cpp | 145 uint32_t session = mLocationAPI->startTracking(options); local 146 LOC_LOGI("%s:%d] start new session: %d", __FUNCTION__, __LINE__, session); 150 requests = new RequestQueue(session); 165 uint32_t session = 0; local 168 session = requests->getSession(); 169 if (session > 0) { 171 mLocationAPI->stopTracking(session); 182 uint32_t session = 0; local 185 session = requests->getSession() 406 uint32_t session = 0; local 595 uint32_t session = id; local 615 uint32_t session = mLocationControlAPI->gnssDeleteAidingData(data); local 641 uint32_t session = mLocationControlAPI->enable(techType); local 660 uint32_t session = 0; local 688 uint32_t session = 0; local [all...] |
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestSSLEnginePair.java | 86 SSLSession session = c.clientContext.createSSLEngine().getSession(); local 88 int packetBufferSize = session.getPacketBufferSize(); 92 int applicationBufferSize = session.getApplicationBufferSize();
|
/packages/apps/Camera2/src/com/android/camera/session/ |
CaptureSession.java | 17 package com.android.camera.session; 34 * A session is an item that is in progress of being created and saved, such as 39 /** Classes implementing this interface can produce a capture session. */ 41 /** Creates and starts a new capture session. */ 47 * this session. 67 * this session. 104 * This occurs if a capture session is created but is later canceled for 110 * This occurs if a capture session is created but failed to persist the 116 /** Returns the title/name of this session. */ 119 /** Returns the location of this session or null. * [all...] |
/packages/apps/TV/src/com/android/tv/tuner/tvinput/ |
TunerTvInputService.java | 95 public Session onCreateSession(String inputId) { 98 final TunerSession session = new TunerSession(this, mChannelDataManager); local 99 mTunerSessions.add(session); 100 session.setAudioCapabilities(mAudioCapabilities); 101 session.setOverlayViewEnabled(true); 102 return session; 105 Log.e(TAG, "Creating a session for " + inputId + " failed.", e); 113 for (TunerSession session : mTunerSessions) { 114 if (!session.isReleased()) { 115 session.setAudioCapabilities(audioCapabilities) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PlayAnimationMenu.java | 152 RenderSession session = viewHierarchy.getSession(); local 153 Result r = session.animate(viewObject, mAnimationName, mIsFrameworkAnim,
|
PreviewIconFactory.java | 91 * session though) 258 RenderSession session = null; local 266 session = RenderService.create(editor) 280 if (session != null) { 281 if (session.getResult().isSuccess()) { 282 BufferedImage image = session.getImage(); 309 List<ViewInfo> viewInfoList = session.getRootViews(); 356 if (session.getResult().getException() != null) { 357 AdtPlugin.log(session.getResult().getException(), 358 session.getResult().getErrorMessage()) [all...] |
RenderService.java | 469 // for an extended view info, re-render in the same session, and then set a flag 471 // same session 627 RenderSession session = null; local 634 session = mLayoutLib.createSession(params); 636 if (session.getResult().isSuccess()) { 637 assert session.getRootViews().size() == 1; 638 ViewInfo root = session.getRootViews().get(0); 661 if (session != null) { 662 session.dispose();
|
/frameworks/base/media/java/android/media/session/ |
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 324 MediaSession session; local 325 session = new MediaSession(mContext, TAG + "-" + pi.getCreatorPackage()); 326 session.setActive(true); 327 holder = new SessionHolder(session, pi); 420 public SessionHolder(MediaSession session, PendingIntent pi) { 421 mSession = session;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
TaskSnapshotSurface.java | 135 final IWindowSession session = WindowManagerGlobal.getWindowSession(); local 136 window.setSession(session); 199 final int res = session.addToDisplay(window, window.mSeq, layoutParams, 215 session.relayout(window, window.mSeq, layoutParams, -1, -1, View.VISIBLE, 0, tmpFrame, 304 final SurfaceSession session = new SurfaceSession(mSurface); local 307 mChildSurfaceControl = new SurfaceControl(session,
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
TvInputServiceTest.java | 296 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; local 297 return session != null && session.mTuneCount > 0 298 && Objects.equals(session.mTunedChannelUri, fakeChannelUri); 311 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; local 312 return session != null 313 && session.mTuneCount > 0 314 && session.mTuneWithBundleCount > 0 315 && Objects.equals(session.mTunedChannelUri, fakeChannelUri) 316 && bundleEquals(session.mTuneWithBundleData, sDummyBundle) 327 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; local 341 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; local 355 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; local 369 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; local 381 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; local 397 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; local 413 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; local 459 final CountingSession session = CountingTvInputService.sSession; local 477 final CountingSession session = CountingTvInputService.sSession; local 496 final CountingSession session = CountingTvInputService.sSession; local 512 final CountingSession session = CountingTvInputService.sSession; local 530 final CountingSession session = CountingTvInputService.sSession; local 549 final CountingSession session = CountingTvInputService.sSession; local 568 final CountingSession session = CountingTvInputService.sSession; local 588 final CountingSession session = CountingTvInputService.sSession; local 609 final CountingSession session = CountingTvInputService.sSession; local 629 final CountingSession session = CountingTvInputService.sSession; local 648 final CountingSession session = CountingTvInputService.sSession; local 663 final CountingSession session = CountingTvInputService.sSession; local 676 final CountingSession session = CountingTvInputService.sSession; local 691 final CountingSession session = CountingTvInputService.sSession; local 708 final CountingSession session = CountingTvInputService.sSession; local 724 final CountingSession session = CountingTvInputService.sSession; local 758 final CountingSession session = CountingTvInputService.sSession; local 775 final CountingSession session = CountingTvInputService.sSession; local 787 final CountingSession session = CountingTvInputService.sSession; local 802 final CountingSession session = CountingTvInputService.sSession; local 816 final CountingSession session = CountingTvInputService.sSession; local 832 final CountingSession session = CountingTvInputService.sSession; local 848 final CountingSession session = CountingTvInputService.sSession; local 864 final CountingSession session = CountingTvInputService.sSession; local 880 final CountingSession session = CountingTvInputService.sSession; local 894 final CountingSession session = CountingTvInputService.sSession; local 911 final CountingSession session = CountingTvInputService.sSession; local 930 final CountingSession session = CountingTvInputService.sSession; local [all...] |
/external/ImageMagick/MagickCore/ |
distribute-cache.c | 204 Connect to distributed pixel cache and get session key. 808 session[2*MagickPathExtent]; 816 p=session; 803 session[2*MagickPathExtent]; local [all...] |
/external/autotest/client/deps/fakemodem/src/ |
fakemodem.c | 224 gboolean session = FALSE; local 230 { "session", 0, 0, G_OPTION_ARG_NONE, &session, 231 "Bind to session bus", NULL}, 232 { "system", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &session, 271 if (session)
|
/external/boringssl/src/ssl/ |
ssl_asn1.cc | 108 * version INTEGER (1), -- session structure version 199 CBB cbb, session, child, child2; local 207 !CBB_add_asn1(&cbb, &session, CBS_ASN1_SEQUENCE) || 208 !CBB_add_asn1_uint64(&session, kVersion) || 209 !CBB_add_asn1_uint64(&session, in->ssl_version) || 210 !CBB_add_asn1(&session, &child, CBS_ASN1_OCTETSTRING) || 212 !CBB_add_asn1(&session, &child, CBS_ASN1_OCTETSTRING) || 213 /* The session ID is irrelevant for a session ticket. */ 216 !CBB_add_asn1(&session, &child, CBS_ASN1_OCTETSTRING) | 584 CBS session; local [all...] |
ssl_cert.cc | 793 SSL_SESSION *session = SSL_get_session(ssl); local 794 if (session == NULL) { 798 return session->certs;
|
tls13_enc.cc | 57 return init_key_schedule(hs, SSL_SESSION_protocol_version(ssl->session), 58 ssl->session->cipher->algorithm_prf); 117 const SSL_SESSION *session = SSL_get_session(ssl); local 118 uint16_t version = SSL_SESSION_protocol_version(session); 128 if (!ssl_cipher_get_evp_aead(&aead, &discard, &discard, session->cipher, 133 const EVP_MD *digest = SSL_SESSION_get_digest(session); 152 SSL_AEAD_CTX_new(direction, version, SSL_is_dtls(ssl), session->cipher, 374 const EVP_MD *digest = SSL_SESSION_get_digest(ssl->session); 398 if (!tls13_psk_binder(verify_data, digest, ssl->session->master_key, 399 ssl->session->master_key_length, context, context_len [all...] |