Home
last modified time | relevance | path

Searched refs:num_bytes (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/jni/
Dandroid_util_FileObserver.cpp61 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/
DStatsdStats.h235 void noteMetricsReportSent(const ConfigKey& key, const size_t num_bytes);
641 void noteMetricsReportSent(const ConfigKey& key, const size_t num_bytes, int32_t timeSec);
DStatsdStats.cpp292 void StatsdStats::noteMetricsReportSent(const ConfigKey& key, const size_t num_bytes) { in noteMetricsReportSent() argument
293 noteMetricsReportSent(key, num_bytes, getWallClockSec()); in noteMetricsReportSent()
296 void StatsdStats::noteMetricsReportSent(const ConfigKey& key, const size_t num_bytes, in noteMetricsReportSent() argument
307 it->second->dump_report_stats.push_back(std::make_pair(timeSec, num_bytes)); in noteMetricsReportSent()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp501 size_t num_bytes = s->bytes(); in TrimString() local
505 while (leading_space < num_bytes && isspace(data[leading_space])) { in TrimString()
509 size_t i = num_bytes; in TrimString()