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.h225 void noteMetricsReportSent(const ConfigKey& key, const size_t num_bytes);
595 void noteMetricsReportSent(const ConfigKey& key, const size_t num_bytes, int32_t timeSec);
DStatsdStats.cpp290 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/
DStagefrightRecorder.cpp481 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()