/system/gatekeeper/ |
D | gatekeeper.cpp | 50 uint64_t timestamp = GetMillisecondsSinceBoot(); in Enroll() local 62 if (ThrottleRequest(uid, timestamp, &record, throttle_secure, response)) return; in Enroll() 64 if (!IncrementFailureRecord(uid, user_id, timestamp, &record, throttle_secure)) { in Enroll() 122 uint64_t timestamp = GetMillisecondsSinceBoot(); in Verify() local 134 if (ThrottleRequest(uid, timestamp, &record, throttle_secure, response)) return; in Verify() 136 if (!IncrementFailureRecord(uid, user_id, timestamp, &record, throttle_secure)) { in Verify() 149 response->error = MintAuthToken(&auth_token, timestamp, in Verify() 227 uint64_t timestamp, secure_id_t user_id, secure_id_t authenticator_id, in MintAuthToken() argument 238 token.timestamp = htobe64(timestamp); in MintAuthToken() 245 sizeof(token.timestamp); in MintAuthToken() [all …]
|
/system/extras/simpleperf/ |
D | JITDebugReader.h | 46 uint64_t timestamp; // Monotonic timestamp for the creation of the debug info member 63 JITDebugInfo(pid_t pid, uint64_t timestamp, uint64_t jit_code_addr, uint64_t jit_code_len, in JITDebugInfo() 65 : type(JIT_DEBUG_JIT_CODE), pid(pid), timestamp(timestamp), jit_code_addr(jit_code_addr), in JITDebugInfo() 68 JITDebugInfo(pid_t pid, uint64_t timestamp, uint64_t dex_file_offset, in JITDebugInfo() 71 : type(JIT_DEBUG_DEX_FILE), pid(pid), timestamp(timestamp), dex_file_offset(dex_file_offset), in JITDebugInfo() 75 return timestamp > other.timestamp; 108 bool FlushDebugInfo(uint64_t timestamp); 125 uint64_t timestamp; // CLOCK_MONOTONIC time of last action member
|
/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/core/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 | 75 void TimerSetTest::Stage::processEvent(uint64_t timestamp, TimerSetTest *test) { in processEvent() argument 82 if (timestamp < expectedTime) { in processEvent() 86 if (timestamp > (expectedTime + kOneSecondInNanoseconds)) { in processEvent() 159 uint64_t timestamp = chreGetTime(); in handleEvent() local 176 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/media/audio_utils/include/audio_utils/ |
D | TimestampVerifier.h | 92 const FrameTime timestamp{frames, timeNs}; in add() 93 if (mCold && (timestamp.mTimeNs == mLastTimestamp.mTimeNs in add() 94 || computeRatio(timestamp, mLastTimestamp, sampleRate) in add() 98 mFirstTimestamp = timestamp; in add() 103 const double jitterMs = computeJitterMs(timestamp, mLastTimestamp, sampleRate); in add() 120 FrameTime correctedTimestamp = timestamp; in add() 150 mLastTimestamp = timestamp; in add()
|
/system/core/base/ |
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/core/adb/ |
D | adb_trace.cpp | 69 char timestamp[PATH_MAX]; in get_log_file_name() local 70 strftime(timestamp, sizeof(timestamp), "%Y-%m-%d-%H-%M-%S", &now); in get_log_file_name() 72 return android::base::StringPrintf("/data/adb/adb-%s-%d", timestamp, in get_log_file_name()
|
/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()
|
/system/iorap/src/compiler/ |
D | compiler.cc | 190 uint64_t timestamp; member 220 os << "timestamp:" << e.timestamp << ","; in operator <<() 245 std::min(*timestamp_relative_start, packet.timestamp()) : packet.timestamp(); in GetStartTimestamp() 255 std::min(*timestamp_relative_start, event.timestamp()) : event.timestamp(); in GetStartTimestamp() 296 uint64_t timestamp = 0; in SelectPageCacheFtraceEvents() local 306 out.timestamp = timestamp; in SelectPageCacheFtraceEvents() 332 timestamp_relative_start = timestamp_relative_start.value_or(packet.timestamp()); in SelectPageCacheFtraceEvents() 333 timestamp = packet.timestamp(); // XX: should we call 'has_timestamp()' ? in SelectPageCacheFtraceEvents() 335 timestamp = 0; in SelectPageCacheFtraceEvents() 351 timestamp = event.timestamp(); in SelectPageCacheFtraceEvents() [all …]
|
/system/extras/ext4_utils/ |
D | mkuserimg_mke2fs.py | 132 if args.timestamp: 133 e2fsdroid_opts += ["-T", args.timestamp] 223 if args.timestamp: 224 mke2fs_env["E2FSPROGS_FAKE_TIME"] = args.timestamp 234 if args.timestamp: 235 e2fsdroid_env["E2FSPROGS_FAKE_TIME"] = args.timestamp
|
/system/gatekeeper/include/gatekeeper/ |
D | gatekeeper.h | 179 gatekeeper_error_t MintAuthToken(SizedBuffer *auth_token, uint64_t timestamp, 196 bool IncrementFailureRecord(uint32_t uid, secure_id_t user_id, uint64_t timestamp, 207 bool ThrottleRequest(uint32_t uid, uint64_t timestamp,
|
/system/keymaster/ng/ |
D | AndroidKeymaster41Device.cpp | 46 serializableToken.timestamp = verificationToken.timestamp; in deviceLocked()
|
/system/core/adb/daemon/ |
D | file_sync_service.cpp | 269 static bool handle_send_file_compressed(borrowed_fd s, unique_fd fd, uint32_t* timestamp) { in handle_send_file_compressed() argument 278 *timestamp = msg.data.size; in handle_send_file_compressed() 317 static bool handle_send_file_uncompressed(borrowed_fd s, unique_fd fd, uint32_t* timestamp, in handle_send_file_uncompressed() argument 326 *timestamp = msg.data.size; in handle_send_file_uncompressed() 345 static bool handle_send_file(borrowed_fd s, const char* path, uint32_t* timestamp, uid_t uid, in handle_send_file() argument 394 result = handle_send_file_compressed(s, std::move(fd), timestamp); in handle_send_file() 396 result = handle_send_file_uncompressed(s, std::move(fd), timestamp, buffer); in handle_send_file() 448 uint32_t* timestamp, std::vector<char>& buffer) 451 static bool handle_send_link(int s, const std::string& path, uint32_t* timestamp, in handle_send_link() argument 489 *timestamp = msg.data.size; in handle_send_link() [all …]
|
/system/iorap/src/db/ |
D | file_models.cc | 120 uint64_t timestamp) in PerfettoTraceFileModel() argument 121 : FileModelBase{std::move(vcn)}, timestamp_{timestamp} { in PerfettoTraceFileModel() 125 uint64_t timestamp = GetTimeNanoseconds(); in CalculateNewestFilePath() local 126 return PerfettoTraceFileModel{vcn, timestamp}; in CalculateNewestFilePath()
|
/system/chre/platform/slpi/include/chre/platform/slpi/see/ |
D | see_cal_helper.h | 127 float matrix[9], uint8_t accuracy, uint64_t timestamp); 149 uint64_t timestamp; member
|
/system/security/keystore/include/keystore/ |
D | keystore_hidl_support.h | 94 sizeof(token.timestamp) + kHmacSize == in authToken2HidlVec() 106 pos = copy_bytes_to_iterator(token.timestamp, pos); in authToken2HidlVec() 126 sizeof(token.timestamp) + kHmacSize == in hidlVec2Km3AuthToken() 138 pos = copy_bytes_from_iterator(&token.timestamp, pos); in hidlVec2Km3AuthToken()
|
/system/chre/platform/slpi/see/ |
D | see_cal_helper.cc | 62 biasData->header.baseTimestamp = mCalInfo[index].cal.timestamp; in getBias() 143 uint64_t timestamp) { in updateCalibration() argument 165 calData.timestamp = timestamp; in updateCalibration()
|
/system/update_engine/update_manager/ |
D | evaluation_context.cc | 131 bool EvaluationContext::IsWallclockTimeGreaterThan(Time timestamp) { in IsWallclockTimeGreaterThan() argument 133 timestamp, evaluation_start_wallclock_, &reevaluation_time_wallclock_); in IsWallclockTimeGreaterThan() 136 bool EvaluationContext::IsMonotonicTimeGreaterThan(Time timestamp) { in IsMonotonicTimeGreaterThan() argument 138 timestamp, evaluation_start_monotonic_, &reevaluation_time_monotonic_); in IsMonotonicTimeGreaterThan()
|
/system/bt/btif/src/ |
D | btif_a2dp_control.cc | 43 struct timespec timestamp = {}; member 296 uint32_t seconds = delay_report_stats.timestamp.tv_sec; in btif_a2dp_recv_ctrl_data() 300 uint32_t nsec = delay_report_stats.timestamp.tv_nsec; in btif_a2dp_recv_ctrl_data() 431 clock_gettime(CLOCK_MONOTONIC, &delay_report_stats.timestamp); in btif_a2dp_control_log_bytes_read() 443 delay_report_stats.timestamp = {}; in btif_a2dp_control_reset_audio_delay()
|
/system/media/alsa_utils/ |
D | alsa_device_proxy.c | 212 uint64_t *frames, struct timespec *timestamp) in proxy_get_presentation_position() argument 217 && pcm_get_htimestamp(proxy->pcm, &avail, timestamp) == 0) { in proxy_get_presentation_position() 241 struct timespec timestamp; in proxy_get_capture_position() local 244 && pcm_get_htimestamp(proxy->pcm, &avail, ×tamp) == 0) { in proxy_get_capture_position() 251 *time = audio_utils_ns_from_timespec(×tamp); in proxy_get_capture_position()
|