/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
TestSSLEnginePair.java | 92 SSLSession session = c.clientContext.createSSLEngine().getSession(); local 94 int packetBufferSize = session.getPacketBufferSize(); 98 int applicationBufferSize = session.getApplicationBufferSize();
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
ServletTest.java | 428 final HttpSession session = request.getSession(); local 446 HttpSession deserializedSession = reserialize(session);
|
/external/kernel-headers/original/uapi/linux/ |
sed-opal.h | 77 struct opal_session_info session; member in struct:opal_user_lr_setup 81 struct opal_session_info session; member in struct:opal_lock_unlock 87 struct opal_session_info session; member in struct:opal_new_pw 94 * Two different users. One in 'session' which we will use 95 * to start the session and new_userr_pw as the user we're
|
/external/libdrm/tests/amdgpu/ |
uvd_enc_tests.c | 51 struct amdgpu_uvd_enc_bo session; member in struct:amdgpu_uvd_enc 81 { "UVD ENC session init", amdgpu_cs_uvd_enc_session_init }, 250 alloc_resource(&enc.session, 128 * 1024, AMDGPU_GEM_DOMAIN_GTT); 251 resources[num_resources++] = enc.session.handle; 285 ib_cpu[len++] = enc.session.addr >> 32; 286 ib_cpu[len++] = enc.session.addr; 368 ib_cpu[len++] = enc.session.addr >> 32; 369 ib_cpu[len++] = enc.session.addr; 475 ib_cpu[len++] = enc.session.addr >> 32; 476 ib_cpu[len++] = enc.session.addr [all...] |
/external/libusb/libusb/os/ |
darwin_usb.h | 122 UInt64 session; member in struct:darwin_cached_device
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/ |
SimpleCompositeCommandHandlerTest.java | 20 import org.mockftpserver.core.session.Session;
41 private Session session;
field in class:SimpleCompositeCommandHandlerTest 53 commandHandler1.handleCommand(command, session);
56 simpleCompositeCommandHandler.handleCommand(command, session);
67 commandHandler1.handleCommand(command, session);
68 commandHandler2.handleCommand(command, session);
71 simpleCompositeCommandHandler.handleCommand(command, session);
72 simpleCompositeCommandHandler.handleCommand(command, session);
[all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/command/ |
SimpleCompositeCommandHandlerTest.java | 28 import org.mockftpserver.core.session.Session;
44 private Session session;
field in class:SimpleCompositeCommandHandlerTest 56 commandHandler1.handleCommand(command, session);
59 simpleCompositeCommandHandler.handleCommand(command, session);
70 commandHandler1.handleCommand(command, session);
71 commandHandler2.handleCommand(command, session);
74 simpleCompositeCommandHandler.handleCommand(command, session);
75 simpleCompositeCommandHandler.handleCommand(command, session);
[all...] |
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
RecordedRequest.java | 60 SSLSession session = sslSocket.getSession(); local 61 sslProtocol = session.getProtocol(); 62 sslCipherSuite = session.getCipherSuite(); 63 sslLocalPrincipal = session.getLocalPrincipal(); 64 sslLocalCertificates = session.getLocalCertificates(); 68 peerPrincipal = session.getPeerPrincipal(); 69 peerCertificates = session.getPeerCertificates();
|
/external/perfetto/src/tracing/api_impl/ |
consumer_api.cc | 217 PERFETTO_ELOG("Tracing session failed"); 337 auto* session = new TracingSession(task_runner_.get(), handle, callback, local 339 sessions_.emplace(handle, std::unique_ptr<TracingSession>(session)); 342 task_runner_->PostTask([session] { session->Initialize(); }); 351 PERFETTO_ELOG("StartTracing(): Invalid tracing session handle"); 354 TracingSession* session = it->second.get(); local 355 task_runner_->PostTask([session] { session->StartTracing(); }); 376 TracingSession* session = it->second.get() local [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
EventReporter.java | 22 public long session; field in class:EventReporter.Event 55 public void addEvent(int eventType, float x, float y, float time, String level, int version, long session) { 62 event.session = session; 93 + "&session=" + event.session);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowPackageInstaller.java | 32 private Map<Integer, PackageInstaller.Session> sessions = new HashMap<>(); 97 protected PackageInstaller.Session openSession(int sessionId) throws IOException { 99 throw new SecurityException("Invalid session Id: " + sessionId); 102 PackageInstaller.Session session = new PackageInstaller.Session(null); local 103 ShadowSession shadowSession = Shadow.extract(session); 105 sessions.put(sessionId, session); 106 return session; 121 * Prefer instead to use the Android APIs to close the session 143 PackageInstaller.Session session = sessions.get(sessionId); local [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
DataUsageController.java | 87 Log.w(TAG, "Failed to open stats session", e); 89 Log.w(TAG, "Failed to open stats session", e); 156 final INetworkStatsSession session = getSession(); local 157 if (session == null) { 158 return warn("no stats session"); 164 mHistory = session.getHistoryForNetwork(template, FIELDS); 166 mHistory = session.getHistoryForUid(template, uId, SET_ALL, 0, FIELDS);
|
/external/tensorflow/tensorflow/c/ |
c_api_internal.h | 42 #include "tensorflow/core/public/session.h" 70 tensorflow::Session* session; member in struct:TF_DeprecatedSession 93 // session has been run (this is detected in RecordMutation function). If the 129 TF_Session(tensorflow::Session* s, TF_Graph* g); 131 tensorflow::Session* session; member in struct:TF_Session 232 bool ExtendSessionGraphHelper(TF_Session* session, TF_Status* status) 233 LOCKS_EXCLUDED(session->graph->mu, session->mu) [all...] |
/external/tensorflow/tensorflow/contrib/session_bundle/ |
signature_test.cc | 31 #include "tensorflow/core/public/session.h" 237 // tensorflow::Session. 238 struct MockSession : public tensorflow::Session { 368 MockSession session; local 369 session.status = errors::DataLoss("Data is gone"); 371 const Status status = RunClassification(signature, input_tensor, &session, 383 MockSession session; local 384 session.outputs = {test::AsTensor<int>({3}), test::AsTensor<int>({4})}; 387 const Status status = RunClassification(signature, input_tensor, &session, 400 MockSession session; local [all...] |
/external/tensorflow/tensorflow/core/distributed_runtime/ |
base_rendezvous_mgr.cc | 152 Status BaseRemoteRendezvous::Initialize(WorkerSession* session) { 153 CHECK_NE(session, nullptr) << "session must not be null!"; 158 if (session_->worker_name == session->worker_name) { 164 session_->worker_name, " -> ", session->worker_name); 168 session_ = session; 177 WorkerSession* BaseRemoteRendezvous::session() { function in class:tensorflow::BaseRemoteRendezvous 207 // Cache session pointer to avoid repeatedly taking & releasing the lock 208 // (e.g. calling session()) 254 WorkerSession* sess = session(); [all...] |
master.cc | 19 // sessions, each session orchestrates both local and remote devices 28 // Each session analyzes the graph, places nodes across available 108 LOG(WARNING) << "GC session " << sess->handle() << " after " 122 MasterSession* session = nullptr; local 125 session = gtl::FindPtrOrNull(sessions_, handle); 126 if (session != nullptr) { 127 session->Ref(); 130 return session; 367 // session uses a client-provided clusterspec or not. 369 // Note: worker_cache_ptr will be null except if this session is using 496 auto session = FindMasterSession(req->session_handle()); local 520 auto session = FindMasterSession(req->session_handle()); local 542 auto session = FindMasterSession(req->session_handle()); local 561 MasterSession* session = nullptr; local 686 auto session = FindMasterSession(req->session_handle()); local 709 auto session = FindMasterSession(req->session_handle()); local 726 auto session = FindMasterSession(req->session_handle()); local [all...] |
worker.cc | 65 std::shared_ptr<WorkerSession> session; local 69 &session); 71 session = env_->session_mgr->LegacySession(); 74 s = session->graph_mgr->Register( 77 request->collective_graph_key(), session->cluster_flr.get(), 86 std::shared_ptr<WorkerSession> session; local 90 &session); 92 session = env_->session_mgr->LegacySession(); 95 s = session->graph_mgr->Deregister(request->graph_handle()); 159 std::shared_ptr<WorkerSession> session; local 269 std::shared_ptr<WorkerSession> session; local [all...] |
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
grpc_session.cc | 47 std::unique_ptr<GrpcSession> session(new GrpcSession(options)); 61 session->SetRemoteMaster(std::move(master)); 62 *out_session = std::move(session); 105 return errors::InvalidArgument("A session is not created yet...."); 116 return errors::InvalidArgument("A session is alive."); 153 // Session was unitialized, so simply initialize the session with 'graph'. 356 LOG(WARNING) << "GrpcSession::ListDevices will initialize the session with " 357 "an empty graph and other defaults because the session has " 466 Session** out_session) override 467 std::unique_ptr<GrpcSession> session; variable [all...] |
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
scoped_allocator_optimizer_test.cc | 31 #include "tensorflow/core/public/session.h" 40 std::unique_ptr<Session> CreateSession(const GraphDef& graph, 45 Session* session = NewSession(options); local 46 TF_CHECK_OK(session->Create(graph)); 47 return std::unique_ptr<Session>(session); 53 std::unique_ptr<tensorflow::Session> session(NewSession(options)); 54 TF_CHECK_OK(session->Create(graph)) [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
remote_fused_graph_execute_op_test.cc | 33 #include "tensorflow/core/public/session.h" 290 // 5.3 Setup session 294 std::unique_ptr<Session> session = local 295 std::unique_ptr<Session>(NewSession(session_options)); 296 Status status = session->Create(fused_graph); 312 status = session->Run(run_options, inputs, outputs, {}, &output_tensors,
|
/external/tensorflow/tensorflow/examples/label_image/ |
main.cc | 58 #include "tensorflow/core/public/session.h" 177 std::unique_ptr<tensorflow::Session> session( 179 TF_RETURN_IF_ERROR(session->Create(graph)); 180 TF_RETURN_IF_ERROR(session->Run({inputs}, {output_name}, {}, out_tensors)); 184 // Reads a model graph definition from disk, and creates a session object you 187 std::unique_ptr<tensorflow::Session>* session) { 195 session->reset(tensorflow::NewSession(tensorflow::SessionOptions())); 196 Status session_create_status = (*session)->Create(graph_def) 324 std::unique_ptr<tensorflow::Session> session; local [all...] |
/external/tensorflow/tensorflow/examples/speech_commands/ |
test_streaming_accuracy.cc | 79 #include "tensorflow/core/public/session.h" 96 // Reads a model graph definition from disk, and creates a session object you 99 std::unique_ptr<tensorflow::Session>* session) { 107 session->reset(tensorflow::NewSession(tensorflow::SessionOptions())); 108 Status session_create_status = (*session)->Create(graph_def); 188 std::unique_ptr<tensorflow::Session> session; local 189 Status load_graph_status = LoadGraph(graph, &session); 256 Status run_status = session->Run({{input_data_name, audio_data_tensor} [all...] |
/external/tensorflow/tensorflow/python/client/ |
session_ref.cc | 32 // Scope helper to track active calls and manage session lifetime. 35 std::shared_ptr<Session> session; member in struct:tensorflow::__anon46363::RunCounter 40 explicit RunCounter(std::shared_ptr<Session> s, uint64* v, mutex* m, 42 : session(std::move(s)), value(v), m(m), cv(cv) { 55 std::string SessionToHandle(Session* session) { 56 return strings::Printf("%llu", reinterpret_cast<uint64>(session)); 59 // The Session interface has many methods of the form: 73 // Run the given session operation, recording start and end timestamps [all...] |
/external/tensorflow/tensorflow/python/debug/wrappers/ |
framework.py | 17 A debug wrapper session is a wrapper around a TensorFlow Python Session. 18 The wrapper preserves the Session interface, most importantly the run() method, 20 a) Intercept a run() call to a wrapped session and insert debug tensor watches 23 b) Release control to an external (i.e., non-Session) object before and after 35 *** The lifetime of a debug wrapper session: *** 37 1) The wrapper session is created by calling the constructor with a 38 wrapped (normal) session as the argument: 45 carries the wrapped (normal) session object. 48 object with an action field, directing the wrapper session what to do next 414 def session(self): member in class:BaseDebugWrapperSession [all...] |
/external/tensorflow/tensorflow/python/training/ |
monitored_session.py | 16 """A wrapper of Session API which runs hooks.""" 98 * `init_feed_dict`: A session feed dictionary that should be used when 102 `init_fn(scaffold, session)`. 120 init_feed_dict: Optional session feed dictionary to use when running the 123 the init_op. Will be called as `init_fn(scaffold, session)`. 293 This op is used during session initialization when a Scaffold is 296 initializes local session resources. 433 For a chief, this utility sets proper session initializer/restorer. It also 435 utility sets proper session creator which waits for the chief to 443 underlying TensorFlow session. If `False`, it will wait on a chief t 816 def session(self): member in class:_MonitoredSession.StepContext [all...] |