/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/core/lmkd/ |
D | statslog.h | 62 int64_t pgfault; 63 int64_t pgmajfault; 64 int64_t rss_in_bytes; 65 int64_t cache_in_bytes; 66 int64_t swap_in_bytes; 67 int64_t process_start_time_ns; 89 char const* process_name, int32_t oom_score, int64_t pgfault, 90 int64_t pgmajfault, int64_t rss_in_bytes, int64_t cache_in_bytes, 91 int64_t swap_in_bytes, int64_t process_start_time_ns,
|
D | statslog.c | 23 static int64_t getElapsedRealTimeNs() { in getElapsedRealTimeNs() 27 return (int64_t)t.tv_sec * 1000000000LL + t.tv_nsec; in getElapsedRealTimeNs() 66 char const* process_name, int32_t oom_score, int64_t pgfault, in stats_write_lmk_kill_occurred() 67 int64_t pgmajfault, int64_t rss_in_bytes, int64_t cache_in_bytes, in stats_write_lmk_kill_occurred() 68 int64_t swap_in_bytes, int64_t process_start_time_ns, in stats_write_lmk_kill_occurred()
|
/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 …]
|
/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()
|
/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.
|
D | TimestampVerifier.h | 223 constexpr int64_t getN() const { return mTimestamps; } in getN() 224 constexpr int64_t getDiscontinuities() const { return mDiscontinuities; } in getDiscontinuities() 225 constexpr int64_t getNotReady() const { return mNotReady; } in getNotReady() 226 constexpr int64_t getColds() const { return mColds; } in getColds() 227 constexpr int64_t getErrors() const { return mErrors; } in getErrors() 262 int64_t mTimestamps = 0; 263 int64_t mDiscontinuities = 0; 264 int64_t mNotReady = 0; 265 int64_t mColds = 0; 266 int64_t mErrors = 0; [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/core/fs_mgr/liblp/ |
D | utility.cpp | 54 int64_t result = SeekFile64(fd, 0, SEEK_END); in GetDescriptorSize() 64 int64_t SeekFile64(int fd, int64_t offset, int whence) { in SeekFile64() 65 static_assert(sizeof(off_t) == sizeof(int64_t), "Need 64-bit lseek"); in SeekFile64() 69 int64_t GetPrimaryGeometryOffset() { in GetPrimaryGeometryOffset() 73 int64_t GetBackupGeometryOffset() { in GetBackupGeometryOffset() 77 int64_t GetPrimaryMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number) { in GetPrimaryMetadataOffset() 79 int64_t offset = LP_PARTITION_RESERVED_BYTES + (LP_METADATA_GEOMETRY_SIZE * 2) + in GetPrimaryMetadataOffset() 84 int64_t GetBackupMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number) { in GetBackupMetadataOffset() 86 int64_t start = LP_PARTITION_RESERVED_BYTES + (LP_METADATA_GEOMETRY_SIZE * 2) + in GetBackupMetadataOffset() 87 int64_t(geometry.metadata_max_size) * geometry.metadata_slot_count; in GetBackupMetadataOffset() [all …]
|
D | utility.h | 44 int64_t GetPrimaryGeometryOffset(); 45 int64_t GetBackupGeometryOffset(); 49 int64_t GetPrimaryMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number); 53 int64_t GetBackupMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number); 60 int64_t SeekFile64(int fd, int64_t offset, int whence);
|
/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/update_engine/ |
D | metrics_reporter_android.cc | 84 int64_t payload_size, in ReportUpdateAttemptMetrics() 95 int64_t payload_size_mib = payload_size / kNumBytesInOneMiB; in ReportUpdateAttemptMetrics() 106 int64_t payload_bytes_downloaded, in ReportUpdateAttemptDownloadMetrics() argument 107 int64_t /* payload_download_speed_bps */, in ReportUpdateAttemptDownloadMetrics() 119 int64_t payload_size, in ReportSuccessfulUpdateMetrics() 120 int64_t num_bytes_downloaded[kNumDownloadSources], in ReportSuccessfulUpdateMetrics() 131 int64_t payload_size_mib = payload_size / kNumBytesInOneMiB; in ReportSuccessfulUpdateMetrics() 135 int64_t total_bytes_downloaded = 0; in ReportSuccessfulUpdateMetrics()
|
D | mock_metrics_reporter.h | 51 int64_t payload_size, 56 void(int64_t payload_bytes_downloaded, 57 int64_t payload_download_speed_bps, 68 int64_t payload_size, 69 int64_t num_bytes_downloaded[kNumDownloadSources],
|
D | metrics_reporter_interface.h | 130 int64_t payload_size, 143 int64_t payload_bytes_downloaded, 144 int64_t payload_download_speed_bps, 179 int64_t payload_size, 180 int64_t num_bytes_downloaded[kNumDownloadSources],
|
/system/core/libutils/include/utils/ |
D | SystemClock.h | 25 int64_t uptimeMillis(); 26 int64_t elapsedRealtime(); 27 int64_t elapsedRealtimeNano();
|
/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/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()
|
/system/core/fastboot/ |
D | bootimg_utils.cpp | 47 int64_t header_actual = (sizeof(boot_img_hdr_v1) + page_mask) & (~page_mask); in mkbootimg() 48 int64_t kernel_actual = (kernel.size() + page_mask) & (~page_mask); in mkbootimg() 49 int64_t ramdisk_actual = (ramdisk.size() + page_mask) & (~page_mask); in mkbootimg() 50 int64_t second_actual = (second.size() + page_mask) & (~page_mask); in mkbootimg() 51 int64_t dtb_actual = (dtb.size() + page_mask) & (~page_mask); in mkbootimg() 53 int64_t bootimg_size = in mkbootimg()
|
/system/netd/libnetdbpf/include/netdbpf/ |
D | BpfNetworkStats.h | 35 constexpr const int64_t MAX_UNKNOWN_IFACE_BYTES = 100 * 1000; 45 int64_t rxBytes; 46 int64_t rxPackets; 47 int64_t txBytes; 48 int64_t txPackets; 75 const Key& curKey, int64_t* unknownIfaceBytesTotal) { in getIfaceNameFromMap() 87 const Key& curKey, int64_t* unknownIfaceBytesTotal) { in maybeLogUnknownIface()
|