Home | History | Annotate | Download | only in src

Lines Matching defs:StatsService

20 #include "StatsService.h"
124 StatsService::StatsService(const sp<Looper>& handlerLooper)
178 StatsService::~StatsService() {
181 void StatsService::init_system_properties() {
189 void StatsService::init_build_type_callback(void* cookie, const char* /*name*/, const char* value,
192 reinterpret_cast<StatsService*>(cookie)->mEngBuild = true;
200 status_t StatsService::onTransact(uint32_t code, const Parcel& data, Parcel* reply,
249 status_t StatsService::dump(int fd, const Vector<String16>& args) {
276 void StatsService::dump_impl(FILE* out, bool verbose, bool proto) {
292 status_t StatsService::command(FILE* in, FILE* out, FILE* err, Vector<String8>& args) {
350 void StatsService::print_cmd_help(FILE* out) {
434 status_t StatsService::cmd_trigger_broadcast(FILE* out, Vector<String8>& args) {
477 VLOG("StatsService::trigger broadcast succeeded to %s, %s", args[1].c_str(),
484 status_t StatsService::cmd_config(FILE* in, FILE* out, FILE* err, Vector<String8>& args) {
566 status_t StatsService::cmd_dump_report(FILE* out, FILE* err, const Vector<String8>& args) {
627 status_t StatsService::cmd_print_stats(FILE* out, const Vector<String8>& args) {
653 status_t StatsService::cmd_print_uid_map(FILE* out, const Vector<String8>& args) {
669 status_t StatsService::cmd_write_data_to_disk(FILE* out) {
675 status_t StatsService::cmd_log_app_breadcrumb(FILE* out, const Vector<String8>& args) {
711 status_t StatsService::cmd_print_pulled_metrics(FILE* out, const Vector<String8>& args) {
724 status_t StatsService::cmd_remove_all_configs(FILE* out) {
726 VLOG("StatsService::cmd_remove_all_configs was called");
732 status_t StatsService::cmd_dump_memory_info(FILE* out) {
737 status_t StatsService::cmd_clear_puller_cache(FILE* out) {
739 VLOG("StatsService::cmd_clear_puller_cache with Pid %i, Uid %i",
750 status_t StatsService::cmd_print_logs(FILE* out, const Vector<String8>& args) {
752 VLOG("StatsService::cmd_print_logs with Pid %i, Uid %i", ipc->getCallingPid(),
766 Status StatsService::informAllUidData(const vector<int32_t>& uid, const vector<int64_t>& version,
770 VLOG("StatsService::informAllUidData was called");
772 VLOG("StatsService::informAllUidData succeeded");
777 Status StatsService::informOnePackage(const String16& app, int32_t uid, int64_t version) {
780 VLOG("StatsService::informOnePackage was called");
785 Status StatsService::informOnePackageRemoved(const String16& app, int32_t uid) {
788 VLOG("StatsService::informOnePackageRemoved was called");
794 Status StatsService::informAnomalyAlarmFired() {
797 VLOG("StatsService::informAnomalyAlarmFired was called");
810 Status StatsService::informAlarmForSubscriberTriggeringFired() {
813 VLOG("StatsService::informAlarmForSubscriberTriggeringFired was called");
826 Status StatsService::informPollAlarmFired() {
829 VLOG("StatsService::informPollAlarmFired was called");
831 VLOG("StatsService::informPollAlarmFired succeeded");
835 Status StatsService::systemRunning() {
839 VLOG("StatsService::systemRunning");
844 Status StatsService::informDeviceShutdown() {
846 VLOG("StatsService::informDeviceShutdown");
851 void StatsService::sayHiToStatsCompanion() {
861 Status StatsService::statsCompanionReady() {
864 VLOG("StatsService::statsCompanionReady was called");
871 VLOG("StatsService::statsCompanionReady linking to statsCompanion.");
880 void StatsService::Startup() {
884 void StatsService::OnLogEvent(LogEvent* event, bool reconnectionStarts) {
888 Status StatsService::getData(int64_t key, const String16& packageName, vector<uint8_t>* output) {
892 VLOG("StatsService::getData with Pid %i, Uid %i", ipc->getCallingPid(), ipc->getCallingUid());
899 Status StatsService::getMetadata(const String16& packageName, vector<uint8_t>* output) {
903 VLOG("StatsService::getMetadata with Pid %i, Uid %i", ipc->getCallingPid(),
909 Status StatsService::addConfiguration(int64_t key, const vector <uint8_t>& config,
923 bool StatsService::addConfigurationChecked(int uid, int64_t key, const vector<uint8_t>& config) {
935 Status StatsService::removeDataFetchOperation(int64_t key, const String16& packageName) {
944 Status StatsService::setDataFetchOperation(int64_t key,
953 VLOG("StatsService::setDataFetchOperation marking configKey %s to dump reports on disk",
960 Status StatsService::removeConfiguration(int64_t key, const String16& packageName) {
970 Status StatsService::setBroadcastSubscriber(int64_t configId,
976 VLOG("StatsService::setBroadcastSubscriber called.");
984 Status StatsService::unsetBroadcastSubscriber(int64_t configId,
989 VLOG("StatsService::unsetBroadcastSubscriber called.");
997 Status StatsService::sendAppBreadcrumbAtom(int32_t label, int32_t state) {
1006 void StatsService::binderDied(const wp <IBinder>& who) {