Home
last modified time | relevance | path

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

12

/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/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/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/IPsec/src/java/android/net/ipsec/ike/
DIkeTrafficSelector.java371 public boolean contains(IkeTrafficSelector ts) { in contains() argument
372 if (tsType == ts.tsType in contains()
373 && ipProtocolId == ts.ipProtocolId in contains()
374 && startPort <= ts.startPort in contains()
375 && endPort >= ts.endPort in contains()
376 && compareInetAddressTo(startingAddress, ts.startingAddress) <= 0 in contains()
377 && compareInetAddressTo(endingAddress, ts.endingAddress) >= 0) { in contains()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeTrafficSelectorTest.java133 IkeTrafficSelector ts = in testBuildAndEncodeIkeTrafficSelector() local
141 ByteBuffer byteBuffer = ByteBuffer.allocate(ts.selectorLength); in testBuildAndEncodeIkeTrafficSelector()
142 ts.encodeToByteBuffer(byteBuffer); in testBuildAndEncodeIkeTrafficSelector()
265 IkeTrafficSelector ts = in testBuildIkeTrafficSelectorWithInvalidTsType() local
281 IkeTrafficSelector ts = in testBuildIkeTrafficSelectorWithInvalidPortRange() local
298 IkeTrafficSelector ts = in testBuildIkeTrafficSelectorWithMismatchedAddressType() local
314 IkeTrafficSelector ts = in testBuildIkeTrafficSelectorWithInvalidAddressRange() local
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeTsPayload.java122 for (IkeTrafficSelector ts : trafficSelectors) { in encodeToByteBuffer()
123 ts.encodeToByteBuffer(byteBuffer); in encodeToByteBuffer()
135 for (IkeTrafficSelector ts : trafficSelectors) { in getPayloadLength()
136 len += ts.selectorLength; in getPayloadLength()
/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/modules/DnsResolver/
DDnsQueryLog.cpp49 std::string timestampToString(const std::chrono::system_clock::time_point& ts) { in timestampToString() argument
52 const auto time_sec = std::chrono::system_clock::to_time_t(ts); in timestampToString()
55 int ms = duration_cast<milliseconds>(ts.time_since_epoch()).count() % 1000; in timestampToString()
/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()
DTestActivity.java257 Long ts = System.currentTimeMillis();
258 values.put(BluetoothShare.TIMESTAMP, ts);
/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;
DMpegTsPlayer.java34 import com.android.tv.tuner.ts.EventDetector.EventListener;
/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;
DTunerTsStreamerManager.java26 import com.android.tv.tuner.ts.EventDetector.EventListener;
/packages/services/Car/car-bugreportd/
Dmain.cpp288 timespec ts = {.tv_sec = timeout_secs, .tv_nsec = 0}; in waitpid_with_timeout() local
289 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, ...
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunChannelScan.java26 import com.android.tv.tuner.ts.EventDetector.EventListener;
/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/
DEventDetector.java17 package com.android.tv.tuner.ts;
DTsParser.java17 package com.android.tv.tuner.ts;
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DZappingTimeTest.java46 import com.android.tv.tuner.ts.EventDetector.EventListener;
DZappingTimeTestExoV2.java53 import com.android.tv.tuner.ts.EventDetector.EventListener;

12