Home
last modified time | relevance | path

Searched refs:keepAlive (Results 1 – 25 of 31) sorted by relevance

12

/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/schedulers/
Drx-newthread.hpp70 auto keepAlive = state; in new_worker() local
72 state->lifetime.add([keepAlive](){ in new_worker()
73 std::unique_lock<std::mutex> guard(keepAlive->lock); in new_worker()
74 auto expired = std::move(keepAlive->q); in new_worker()
75 keepAlive->q = new_worker_state::queue_item_time{}; in new_worker()
76 if (!keepAlive->q.empty()) std::terminate(); in new_worker()
77 keepAlive->wake.notify_one(); in new_worker()
79 … if (keepAlive->worker.joinable() && keepAlive->worker.get_id() != std::this_thread::get_id()) { in new_worker()
81 keepAlive->worker.join(); in new_worker()
84 keepAlive->worker.detach(); in new_worker()
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-ref_count.hpp150 auto keepAlive = state; in on_subscribe() local
153 [keepAlive](){ in on_subscribe()
154 std::unique_lock<std::mutex> guard_unsubscribe(keepAlive->lock); in on_subscribe()
155 if (--keepAlive->subscribers == 0) { in on_subscribe()
156 keepAlive->connection.unsubscribe(); in on_subscribe()
157 keepAlive->connection = composite_subscription(); in on_subscribe()
160 keepAlive->subscribe(std::forward<Subscriber>(o)); in on_subscribe()
162 keepAlive->connectable.connect(keepAlive->connection); in on_subscribe()
Drx-observe_on.hpp126 auto keepAlive = this->shared_from_this(); in ensure_processing() local
128 auto drain = [keepAlive, this](const rxsc::schedulable& self){ in ensure_processing()
210 auto keepAlive = o.state; in make() local
212 std::unique_lock<std::mutex> guard(keepAlive->lock); in make()
213 keepAlive->ensure_processing(guard); in make()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DRedrawer.java21 private boolean keepAlive; field in Redrawer
67 keepAlive = false; in finish()
73 keepAlive = true; in run()
75 while(keepAlive) { in run()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/subjects/
Drx-behavior.hpp93 auto keepAlive = s; in get_observable() local
95 if (keepAlive.get_subscription().is_subscribed()) { in get_observable()
98 keepAlive.add(s.get_subscriber(), std::move(o)); in get_observable()
Drx-synchronize.hpp56 auto keepAlive = this->shared_from_this(); in ensure_processing() local
58 auto drain_queue = [keepAlive, this](const rxsc::schedulable& self){ in ensure_processing()
183 auto keepAlive = s; in get_observable() local
185 keepAlive.add(keepAlive.get_subscriber(), std::move(o)); in get_observable()
Drx-replaysubject.hpp171 auto keepAlive = s; in get_observable() local
176 keepAlive.add(keepAlive.get_subscriber(), std::move(o)); in get_observable()
Drx-subject.hpp266 auto keepAlive = s; in get_observable() local
268 keepAlive.add(keepAlive.get_subscriber(), std::move(o)); in get_observable()
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioTrack.java56 private volatile boolean keepAlive = true; field in WebRtcAudioTrack.AudioTrackThread
83 while (keepAlive) { in run()
101 keepAlive = false; in run()
133 keepAlive = false; in joinThread()
DWebRtcAudioRecord.java64 private volatile boolean keepAlive = true; field in WebRtcAudioRecord.AudioRecordThread
78 while (keepAlive) { in run()
85 keepAlive = false; in run()
105 keepAlive = false; in joinThread()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DConnectionPool.java67 String keepAlive = System.getProperty("http.keepAlive");
73 if (keepAlive != null && !Boolean.parseBoolean(keepAlive)) {
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DConnectionPool.java64 String keepAlive = System.getProperty("http.keepAlive");
70 if (keepAlive != null && !Boolean.parseBoolean(keepAlive)) {
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/executor/
DFifoPriorityThreadPoolExecutor.java30 …public FifoPriorityThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAlive, TimeU… in FifoPriorityThreadPoolExecutor() argument
32 …super(corePoolSize, maximumPoolSize, keepAlive, timeUnit, new PriorityBlockingQueue<Runnable>(), t… in FifoPriorityThreadPoolExecutor()
/external/syzkaller/pkg/rpctype/
Drpc.go106 func setupKeepAlive(conn net.Conn, keepAlive time.Duration) {
108 conn.(*net.TCPConn).SetKeepAlivePeriod(keepAlive)
/external/apache-http/src/org/apache/http/
DConnectionReuseStrategy.java78 boolean keepAlive(HttpResponse response, HttpContext context); in keepAlive() method
/external/apache-http/src/org/apache/http/impl/
DNoConnectionReuseStrategy.java59 public boolean keepAlive(final HttpResponse response, final HttpContext context) { in keepAlive() method in NoConnectionReuseStrategy
DDefaultConnectionReuseStrategy.java83 public boolean keepAlive(final HttpResponse response, in keepAlive() method in DefaultConnectionReuseStrategy
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DDelegatingSSLSocket.java180 @Override public void setKeepAlive(boolean keepAlive) throws SocketException { in setKeepAlive() argument
181 delegate.setKeepAlive(keepAlive); in setKeepAlive()
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java833 …boolean keepAlive = protocolVersion.equals("HTTP/1.1") && (connection == null || !connection.match… in execute()
851 r.setKeepAlive(keepAlive); in execute()
854 if (!keepAlive || "close".equalsIgnoreCase(r.getHeader("connection"))) { in execute()
1305 private boolean keepAlive; field in NanoHTTPD.Response
1321 keepAlive = true; in Response()
1368 this.keepAlive = useKeepAlive;
1410 pw.print("Connection: " + (this.keepAlive ? "keep-alive" : "close") + "\r\n");
/external/apache-http/android/src/android/net/http/
DConnection.java514 private boolean keepAlive(HttpEntity entity, in keepAlive() method in Connection
543 mCanPersist = keepAlive(entity, ver, connType, mHttpContext); in setCanPersist()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/
Drx-scheduler.hpp848 auto keepAlive = *this; in schedule_periodically_rebind() local
850 auto activity = make_schedulable(scbl, keepAlive, std::forward<ArgN>(an)...); in schedule_periodically_rebind()
853 [keepAlive, target, period, activity](schedulable self) { in schedule_periodically_rebind()
Drx-subscription.hpp182 auto keepAlive = state; in unsubscribe() local
/external/apache-http/src/org/apache/http/protocol/
DHttpService.java217 if (!this.connStrategy.keepAlive(response, context)) { in handleRequest()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DDefaultRequestDirector.java533 reuse = reuseStrategy.keepAlive(response, context); in execute()
815 if (this.reuseStrategy.keepAlive(response, context)) { in createTunnelToTarget()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultRequestDirector.java482 reuse = reuseStrategy.keepAlive(response, context); in execute()
783 if (this.reuseStrategy.keepAlive(response, context)) { in createTunnelToTarget()

12