| /system/sepolicy/prebuilts/api/28.0/private/ |
| statsd.te | 1 type statsd, domain, mlstrustedsubject; 2 typeattribute statsd coredomain; 4 init_daemon_domain(statsd) 7 binder_use(statsd) 9 # Allow statsd to scan through /proc/pid for all processes. 10 r_dir_file(statsd, domain) 16 allow statsd devpts:chr_file { getattr ioctl read write }; 17 allow statsd shell_exec:file rx_file_perms; 18 allow statsd system_file:file execute_no_trans; 19 allow statsd toolbox_exec:file rx_file_perms [all...] |
| perfprofd.te | 6 # Only servicemanager, statsd, su and systemserver can communicate. 7 neverallow { domain userdebug_or_eng(`-statsd') } perfprofd:binder call; 8 neverallow perfprofd { domain userdebug_or_eng(`-servicemanager -statsd -su -system_server') }:binder call;
|
| stats.te | 19 # Allow the stats command to talk to the statsd over the binder, and get 23 binder_call(stats, statsd) 24 allow stats statsd:fifo_file write;
|
| /system/sepolicy/private/ |
| statsd.te | 1 type statsd, domain, mlstrustedsubject; 2 typeattribute statsd coredomain; 4 init_daemon_domain(statsd) 7 binder_use(statsd) 9 # Allow statsd to scan through /proc/pid for all processes. 10 r_dir_file(statsd, domain) 16 allow statsd devpts:chr_file { getattr ioctl read write }; 17 allow statsd shell_exec:file rx_file_perms; 18 allow statsd system_file:file execute_no_trans; 19 allow statsd toolbox_exec:file rx_file_perms [all...] |
| perfprofd.te | 6 # Only servicemanager, statsd, su and systemserver can communicate. 7 neverallow { domain userdebug_or_eng(`-statsd') } perfprofd:binder call; 8 neverallow perfprofd { domain userdebug_or_eng(`-servicemanager -statsd -su -system_server') }:binder call;
|
| stats.te | 19 # Allow the stats command to talk to the statsd over the binder, and get 23 binder_call(stats, statsd) 24 allow stats statsd:fifo_file write;
|
| /frameworks/base/cmds/statsd/ |
| statsd.rc | 15 service statsd /system/bin/statsd 17 socket statsdw dgram+passcred 0222 statsd statsd 18 user statsd 19 group statsd log 22 on property:ro.statsd.enable=false 23 stop statsd 26 # Create directory for statsd 27 mkdir /data/misc/stats-data/ 0770 statsd syste [all...] |
| /frameworks/base/cmds/statsd/tools/loadtest/ |
| run_loadtest.sh | 3 # Script that measures statsd's PSS under an increasing number of metrics. 12 adb shell am start -n com.android.statsd.loadtest/.LoadtestActivity --es "type" "start" 18 adb shell am start -n com.android.statsd.loadtest/.LoadtestActivity --es "type" "stop" 25 adb shell am start -n com.android.statsd.loadtest/.LoadtestActivity --es "type" "set_replication" --ei "replication" "${1}" 29 # Reads statsd's pid and PSS. 31 # Command that reads the PSS for statsd. This also gives us its pid. 32 get_mem=$(adb shell dumpsys meminfo |grep statsd) 33 # Looks for statsd's pid. 34 regex="([0-9,]+)K: statsd \(pid ([0-9]+)\).*" 43 # Kills statsd [all...] |
| /frameworks/base/cmds/statsd/src/anomaly/ |
| subscriber_util.h | 21 #include "frameworks/base/cmds/statsd/src/statsd_config.pb.h" 25 namespace statsd { namespace in namespace:android::os 32 } // namespace statsd
|
| /frameworks/base/cmds/statsd/src/subscriber/ |
| IncidentdReporter.h | 20 #include "frameworks/base/cmds/statsd/src/statsd_config.pb.h" // Alert, IncidentdDetails 24 namespace statsd { namespace in namespace:android::os 32 } // namespace statsd
|
| /frameworks/base/core/java/android/util/ |
| StatsLog.java | 24 * StatsLog provides an API for developers to send events to statsd. The events can be used to 25 * define custom metrics inside statsd. 39 * @return True if the log request was sent to statsd. 46 if (DEBUG) Slog.d(TAG, "Failed to find statsd when logging start"); 54 if (DEBUG) Slog.d(TAG, "Failed to connect to statsd when logging start"); 64 * @return True if the log request was sent to statsd. 71 if (DEBUG) Slog.d(TAG, "Failed to find statsd when logging stop"); 78 if (DEBUG) Slog.d(TAG, "Failed to connect to statsd when logging stop"); 88 * @return True if the log request was sent to statsd. 95 if (DEBUG) Slog.d(TAG, "Failed to find statsd when logging event") [all...] |
| /frameworks/base/tools/stats_log_api_gen/ |
| test.proto | 19 import "frameworks/base/cmds/statsd/src/atoms.proto"; 20 import "frameworks/base/cmds/statsd/src/atom_field_options.proto"; 43 repeated android.os.statsd.AttributionNode attribution_chain = 1; 105 repeated android.os.statsd.AttributionNode attribution = 2; 130 [(android.os.statsd.stateFieldOption).option = PRIMARY]; 135 repeated android.os.statsd.AttributionNode attribution = 1 136 [(android.os.statsd.stateFieldOption).option = PRIMARY]; 138 [(android.os.statsd.stateFieldOption).option = EXCLUSIVE]; 145 [(android.os.statsd.stateFieldOption).option = PRIMARY]; 147 [(android.os.statsd.stateFieldOption).option = EXCLUSIVE] [all...] |
| /cts/hostsidetests/statsd/apps/statsdapp/res/xml/ |
| syncadapter.xml | 18 android:contentAuthority= "com.android.server.cts.device.statsd.provider" 19 android:accountType="com.android.cts.statsd"
|
| /frameworks/base/cmds/statsd/src/config/ |
| ConfigListener.cpp | 21 namespace statsd { namespace in namespace:android::os 29 } // namespace statsd
|
| /frameworks/base/cmds/statsd/src/external/ |
| PullDataReceiver.h | 26 namespace statsd { namespace in namespace:android::os 34 } // namespace statsd
|
| ResourceHealthManagerPuller.h | 24 namespace statsd { namespace in namespace:android::os 35 } // namespace statsd
|
| ResourceThermalManagerPuller.h | 24 namespace statsd { namespace in namespace:android::os 35 } // namespace statsd
|
| StatsCompanionServicePuller.h | 24 namespace statsd { namespace in namespace:android::os 38 } // namespace statsd
|
| SubsystemSleepStatePuller.h | 24 namespace statsd { namespace in namespace:android::os 35 } // namespace statsd
|
| puller_util.h | 26 namespace statsd { namespace in namespace:android::os 31 } // namespace statsd
|
| /frameworks/base/cmds/statsd/src/guardrail/ |
| MemoryLeakTrackUtil.h | 22 namespace statsd { namespace in namespace:android::os 31 } // namespace statsd
|
| /frameworks/base/cmds/statsd/src/logd/ |
| LogListener.cpp | 31 namespace statsd { namespace in namespace:android::os 39 } // namespace statsd
|
| LogListener.h | 26 namespace statsd { namespace in namespace:android::os 39 } // namespace statsd
|
| /frameworks/base/cmds/statsd/src/ |
| stats_util.h | 26 namespace statsd { namespace in namespace:android::os 35 } // namespace statsd
|
| statscompanion_util.h | 29 namespace statsd { namespace in namespace:android::os 34 } // namespace statsd
|