| /external/tensorflow/tensorflow/core/profiler/internal/ |
| tfprof_timeline.cc | 45 int64 tid, int64 ts) { 52 event["ts"] = Json::Value(ts); 67 void ChromeTraceFormatter::EmitRegion(int64 ts, int64 duration, int64 pid, 70 Json::Value event = CreateEvent("X", category, name, pid, tid, ts); 76 void ChromeTraceFormatter::EmitFlowStart(const string& name, int64 ts, 78 Json::Value event = CreateEvent("s", "DataFlow", name, pid, tid, ts); 83 void ChromeTraceFormatter::EmitFlowEnd(const string& name, int64 ts, int64 pid, 85 Json::Value event = CreateEvent("t", "DataFlow", name, pid, tid, ts); 91 const string& category, const string& name, int64 pid, int64 ts, 285 int64 ts = alloc.first; local [all...] |
| /external/walt/android/WALT/app/src/main/jni/ |
| sync_clock.c | 62 struct timespec ts; local 63 clock_gettime(CLOCK_MONOTONIC, &ts); 64 return ((int64_t)ts.tv_sec) * kMillion + ts.tv_nsec / 1000; 70 struct timespec ts; local 71 ts.tv_sec = us / kMillion; 73 ts.tv_nsec = us*1000; 74 return nanosleep(&ts, NULL);
|
| /external/webrtc/webrtc/base/ |
| timeutils.cc | 51 struct timespec ts; local 54 clock_gettime(CLOCK_MONOTONIC, &ts); 55 ticks = kNumNanosecsPerSec * static_cast<int64_t>(ts.tv_sec) + 56 static_cast<int64_t>(ts.tv_nsec); 196 int64_t TimestampWrapAroundHandler::Unwrap(uint32_t ts) { 197 if (ts < last_ts_) { 198 if (last_ts_ > 0xf0000000 && ts < 0x0fffffff) { 202 last_ts_ = ts; 203 int64_t unwrapped_ts = ts + (num_wrap_ << 32);
|
| /external/webrtc/webrtc/modules/audio_coding/neteq/ |
| packet_buffer_unittest.cc | 28 PacketGenerator(uint16_t seq_no, uint32_t ts, uint8_t pt, int frame_size); 30 void Reset(uint16_t seq_no, uint32_t ts, uint8_t pt, int frame_size); 39 PacketGenerator::PacketGenerator(uint16_t seq_no, uint32_t ts, uint8_t pt, 41 Reset(seq_no, ts, pt, frame_size); 44 void PacketGenerator::Reset(uint16_t seq_no, uint32_t ts, uint8_t pt, 47 ts_ = ts; 311 uint32_t ts; local 312 EXPECT_EQ(PacketBuffer::kOK, buffer.NextTimestamp(&ts)); 313 EXPECT_EQ(current_ts, ts); 437 Packet* a = gen.NextPacket(10); // SN = 0, TS = 0 [all...] |
| /external/webrtc/webrtc/modules/audio_coding/test/ |
| insert_packet_with_timing.cc | 168 uint32_t ts = SendTimestamp(); local 171 channel_->set_send_timestamp(ts); 181 << " timestamp " << ts << std::endl; 184 << " timestamp " << ts << std::endl;
|
| /frameworks/av/media/libstagefright/ |
| AudioSource.cpp | 326 ExtendedTimestamp ts; local 330 if (mRecord->getTimestamp(&ts) == OK && 331 ts.getBestTimestamp(&position, &timeNs, ExtendedTimestamp::TIMEBASE_MONOTONIC,
|
| /frameworks/base/services/core/java/com/android/server/job/controllers/ |
| BatteryController.java | 90 final JobStatus ts = mTrackedTasks.valueAt(i); local 91 boolean previous = ts.setChargingConstraintSatisfied(stablePower); 95 previous = ts.setBatteryNotLowConstraintSatisfied(batteryNotLow);
|
| StorageController.java | 83 final JobStatus ts = mTrackedTasks.valueAt(i); local 84 boolean previous = ts.setStorageNotLowConstraintSatisfied(storageNotLow);
|
| /frameworks/base/services/core/java/com/android/server/notification/ |
| ZenModeFiltering.java | 75 pw.println(ts(REPEAT_CALLERS.mCalls.valueAt(i))); method 81 private static String ts(long time) { method in class:ZenModeFiltering
|
| /frameworks/base/services/core/jni/ |
| com_android_server_AlarmManagerService.cpp | 81 int set(int type, struct timespec *ts); 101 int AlarmImpl::set(int type, struct timespec *ts) 108 if (!ts->tv_nsec && !ts->tv_sec) { 109 ts->tv_nsec = 1; 116 memcpy(&spec.it_value, ts, sizeof(spec.it_value)); 391 struct timespec ts; local 392 ts.tv_sec = seconds; 393 ts.tv_nsec = nanoseconds; 395 const int result = impl->set(type, &ts); [all...] |
| /frameworks/base/tests/net/java/com/android/server/connectivity/ |
| NetdEventListenerServiceTest.java | 133 long ts = now + 10; local 134 wakeupEvent(iface, uid, 0x800, 6, mac, srcIp, dstIp, 23, 24, ts);
|
| /frameworks/native/cmds/dumpstate/ |
| DumpstateUtil.cpp | 56 timespec ts; local 57 ts.tv_sec = MSEC_TO_SEC(timeout_ms); 58 ts.tv_nsec = (timeout_ms % 1000) * 1000000; 59 int ret = TEMP_FAILURE_RETRY(sigtimedwait(&child_mask, NULL, &ts));
|
| /frameworks/native/libs/binder/ |
| BufferedTextOutput.cpp | 96 ThreadState* ts = (ThreadState*) thread_store_get( &tls ); local 97 if (ts) return ts; 98 ts = new ThreadState; 99 thread_store_set( &tls, ts, threadDestructor ); 100 return ts; 267 ThreadState* ts = getThreadState(); local 268 if (ts) { 269 while (ts->states.size() <= (size_t)mIndex) ts->states.add(NULL) [all...] |
| /hardware/google/av/media/sfplugin/tests/ |
| MediaCodec_sanity_test.cpp | 240 int64_t ts; local 245 status_t err = codec->dequeueOutputBuffer(&ix, &offset, &size, &ts, &flags, 1000000); 322 int64_t ts; local 327 status_t err = codec->dequeueOutputBuffer(&ix, &offset, &size, &ts, &flags, 1000000);
|
| /hardware/intel/common/utils/ituxd/src/com/intel/thermal/ |
| VirtualThermalZone.java | 84 ThermalSensor ts = getThermalSensorList().get(0); local 85 ThermalSensorAttrib sa = mThermalSensorsAttribMap.get(ts.getSensorName()); 115 ThermalSensor ts = list.get(0); local 116 weightedTemp = getWeightedTemp(ts, ts.readSensorTemp()); 122 for (ThermalSensor ts : list) { 123 if (ts != null && ts.getSensorActiveStatus()) { 124 weightedTemp = getWeightedTemp(ts, ts.readSensorTemp()) [all...] |
| /hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
| and_constructor.c | 112 inv_time_t ts; local 147 r = fread(&ts, sizeof(ts), 1, inv_construct.file); 148 inv_build_gyro(gyro, ts); 150 gyro[0], gyro[1], gyro[2], ts); 156 r = fread(&ts, sizeof(ts), 1, inv_construct.file); 158 inv_build_accel(accel, 0, ts); 160 buffer[0], buffer[1], buffer[2], ts); 167 r = fread(&ts, sizeof(ts), 1, inv_construct.file) [all...] |
| /hardware/libhardware/modules/camera/3_0/ |
| Camera.cpp | 453 struct timespec ts; local 459 res = clock_gettime(CLOCK_BOOTTIME, &ts); 461 timestamp = ts.tv_sec * 1000000000ULL + ts.tv_nsec;
|
| /hardware/libhardware/modules/usbcamera/ |
| Camera.cpp | 462 struct timespec ts; local 468 res = clock_gettime(CLOCK_BOOTTIME, &ts); 470 timestamp = ts.tv_sec * 1000000000ULL + ts.tv_nsec;
|
| /hardware/ril/libril/ |
| ril_event.cpp | 98 struct timespec ts; local 99 clock_gettime(CLOCK_MONOTONIC, &ts); 100 tv->tv_sec = ts.tv_sec; 101 tv->tv_usec = ts.tv_nsec/1000;
|
| /libcore/ojluni/src/main/java/java/sql/ |
| Timestamp.java | 395 * @param ts the <code>Timestamp</code> value to compare with 400 public boolean equals(Timestamp ts) { 401 if (super.equals(ts)) { 402 if (nanos == ts.nanos) { 424 * @param ts the <code>Object</code> value to compare with 430 public boolean equals(java.lang.Object ts) { 431 if (ts instanceof Timestamp) { 432 return this.equals((Timestamp)ts); 442 * @param ts the <code>Timestamp</code> value to compare with 446 public boolean before(Timestamp ts) { 513 Timestamp ts = new Timestamp(o.getTime()); local [all...] |
| /libcore/ojluni/src/main/java/sun/util/locale/ |
| BaseLocale.java | 257 String ts = this.scrt.get(); local 259 if (ts != null && os != null && 260 LocaleUtils.caseIgnoreMatch(os, ts)) {
|
| /packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
| BluetoothOppProvider.java | 239 Long ts = values.getAsLong(BluetoothShare.TIMESTAMP); local 240 if (ts == null) { 241 ts = System.currentTimeMillis(); 243 filteredValues.put(BluetoothShare.TIMESTAMP, ts);
|
| /system/bt/osi/src/ |
| wakelock.cc | 228 struct timespec ts; local 229 if (clock_gettime(CLOCK_ID, &ts) == -1) { 235 return (ts.tv_sec * 1000LL) + (ts.tv_nsec / 1000000LL);
|
| /system/core/liblog/ |
| logger_write.c | 247 struct timespec ts; local 259 clock_gettime(android_log_clockid(), &ts); local 354 /* simulate clock_gettime(CLOCK_REALTIME, &ts); */ 358 ts.tv_sec = tv.tv_sec; 359 ts.tv_nsec = tv.tv_usec * 1000; 368 retval = (*node->write)(log_id, &ts, vec, nr); 377 (void)(*node->write)(log_id, &ts, vec, nr);
|
| /system/libhwbinder/ |
| BufferedTextOutput.cpp | 100 ThreadState* ts = (ThreadState*) thread_store_get( &tls ); local 101 if (ts) return ts; 102 ts = new ThreadState; 103 thread_store_set( &tls, ts, threadDestructor ); 104 return ts; 266 ThreadState* ts = getThreadState(); local 267 if (ts) { 268 while (ts->states.size() <= (size_t)mIndex) ts->states.add(NULL) [all...] |