/external/boringssl/src/ssl/ |
tls13_enc.cc | 63 return init_key_schedule(hs, ssl_session_protocol_version(ssl->session), 64 ssl->session->cipher) && 139 const SSL_SESSION *session = SSL_get_session(ssl); local 140 uint16_t version = ssl_session_protocol_version(session); 150 if (!ssl_cipher_get_evp_aead(&aead, &discard, &discard, session->cipher, 155 const EVP_MD *digest = ssl_session_get_digest(session); 174 SSLAEADContext::Create(direction, session->ssl_version, SSL_is_dtls(ssl), 175 session->cipher, MakeConstSpan(key, key_len), 341 bool tls13_derive_session_psk(SSL_SESSION *session, Span<const uint8_t> nonce) { 342 const EVP_MD *digest = ssl_session_get_digest(session); [all...] |
tls13_server.cc | 157 // Rebase the session timestamp so that it is measured from ticket 162 UniquePtr<SSL_SESSION> session( 164 if (!session) { 168 if (!RAND_bytes((uint8_t *)&session->ticket_age_add, 4)) { 171 session->ticket_age_add_valid = 1; 173 session->ticket_max_early_data = kMaxEarlyDataAccepted; 183 !CBB_add_u32(&body, session->timeout) || 184 !CBB_add_u32(&body, session->ticket_age_add) || 188 !tls13_derive_session_psk(session.get(), nonce) || 189 !ssl_encrypt_ticket(ssl, &ticket, session.get()) | 303 UniquePtr<SSL_SESSION> session; local 369 UniquePtr<SSL_SESSION> session; local [all...] |
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
NativeSslSessionTest.java | 451 NativeSslSession session = local [all...] |
/external/iproute2/ip/ |
ipl2tp.c | 67 unsigned int session:1; member in struct:l2tp_parm 264 printf("Session %u in tunnel %u\n", 266 printf(" Peer session %u, tunnel %u\n", 500 "Usage: ip l2tp add session [ name NAME ]\n" 508 " ip l2tp del session tunnel_id ID session_id ID\n" 510 " ip l2tp show session [ tunnel_id ID ] [ session_id ID ]\n" 700 } else if (strcmp(*argv, "session") == 0) { 701 p->session = 1; 724 if (!p.tunnel && !p.session) 725 missarg("tunnel or session"); [all...] |
/external/kernel-headers/original/uapi/linux/ |
tee.h | 196 * struct tee_ioctl_open_session_arg - Open session argument 201 * @session: [out] Session id 211 __u32 session; member in struct:tee_ioctl_open_session_arg 220 * TEE_IOC_OPEN_SESSION - opens a session to a Trusted Application 233 * @session: [in] Session id 241 __u32 session; member in struct:tee_ioctl_invoke_arg 260 * struct tee_ioctl_cancel_arg - Cancels an open session or invoke ioctl 262 * @session: [in] Session id, if the session is opened, else set to 266 __u32 session; member in struct:tee_ioctl_cancel_arg 280 __u32 session; member in struct:tee_ioctl_close_session_arg [all...] |
/external/tensorflow/tensorflow/cc/training/ |
queue_runner_test.cc | 34 #include "tensorflow/core/public/session.h" 101 std::unique_ptr<Session> BuildSessionAndInitVariable( 104 std::unique_ptr<Session> session(NewSession(options)); 105 TF_CHECK_OK(session->Create(graph_def)); 107 TF_CHECK_OK(session->Run({}, {}, {kAssignOpName}, nullptr)); 108 return session; 113 auto session = BuildSessionAndInitVariable(graph_def); local 120 TF_CHECK_OK(qr->Start(session.get())); 124 TF_EXPECT_OK(session->Run({}, {kSquareOpName}, {}, &outputs)) 131 auto session = BuildSessionAndInitVariable(graph_def); local 151 auto session = BuildSessionAndInitVariable(graph_def); local 166 auto session = BuildSessionAndInitVariable(graph_def); local 334 auto session = BuildSessionAndInitVariable(graph_def); local 395 auto session = BuildSessionAndInitVariable(graph_def); local [all...] |
/external/tensorflow/tensorflow/examples/multibox_detector/ |
main.cc | 37 #include "tensorflow/core/public/session.h" 124 std::unique_ptr<tensorflow::Session> session( 126 TF_RETURN_IF_ERROR(session->Create(graph)); 128 session->Run({}, {output_name, original_name}, {}, out_tensors)); 151 std::unique_ptr<tensorflow::Session> session( 153 TF_RETURN_IF_ERROR(session->Create(graph)); 155 TF_RETURN_IF_ERROR(session->Run({}, {}, {output_name}, &outputs)); 160 // Reads a model graph definition from disk, and creates a session object yo 387 std::unique_ptr<tensorflow::Session> session; local [all...] |
/external/tpm2/ |
SessionProcess.c | 88 SESSION *session = NULL; local 89 // Don't increment lockout unless the handle associated with the session 90 // is DA protected or the session is bound to a DA protected entity. 98 session = SessionGet(sessionHandle); 99 // If the session is bound to lockout, then use that as the relevant 100 // handle. This means that an auth failure with a bound session 103 if(session->attributes.isLockoutBound == SET) 105 if( session->attributes.isDaBound == CLEAR 161 // This function indicates if the entity associated with the handle is the entity, to which this session is bound 571 SESSION *session; local 735 SESSION *session; local 878 SESSION *session; local 1108 SESSION *session = NULL; local 1261 SESSION *session; local 1617 SESSION *session; local 1759 SESSION *session = SessionGet(s_sessionHandles[sessionIndex]); local 1793 SESSION *session; local 1838 SESSION *session = SessionGet(s_sessionHandles[i]); local [all...] |
/external/v8/src/inspector/ |
injected-script.cc | 43 #include "src/inspector/v8-inspector-session-impl.h" 428 // evaluate? Introduce a session id? 429 V8InspectorSessionImpl* session = local 431 if (!session) return Response::InternalError(); 432 Response response = findInjectedScript(session); 498 V8InspectorSessionImpl* session) { 499 return session->findInjectedScript(m_executionContextId, m_injectedScript); 511 V8InspectorSessionImpl* session) { 516 response = session->findInjectedScript(remoteId.get(), injectedScript); 534 V8InspectorSessionImpl* session) { [all...] |
/external/webrtc/webrtc/p2p/client/ |
portallocator_unittest.cc | 179 session_.reset(CreateSession("session", component)); 186 session_.reset(CreateSession("session", content_name, component)); 205 cricket::PortAllocatorSession* session = local 208 session->SignalPortReady.connect(this, 210 session->SignalCandidatesReady.connect(this, 212 session->SignalCandidatesAllocationDone.connect(this, 214 return session; 231 void OnCandidatesAllocationDone(cricket::PortAllocatorSession* session) { 234 if (session == session_.get()) { 391 // Tests that we can init the port allocator and create a session [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 71 DecodeSession *session = (DecodeSession*) decodeSessionMap.getValueAt(i); local 72 FwdLockFile_detach(session->fileDesc); 73 ::close(session->fileDesc); 570 DecodeSession* session = decodeSessionMap.getValue(decryptHandle->decryptId); local 571 if (NULL != session && session->fileDesc > -1) { 572 FwdLockFile_detach(session->fileDesc); 573 ::close(session->fileDesc); 641 DecodeSession* session = decodeSessionMap.getValue(decryptHandle->decryptId); local 642 if (NULL != session && session->fileDesc > -1) 666 DecodeSession* session = decodeSessionMap.getValue(decryptHandle->decryptId); local [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
DrmPlugin.cpp | 26 #include "Session.h" 105 sp<Session> session = mSessionLibrary->createSession(); local 106 std::vector<uint8_t> sessionId = session->sessionId(); 116 sp<Session> session = mSessionLibrary->createSession(); local 117 std::vector<uint8_t> sessionId = session->sessionId(); 130 sp<Session> session = mSessionLibrary->findSession(toVector(sessionId)); local 131 if (session.get()) 162 sp<Session> session = mSessionLibrary->findSession(toVector(scope)); local 240 sp<Session> session = mSessionLibrary->findSession(toVector(scope)); local 376 sp<Session> session = mSessionLibrary->findSession(sid); local 407 sp<Session> session = mSessionLibrary->findSession(sid); local [all...] |
/frameworks/av/media/ndk/ |
NdkMediaDrm.cpp | 242 Vector<uint8_t> session; local 243 status_t status = mObj->mDrm->openSession(DrmPlugin::kSecurityLevelMax, session); 245 mObj->mIds.push_front(session);
|
/frameworks/av/services/soundtrigger/ |
SoundTriggerHwService.cpp | 588 audio_session_t session; local 592 status_t status = AudioSystem::acquireSoundTriggerSession(&session, &ioHandle, &device); 614 sp<Model> model = new Model(*handle, session, ioHandle, device, sound_model->type, 621 AudioSystem::releaseSoundTriggerSession(session); 630 audio_session_t session; local 648 session = model->mCaptureSession; 651 AudioSystem::releaseSoundTriggerSession(session); 902 SoundTriggerHwService::Model::Model(sound_model_handle_t handle, audio_session_t session, 906 mHandle(handle), mState(STATE_IDLE), mCaptureSession(session), [all...] |
/frameworks/base/core/java/android/print/ |
PrinterDiscoverySession.java | 73 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", re) 301 PrinterDiscoverySession session = mWeakSession.get(); local 311 PrinterDiscoverySession session = mWeakSession.get(); local [all...] |
/frameworks/base/media/java/android/media/ |
MediaExtractor.java | 274 private final MediaCas.Session mSession; 276 CasInfo(int systemId, @Nullable MediaCas.Session session) { 278 mSession = session; 291 * Retrieves the {@link MediaCas.Session} associated with a track. The 292 * session is needed to initialize a descrambler in order to decode the 297 * @return a {@link MediaCas.Session} object associated with a track. 299 public MediaCas.Session getSession() { 323 MediaCas.Session session = null local [all...] |
/frameworks/base/media/java/android/media/session/ |
PlaybackState.java | 16 package android.media.session; 54 * Indicates this session supports the stop command. 61 * Indicates this session supports the pause command. 68 * Indicates this session supports the play command. 75 * Indicates this session supports the rewind command. 82 * Indicates this session supports the previous command. 89 * Indicates this session supports the next command. 96 * Indicates this session supports the fast forward command. 103 * Indicates this session supports the set rating command. 110 * Indicates this session supports the seek to command [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
DataUsageController.java | 94 Log.w(TAG, "Failed to open stats session", e); 96 Log.w(TAG, "Failed to open stats session", e); 128 final INetworkStatsSession session = getSession(); local 129 if (session == null) { 130 return warn("no stats session"); 134 final NetworkStatsHistory history = session.getHistoryForNetwork(template, FIELDS);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageManagerShellCommand.java | 2443 PackageInstaller.Session session = null; local 2464 PackageInstaller.Session session = null; local 2484 PackageInstaller.Session session = null; local 2519 PackageInstaller.Session session = null; local [all...] |
/frameworks/base/telecomm/java/android/telecom/Logging/ |
SessionManager.java | 55 public ConcurrentHashMap<Integer, Session> mSessionMapper = new ConcurrentHashMap<>(100); 88 * This method is run when a full Session has completed. 89 * @param sessionName The name of the Session that has completed. 119 * Determines whether or not to start a new session or continue an existing session based on 120 * the {@link Session.Info} info passed into startSession. If info is null, a new Session is 121 * created. This code must be accompanied by endSession() at the end of the Session. 123 public synchronized void startSession(Session.Info info, String shortMethodName, 125 // Start a new session normally if th 406 Session session = entry.getValue(); local [all...] |
/frameworks/support/media/api21/android/support/v4/media/session/ |
MediaSessionCompatApi21.java | 17 package android.support.v4.media.session; 27 import android.media.session.MediaSession; 28 import android.media.session.PlaybackState;
|
/hardware/qcom/audio/voice_processing/ |
voice_processing.c | 47 // Session state 66 struct session_s *session; // session the effect is on member in struct:effect_s 69 // Session context 73 struct effect_s effects[NUM_ID]; // effects in this session 75 int id; // audio session ID 76 int io; // handle of input stream this session is on 166 static void session_set_fx_enabled(struct session_s *session, uint32_t id, bool enabled); 179 session_set_fx_enabled(effect->session, effect->id, false); 209 session_set_fx_enabled(effect->session, effect->id, false) 400 struct session_s *session; local 496 struct session_s *session; local 688 struct session_s *session; local 721 struct session_s *session; local [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
ConvergedImageCaptureCommand.java | 119 try (FrameServer.Session session = mFrameServer.createExclusiveSession()) { 122 waitForAFConvergence(session); 125 waitForAEConvergence(session); 127 captureBurst(session, imageStream, imageExposureUpdatable, imageSaver); 131 // Note that this may still throw if the camera or session is 133 resetRepeating(session); 140 private void waitForAFConvergence(FrameServer.Session session) throws CameraAccessException, 153 session.submitRequest(Arrays.asList(idleBuilder.build()) [all...] |
/packages/apps/Dialer/java/com/android/incallui/callpending/ |
CallPendingActivity.java | 31 import com.android.dialer.enrichedcall.Session; 158 Session session = local 161 if (session == null) { 162 LogUtil.i("CallPendingActivity.createPrimaryInfo", "Null session."); 165 multimediaData = session.getMultimediaData();
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
MailTransport.java | 249 SSLSession session = ssl.getSession(); local 250 if (session == null) { 252 throw new SSLException("Cannot verify SSL socket without session"); 258 if (!HOSTNAME_VERIFIER.verify(hostname, session)) { 261 "Certificate hostname not useable for server: " + session.getPeerPrincipal());
|