/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
MockTvInputService.java | 237 public Session onCreateSession(String inputId) { 238 Session session = new MockSessionImpl(this); local 239 session.setOverlayViewEnabled(true); 240 return session; 243 private static class MockSessionImpl extends Session {
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
CaptureResultTest.java | 303 CameraCaptureSession session = configureAndVerifySession(mockSessionListener, local 321 session, previewBuilder.build(), mHandler); 331 session, multiBuilder.build(), mHandler); 350 session, previewBuilder.build(), mHandler); 352 session, previewBuilder.build(), mHandler); [all...] |
LogicalCameraDeviceTest.java | 121 // Regardless of logical camera or non-logical camera, create a session of an 125 CameraCaptureSession session = local [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
Camera2MultiViewTestCase.java | 489 CameraCaptureSession session = configureCameraSessionWithConfig( local
|
/cts/tests/tests/security/src/android/security/cts/ |
SSLConscryptPlainTextExposureTest.java | 182 SSLSession session = clientEngine.getSession(); local 185 hsOutNetBuffer = ByteBuffer.allocate(session.getPacketBufferSize()); 187 hsInNetBuffer = ByteBuffer.allocate(session.getPacketBufferSize()); 188 dataOutNetBuffer = ByteBuffer.allocate(session.getPacketBufferSize());
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/ |
RichTvInputService.java | 73 for (RichTvInputSessionImpl session : mSessions) { 74 session.checkContentBlockNeeded(); 107 public final Session onCreateSession(String inputId) { 108 RichTvInputSessionImpl session = new RichTvInputSessionImpl(this, inputId); local 109 session.setOverlayViewEnabled(true); 110 mSessions.add(session); 111 return session; 114 class RichTvInputSessionImpl extends TvInputService.Session implements Handler.Callback {
|
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
mm_jpeg.h | 277 uint32_t sessionId; /* session ID */ 371 mm_jpeg_job_session_t session[MM_JPEG_MAX_SESSION]; member in struct:__anon2556 408 /* Pointer to the session in progress*/
|
/external/boringssl/src/ssl/ |
handshake_client.cc | 305 // Do not send a session ID on renegotiation. 442 // If the configured session has expired or was created at a disabled 444 if (ssl->session != NULL) { 445 if (ssl->session->is_server || 446 !ssl_supports_version(hs, ssl->session->ssl_version) || 447 (ssl->session->session_id_length == 0 && 448 ssl->session->tlsext_ticklen == 0) || 449 ssl->session->not_resumable || 450 !ssl_session_is_time_valid(ssl, ssl->session)) { 459 // Initialize a random session ID for the experimental TLS 1.3 varian 1632 SSL_SESSION *session = hs->new_session.get(); local [all...] |
handshake_server.cc | 585 // Determine whether we are doing session resumption. 586 UniquePtr<SSL_SESSION> session; local 589 ssl, &session, &tickets_supported, &renew_ticket, &client_hello); 594 if (session) { 595 if (session->extended_master_secret && !hs->extended_master_secret) { 596 // A ClientHello without EMS that attempts to resume a session with EMS 603 if (!ssl_session_is_resumable(hs, session.get()) || 604 // If the client offers the EMS extension, but the previous session 605 // didn't use it, then negotiate a new session. 606 hs->extended_master_secret != session->extended_master_secret) 725 const SSL_SESSION *session = hs->new_session.get(); local 1467 const SSL_SESSION *session; local [all...] |
ssl_x509.cc | 333 const SSL_SESSION *session) { 334 if (session->x509_peer != NULL) { 335 X509_up_ref(session->x509_peer); 336 new_session->x509_peer = session->x509_peer; 338 if (session->x509_chain != NULL) { 339 new_session->x509_chain = X509_chain_up_ref(session->x509_chain); 348 static void ssl_crypto_x509_session_clear(SSL_SESSION *session) { 349 X509_free(session->x509_peer); 350 session->x509_peer = NULL; 351 sk_X509_pop_free(session->x509_chain, X509_free) 525 SSL_SESSION *session = SSL_get_session(ssl); local 538 SSL_SESSION *session = SSL_get_session(ssl); local 572 SSL_SESSION *session = SSL_get_session(ssl); local 701 SSL_SESSION *session = SSL_get_session(ssl); local [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
ConscryptEngineSocket.java | 241 SSLSession session = engine.getSession(); local 242 if (SSLNullSession.isNullSession(session)) { 254 // Return an invalid session with invalid cipher suite of "SSL_NULL_WITH_NULL_NULL" 255 return session; 257 session = engine.getSession(); 259 return session;
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
ConscryptEngineTest.java | 369 SSLSession session = clientEngine.getSession(); local 370 String cipherSuite = session.getCipherSuite(); 375 assertEquals(cipherSuite, session.getCipherSuite());
|
/external/conscrypt/platform/src/main/java/org/conscrypt/ |
TrustManagerImpl.java | 280 SSLSession session = sslSocket.getHandshakeSession(); local 281 if (session == null) { 282 throw new CertificateException("Not in handshake; no session available"); 284 return session; 290 SSLSession session = null; local 294 session = getHandshakeSessionOrThrow(sslSocket); 297 checkTrusted(chain, authType, session, parameters, true /* client auth */); 303 SSLSession session = engine.getHandshakeSession(); local 304 if (session == null) { 305 throw new CertificateException("Not in handshake; no session available") 332 SSLSession session = null; local 349 SSLSession session = engine.getHandshakeSession(); local [all...] |
/external/curl/lib/vtls/ |
gtls.c | 111 gnutls_session_t session; member in struct:ssl_backend_data 130 * session-specific error variable, and when not set also its own global 133 * Windows builds these callbacks should ideally set the session-specific 289 gnutls_session_t session = BACKEND->session; local 334 rc = gnutls_handshake(session); 338 gnutls_record_get_direction(session)? 346 int alert = gnutls_alert_get(session); 360 int alert = gnutls_alert_get(session); 489 gnutls_session_t session; local 980 gnutls_session_t session = BACKEND->session; local [all...] |
vtls.c | 71 /* convenience macro to check if this handle is using a shared SSL session */ 279 * Lock shared SSL session data 289 * Unlock shared SSL session data 298 * Check if there's a session ID for the given connection in the cache, and if 324 /* session ID re-use is disabled */ 334 check = &data->state.session[i]; 336 /* not session ID means blank entry */ 348 /* yes, we have a session ID! */ 363 * Kill a single session ID entry in the cache. 365 void Curl_ssl_kill_session(struct curl_ssl_session *session) 595 struct curl_ssl_session *session; local [all...] |
/external/libmicrohttpd/src/microspdy/ |
structures.h | 84 * of the connection to stop creating streams on this session. It 112 * the same SPDY session if it decides that that server handles both 126 * of each session, i.e. what is expected to come now, and how it should 132 * The session is in closing state, do not read read anything from 161 * The session is in pre-closing state, do not read read anything 286 * FRAME_TOO_LARGE MUST close the session. 298 * This is a normal session teardown. 364 * discarded by the lib for any reason (e.g., closing session, 446 int (* process_response_handler)(struct SPDY_Session *session); 534 struct SPDY_Session *session; member in struct:SPDYF_Stream [all...] |
/external/libmicrohttpd/src/spdy2http/ |
proxy.c | 368 struct SPDY_Session * session) 374 PRINT_VERBOSE("new session"); 381 SPDY_set_cls_to_session(session, 387 struct SPDY_Session * session, 394 PRINT_VERBOSE2("session closed; by client: %i", by_client); 396 session_alive = SPDY_get_cls_from_session(session); 546 PRINT_VERBOSE("headers received, but session is dead"); 691 PRINT_VERBOSE("data received, but session is dead"); 743 PRINT_VERBOSE("POST is still being sent, but session is dead"); 849 struct SPDY_Session *session; local [all...] |
/external/python/cpython2/Demo/rpc/ |
rpc.py | 40 AUTH_REJECTEDCRED = 2 # client must begin new session 759 self.session(self.sock.accept()) 761 def session(self, connection): member in class:TCPServer 782 # Like session but forks off a subprocess 797 self.session(connection) 812 self.session() 814 def session(self): member in class:UDPServer
|
/external/scapy/scapy/ |
config.py | 350 session : filename where the session will be saved 378 debug_tls:When 1, print some TLS session secrets when they are computed. 381 session = "" variable in class:Conf
|
/external/tensorflow/tensorflow/c/eager/ |
c_api.cc | 88 TF_Session* session = TF_NewSession(graph, &opts->session_options, status); local 90 if (session->device_mgr == nullptr || session->devices.empty()) { 93 "(perhaps the TF_SessionOptions alluded to session execution in a " 102 return new TFE_Context(*opts, session); 111 TF_Graph* graph = ctx->session->graph; 112 TF_DeleteSession(ctx->session, status); 119 return TF_SessionListDevices(ctx->session, status); 192 status->status = ctx->session->device_mgr->LookupDevice(device_name, &dstd); 278 op->ctx->session->device_mgr->LookupDevice(device_name, &d) [all...] |
/external/tensorflow/tensorflow/core/common_runtime/ |
direct_session.cc | 82 VLOG(1) << "Direct session inter op parallelism threads: " << num_threads; 96 // Session-local threadpool. 97 VLOG(1) << "Direct session inter op parallelism threads for pool " 158 Session* NewSession(const SessionOptions& options) override { 171 DirectSession* session = variable 175 sessions_.push_back(session); 177 return session; 186 // session->Close calls the DirectSessionFactory.Deregister, which 191 for (auto session : sessions_to_reset) { 192 s.Update(session->Reset(containers)) [all...] |
/external/tensorflow/tensorflow/tools/benchmark/ |
benchmark_model.cc | 43 #include "tensorflow/core/public/session.h" 52 std::unique_ptr<Session>* session, 63 session->reset(tensorflow::NewSession(options)); 72 s = (*session)->Create(*(graph_def->get())); 74 LOG(ERROR) << "Could not create TensorFlow Session: " << s; 136 const std::set<string>& wanted_shapes, Session* session, 157 session->Run(input_tensors, output_tensor_names, {}, &output_tensors)); 169 Session* session, int64* total_flops 458 std::unique_ptr<Session> session; local [all...] |
/external/wpa_supplicant_8/hs20/server/ |
spp_server.c | 77 debug_print(ctx, 1, "Failed to add session entry into sqlite " 99 debug_print(ctx, 1, "Failed to update session password: %s", 121 "Failed to update session machine_managed: %s", 146 debug_print(ctx, 1, "Failed to add session pps: %s", 169 debug_print(ctx, 1, "Failed to add session devinfo: %s", 193 debug_print(ctx, 1, "Failed to add session devdetail: %s", 218 debug_print(ctx, 1, "Failed to delete session entry from " 462 debug_print(ctx, 1, "DB: Could not find session %s: %s", 2146 char *session; local [all...] |
/frameworks/av/camera/ndk/impl/ |
ACameraDevice.cpp | 102 sp<ACameraCaptureSession> session = mCurrentSession.promote(); local 106 disconnectLocked(session); 162 /*out*/ACameraCaptureSession** session) { 175 // Create new session 178 ALOGE("Fail to create new session. cannot configure streams"); 185 // set new session as current session 189 *session = newSession; 195 sp<ACameraCaptureSession> session, 200 session, cbs, numRequests, requests, captureSequenceId, /*isRepeating*/false) 819 sp<ACameraCaptureSession> session = cbh.mSession; local 1271 sp<ACameraCaptureSession> session = dev->mCurrentSession.promote(); local 1388 sp<ACameraCaptureSession> session = cbh.mSession; local 1450 sp<ACameraCaptureSession> session = cbh.mSession; local [all...] |
/frameworks/av/media/libstagefright/foundation/ |
ANetworkSession.cpp | 45 explicit NetworkThread(ANetworkSession *session); 58 struct ANetworkSession::Session : public RefBase { 73 Session(int32_t sessionID, 99 virtual ~Session(); 130 DISALLOW_EVIL_CONSTRUCTORS(Session); 134 ANetworkSession::NetworkThread::NetworkThread(ANetworkSession *session) 135 : mSession(session) { 149 ANetworkSession::Session::Session( 205 ANetworkSession::Session::~Session() 964 sp<Session> session; local 1166 const sp<Session> session = mSessions.valueAt(index); local 1205 const sp<Session> session = mSessions.valueAt(index); local 1223 const sp<Session> session = mSessions.valueAt(index); local 1252 const sp<Session> &session = mSessions.valueAt(i); local 1312 const sp<Session> &session = mSessions.valueAt(i); local 1391 sp<Session> session = *sessionsToAdd.begin(); local [all...] |