Home
last modified time | relevance | path

Searched refs:ts (Results 1 – 25 of 59) sorted by relevance

123

/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_DicTraverseSession.cpp37 DicTraverseSession *ts = reinterpret_cast<DicTraverseSession *>(traverseSession); in latinime_initDicTraverseSession() local
38 if (!ts) { in latinime_initDicTraverseSession()
44 ts->init(dict, &emptyNgramContext, 0 /* suggestOptions */); in latinime_initDicTraverseSession()
50 ts->init(dict, &ngramContext, 0 /* suggestOptions */); in latinime_initDicTraverseSession()
54 DicTraverseSession *ts = reinterpret_cast<DicTraverseSession *>(traverseSession); in latinime_releaseDicTraverseSession() local
55 DicTraverseSession::releaseSessionInstance(ts); in latinime_releaseDicTraverseSession()
/packages/apps/Nfc/nci/jni/
DIntervalTimer.cpp45 struct itimerspec ts; in set() local
46 ts.it_value.tv_sec = ms / 1000; in set()
47 ts.it_value.tv_nsec = (ms % 1000) * 1000000; in set()
49 ts.it_interval.tv_sec = 0; in set()
50 ts.it_interval.tv_nsec = 0; in set()
52 stat = timer_settime(mTimerId, 0, &ts, 0); in set()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeTrafficSelectorTest.java134 IkeTrafficSelector ts = in testBuildAndEncodeIkeTrafficSelector() local
142 ByteBuffer byteBuffer = ByteBuffer.allocate(ts.selectorLength); in testBuildAndEncodeIkeTrafficSelector()
143 ts.encodeToByteBuffer(byteBuffer); in testBuildAndEncodeIkeTrafficSelector()
179 private static void verifyPersistableBundleEncodeDecodeIsLossless(IkeTrafficSelector ts) { in verifyPersistableBundleEncodeDecodeIsLossless() argument
180 PersistableBundle bundle = ts.toPersistableBundle(); in verifyPersistableBundleEncodeDecodeIsLossless()
182 assertEquals(ts, resultTs); in verifyPersistableBundleEncodeDecodeIsLossless()
282 IkeTrafficSelector ts = in testBuildIkeTrafficSelectorWithInvalidTsType() local
298 IkeTrafficSelector ts = in testBuildIkeTrafficSelectorWithInvalidPortRange() local
315 IkeTrafficSelector ts = in testBuildIkeTrafficSelectorWithMismatchedAddressType() local
331 IkeTrafficSelector ts = in testBuildIkeTrafficSelectorWithInvalidAddressRange() local
/packages/apps/Nfc/nci/jni/extns/pn54x/src/
DphNxpExtns.cpp573 struct timespec ts; in EXTNS_GetPresenceCheckStatus() local
575 clock_gettime(CLOCK_REALTIME, &ts); in EXTNS_GetPresenceCheckStatus()
576 ts.tv_sec += 0; in EXTNS_GetPresenceCheckStatus()
577 ts.tv_nsec += 100 * 1000 * 1000; // 100 milisec in EXTNS_GetPresenceCheckStatus()
578 if (ts.tv_nsec >= 1000 * 1000 * 1000) { in EXTNS_GetPresenceCheckStatus()
579 ts.tv_sec += 1; in EXTNS_GetPresenceCheckStatus()
580 ts.tv_nsec = ts.tv_nsec - (1000 * 1000 * 1000); in EXTNS_GetPresenceCheckStatus()
583 if (sem_timedwait(&gAuthCmdBuf.semPresenceCheck, &ts)) { in EXTNS_GetPresenceCheckStatus()
/packages/modules/StatsD/lib/libstatssocket/
Dstats_buffer_writer.c67 struct timespec ts; in __write_to_stats_daemon() local
79 clock_gettime(CLOCK_REALTIME, &ts); in __write_to_stats_daemon()
83 ts.tv_sec = tv.tv_sec; in __write_to_stats_daemon()
84 ts.tv_nsec = tv.tv_usec * 1000; in __write_to_stats_daemon()
87 int ret = (int)(*statsdLoggerWrite.write)(&ts, vec, nr); in __write_to_stats_daemon()
Dstatsd_writer.c78 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr);
180 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr) { in statsdWrite() argument
216 header.realtime.tv_sec = ts->tv_sec; in statsdWrite()
217 header.realtime.tv_nsec = ts->tv_nsec; in statsdWrite()
Dstatsd_writer.h40 int (*write)(struct timespec* ts, struct iovec* vec, size_t nr);
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeTrafficSelector.java414 public boolean contains(IkeTrafficSelector ts) { in contains() argument
415 if (tsType == ts.tsType in contains()
416 && ipProtocolId == ts.ipProtocolId in contains()
417 && startPort <= ts.startPort in contains()
418 && endPort >= ts.endPort in contains()
419 && compareInetAddressTo(startingAddress, ts.startingAddress) <= 0 in contains()
420 && compareInetAddressTo(endingAddress, ts.endingAddress) >= 0) { in contains()
DTransportModeChildSessionParams.java67 for (IkeTrafficSelector ts : getTsFromPersistableBundle(in, INBOUND_TS_KEY)) { in fromPersistableBundle()
68 builder.addInboundTrafficSelectors(ts); in fromPersistableBundle()
71 for (IkeTrafficSelector ts : getTsFromPersistableBundle(in, OUTBOUND_TS_KEY)) { in fromPersistableBundle()
72 builder.addOutboundTrafficSelectors(ts); in fromPersistableBundle()
DTunnelModeChildSessionParams.java95 for (IkeTrafficSelector ts : getTsFromPersistableBundle(in, INBOUND_TS_KEY)) { in fromPersistableBundle()
96 builder.addInboundTrafficSelectors(ts); in fromPersistableBundle()
99 for (IkeTrafficSelector ts : getTsFromPersistableBundle(in, OUTBOUND_TS_KEY)) { in fromPersistableBundle()
100 builder.addOutboundTrafficSelectors(ts); in fromPersistableBundle()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeTsPayload.java121 for (IkeTrafficSelector ts : trafficSelectors) { in encodeToByteBuffer()
122 ts.encodeToByteBuffer(byteBuffer); in encodeToByteBuffer()
134 for (IkeTrafficSelector ts : trafficSelectors) { in getPayloadLength()
135 len += ts.selectorLength; in getPayloadLength()
/packages/modules/DnsResolver/
Dutil.cpp50 std::string timestampToString(const std::chrono::system_clock::time_point& ts) { in timestampToString() argument
53 const auto time_sec = std::chrono::system_clock::to_time_t(ts); in timestampToString()
56 int ms = duration_cast<milliseconds>(ts.time_since_epoch()).count() % 1000; in timestampToString()
Ddoh.rs166 let mut ts = Duration::from_millis(QUICHE_IDLE_TIMEOUT_MS); in doh_handler() localVariable
192 _ = tokio::time::sleep(ts) => { in doh_handler()
228 ts = conn.timeout().unwrap_or_else(|| Duration::from_millis(QUICHE_IDLE_TIMEOUT_MS)); in doh_handler()
229 info!("next connection timouts {:?}", ts); in doh_handler()
Dutil.h35 std::string timestampToString(const std::chrono::system_clock::time_point& ts);
/packages/modules/NetworkStack/tests/unit/jni/
Dapf_jni.cpp177 apf_header.ts.tv_sec != bpf_header.ts.tv_sec || in com_android_server_ApfTest_compareBpfApf()
178 apf_header.ts.tv_usec != bpf_header.ts.tv_usec || in com_android_server_ApfTest_compareBpfApf()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DExoPlayerExtractorsFactory.java20 import com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory;
21 import com.google.android.exoplayer2.extractor.ts.TsExtractor;
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java239 Long ts = values.getAsLong(BluetoothShare.TIMESTAMP); in insert() local
240 if (ts == null) { in insert()
241 ts = System.currentTimeMillis(); in insert()
243 filteredValues.put(BluetoothShare.TIMESTAMP, ts); in insert()
DBluetoothOppManager.java457 Long ts = System.currentTimeMillis(); in insertMultipleShare() local
474 values.put(BluetoothShare.TIMESTAMP, ts); in insertMultipleShare()
/packages/modules/Wifi/framework/java/android/net/wifi/
DRttManager.java650 public long ts; field in RttManager.RttResult
785 sb.append(", ts=" + mResults[i].ts); in toString()
833 dest.writeLong(result.ts); in writeToParcel()
885 results[i].ts = in.readLong();
998 legacyResults[i].ts = result.getRangingTimestampMillis() * 1000; in startRanging()
1005 legacyResults[i].ts = SystemClock.elapsedRealtime() * 1000; in startRanging()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DFileSourceEventDetector.java30 import com.android.tv.tuner.ts.EventDetector.EventListener;
31 import com.android.tv.tuner.ts.TsParser;
DTunerTsStreamer.java30 import com.android.tv.tuner.ts.EventDetector;
31 import com.android.tv.tuner.ts.EventDetector.EventListener;
DFileTsStreamer.java29 import com.android.tv.tuner.ts.EventDetector.EventListener;
30 import com.android.tv.tuner.ts.TsParser;
DTsDataSourceManager.java24 import com.android.tv.tuner.ts.EventDetector.EventListener;
/packages/services/Car/cpp/bugreport/
Dmain.cpp289 timespec ts = {.tv_sec = timeout_secs, .tv_nsec = 0}; in waitpid_with_timeout() local
290 int ret = TEMP_FAILURE_RETRY(sigtimedwait(&child_mask, nullptr, &ts)); in waitpid_with_timeout()
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...

123