/system/media/audio_utils/tests/ |
D | hal_smoothness_tests.cpp | 83 unsigned int timestamp = 200; in TEST_F() local 87 /* frames_written= */ 1000, timestamp++); in TEST_F() 89 /* frames_written= */ 1000, timestamp++); in TEST_F() 92 /* frames_written= */ 100, timestamp++); in TEST_F() 95 /* frames_written= */ 100, timestamp++); in TEST_F() 98 /* frames_written= */ 100, timestamp++); in TEST_F() 100 /* frames_written= */ 1000, timestamp); in TEST_F() 107 EXPECT_EQ(data.metrics.timestamp, timestamp); in TEST_F() 117 int timestamp = 200; in TEST_F() local 121 /* timestamp */ timestamp++); in TEST_F() [all …]
|
/system/extras/simpleperf/ |
D | RecordFilter.cpp | 33 void Begin(uint64_t timestamp) { in Begin() argument 35 begin_time_ = timestamp; in Begin() 39 bool End(uint64_t timestamp) { in End() argument 41 if (begin_time_ >= timestamp) { in End() 43 << " >= end time " << timestamp; in End() 46 ranges_.emplace_back(begin_time_.value(), timestamp); in End() 61 bool InRange(uint64_t timestamp) const { in InRange() 63 std::pair<uint64_t, uint64_t>(timestamp, 0)); in InRange() 64 if (it != ranges_.end() && it->first == timestamp) { in InRange() 69 if (it->second > timestamp) { in InRange() [all …]
|
D | JITDebugReader.h | 49 uint64_t timestamp; // Monotonic timestamp for the creation of the debug info member 67 JITDebugInfo(pid_t pid, uint64_t timestamp, uint64_t jit_code_addr, uint64_t jit_code_len, in JITDebugInfo() 71 timestamp(timestamp), in JITDebugInfo() 77 JITDebugInfo(pid_t pid, uint64_t timestamp, uint64_t dex_file_offset, in JITDebugInfo() 82 timestamp(timestamp), in JITDebugInfo() 88 bool operator>(const JITDebugInfo& other) const { return timestamp > other.timestamp; } 130 bool FlushDebugInfo(uint64_t timestamp); 157 uint64_t timestamp; // CLOCK_MONOTONIC time of last action member
|
D | MapRecordReader.cpp | 51 bool MapRecordReader::ReadProcessMaps(pid_t pid, uint64_t timestamp) { in ReadProcessMaps() argument 53 return ReadProcessMaps(pid, std::unordered_set<pid_t>(tids.begin(), tids.end()), timestamp); in ReadProcessMaps() 57 uint64_t timestamp) { in ReadProcessMaps() argument 69 map.name, event_id_, timestamp); in ReadProcessMaps() 77 CommRecord record(attr_, pid, pid, process_name, event_id_, timestamp); in ReadProcessMaps() 91 CommRecord comm_record(attr_, pid, tid, name, event_id_, timestamp); in ReadProcessMaps()
|
D | profcollect.cpp | 104 char timestamp[32]; in FileLogger() local 105 strftime(timestamp, sizeof(timestamp), "%m-%d %H:%M:%S", &now); in FileLogger() 107 timestamp, file, line, message); in FileLogger()
|
/system/media/audio_utils/include/audio_utils/ |
D | MelAggregator.h | 35 int64_t timestamp; member 39 int64_t timestamp) in MelRecord() 40 : portId(portId), mels(std::move(mels)), timestamp(timestamp) {} in MelRecord() 43 return timestamp + static_cast<int64_t>(mels.size()) > record.timestamp; in overlapsEnd() 49 const int64_t timestamp; member 57 CsdRecord(int64_t timestamp, in CsdRecord() 61 : timestamp(timestamp), in CsdRecord() 131 std::map<int64_t, CsdRecord>::iterator addNewestCsdRecord_l(int64_t timestamp,
|
D | TimestampVerifier.h | 100 const FrameTime timestamp{frames, timeNs}; in add() 101 if (mCold && (timestamp.mTimeNs == mLastTimestamp.mTimeNs in add() 102 || computeRatio(timestamp, mLastTimestamp, sampleRate) in add() 106 mFirstTimestamp = timestamp; in add() 111 const double jitterMs = computeJitterMs(timestamp, mLastTimestamp, sampleRate); in add() 128 FrameTime correctedTimestamp = timestamp; in add() 158 mLastTimestamp = timestamp; in add()
|
D | hal_smoothness.h | 69 unsigned long timestamp; member 97 unsigned long timestamp);
|
/system/media/audio_utils/ |
D | MelAggregator.cpp | 45 const int64_t maxStart = std::max(v1.timestamp, v2.timestamp); in intersectRegion() 46 const int64_t v1End = v1.timestamp + v1.mels.size(); in intersectRegion() 47 const int64_t v2End = v2.timestamp + v2.mels.size(); in intersectRegion() 70 return {record.timestamp, record.duration, -record.value, record.averageMel}; in createRevertedRecord() 77 return mCsdRecords.rbegin()->second.timestamp + mCsdRecords.rbegin()->second.duration in csdTimeIntervalStored_l() 78 - mCsdRecords.begin()->second.timestamp; in csdTimeIntervalStored_l() 81 std::map<int64_t, CsdRecord>::iterator MelAggregator::addNewestCsdRecord_l(int64_t timestamp, in addNewestCsdRecord_l() argument 88 timestamp, in addNewestCsdRecord_l() 95 timestamp, in addNewestCsdRecord_l() 96 CsdRecord(timestamp, in addNewestCsdRecord_l() [all …]
|
/system/gatekeeper/ |
D | gatekeeper.cpp | 63 uint64_t timestamp = GetMillisecondsSinceBoot(); in Enroll() local 75 if (ThrottleRequest(uid, timestamp, &record, throttle_secure, response)) return; in Enroll() 77 if (!IncrementFailureRecord(uid, user_id, timestamp, &record, throttle_secure)) { in Enroll() 135 uint64_t timestamp = GetMillisecondsSinceBoot(); in Verify() local 147 if (ThrottleRequest(uid, timestamp, &record, throttle_secure, response)) return; in Verify() 149 if (!IncrementFailureRecord(uid, user_id, timestamp, &record, throttle_secure)) { in Verify() 162 response->error = MintAuthToken(&auth_token, timestamp, in Verify() 254 uint64_t timestamp, secure_id_t user_id, secure_id_t authenticator_id, in MintAuthToken() argument 265 token.timestamp = htobe64(timestamp); in MintAuthToken() 272 sizeof(token.timestamp); in MintAuthToken() [all …]
|
/system/security/keystore/tests/ |
D | verification_token_seralization_test.cpp | 34 token.timestamp = 67890; in TEST() 45 ASSERT_EQ(token.timestamp, deserialized.value().timestamp); in TEST() 54 token.timestamp = 67890; in TEST() 62 ASSERT_EQ(token.timestamp, deserialized.value().timestamp); in TEST()
|
D | auth_token_table_test.cpp | 66 uint64_t timestamp = 0) { in make_token() argument 72 token.timestamp = timestamp; in make_token() 387 EXPECT_EQ(1U, found.timestamp); in TEST() 400 EXPECT_EQ(3U, found.timestamp); in TEST() 404 EXPECT_EQ(4U, found.timestamp); in TEST() 422 EXPECT_EQ(5U, found.timestamp); in TEST() 427 EXPECT_EQ(6U, found.timestamp); in TEST() 437 EXPECT_EQ(6U, found.timestamp); in TEST() 447 EXPECT_EQ(6U, found.timestamp); in TEST() 451 EXPECT_EQ(7U, found.timestamp); in TEST() [all …]
|
/system/core/init/ |
D | compare-bootcharts.py | 93 timestamp = int(lines[0]); 98 jiffy_record['1st_timestamp'] = timestamp 101 jiffy_record['2nd_timestamp'] = timestamp 102 value = 200 / (timestamp - 130 process['last_tick'] = timestamp
|
/system/chre/apps/test/common/chre_stress_test/src/ |
D | chre_stress_test_manager.cc | 363 uint64_t timestamp = event->timestamp; in handleAudioDataEvent() local 365 checkTimestamp(timestamp, mPrevAudioEventTimestampMs); in handleAudioDataEvent() 366 mPrevAudioEventTimestampMs = timestamp; in handleAudioDataEvent() 393 uint64_t timestamp = in handleBleAdvertismentEvent() local 394 event->reports[i].timestamp / chre::kOneMillisecondInNanoseconds; in handleBleAdvertismentEvent() 396 checkTimestamp(timestamp, mPrevBleAdTimestampMs); in handleBleAdvertismentEvent() 397 mPrevBleAdTimestampMs = timestamp; in handleBleAdvertismentEvent() 413 void Manager::checkTimestamp(uint64_t timestamp, uint64_t pastTimestamp) { in checkTimestamp() argument 414 if (timestamp < pastTimestamp) { in checkTimestamp() 416 } else if (timestamp == pastTimestamp) { in checkTimestamp() [all …]
|
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/ |
D | adv_report_cache.cc | 46 if (current_time - cache_reports_[index].timestamp > in Refresh() 81 if (event_report.timestamp > cache_report.timestamp) { in Push() 82 cache_report.timestamp = event_report.timestamp; in Push()
|
/system/logging/logcat/tests/ |
D | logcat_benchmark.cpp | 35 class timestamp { in BM_logcat_sorted_order() class 54 explicit timestamp(const char* buffer) { in BM_logcat_sorted_order() function in BM_logcat_sorted_order::timestamp 58 bool operator<(timestamp& T) { in BM_logcat_sorted_order() 92 timestamp next(buffer); in BM_logcat_sorted_order()
|
/system/chre/apps/test/chqts/src/general_test/ |
D | timer_set_test.cc | 79 void TimerSetTest::Stage::processEvent(uint64_t timestamp, TimerSetTest *test) { in processEvent() argument 86 if (timestamp < expectedTime) { in processEvent() 90 if (timestamp > (expectedTime + kOneSecondInNanoseconds)) { in processEvent() 163 uint64_t timestamp = chreGetTime(); in handleEvent() local 180 stage->processEvent(timestamp, this); in handleEvent()
|
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/ |
D | SensorDatapoint.java | 27 public long timestamp; field in SensorDatapoint 35 String str = String.format("<SensorDatapoint timestamp: %d, values: [ ", timestamp); in toString()
|
D | ApSensorDatapoint.java | 34 timestamp = sensorEvent.timestamp; in ApSensorDatapoint()
|
/system/libbase/ |
D | logging_splitters.h | 151 char timestamp[32]; in StderrOutputGenerator() local 152 strftime(timestamp, sizeof(timestamp), "%m-%d %H:%M:%S", &now); in StderrOutputGenerator() 161 severity_char, timestamp, pid, tid, file, line); in StderrOutputGenerator() 164 timestamp, pid, tid); in StderrOutputGenerator()
|
/system/media/alsa_utils/ |
D | alsa_device_proxy.c | 255 uint64_t *frames, struct timespec *timestamp) in proxy_get_presentation_position() argument 271 *timestamp = alsaTs; in proxy_get_presentation_position() 273 clock_gettime(SYSTEM_CLOCK_TYPE, timestamp); in proxy_get_presentation_position() 292 struct timespec timestamp; in proxy_get_capture_position() local 294 && pcm_get_htimestamp(proxy->pcm, &avail, ×tamp) == 0) { in proxy_get_capture_position() 295 if (timestamp.tv_sec == 0 && timestamp.tv_nsec == 0) { in proxy_get_capture_position() 297 clock_gettime(SYSTEM_CLOCK_TYPE, ×tamp); in proxy_get_capture_position() 304 *time = audio_utils_ns_from_timespec(×tamp); in proxy_get_capture_position()
|
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/ |
D | ContextHubGetTimeTestExecutor.java | 82 long timestamp = ByteBuffer.wrap(data) in handleMessageFromNanoApp() local 88 mFirstTimestamp = timestamp; in handleMessageFromNanoApp() 106 long timeDifference = timestamp - mFirstTimestamp; in handleMessageFromNanoApp()
|
/system/extras/ext4_utils/ |
D | mkuserimg_mke2fs.py | 149 if args.timestamp: 150 e2fsdroid_opts += ["-T", args.timestamp] 240 if args.timestamp: 241 mke2fs_env["E2FSPROGS_FAKE_TIME"] = args.timestamp 251 if args.timestamp: 252 e2fsdroid_env["E2FSPROGS_FAKE_TIME"] = args.timestamp
|
/system/chre/core/include/chre/core/ |
D | ble_request_manager.h | 241 BleRequestLog(Nanoseconds timestamp, uint32_t instanceId, bool enable, in BleRequestLog() 243 : timestamp(timestamp), in BleRequestLog() 253 Nanoseconds timestamp; member
|
/system/chre/apps/audio_world/ |
D | audio_world.cc | 111 Milliseconds timestamp = Milliseconds(Nanoseconds(event->timestamp)); in handleAudioDataEvent() local 113 gFirstAudioEventTimestamp = timestamp; in handleAudioDataEvent() 116 Milliseconds adjustedTimestamp = timestamp - gFirstAudioEventTimestamp; in handleAudioDataEvent()
|