/packages/modules/Bluetooth/system/common/ |
D | time_util_unittest.cc | 31 uint64_t t1 = bluetooth::common::time_get_os_boottime_ms(); in TEST() 32 ASSERT_GT(t1, uint64_t(0)); in TEST() 40 uint64_t t1 = bluetooth::common::time_get_os_boottime_us(); in TEST() 41 ASSERT_GT(t1, uint64_t(0)); in TEST() 49 uint64_t t1 = bluetooth::common::time_get_os_monotonic_raw_us(); in TEST() 50 ASSERT_GT(t1, uint64_t(0)); in TEST() 58 uint64_t t1 = bluetooth::common::time_get_os_boottime_ms(); in TEST() 59 uint64_t t2 = bluetooth::common::time_get_os_boottime_ms(); in TEST() 68 uint64_t t1 = bluetooth::common::time_get_os_boottime_us(); in TEST() 69 uint64_t t2 = bluetooth::common::time_get_os_boottime_us(); in TEST() [all …]
|
D | time_util.cc | 28 uint64_t time_get_audio_server_tick_us() { in time_get_audio_server_tick_us() 36 uint64_t time_get_os_boottime_ms() { return time_get_os_boottime_us() / 1000; } in time_get_os_boottime_ms() 38 uint64_t time_get_os_boottime_us() { in time_get_os_boottime_us() 42 return ((uint64_t)ts_now.tv_sec * 1000000L) + in time_get_os_boottime_us() 43 ((uint64_t)ts_now.tv_nsec / 1000); in time_get_os_boottime_us() 46 uint64_t time_gettimeofday_us() { in time_gettimeofday_us() 49 return static_cast<uint64_t>(tv.tv_sec) * 1000000ULL + in time_gettimeofday_us() 50 static_cast<uint64_t>(tv.tv_usec); in time_gettimeofday_us() 53 uint64_t time_get_os_monotonic_raw_us() { in time_get_os_monotonic_raw_us() 57 return ((uint64_t)ts_now.tv_sec * 1000000L) + in time_get_os_monotonic_raw_us() [all …]
|
/packages/modules/adb/ |
D | transfer_id.h | 22 enum class TransferDirection : uint64_t { 29 uint64_t id : 63; 39 constexpr TransferId(TransferDirection direction, uint64_t id) : direction(direction), id(id) {} in TransferId() 43 return static_cast<uint64_t>(*this) == static_cast<uint64_t>(rhs); 46 constexpr explicit operator uint64_t() const { in uint64_t() function 47 return static_cast<uint64_t>(direction) << 63 | id; in uint64_t() 50 static constexpr TransferId read(uint64_t id) { in read() 54 static constexpr TransferId write(uint64_t id) { in write() 58 static constexpr TransferId from_value(uint64_t value) { in from_value() 59 uint64_t mask = static_cast<uint64_t>(1) << 63; in from_value() [all …]
|
/packages/modules/Gki/libkver/include/kver/ |
D | kmi_version.h | 40 uint64_t version() const { return version_; } in version() 41 uint64_t patch_level() const { return patch_level_; } in patch_level() 42 uint64_t android_release() const { return release_; } in android_release() 43 uint64_t generation() const { return gen_; } in generation() 47 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t> tuple() const; 52 uint64_t version_ = 0; 53 uint64_t patch_level_ = 0; 54 uint64_t release_ = 0; 55 uint64_t gen_ = 0;
|
D | kernel_release.h | 47 uint64_t version() const { return kmi_version().version(); } in version() 48 uint64_t patch_level() const { return kmi_version().patch_level(); } in patch_level() 49 uint64_t sub_level() const { return sub_level_; } in sub_level() 50 uint64_t android_release() const { return kmi_version().android_release(); } in android_release() 51 uint64_t generation() const { return kmi_version().generation(); } in generation() 55 std::tuple<uint64_t, uint64_t, uint64_t> kernel_version_tuple() const; 60 uint64_t sub_level_ = 0;
|
/packages/modules/Bluetooth/system/gd/os/fake_timer/ |
D | fake_timerfd.cc | 32 uint64_t trigger_ms; 33 uint64_t period_ms; 37 static uint64_t clock = 0; 38 static uint64_t max_clock = UINT64_MAX; 40 static uint64_t timespec_to_ms(const timespec* t) { in timespec_to_ms() 67 uint64_t trigger_delta_ms = timespec_to_ms(&new_value->it_value); in fake_timerfd_settime() 73 uint64_t period_ms = timespec_to_ms(&new_value->it_interval); in fake_timerfd_settime() 96 static bool fire_next_event(uint64_t new_clock) { in fire_next_event() 97 uint64_t earliest_time = new_clock; in fire_next_event() 122 uint64_t value = 1; in fire_next_event() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/utils/ |
D | ImsMediaEventHandler.h | 37 std::list<uint64_t> mListParamA; 38 std::list<uint64_t> mListParamB; 39 std::list<uint64_t> mListParamC; 53 static void SendEvent(const char* strEventHandlerName, uint32_t event, uint64_t paramA, 54 uint64_t paramB = 0, uint64_t paramC = 0); 58 void AddEvent(uint32_t event, uint64_t paramA, uint64_t paramB, uint64_t paramC); 60 uint32_t event, uint64_t paramA, uint64_t paramB, uint64_t paramC) = 0;
|
/packages/modules/Bluetooth/system/gd/os/linux_generic/ |
D | wakelock_manager.cc | 37 uint64_t now_ms() { in now_ms() 55 uint64_t min_acquired_interval_ms = 0; 56 uint64_t max_acquired_interval_ms = 0; 57 uint64_t last_acquired_interval_ms = 0; 58 uint64_t total_acquired_interval_ms = 0; 59 uint64_t last_acquired_timestamp_ms = 0; 60 uint64_t last_released_timestamp_ms = 0; 61 uint64_t last_reset_timestamp_ms = now_ms(); 88 const uint64_t just_now_ms = now_ms(); in UpdateAcquiredStats() 109 const uint64_t just_now_ms = now_ms(); in UpdateReleasedStats() [all …]
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | ProcDiskStatsCollector.h | 50 uint64_t numReadsCompleted = 0; 51 uint64_t numReadsMerged = 0; 52 uint64_t numKibRead = 0; 53 uint64_t readTimeInMillis = 0; 54 uint64_t numWritesCompleted = 0; 55 uint64_t numWritesMerged = 0; 56 uint64_t numKibWritten = 0; 57 uint64_t writeTimeInMillis = 0; 58 uint64_t totalIoTimeInMillis = 0; 59 uint64_t weightedTotalIoTimeInMillis = 0; [all …]
|
D | UidProcStatsCollector.h | 62 uint64_t majorFaults = 0; 71 uint64_t totalCpuCycles = 0; 72 uint64_t totalMajorFaults = 0; 75 std::unordered_map<pid_t, uint64_t> cpuCyclesByTid = {}; 76 uint64_t rssKb = 0; 81 uint64_t pssKb = 0; 89 uint64_t ussKb = 0; 90 uint64_t swapPssKb = 0; 97 uint64_t cpuCycles = 0; 98 uint64_t totalMajorFaults = 0; [all …]
|
/packages/modules/Bluetooth/system/osi/src/ |
D | wakelock.cc | 64 uint64_t min_acquired_interval_ms; 65 uint64_t max_acquired_interval_ms; 66 uint64_t last_acquired_interval_ms; 67 uint64_t total_acquired_interval_ms; 68 uint64_t last_acquired_timestamp_ms; 69 uint64_t last_released_timestamp_ms; 70 uint64_t last_reset_timestamp_ms; 219 static uint64_t now_ms(void) { in now_ms() 257 const uint64_t just_now_ms = now_ms(); in update_wakelock_acquired_stats() 287 const uint64_t just_now_ms = now_ms(); in update_wakelock_released_stats() [all …]
|
D | alarm.cc | 54 uint64_t total_ms; 55 uint64_t max_ms; 65 uint64_t last_update_ms; 88 uint64_t creation_time_ms; 89 uint64_t period_ms; 90 uint64_t deadline_ms; 91 uint64_t prev_deadline_ms; // Previous deadline - used for accounting of 130 static uint64_t now_ms(void); 131 static void alarm_set_internal(alarm_t* alarm, uint64_t period_ms, 142 static void update_scheduling_stats(alarm_stats_t* stats, uint64_t now_ms, [all …]
|
/packages/modules/Bluetooth/system/stack/include/ |
D | bt_types.h | 162 (u64) = (((uint64_t)(*(p))) + ((((uint64_t)(*((p) + 1)))) << 8) + \ 163 ((((uint64_t)(*((p) + 2)))) << 16) + \ 164 ((((uint64_t)(*((p) + 3)))) << 24) + \ 165 ((((uint64_t)(*((p) + 4)))) << 32) + \ 166 ((((uint64_t)(*((p) + 5)))) << 40) + \ 167 ((((uint64_t)(*((p) + 6)))) << 48) + \ 168 ((((uint64_t)(*((p) + 7)))) << 56)); \ 259 (u64) = ((uint64_t)(*((p) + 7)) + ((uint64_t)(*((p) + 6)) << 8) + \ 260 ((uint64_t)(*((p) + 5)) << 16) + ((uint64_t)(*((p) + 4)) << 24) + \ 261 ((uint64_t)(*((p) + 3)) << 32) + ((uint64_t)(*((p) + 2)) << 40) + \ [all …]
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | controller.h | 133 virtual void SetEventMask(uint64_t event_mask) override; 167 virtual void LeSetEventMask(uint64_t le_event_mask) override; 171 virtual uint64_t GetLeSupportedStates() const override; 175 virtual uint64_t GetControllerLeLocalSupportedFeatures() const override; 206 static constexpr uint64_t kDefaultEventMask = 0x3dbfffffffffffff; 207 static constexpr uint64_t kDefaultLeEventMask = 0x000000074d02fe7f; 208 static constexpr uint64_t kLeCSEventMask = 0x0007f80000000000; 210 static constexpr uint64_t kLeEventMask53 = 0x00000007ffffffff; 211 static constexpr uint64_t kLeEventMask52 = 0x00000003ffffffff; 212 static constexpr uint64_t kLeEventMask51 = 0x0000000000ffffff; [all …]
|
/packages/modules/StatsD/statsd/src/ |
D | hash.cpp | 37 inline uint64_t DecodeFixed64(const char* ptr) { in DecodeFixed64() 38 uint64_t lo = DecodeFixed32(ptr); in DecodeFixed64() 39 uint64_t hi = DecodeFixed32(ptr + 4); in DecodeFixed64() 45 static inline uint64_t ByteAs64(char c) { return static_cast<uint64_t>(c) & 0xff; } in ByteAs64() 91 uint64_t Hash64(const char* data, size_t n, uint64_t seed) { in Hash64() 92 const uint64_t m = 0xc6a4a7935bd1e995; in Hash64() 95 uint64_t h = seed ^ (n * m); in Hash64() 98 uint64_t k = DecodeFixed64(data); in Hash64()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/video/ |
D | VideoManager.h | 42 uint32_t event, uint64_t sessionId, uint64_t paramA, uint64_t paramB); 52 uint32_t event, uint64_t sessionId, uint64_t paramA, uint64_t paramB); 82 uint32_t event, uint64_t sessionId, uint64_t paramA = 0, uint64_t paramB = 0);
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | trie_map.h | 40 const uint64_t mValue; 44 Result(const uint64_t value, const bool isValid, const int nextLevelBitmapEntryIndex) in Result() 66 IterationResult(const TrieMap *const trieMap, const int key, const uint64_t value, in IterationResult() 83 AK_FORCE_INLINE uint64_t value() const { in value() 94 const uint64_t mValue; 135 uint64_t mValue; 165 static const uint64_t MAX_VALUE; 193 bool putRoot(const int key, const uint64_t value) { in putRoot() 197 bool put(const int key, const uint64_t value, const int bitmapEntryIndex); 274 AK_FORCE_INLINE uint64_t getValueOfValueEntry() const { in getValueOfValueEntry() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/audio/ |
D | AudioManager.h | 42 uint32_t event, uint64_t sessionId, uint64_t paramA, uint64_t paramB); 52 uint32_t event, uint64_t sessionId, uint64_t paramA, uint64_t paramB); 75 uint32_t event, uint64_t sessionId, uint64_t paramA, uint64_t paramB);
|
/packages/modules/Bluetooth/system/profile/avrcp/ |
D | media_id_map.h | 34 std::string get_media_id(uint64_t uid) { in get_media_id() 40 uint64_t get_uid(std::string media_id) { in get_uid() 46 uint64_t insert(std::string media_id) { in insert() 51 uint64_t uid = media_id_to_uid_.size() + 1; in insert() 52 media_id_to_uid_.insert(std::pair<std::string, uint64_t>(media_id, uid)); in insert() 53 uid_to_media_id_.insert(std::pair<uint64_t, std::string>(uid, media_id)); in insert() 58 std::map<std::string, uint64_t> media_id_to_uid_; 59 std::map<uint64_t, std::string> uid_to_media_id_;
|
/packages/modules/StatsD/lib/libkll/tests/ |
D | compactor_stack_test.cpp | 62 std::uniform_int_distribution<uint64_t> dis(0, std::numeric_limits<uint64_t>::max()); in TEST_P() 86 std::uniform_int_distribution<uint64_t> dis(0, std::numeric_limits<uint64_t>::max()); in TEST_P() 123 compactor_stack.Add(random_.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_F() 135 compactor_stack.Add(random_.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_F() 149 compactor_stack.Add(random_.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_F() 160 compactor_stack.Add(random_.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_F() 174 compactor_stack.Add(random_.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_F() 198 compactor_stack.Add(random.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_P() 204 uint64_t previous_sampled_item = -1; in TEST_P() 225 uint64_t seed = 3; in TEST_P() [all …]
|
/packages/modules/Connectivity/bpf_progs/ |
D | offload.h | 81 uint64_t rxPackets; 82 uint64_t rxBytes; 83 uint64_t rxErrors; 84 uint64_t txPackets; 85 uint64_t txBytes; 86 uint64_t txErrors; 91 typedef uint64_t TetherLimitValue; // in bytes 131 uint64_t lastUsed; // Kernel updates on each use with bpf_ktime_get_boot_ns() 139 uint64_t src64; // Top 64-bits of the src ip 162 uint64_t last_used; // Kernel updates on each use with bpf_ktime_get_boot_ns()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/ |
D | ImsMediaEventHandler.cpp | 53 uint64_t paramA, uint64_t paramB, uint64_t paramC) in SendEvent() 79 uint32_t event, uint64_t paramA, uint64_t paramB, uint64_t paramC) in AddEvent() 115 uint64_t paramA = mListParamA.front(); in run() 116 uint64_t paramB = mListParamB.front(); in run() 117 uint64_t paramC = mListParamC.front(); in run()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_osi_alarm.h | 79 uint64_t return_value{0}; 80 std::function<uint64_t(const alarm_t* alarm)> body{ 82 uint64_t operator()(const alarm_t* alarm) { return body(alarm); }; in operator() 123 std::function<void(alarm_t* alarm, uint64_t interval_ms, alarm_callback_t cb, 125 body{[](alarm_t* /* alarm */, uint64_t /* interval_ms */, 127 void operator()(alarm_t* alarm, uint64_t interval_ms, alarm_callback_t cb, in operator() 138 std::function<void(alarm_t* alarm, uint64_t interval_ms, alarm_callback_t cb, 140 body{[](alarm_t* /* alarm */, uint64_t /* interval_ms */, 142 void operator()(alarm_t* alarm, uint64_t interval_ms, alarm_callback_t cb, in operator()
|
/packages/modules/DnsResolver/ |
D | util.h | 49 inline uint64_t getApiLevel() { in getApiLevel() 50 uint64_t buildVersionSdk = android::base::GetUintProperty<uint64_t>("ro.build.version.sdk", 0); in getApiLevel() 51 uint64_t buildVersionPreviewSdk = in getApiLevel() 52 android::base::GetUintProperty<uint64_t>("ro.build.version.preview_sdk", 0); in getApiLevel() 53 uint64_t firstApiLevel = in getApiLevel() 54 android::base::GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in getApiLevel()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/ |
D | VideoManager.cpp | 191 "VIDEO_REQUEST_EVENT", nMsg, sessionId, reinterpret_cast<uint64_t>(param)); in sendMessage() 208 "VIDEO_REQUEST_EVENT", nMsg, sessionId, reinterpret_cast<uint64_t>(config)); in sendMessage() 219 "VIDEO_REQUEST_EVENT", nMsg, sessionId, reinterpret_cast<uint64_t>(threshold)); in sendMessage() 231 reinterpret_cast<uint64_t>(surface)); in setPreviewSurface() 238 reinterpret_cast<uint64_t>(surface)); in setDisplaySurface() 242 uint32_t event, uint64_t sessionId, uint64_t paramA, uint64_t paramB) in SendInternalEvent() 258 uint32_t event, uint64_t sessionId, uint64_t paramA, uint64_t paramB) in processEvent() 359 uint32_t event, uint64_t sessionId, uint64_t paramA, uint64_t paramB) in processEvent()
|