Searched refs:num_bytes (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/jni/ |
D | android_util_FileObserver.cpp | 61 int num_bytes = read(fd, event_buf, sizeof(event_buf)); in android_os_fileobserver_observe() local 63 if (num_bytes < (int)sizeof(*event)) in android_os_fileobserver_observe() 72 while (num_bytes >= (int)sizeof(*event)) in android_os_fileobserver_observe() 95 num_bytes -= event_size; in android_os_fileobserver_observe()
|
/frameworks/base/cmds/statsd/src/guardrail/ |
D | StatsdStats.h | 225 void noteMetricsReportSent(const ConfigKey& key, const size_t num_bytes); 595 void noteMetricsReportSent(const ConfigKey& key, const size_t num_bytes, int32_t timeSec);
|
D | StatsdStats.cpp | 290 void StatsdStats::noteMetricsReportSent(const ConfigKey& key, const size_t num_bytes) { in noteMetricsReportSent() argument 291 noteMetricsReportSent(key, num_bytes, getWallClockSec()); in noteMetricsReportSent() 294 void StatsdStats::noteMetricsReportSent(const ConfigKey& key, const size_t num_bytes, in noteMetricsReportSent() argument 305 it->second->dump_report_stats.push_back(std::make_pair(timeSec, num_bytes)); in noteMetricsReportSent()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 481 size_t num_bytes = s->bytes(); in TrimString() local 485 while (leading_space < num_bytes && isspace(data[leading_space])) { in TrimString() 489 size_t i = num_bytes; in TrimString()
|