/system/extras/perfprofd/dropbox/ |
H A D | dropbox_host.cc | 26 bool SendToDropbox(android::perfprofd::PerfprofdRecord* profile, argument
|
H A D | dropbox.cc | 101 bool SendToDropbox(android::perfprofd::PerfprofdRecord* profile, argument 104 size_t size = profile->ByteSize(); 108 profile->SerializeWithCachedSizesToArray(data.get()); 123 return WriteDropboxFile(profile, temp_directory, error_msg);
|
/system/media/alsa_utils/include/ |
H A D | alsa_device_proxy.h | 25 const alsa_device_profile* profile; member in struct:__anon1983 37 int proxy_prepare(alsa_device_proxy * proxy, const alsa_device_profile * profile,
|
/system/extras/simpleperf/scripts/ |
H A D | app_profiler.py | 68 log_exit("We can't profile an Android app and a native program at the same time.") 70 log_exit("We can't profile an Android app and a cmd at the same time.") 72 log_exit("We can't profile a native program and a cmd at the same time.") 90 log_exit('-p needs to be set to profile from launch.') 92 log_exit('-a needs to be set to profile from launch.') 94 log_exit('--arch needs to be set to profile from launch.') 97 def profile(self): member in class:AppProfiler 228 # The problem here is we want to profile the process started in step 4, but 410 """Run a cmd and profile it. Like -cmd "pm -l".""") 415 to profile jav [all...] |
H A D | pprof_proto_generator.py | 18 """pprof_proto_generator.py: read perf.data, generate pprof.profile, which can be 24 pprof -text pprof.profile 48 profile = profile_pb2.Profile() 50 profile.ParseFromString(f.read()) 51 return profile 54 def store_pprof_profile(filename, profile): 56 f.write(profile.SerializeToString()) 61 def __init__(self, profile): 62 self.profile = profile 578 profile = load_pprof_profile(show_file) variable 592 profile = generator.gen() variable [all...] |
/system/media/alsa_utils/ |
H A D | alsa_device_proxy.c | 44 int proxy_prepare(alsa_device_proxy * proxy, const alsa_device_profile* profile, argument 49 ALOGV("proxy_prepare(c:%d, d:%d)", profile->card, profile->device); 51 proxy->profile = profile; 57 if (config->format != PCM_FORMAT_INVALID && profile_is_format_valid(profile, config->format)) { 60 proxy->alsa_config.format = profile->default_config.format; 62 config->format, profile->default_config.format); 69 if (config->rate != 0 && profile_is_sample_rate_valid(profile, config->rate)) { 72 proxy->alsa_config.rate = profile 129 const alsa_device_profile* profile = proxy->profile; local 266 const alsa_device_profile* profile = proxy->profile; local [all...] |
H A D | alsa_device_profile.c | 61 static void profile_reset(alsa_device_profile* profile) argument 63 profile->card = profile->device = -1; 66 profile->formats[0] = PCM_FORMAT_INVALID; 67 profile->sample_rates[0] = 0; 68 profile->channel_counts[0] = 0; 70 profile->min_period_size = profile->max_period_size = 0; 71 profile->min_channel_count = profile 76 profile_init(alsa_device_profile* profile, int direction) argument 82 profile_is_initialized(const alsa_device_profile* profile) argument 87 profile_is_valid(const alsa_device_profile* profile) argument 91 profile_is_cached_for(const alsa_device_profile* profile, int card, int device) argument 95 profile_decache(alsa_device_profile* profile) argument 110 profile_calc_min_period_size(const alsa_device_profile* profile, unsigned sample_rate) argument 126 profile_get_period_size(const alsa_device_profile* profile, unsigned sample_rate) argument 136 profile_get_default_sample_rate(const alsa_device_profile* profile) argument 145 profile_is_sample_rate_valid(const alsa_device_profile* profile, unsigned rate) argument 164 profile_get_default_format(const alsa_device_profile* profile) argument 172 profile_is_format_valid(const alsa_device_profile* profile, enum pcm_format fmt) argument 190 profile_get_default_channel_count(const alsa_device_profile* profile) argument 195 profile_get_closest_channel_count(const alsa_device_profile* profile, unsigned count) argument 210 profile_is_channel_count_valid(const alsa_device_profile* profile, unsigned count) argument 219 profile_test_sample_rate(const alsa_device_profile* profile, unsigned rate) argument 236 profile_enum_sample_rates(alsa_device_profile* profile, unsigned min, unsigned max) argument 253 profile_enum_sample_formats(alsa_device_profile* profile, struct pcm_mask * mask) argument 289 profile_enum_channel_counts(alsa_device_profile* profile, unsigned min, unsigned max) argument 321 read_alsa_device_config(alsa_device_profile * profile, struct pcm_config * config) argument 382 profile_read_device_info(alsa_device_profile* profile) argument 422 profile_get_sample_rate_strs(const alsa_device_profile* profile) argument 455 profile_get_format_strs(const alsa_device_profile* profile) argument 486 profile_get_channel_count_strs(const alsa_device_profile* profile) argument 586 profile_dump(const alsa_device_profile* profile, int fd) argument [all...] |
/system/keymaster/ng/ |
H A D | AndroidKeymaster3Device.cpp | 232 AndroidKeymaster3Device::AndroidKeymaster3Device(KeymasterContext* context, KeymasterHardwareProfile profile) argument 233 : impl_(new ::keymaster::AndroidKeymaster(context, kOperationTableSize)), profile_(profile) {}
|
/system/extras/perfprofd/ |
H A D | perfprofdcore.cc | 73 // This enum holds the results of the "should we profile" configuration check. 77 // All systems go for profile collection. 84 // the perf profile uploading service creates when it determines 100 // Are we running in the emulator? If so, stub out profile collection 137 // Check to see whether we should perform a profile collection 357 static void annotate_encoded_perf_profile(android::perfprofd::PerfprofdRecord* profile, argument 365 profile->set_cpu_utilization(cpu_utilization); 376 profile->set_sys_load_average(iload); 386 profile->set_booting(is_booting); 389 profile [all...] |
/system/tpm/attestation/server/ |
H A D | attestation_service.cc | 550 CertificateProfile profile, 570 request_pb.set_profile(profile); 572 (profile == CONTENT_PROTECTION_CERTIFICATE_WITH_STABLE_ID)) { 547 CreateCertificateRequest( const std::string& username, const CertifiedKey& key, CertificateProfile profile, const std::string& origin, std::string* certificate_request, std::string* message_id) argument
|
/system/bt/bta/ag/ |
H A D | bta_ag_int.h | 47 /* Internal profile indexes */ 50 #define BTA_AG_NUM_IDX 2 /* number of profile indexes */ 52 /* profile role for connection */ 181 /* type for each profile */ 207 uint16_t peer_version; /* profile version of peer device */ 208 uint16_t hsp_version; /* HSP profile version before SDP */ 266 tBTA_AG_PROFILE profile[BTA_AG_NUM_IDX]; /* profile-specific data */ member in struct:__anon29
|