Home
last modified time | relevance | path

Searched refs:atom (Results 1 – 19 of 19) sorted by relevance

/system/chre/host/common/
Dmetrics_reporter.cc73 bool MetricsReporter::reportMetric(const VendorAtom &atom) { in reportMetric() argument
84 ret = mStatsService->reportVendorAtom(atom); in reportMetric()
88 LOGE("Failed to report vendor atom with ID %" PRIi32, atom.atomId); in reportMetric()
97 const VendorAtom atom{ in logApWakeupOccurred() local
102 return reportMetric(atom); in logApWakeupOccurred()
113 const VendorAtom atom{ in logNanoappLoadFailed() local
118 return reportMetric(atom); in logNanoappLoadFailed()
127 const VendorAtom atom{ in logPalOpenFailed() local
132 return reportMetric(atom); in logPalOpenFailed()
153 const VendorAtom atom{ in logEventQueueSnapshotReported() local
[all …]
Ddaemon_base.cc184 const VendorAtom atom{ in handleMetricLog() local
188 reportMetric(atom); in handleMetricLog()
221 const VendorAtom atom{ in handleMetricLog() local
225 reportMetric(atom); in handleMetricLog()
240 void ChreDaemonBase::reportMetric(const VendorAtom &atom) { in reportMetric() argument
255 const ndk::ScopedAStatus ret = stats_client->reportVendorAtom(atom); in reportMetric()
Dfbs_daemon_base.cc199 const VendorAtom atom{ in handleDaemonMessage() local
203 reportMetric(atom); in handleDaemonMessage()
/system/core/libstats/pull_rust/
Dstats_pull.rs147 atom: Atoms, in set_pull_atom_callback()
151 COOKIES.lock().unwrap().insert(atom as i32, callback); in set_pull_atom_callback()
159 atom as i32, in set_pull_atom_callback()
168 pub fn clear_pull_atom_callback(atom: Atoms) { in clear_pull_atom_callback()
169 COOKIES.lock().unwrap().remove(&(atom as i32)); in clear_pull_atom_callback()
171 unsafe { AStatsManager_clearPullAtomCallback(atom as i32) } in clear_pull_atom_callback()
/system/core/libstats/bootstrap/
DStatsBootstrapAtomClient.cpp26 bool StatsBootstrapAtomClient::reportBootstrapAtom(const StatsBootstrapAtom& atom) { in reportBootstrapAtom() argument
32 return service->reportBootstrapAtom(atom).isOk(); in reportBootstrapAtom()
/system/chre/host/hal_generic/common/
Dhal_chre_socket_connection.cc262 const VendorAtom atom{ in handleNanoappMessage() local
267 mParent.reportMetric(atom); in handleNanoappMessage()
408 const VendorAtom atom{ in sendFragmentedLoadNanoAppRequest() local
412 reportMetric(atom); in sendFragmentedLoadNanoAppRequest()
427 void HalChreSocketConnection::reportMetric(const VendorAtom atom) { in reportMetric() argument
442 const ndk::ScopedAStatus ret = stats_client->reportVendorAtom(atom); in reportMetric()
Dhal_chre_socket_connection.h223 void reportMetric(const aidl::android::frameworks::stats::VendorAtom atom);
/system/core/libstats/bootstrap/include/
DStatsBootstrapAtomClient.h27 static bool reportBootstrapAtom(const StatsBootstrapAtom& atom);
/system/chre/host/common/include/chre_host/
Dmetrics_reporter.h40 bool reportMetric(const aidl::android::frameworks::stats::VendorAtom &atom);
Ddaemon_base.h249 void reportMetric(const aidl::android::frameworks::stats::VendorAtom &atom);
/system/tools/hidl/test/vendor/android/1.0/
DIVendor.hal19 // Used for testing that packages with an 'android' atom generate
/system/tools/hidl/c2hal/
DExpression.h70 static Expression *atom(Type type, const std::string &value, bool isId = false);
Dc2hal_y.yy470 $$ = Expression::atom(Expression::Type::UNKNOWN, $1, true /* isId*/ );
472 | VALUE { $$ = Expression::atom(Expression::Type::UNKNOWN, $1); }
473 | INTEGRAL_VALUE { $$ = Expression::atom(Expression::integralType($1), $1); }
540 : '[' ']' { $$ = Expression::atom(Expression::Type::UNKNOWN, " "); }
DExpression.cpp269 Expression *Expression::atom(Type type, const std::string &value, bool isId) { in atom() function in android::Expression
/system/security/keystore2/src/
Dmetrics_store.rs112 .map(|(atom, count)| KeystoreAtom { payload: atom.clone(), count: *count }) in get_atoms()
118 fn insert_atom(&self, atom_id: AtomID, atom: KeystoreAtomPayload) { in insert_atom()
124 let atom_count = atom_count_map.entry(atom).or_insert(0); in insert_atom()
/system/chre/host/exynos/
Dexynos_daemon.cc298 const VendorAtom atom{ in handleDaemonMessage() local
302 ChreDaemonBase::reportMetric(atom); in handleDaemonMessage()
/system/chre/core/
Dchre_metrics_with_atom.proto36 // AOSP atom ID range starts at 105000
/system/core/bootstat/
Dbootstat.cpp56 int32_t atom; member
149 if (info->second.atom == android::util::BOOT_TIME_EVENT_ERROR_CODE_REPORTED) { in LogBootEvents()
150 android::util::stats_write(static_cast<int32_t>(info->second.atom), in LogBootEvents()
154 android::util::stats_write(static_cast<int32_t>(info->second.atom), in LogBootEvents()
/system/extras/simpleperf/
DETMDecoder.cpp621 uint32_t bits = pkt->atom.En_bits; in ProcessAtomPacket()
622 for (size_t i = 0; i < pkt->atom.num; i++) { in ProcessAtomPacket()