/system/bt/embdrv/sbc/encoder/srce/ |
D | sbc_analysis.c | 511 s64Temp = (int64_t)WIND_8_SUBBANDS_0_1 * \ 512 (int64_t)(s16X[ChOffset + 16] - s16X[ChOffset + 64]); \ 513 s64Temp += (int64_t)WIND_8_SUBBANDS_0_2 * \ 514 (int64_t)(s16X[ChOffset + 32] - s16X[ChOffset + 48]); \ 519 s64Temp = (int64_t)WIND_8_SUBBANDS_1_0 * (int64_t)s16X[ChOffset + 1]; \ 521 (int64_t)WIND_8_SUBBANDS_1_0 * (int64_t)s16X[ChOffset + 64 + 15]; \ 523 (int64_t)WIND_8_SUBBANDS_1_1 * (int64_t)s16X[ChOffset + 16 + 1]; \ 525 (int64_t)WIND_8_SUBBANDS_1_1 * (int64_t)s16X[ChOffset + 48 + 15]; \ 527 (int64_t)WIND_8_SUBBANDS_1_2 * (int64_t)s16X[ChOffset + 32 + 1]; \ 529 (int64_t)WIND_8_SUBBANDS_1_2 * (int64_t)s16X[ChOffset + 32 + 15]; \ [all …]
|
/system/bt/service/common/bluetooth/ |
D | a2dp_codec_config.h | 30 int64_t codec_specific_1, int64_t codec_specific_2, 31 int64_t codec_specific_3, int64_t codec_specific_4); 39 int64_t codec_specific_1() const { return codec_specific_1_; } in codec_specific_1() 40 int64_t codec_specific_2() const { return codec_specific_2_; } in codec_specific_2() 41 int64_t codec_specific_3() const { return codec_specific_3_; } in codec_specific_3() 42 int64_t codec_specific_4() const { return codec_specific_4_; } in codec_specific_4() 50 int64_t codec_specific_1_ = 0; 51 int64_t codec_specific_2_ = 0; 52 int64_t codec_specific_3_ = 0; 53 int64_t codec_specific_4_ = 0;
|
D | a2dp_codec_config.cc | 25 int channel_mode, int64_t codec_specific_1, in A2dpCodecConfig() 26 int64_t codec_specific_2, in A2dpCodecConfig() 27 int64_t codec_specific_3, in A2dpCodecConfig() 28 int64_t codec_specific_4) in A2dpCodecConfig()
|
/system/netd/server/ |
D | BandwidthController.h | 41 int setInterfaceSharedQuota(const std::string& iface, int64_t bytes); 42 int getInterfaceSharedQuota(int64_t *bytes); 45 int setInterfaceQuota(const std::string& iface, int64_t bytes); 46 int getInterfaceQuota(const std::string& iface, int64_t* bytes); 60 int setGlobalAlert(int64_t bytes); 65 int setSharedAlert(int64_t bytes); 68 int setInterfaceAlert(const std::string& iface, int64_t bytes); 83 int64_t quota; 84 int64_t alert; 102 int runIptablesAlertCmd(IptOp op, const std::string& alertName, int64_t bytes); [all …]
|
D | TetherController.h | 111 int setTetherOffloadInterfaceQuota(int ifIndex, int64_t maxBytes); 117 int64_t rxB, int64_t rxP, in TetherStats() 118 int64_t txB, int64_t txP) in TetherStats() 124 int64_t rxBytes = -1; 125 int64_t rxPackets = -1; 126 int64_t txBytes = -1; 127 int64_t txPackets = -1; 143 int64_t rxBytes; 144 int64_t rxPackets; 145 int64_t txBytes; [all …]
|
/system/media/audio_utils/tests/ |
D | timestampverifier_tests.cpp | 29 android::TimestampVerifier<int64_t, int64_t> tv; in makeVerifier() 31 int64_t f = 0; in makeVerifier() 32 int64_t t = 0; in makeVerifier() 36 t += (int64_t)1e9; in makeVerifier() 49 constexpr android::TimestampVerifier<int64_t, int64_t> tv; in TEST() 63 constexpr int64_t frames[] { 0, 48000 }; in TEST() 64 constexpr int64_t timeNs[] { 0, 1000000000 }; in TEST() 65 constexpr android::TimestampVerifier<int64_t, int64_t> tv2(frames, timeNs, 48000); in TEST() 78 constexpr android::TimestampVerifier<int64_t, int64_t> tv3 = in TEST() 93 EXPECT_EQ((int64_t)1e9 * (8 - 1), last.mTimeNs); in TEST() [all …]
|
/system/core/healthd/ |
D | healthd_mode_charger.h | 37 int64_t timestamp; 58 void UpdateScreenState(int64_t now); 61 void SetNextKeyCheck(key_state* key, int64_t timeout); 62 void ProcessKey(int code, int64_t now); 63 void HandleInputState(int64_t now); 64 void HandlePowerSupplyState(int64_t now); 70 int64_t next_screen_transition_ = 0; 71 int64_t next_key_check_ = 0; 72 int64_t next_pwr_check_ = 0; 73 int64_t wait_batt_level_timestamp_ = 0;
|
/system/bt/embdrv/sbc/encoder/include/ |
D | sbc_dct.h | 47 s32OutLow = (int32_t)(((int64_t)(s16In2) * (int64_t)(s32In1)) >> 15); 51 s64Temp = ((int64_t)s32In2) * ((int64_t)s32In1) >> 31; \ 79 (int32_t)(((int64_t)s32In1 * (int64_t)s32In2) & 0x00000000FFFFFFFF); \ 80 s32OutHi = (int32_t)(((int64_t)s32In1 * (int64_t)s32In2) >> 32); \
|
/system/media/audio_utils/include/audio_utils/ |
D | ErrorLog.h | 52 explicit ErrorLog(size_t entries, int64_t aggregateNs = 1000000000 /* one second */) 69 void log(const T &code, int64_t nowNs) in log() 98 std::string dumpToString(const char *prefix = "", size_t lines = 0, int64_t limitNs = 0) const 151 status_t dump(int fd, const char *prefix = "", size_t lines = 0, int64_t limitNs = 0) const 171 void setFirstError(T code, int64_t time) { in setFirstError() 180 int64_t mFirstTime; // first time of the error code. 181 int64_t mLastTime; // last time of the error code. 186 int64_t mErrors; // total number of errors registered 188 const int64_t mAggregateNs; // number of nanoseconds to aggregate consecutive error codes. 212 error_log_t *error_log_create(size_t entries, int64_t aggregate_ns); [all …]
|
D | PowerLog.h | 67 void log(const void *buffer, size_t frames, int64_t nowNs); 77 const char *prefix = "", size_t lines = 0, int64_t limitNs = 0) const; 88 status_t dump(int fd, const char *prefix = "", size_t lines = 0, int64_t limitNs = 0) const; 92 int64_t mCurrentTime; // time of first frame in buffer 101 std::vector<std::pair<int64_t /* real time ns */, float /* energy */>> mEntries; 139 void power_log_log(power_log_t *power_log, const void *buffer, size_t frames, int64_t now_ns); 154 power_log_t *power_log, int fd, const char *prefix, size_t lines, int64_t limit_ns);
|
D | SimpleLog.h | 88 void log(int64_t nowNs, const char *format, ...) in log() 105 void logv(int64_t nowNs, const char *format, va_list args) in logv() 135 void logs(int64_t nowNs, U&& buffer) in logs() 157 std::string dumpToString(const char *prefix = "", size_t lines = 0, int64_t limitNs = 0) const 172 const int64_t time = it->first; 191 status_t dump(int fd, const char *prefix = "", size_t lines = 0, int64_t limitNs = 0) const 208 std::deque<std::pair<int64_t, std::string>> mLog; // circular buffer is backed by deque.
|
/system/incremental_delivery/incfs/incfsdump/ |
D | dump.cpp | 96 int64_t h_next_md_offset; 99 int64_t h_prev_md_offset; 106 int64_t fh_magic; 109 int64_t fh_version; 121 int64_t fh_first_md_offset; 128 int64_t fh_file_size; 159 int64_t m_base_offset; 169 int64_t fa_offset; 182 int64_t sg_sig_offset; /* Signature's offset in the backing file */ 186 int64_t sg_hash_tree_offset; /* Hash tree offset in the backing file */ [all …]
|
/system/core/libutils/ |
D | SystemClock.cpp | 40 int64_t uptimeMillis() in uptimeMillis() 42 int64_t when = systemTime(SYSTEM_TIME_MONOTONIC); in uptimeMillis() 43 return (int64_t) nanoseconds_to_milliseconds(when); in uptimeMillis() 49 int64_t elapsedRealtime() in elapsedRealtime() 57 int64_t elapsedRealtimeNano() in elapsedRealtimeNano()
|
/system/update_engine/ |
D | metrics_reporter_android.cc | 57 int64_t payload_size, in ReportUpdateAttemptMetrics() 60 int64_t payload_size_mib = payload_size / kNumBytesInOneMiB; in ReportUpdateAttemptMetrics() 74 int64_t payload_bytes_downloaded, in ReportUpdateAttemptDownloadMetrics() argument 75 int64_t /* payload_download_speed_bps */, in ReportUpdateAttemptDownloadMetrics() 88 int64_t payload_size, in ReportSuccessfulUpdateMetrics() 89 int64_t num_bytes_downloaded[kNumDownloadSources], in ReportSuccessfulUpdateMetrics() 95 int64_t payload_size_mib = payload_size / kNumBytesInOneMiB; in ReportSuccessfulUpdateMetrics() 96 int64_t total_bytes_downloaded = 0; in ReportSuccessfulUpdateMetrics()
|
/system/core/libsparse/ |
D | sparse_read.cpp | 49 static constexpr int64_t COPY_BUF_SIZE = 1024 * 1024; 62 virtual void Seek(int64_t offset) = 0; 65 virtual int64_t GetOffset() = 0; 68 virtual int SetOffset(int64_t offset) = 0; 72 virtual int AddToSparseFile(struct sparse_file* s, int64_t len, unsigned int block) = 0; 78 virtual int GetCrc32(uint32_t* crc32, int64_t len) = 0; 91 void Seek(int64_t off) override { lseek64(fd, off, SEEK_CUR); } in Seek() 93 int64_t GetOffset() override { return lseek64(fd, 0, SEEK_CUR); } in GetOffset() 95 int SetOffset(int64_t offset) override { in SetOffset() 99 int AddToSparseFile(struct sparse_file* s, int64_t len, unsigned int block) override { in AddToSparseFile() [all …]
|
D | output_file.h | 28 struct output_file* output_file_open_fd(int fd, unsigned int block_size, int64_t len, int gz, 31 unsigned int block_size, int64_t len, int gz, 35 int write_file_chunk(struct output_file* out, unsigned int len, const char* file, int64_t offset); 36 int write_fd_chunk(struct output_file* out, unsigned int len, int fd, int64_t offset); 37 int write_skip_chunk(struct output_file* out, int64_t len);
|
/system/memory/lmkd/ |
D | statslog.h | 32 int64_t pgfault; 33 int64_t pgmajfault; 34 int64_t rss_in_bytes; 35 int64_t cache_in_bytes; 36 int64_t swap_in_bytes; 37 int64_t process_start_time_ns;
|
/system/bt/gd/common/ |
D | strings_test.cc | 105 ASSERT_THAT(Int64FromString("42"), Optional(Eq(int64_t(42)))); in TEST() 106 ASSERT_THAT(Int64FromString("-42"), Optional(Eq(int64_t(-42)))); in TEST() 107 ASSERT_THAT(Int64FromString("0"), Optional(Eq(int64_t(0)))); in TEST() 118 ASSERT_THAT(Int64FromString("2147483648"), Optional(Eq(int64_t(2147483648)))); in TEST() 119 ASSERT_THAT(ToString(int64_t(2147483648)), StrEq("2147483648")); in TEST() 121 ASSERT_THAT(Int64FromString("-2147483649"), Optional(Eq(int64_t(-2147483649)))); in TEST() 122 ASSERT_THAT(ToString(int64_t(-2147483649)), StrEq("-2147483649")); in TEST() 124 ASSERT_THAT(Int64FromString("9223372036854775807"), Optional(Eq(int64_t(9223372036854775807)))); in TEST() 125 ASSERT_THAT(ToString(int64_t(9223372036854775807)), StrEq("9223372036854775807")); in TEST() 129 …ASSERT_THAT(Int64FromString("-9223372036854775808"), Optional(Eq(int64_t(-9223372036854775807LL - … in TEST() [all …]
|
/system/core/libutils/include/utils/ |
D | SystemClock.h | 25 int64_t uptimeMillis(); 26 int64_t elapsedRealtime(); 27 int64_t elapsedRealtimeNano();
|
/system/core/adb/ |
D | file_sync_protocol.h | 63 int64_t atime; 64 int64_t mtime; 65 int64_t ctime; 86 int64_t atime; 87 int64_t mtime; 88 int64_t ctime;
|
/system/extras/pssbench/ |
D | main.cpp | 14 int64_t 25 return (int64_t) -1; in get_pss() 37 int64_t pss = 0; in get_pss() 39 int64_t v; in get_pss() 81 int64_t pss = 0; in main()
|
/system/core/fs_mgr/liblp/ |
D | utility.h | 48 int64_t GetPrimaryGeometryOffset(); 49 int64_t GetBackupGeometryOffset(); 53 int64_t GetPrimaryMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number); 57 int64_t GetBackupMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number); 64 int64_t SeekFile64(int fd, int64_t offset, int whence);
|
/system/netd/libnetdutils/include/netdutils/ |
D | Stopwatch.h | 34 int64_t timeTakenUs() const { return getElapsedUs(clock::now()); } in timeTakenUs() 35 int64_t getTimeAndResetUs() { in getTimeAndResetUs() 37 int64_t elapsed = getElapsedUs(now); in getTimeAndResetUs() 45 int64_t getElapsedUs(const time_point& now) const { in getElapsedUs()
|
/system/core/fastboot/ |
D | bootimg_utils.cpp | 55 int64_t kernel_actual = (kernel.size() + page_mask) & (~page_mask); in mkbootimg_v3() 56 int64_t ramdisk_actual = (ramdisk.size() + page_mask) & (~page_mask); in mkbootimg_v3() 58 int64_t bootimg_size = V3_PAGE_SIZE + kernel_actual + ramdisk_actual; in mkbootimg_v3() 87 int64_t header_actual = (sizeof(boot_img_hdr_v1) + page_mask) & (~page_mask); in mkbootimg() 88 int64_t kernel_actual = (kernel.size() + page_mask) & (~page_mask); in mkbootimg() 89 int64_t ramdisk_actual = (ramdisk.size() + page_mask) & (~page_mask); in mkbootimg() 90 int64_t second_actual = (second.size() + page_mask) & (~page_mask); in mkbootimg() 91 int64_t dtb_actual = (dtb.size() + page_mask) & (~page_mask); in mkbootimg() 93 int64_t bootimg_size = in mkbootimg()
|
/system/chre/platform/slpi/ |
D | system_time.cc | 30 int64_t gEstimatedHostTimeOffset = 0; 40 int64_t SystemTime::getEstimatedHostTimeOffset() { in getEstimatedHostTimeOffset() 44 void setEstimatedHostTimeOffset(int64_t offset) { in setEstimatedHostTimeOffset()
|