Searched refs:duration (Results 1 - 25 of 914) sorted by path

1234567891011>>

/external/apache-http/src/org/apache/http/conn/
H A DManagedClientConnection.java257 * Sets the duration that this connection can remain idle before it is
259 * idle duration must be reset after each request sent over this connection.
264 void setIdleDuration(long duration, TimeUnit unit); argument
/external/apache-http/src/org/apache/http/impl/client/
H A DDefaultRequestDirector.java128 /** The keep-alive duration strategy. */
475 // Set the idle duration of this connection
476 long duration = keepAliveStrategy.getKeepAliveDuration(response, context);
477 managedConn.setIdleDuration(duration, TimeUnit.MILLISECONDS);
/external/apache-http/src/org/apache/http/impl/conn/
H A DAbstractClientConnAdapter.java107 /** The duration this is valid for while idle (in ms). */
108 private volatile long duration; field in class:AbstractClientConnAdapter
126 duration = Long.MAX_VALUE;
137 duration = Long.MAX_VALUE;
360 public void setIdleDuration(long duration, TimeUnit unit) { argument
361 if(duration > 0) {
362 this.duration = unit.toMillis(duration);
364 this.duration = -1;
371 connManager.releaseConnection(this, duration, TimeUni
[all...]
/external/arduino/hardware/arduino/cores/arduino/
H A DTone.cpp52 // > 0 - duration specified
228 // frequency (in hertz) and duration (in milliseconds).
230 void tone(uint8_t _pin, unsigned int frequency, unsigned long duration) argument
337 if (duration > 0)
339 toggle_count = 2 * frequency * duration / 1000;
H A DWProgram.h24 void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0);
/external/blktrace/doc/
H A Dblktrace.tex377 \item You can specify a run-time duration for blktrace via the
/external/bluetooth/bluedroid/bta/dm/
H A Dbta_dm_act.c5196 if ((status = BTM_BleObserve(TRUE, p_data->ble_observe.duration,
H A Dbta_dm_api.c2529 BTA_API extern void BTA_DmBleObserve(BOOLEAN start, UINT8 duration, argument
2542 p_msg->duration = duration;
H A Dbta_dm_int.h541 UINT16 duration; member in struct:__anon511
/external/bluetooth/bluedroid/bta/include/
H A Dbta_api.h285 UINT8 duration; /* Inquiry duration in 1.28 sec units. */ member in struct:__anon678
291 UINT8 intl_duration[4];/*duration array storing the interleave scan's time portions*/
2261 ** duration : Duration of the scan. Continuous scan if 0 is passed
2267 BTA_API extern void BTA_DmBleObserve(BOOLEAN start, UINT8 duration,
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_dm.c2227 inq_params.duration = BTIF_DM_DEFAULT_INQ_MAX_DURATION;
/external/bluetooth/bluedroid/stack/btm/
H A Dbtm_ble_gap.c300 tBTM_STATUS BTM_BleObserve(BOOLEAN start, UINT8 duration, argument
345 if (duration != 0)
347 btu_start_timer (&btm_cb.ble_ctr_cb.obs_timer_ent, BTU_TTYPE_BLE_OBSERVE, duration);
1588 BTM_TRACE_EVENT ("start timer for limited disc mode duration=%d (180 secs)", BTM_BLE_GAP_LIM_TOUT);
1683 ** If the duration is zero, the periodic inquiry mode is cancelled.
1697 tBTM_STATUS btm_ble_start_inquiry (UINT8 mode, UINT8 duration) argument
1731 if (duration != 0)
1734 btu_start_timer (&p_inq->inq_timer_ent, BTU_TTYPE_BLE_INQUIRY, duration);
H A Dbtm_ble_int.h319 extern tBTM_STATUS btm_ble_start_inquiry (UINT8 mode, UINT8 duration);
H A Dbtm_inq.c219 /*** Only check window and duration if mode is connectable ***/
428 ** Output Params: p_window - current inquiry scan duration
453 ** If the duration is zero, the periodic inquiry mode is cancelled.
459 ** duration - length in 1.28 sec intervals (If '0', the inquiry is CANCELLED)
484 p_inqparms->mode, p_inqparms->duration, p_inqparms->max_resps,
502 if (p_inqparms->duration < BTM_MIN_INQUIRY_LEN ||
503 p_inqparms->duration > BTM_MAX_INQUIRY_LENGTH ||
504 min_delay <= p_inqparms->duration ||
656 /*** Only check window and duration if mode is connectable ***/
703 ** Output Params p_window - current page scan duration
[all...]
/external/bluetooth/bluedroid/stack/gap/
H A Dgap_api.c38 ** duration - Amount of time for the duration of an inquiry scan.
44 ** Note: The duration must be less than or equal to
60 UINT16 GAP_SetDiscoverableMode (UINT16 mode, UINT16 duration, UINT16 interval) argument
64 status = BTM_SetDiscoverability(mode, duration, interval);
77 ** Parameters: duration - pointer to the amount of time of an inquiry scan.
91 UINT16 GAP_ReadDiscoverableMode (UINT16 *duration, UINT16 *interval) argument
93 return (BTM_ReadDiscoverability(duration, interval));
106 ** duration - Amount of time for the duration o
128 GAP_SetConnectableMode(UINT16 mode, UINT16 duration, UINT16 interval) argument
223 GAP_ReadConnectableMode(UINT16 *duration, UINT16 *interval) argument
[all...]
/external/bluetooth/bluedroid/stack/hcic/
H A Dhcicmds.c43 BOOLEAN btsnd_hcic_inquiry(const LAP inq_lap, UINT8 duration, UINT8 response_cnt) argument
60 UINT8_TO_STREAM (pp, duration);
87 const LAP inq_lap, UINT8 duration, UINT8 response_cnt)
106 UINT8_TO_STREAM (pp, duration);
86 btsnd_hcic_per_inq_mode(UINT16 max_period, UINT16 min_period, const LAP inq_lap, UINT8 duration, UINT8 response_cnt) argument
/external/bluetooth/bluedroid/stack/include/
H A Dbt_types.h491 UINT32 duration; member in struct:__anon1391
H A Dbtm_api.h580 UINT8 duration; /* duration of the inquiry (1.28 sec increments) */ member in struct:__anon1401
586 UINT8 intl_duration[4]; /*duration array storing the interleave scan's time portions*/
2376 ** Output Params: p_window - current inquiry scan duration
2392 ** If the duration is zero, the periodic inquiry mode is cancelled.
2396 ** duration - length in 1.28 sec intervals (If '0', the inquiry is CANCELLED)
2427 ** duration - length in 1.28 sec intervals (If '0', the inquiry is CANCELLED)
2534 ** Output Params p_window - current page scan duration
H A Dbtm_ble_api.h1066 BTM_API extern tBTM_STATUS BTM_BleObserve(BOOLEAN start, UINT8 duration,
H A Dgap_api.h250 GAP_API extern UINT16 GAP_SetDiscoverableMode (UINT16 mode, UINT16 duration,
264 GAP_API extern UINT16 GAP_ReadDiscoverableMode (UINT16 *duration, UINT16 *interval);
274 ** GAP_ERR_ILL_INQ_TIME if a bad interval or duration was passed
294 ** GAP_ERR_ILL_INQ_TIME if a bad interval or duration was passed
387 GAP_API extern UINT16 GAP_SetConnectableMode (UINT16 mode, UINT16 duration,
400 GAP_API extern UINT16 GAP_ReadConnectableMode (UINT16 *duration, UINT16 *interval);
H A Dhcimsgs.h76 HCI_API extern BOOLEAN btsnd_hcic_inquiry(const LAP inq_lap, UINT8 duration,
94 const LAP inq_lap, UINT8 duration,
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
H A DDHParametersHelper.java52 long duration = end - start;
53 logger.info("Generated safe primes: " + tries + " tries took " + duration + "ms");
/external/chromium-trace/
H A Dscript.js33 openAsyncSlice:function(a,e,f,b,h){e=new tracing.trace_model.AsyncSlice(e,f,tracing.getStringColorId(f),h);e.id=b;e.startThread=a;this.openAsyncSlices||(this.openAsyncSlices={});this.openAsyncSlices[f+":"+b]=e},closeAsyncSlice:function(a,e,f,b){this.openAsyncSlices&&(e=e+":"+f,f=this.openAsyncSlices[e])&&(f.endThread=a,f.duration=b-f.start,f.startThread.asyncSliceGroup.push(f),f.subSlices=[new tracing.trace_model.Slice(f.category,f.title,f.colorId,f.start,f.args,f.duration)],delete this.openAsyncSlices[e])},
49 openAsyncSlice:function(a,c,e,f,b,h){e=this.importer.getOrCreateKernelThread(c+":"+e,f);a=new tracing.trace_model.AsyncSlice(c,h,tracing.getStringColorId(h),a);a.startThread=e.thread;e.openAsyncSlices||(e.openAsyncSlices={});e.openAsyncSlices[b]=a},closeAsyncSlice:function(a,c,e,f,b,h){e=this.importer.getOrCreateKernelThread(c+":"+e,f);e.openAsyncSlices&&(f=e.openAsyncSlices[b])&&(f.duration=a-f.start,f.args=h,f.endThread=e.thread,f.subSlices=[new tracing.trace_model.Slice(c,f.title,f.colorId,f.start,
50 f.args,f.duration)],e.thread.asyncSliceGroup.push(f),delete e.openAsyncSlices[b])},f2fsWriteBeginEvent:function(a,c,e,b,g){var h=/dev = \((\d+,\d+)\), ino = (\d+), pos = (\d+), len = (\d+), flags = (\d+)/.exec(g.details);if(!h)return!1;a=h[1];c=parseInt(h[2]);e=parseInt(h[3]);h=parseInt(h[4]);this.openAsyncSlice(b,"f2fs",g.threadName,g.pid,a+"-"+c+"-"+e+"-"+h,"f2fs_write");return!0},f2fsWriteEndEvent:function(a,c,e,b,g){var h=/dev = \((\d+,\d+)\), ino = (\d+), pos = (\d+), len = (\d+), copied = (\d+)/.exec(g.details);
116 /order=(\d+) may_writepage=\d+ gfp_flags=(.+)/,e=/nr_reclaimed=(\d+)/;d.prototype={__proto__:b.prototype,openAsyncSlice:function(a,c,b,e,d,m){b=this.importer.getOrCreateKernelThread(c+":"+b,e);a=new tracing.trace_model.AsyncSlice(c,m,tracing.getStringColorId(m),a);a.startThread=b.thread;b.openAsyncSlices||(b.openAsyncSlices={});b.openAsyncSlices[d]=a},closeAsyncSlice:function(a,c,b,e,d,m){b=this.importer.getOrCreateKernelThread(c+":"+b,e);b.openAsyncSlices&&(e=b.openAsyncSlices[d])&&(e.duration=a-
117 e.start,e.args=m,e.endThread=b.thread,e.subSlices=[new tracing.trace_model.Slice(c,e.title,e.colorId,e.start,e.args,e.duration)],b.thread.asyncSliceGroup.push(e),delete b.openAsyncSlices[d])},kswapdWake:function(c,e,b,d,l){c=a.exec(l.details);if(!c)return!1;parseInt(c[1]);c=parseInt(c[2]);b=this.importer.getOrCreateKernelThread("kswapd: "+l.threadName,b,b);b.openSliceTS?c>b.order&&(b.order=c):(b.openSliceTS=d,b.order=c);return!0},kswapdSleep:function(a,c,b,e,d){a=this.importer.getOrCreateKernelThread("kswapd: "+
147 this.maxTotal=Math.max(e,this.maxTotal)}}}};d.compare=function(b,a){var c=b.parent.compareTo(a);if(0!=c)return c;c=b.name.localeCompare(a.name);return 0==c?b.tid-a.tid:c};return{Counter:d}});"use strict";base.exportTo("tracing.trace_model",function(){function d(b,a,c,e,f){this.category=b||"";this.title=a;this.colorId=c;this.start=e;this.args=f;this.didNotFinish=!1}d.prototype={selected:!1,duration:0,get end(){return this.start}};return{TraceModelEvent:d}});"use strict";base.require("tracing.trace_model.trace_model_event");
148 base.exportTo("tracing.trace_model",function(){function d(b,a,c,e,f,g){tracing.trace_model.TraceModelEvent.call(this,b,a,c,e,f);void 0!==g&&(this.duration=g)}d.prototype={__proto__:tracing.trace_model.TraceModelEvent.prototype,get end(){return this.start+this.duration}};return{Slice:d}});"use strict";base.require("base.range");base.require("tracing.trace_model.slice");base.require("tracing.trace_model.counter");
183 1]:void 0},endSlice:function(a){if(!this.openSliceCount)throw Error("endSlice called without an open slice");var c=this.openPartialSlices_[this.openSliceCount-1];this.openPartialSlices_.splice(this.openSliceCount-1,1);if(a<c.start)throw Error("Slice "+c.title+" end time is before its start.");c.duration
[all...]
/external/chromium-trace/trace-viewer/src/base/
H A Dunittest.js46 duration: 0.0
111 this.stats_.duration += suite.duration;
144 ' in ' + this.stats_.duration + 'ms.';
210 get duration() {
/external/chromium-trace/trace-viewer/src/tracing/analysis/
H A Danalyze_slices.js24 results.appendSummaryRowTime(table, 'Duration', slice.duration);
49 // compute total sliceHits duration
73 var duration = 0;
82 duration += slice.duration;
87 min = Math.min(slice.duration, min);
88 max = Math.max(slice.duration, max);
91 totalDuration += duration;
95 avg = duration / sliceHitGroup.hits.length;
108 statistics.avg - sliceHitGroup.hits[i].slice.duration;
[all...]

Completed in 1519 milliseconds

1234567891011>>