/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 64 JITDebugInfo(pid_t pid, uint64_t timestamp, uint64_t jit_code_addr, uint64_t jit_code_len, in JITDebugInfo() 68 timestamp(timestamp), in JITDebugInfo() 74 JITDebugInfo(pid_t pid, uint64_t timestamp, uint64_t dex_file_offset, in JITDebugInfo() 79 timestamp(timestamp), in JITDebugInfo() 86 return timestamp > other.timestamp; 131 bool FlushDebugInfo(uint64_t timestamp); 153 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/chqts/src/general_test/ |
D | timer_set_test.cc | 71 void TimerSetTest::Stage::processEvent(uint64_t timestamp, TimerSetTest *test) { in processEvent() argument 78 if (timestamp < expectedTime) { in processEvent() 82 if (timestamp > (expectedTime + kOneSecondInNanoseconds)) { in processEvent() 159 uint64_t timestamp = chreGetTime(); in handleEvent() local 176 stage->processEvent(timestamp, this); in handleEvent()
|
/system/chre/apps/audio_world/ |
D | audio_world.cc | 105 Milliseconds timestamp = Milliseconds(Nanoseconds(event->timestamp)); in handleAudioDataEvent() local 107 gFirstAudioEventTimestamp = timestamp; in handleAudioDataEvent() 110 Milliseconds adjustedTimestamp = timestamp - gFirstAudioEventTimestamp; in handleAudioDataEvent()
|
/system/media/audio_utils/include/audio_utils/ |
D | TimestampVerifier.h | 99 const FrameTime timestamp{frames, timeNs}; in add() 100 if (mCold && (timestamp.mTimeNs == mLastTimestamp.mTimeNs in add() 101 || computeRatio(timestamp, mLastTimestamp, sampleRate) in add() 105 mFirstTimestamp = timestamp; in add() 110 const double jitterMs = computeJitterMs(timestamp, mLastTimestamp, sampleRate); in add() 127 FrameTime correctedTimestamp = timestamp; in add() 157 mLastTimestamp = timestamp; in add()
|
/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/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/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/chre/platform/slpi/include/chre/platform/slpi/see/ |
D | see_cal_helper.h | 127 float matrix[9], uint8_t accuracy, uint64_t timestamp); 146 uint64_t timestamp; member
|
/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()
|
D | default_policy.h | 47 void set_last_check_allowed_time(base::Time timestamp) { in set_last_check_allowed_time() argument 48 last_check_allowed_time_ = timestamp; in set_last_check_allowed_time()
|
/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 | 61 biasData->header.baseTimestamp = mCalInfo[index].cal.timestamp; in getBias() 143 uint64_t timestamp) { in updateCalibration() argument 165 calData.timestamp = timestamp; in updateCalibration()
|
/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()
|
/system/bt/audio_bluetooth_hw/ |
D | stream_apis.cc | 52 struct timespec* timestamp = nullptr) { in out_calculate_feeding_delay_ms() argument 53 if (latency_ms == nullptr && frames == nullptr && timestamp == nullptr) { in out_calculate_feeding_delay_ms() 91 if (timestamp != nullptr) { in out_calculate_feeding_delay_ms() 125 if (timestamp != nullptr) { in out_calculate_feeding_delay_ms() 126 *timestamp = absorbed_timestamp; in out_calculate_feeding_delay_ms() 533 int64_t* timestamp) { in out_get_next_write_timestamp() argument 535 *timestamp = 0; in out_get_next_write_timestamp() 537 << ", timestamp=" << *timestamp; in out_get_next_write_timestamp() 600 struct timespec* timestamp) { in out_get_presentation_position() argument 601 if (frames == nullptr || timestamp == nullptr) { in out_get_presentation_position() [all …]
|
/system/bt/stack/btm/ |
D | btm_dev.cc | 84 p_dev_rec->timestamp = btm_cb.dev_rec_count++; in BTM_SecAddDevice() 481 if (p_dev_rec->timestamp < ts_oldest) { in btm_find_oldest_dev_rec() 483 ts_oldest = p_dev_rec->timestamp; in btm_find_oldest_dev_rec() 487 if (p_dev_rec->timestamp < ts_oldest_paired) { in btm_find_oldest_dev_rec() 489 ts_oldest_paired = p_dev_rec->timestamp; in btm_find_oldest_dev_rec() 527 p_dev_rec->timestamp = btm_cb.dev_rec_count++; in btm_sec_allocate_dev_rec()
|
/system/bt/gd/storage/ |
D | storage_module_test.cc | 51 const std::string& timestamp, const std::string& format) { in ParseTimestamp() argument 52 std::istringstream ss(timestamp); in ParseTimestamp() 154 …auto timestamp = config->GetProperty(StorageModule::kInfoSection, StorageModule::kTimeCreatedPrope… in TEST_F() local 155 ASSERT_TRUE(timestamp); in TEST_F() 156 auto file_time = ParseTimestamp(*timestamp, StorageModule::kTimeCreatedFormat); in TEST_F()
|
/system/core/adb/daemon/ |
D | file_sync_service.cpp | 270 static bool handle_send_file_data(borrowed_fd s, unique_fd fd, uint32_t* timestamp, in handle_send_file_data() argument 304 *timestamp = msg.data.size; in handle_send_file_data() 346 static bool handle_send_file(borrowed_fd s, const char* path, uint32_t* timestamp, uid_t uid, in handle_send_file() argument 394 if (!handle_send_file_data(s, std::move(fd), timestamp, compression)) { in handle_send_file() 442 uint32_t* timestamp, std::vector<char>& buffer) 445 static bool handle_send_link(int s, const std::string& path, uint32_t* timestamp, bool dry_run, in handle_send_link() argument 485 *timestamp = msg.data.size; in handle_send_link() 512 uint32_t timestamp; in send_impl() local 514 result = handle_send_link(s, path, ×tamp, dry_run, buffer); in send_impl() 528 result = handle_send_file(s, path.c_str(), ×tamp, uid, gid, capabilities, mode, in send_impl() [all …]
|