/system/media/alsa_utils/ |
D | alsa_device_profile.c | 61 static void profile_reset(alsa_device_profile* profile) in profile_reset() argument 63 profile->card = profile->device = -1; in profile_reset() 66 profile->formats[0] = PCM_FORMAT_INVALID; in profile_reset() 67 profile->sample_rates[0] = 0; in profile_reset() 68 profile->channel_counts[0] = 0; in profile_reset() 70 profile->min_period_size = profile->max_period_size = 0; in profile_reset() 71 profile->min_channel_count = profile->max_channel_count = DEFAULT_CHANNEL_COUNT; in profile_reset() 73 profile->is_valid = false; in profile_reset() 76 void profile_init(alsa_device_profile* profile, int direction) in profile_init() argument 78 profile->direction = direction; in profile_init() [all …]
|
D | alsa_device_proxy.c | 46 int proxy_prepare(alsa_device_proxy * proxy, const alsa_device_profile* profile, in proxy_prepare() argument 51 ALOGV("proxy_prepare(c:%d, d:%d)", profile->card, profile->device); in proxy_prepare() 53 proxy->profile = profile; in proxy_prepare() 59 if (config->format != PCM_FORMAT_INVALID && profile_is_format_valid(profile, config->format)) { in proxy_prepare() 62 proxy->alsa_config.format = profile->default_config.format; in proxy_prepare() 64 config->format, profile->default_config.format); in proxy_prepare() 71 if (config->rate != 0 && profile_is_sample_rate_valid(profile, config->rate)) { in proxy_prepare() 74 proxy->alsa_config.rate = profile->default_config.rate; in proxy_prepare() 76 config->rate, profile->default_config.rate); in proxy_prepare() 83 if (config->channels != 0 && profile_is_channel_count_valid(profile, config->channels)) { in proxy_prepare() [all …]
|
/system/media/alsa_utils/include/ |
D | alsa_device_profile.h | 63 void profile_init(alsa_device_profile* profile, int direction); 64 bool profile_is_initialized(const alsa_device_profile* profile); 65 bool profile_is_valid(const alsa_device_profile* profile); 66 bool profile_is_cached_for(const alsa_device_profile* profile, int card, int device); 67 void profile_decache(alsa_device_profile* profile); 69 bool profile_read_device_info(alsa_device_profile* profile); 72 char * profile_get_sample_rate_strs(const alsa_device_profile* profile); 73 char * profile_get_format_strs(const alsa_device_profile* profile); 74 char * profile_get_channel_count_strs(const alsa_device_profile* profile); 77 unsigned profile_get_default_sample_rate(const alsa_device_profile* profile); [all …]
|
D | alsa_device_proxy.h | 25 const alsa_device_profile* profile; member 37 int proxy_prepare(alsa_device_proxy * proxy, const alsa_device_profile * profile,
|
/system/core/libprocessgroup/ |
D | task_profiles.cpp | 301 for (const auto& profile : profiles_) { in ExecuteForProcess() local 302 if (!profile->ExecuteForProcess(uid, pid)) { in ExecuteForProcess() 310 for (const auto& profile : profiles_) { in ExecuteForTask() local 311 profile->ExecuteForTask(tid); in ExecuteForTask() 317 for (const auto& profile : profiles_) { in EnableResourceCaching() local 318 profile->EnableResourceCaching(); in EnableResourceCaching() 323 for (const auto& profile : profiles_) { in DropResourceCaching() local 324 profile->DropResourceCaching(); in DropResourceCaching() 328 void TaskProfile::MoveTo(TaskProfile* profile) { in MoveTo() argument 329 profile->elements_ = std::move(elements_); in MoveTo() [all …]
|
/system/core/libprocessgroup/profiles/ |
D | task_profiles_test.h | 52 auto&& profile = task_profiles_->profiles(profile_idx); in TEST_P() 53 EXPECT_FALSE(profile.name().empty()) in TEST_P() 55 for (int action_idx = 0; action_idx < profile.actions_size(); ++action_idx) { in TEST_P() 56 auto&& action = profile.actions(action_idx); in TEST_P()
|
/system/extras/toolchain-extras/ |
D | Android.bp | 8 "profile-extras.cpp", 9 "profile-globals.c", 49 "profile-clang-extras.cpp", 50 "profile-clang-openat.cpp", 118 "profile-extras-test.cpp", 130 "profile-clang-extras-test.cpp",
|
/system/extras/simpleperf/scripts/ |
D | pprof_proto_generator.py | 41 profile = profile_pb2.Profile() 43 profile.ParseFromString(f.read()) 44 return profile 47 def store_pprof_profile(filename, profile): argument 49 f.write(profile.SerializeToString()) 54 def __init__(self, profile): argument 55 self.profile = profile 56 self.string_table = profile.string_table 59 p = self.profile 113 location = self.profile.location[location_id - 1] [all …]
|
/system/security/identity/ |
D | WritableCredential.cpp | 120 for (const AccessControlProfileParcel& profile : accessControlProfiles) { in calcExpectedProofOfProvisioningSize() local 122 map.add("id", profile.id); in calcExpectedProofOfProvisioningSize() 123 if (profile.readerCertificate.size() > 0) { in calcExpectedProofOfProvisioningSize() 124 map.add("readerCertificate", cppbor::Bstr(profile.readerCertificate)); in calcExpectedProofOfProvisioningSize() 126 if (profile.userAuthenticationRequired) { in calcExpectedProofOfProvisioningSize() 127 map.add("userAuthenticationRequired", profile.userAuthenticationRequired); in calcExpectedProofOfProvisioningSize() 128 map.add("timeoutMillis", profile.userAuthenticationTimeoutMillis); in calcExpectedProofOfProvisioningSize() 214 SecureAccessControlProfile profile; in personalize() local 217 acpParcel.userAuthenticationTimeoutMillis, secureUserId, &profile); in personalize() 221 data.addSecureAccessControlProfile(profile); in personalize()
|
D | Credential.cpp | 243 for (const SecureAccessControlProfile& profile : allProfiles) { in getEntries() local 244 if (profile.id < 0 || profile.id >= 32) { in getEntries() 299 for (auto& profile : selectedProfiles) { in getEntries() local 300 if (profile.userAuthenticationRequired) { in getEntries() 302 if (profile.timeoutMillis > 0) { in getEntries() 303 if (profile.timeoutMillis > authTokenMaxAgeMillis) { in getEntries() 304 authTokenMaxAgeMillis = profile.timeoutMillis; in getEntries()
|
/system/bt/bta/ag/ |
D | bta_ag_sdp.cc | 220 if (bta_ag_cb.profile[i].sdp_handle == 0) { in bta_ag_create_records() 221 bta_ag_cb.profile[i].sdp_handle = SDP_CreateRecord(); in bta_ag_create_records() 222 bta_ag_cb.profile[i].scn = BTM_AllocateSCN(); in bta_ag_create_records() 224 bta_ag_cb.profile[i].scn, data.api_register.features, in bta_ag_create_records() 225 bta_ag_cb.profile[i].sdp_handle); in bta_ag_create_records() 267 if (bta_ag_cb.profile[i].sdp_handle != 0) { in bta_ag_del_records() 268 SDP_DeleteRecord(bta_ag_cb.profile[i].sdp_handle); in bta_ag_del_records() 269 bta_ag_cb.profile[i].sdp_handle = 0; in bta_ag_del_records() 271 BTM_FreeSCN(bta_ag_cb.profile[i].scn); in bta_ag_del_records() 272 RFCOMM_ClearSecurityRecord(bta_ag_cb.profile[i].scn); in bta_ag_del_records()
|
/system/extras/simpleperf/demo/ |
D | README.md | 1 # Examples of using simpleperf to profile Android applications 5 - [Examples of using simpleperf to profile Android applications](#examples-of-using-simpleperf-to-p… 8 - [Profile a Java application](#profile-a-java-application) 9 - [Profile a Java/C++ application](#profile-a-javac-application) 10 - [Profile a Kotlin application](#profile-a-kotlin-application) 11 - [Profile via app_api](#profile-via-app_api) 15 Simpleperf is a native profiler used on Android platform. It can be used to profile Android 18 This directory is to show examples of using simpleperf to profile Android applications. The
|
/system/bt/binder/android/bluetooth/ |
D | IBluetoothManager.aidl | 54 boolean bindBluetoothProfileService(int profile, IBluetoothProfileServiceConnection proxy); in bindBluetoothProfileService() argument 56 void unbindBluetoothProfileService(int profile, IBluetoothProfileServiceConnection proxy); in unbindBluetoothProfileService() argument
|
/system/bt/gd/proto/bluetooth/metrics/ |
D | bluetooth.proto | 53 // Statistics about Bluetooth profile connections 56 // Statistics about Headset profile connections 274 // Statistics about Bluetooth profile connections 279 // Number of times that this profile is connected since last metrics dump 289 // Statistics about headset profile connections 291 // Type of headset profile connected 294 // Number of times this type of headset profile is connected
|
/system/extras/simpleperf/doc/ |
D | android_application_profiling.md | 3 This section shows how to profile an Android application. 23 - [Profile from launch](#profile-from-launch) 33 1. If you want to profile a debug build of an application: 39 2. If you want to profile a release build of an application: 43 with android::debuggable set to true can be profiled. So simpleperf can only profile a release 45 If you are on a rooted device, you can profile any app. 49 adb will invoke simpleperf preinstalled in system image to profile the app. 60 to profile a release build: 99 3. If you want to profile C/C++ code: 107 4. If you want to profile Java code: [all …]
|
/system/extras/simpleperf/scripts/test/ |
D | pprof_proto_generator_test.py | 88 profile = self.generate_profile(None, ['perf_with_interpreter_frames.data']) 90 for location in profile.location: 91 mapping = profile.mapping[location.mapping_id - 1]
|
/system/extras/profcollectd/libprofcollectd/ |
D | report.rs | 39 pub fn pack_report(profile: &Path, report: &Path, config: &Config) -> Result<String> { in pack_report() 57 fs::read_dir(profile)? in pack_report()
|
/system/bt/gd/cert/ |
D | gen_html_coverage.sh | 5 …-only --show-line-counts-or-regions --show-instantiation-summary --instr-profile=/tmp/logs/HostOnl…
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | perfprofd.te | 1 # perfprofd - perf profile collection daemon 46 # simpleperf needs open/read any file that turns up in a profile
|
D | profman.te | 7 # Dumping profile info opens the application APK file for pretty printing.
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | perfprofd.te | 1 # perfprofd - perf profile collection daemon 46 # simpleperf needs open/read any file that turns up in a profile
|
D | profman.te | 7 # Dumping profile info opens the application APK file for pretty printing.
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | postinstall_dexopt.te | 26 # Read profile data. 29 # Suppress deletion denial (we do not want to update the profile).
|
D | profman.te | 7 # Dumping profile info opens the application APK file for pretty printing.
|
/system/bt/doc/ |
D | power_management.md | 10 Power states are managed per-device, per-profile, so every incoming event 11 includes a profile ID, app ID, and a `BD_ADDR`. 25 are called by each profile definition in `bta/$PROFILE`. 50 looking for a match between the profile and app IDs. When it finds one, it uses 60 other profile will override this. 99 are found for the given profile ID and app ID, the function simply 122 both actions specified for the profile in the `bta_dm_pm_spec` tables. If 131 profile doesn't allow it, this function takes no action.
|