/packages/modules/Bluetooth/system/bta/le_audio/ |
D | client_parser.cc | 307 [&conf_ents_str](size_t cur_len, auto const& conf) { in PrepareAseCtpCodecConfig() argument 308 if (utils::IsCodecUsingLtvFormat(conf.codec_id)) { in PrepareAseCtpCodecConfig() 310 if (ltv.Parse(conf.codec_config.data(), conf.codec_config.size())) { in PrepareAseCtpCodecConfig() 318 return cur_len + conf.codec_config.size(); in PrepareAseCtpCodecConfig() 324 << base::HexEncode(conf.codec_config.data(), in PrepareAseCtpCodecConfig() 325 conf.codec_config.size()); in PrepareAseCtpCodecConfig() 326 return cur_len + conf.codec_config.size(); in PrepareAseCtpCodecConfig() 334 for (const struct ctp_codec_conf& conf : confs) { in PrepareAseCtpCodecConfig() local 335 UINT8_TO_STREAM(msg, conf.ase_id); in PrepareAseCtpCodecConfig() 336 UINT8_TO_STREAM(msg, conf.target_latency); in PrepareAseCtpCodecConfig() [all …]
|
D | state_machine.cc | 1927 struct bluetooth::le_audio::client_parser::ascs::ctp_codec_conf conf; in PrepareAndSendCodecConfigure() local 1951 conf.ase_id = ase->id; in PrepareAndSendCodecConfigure() 1952 conf.target_latency = ase->target_latency; in PrepareAndSendCodecConfigure() 1953 conf.target_phy = group->GetTargetPhy(ase->direction); in PrepareAndSendCodecConfigure() 1954 conf.codec_id = ase->codec_id; in PrepareAndSendCodecConfigure() 1958 conf.codec_config = ase->vendor_codec_config; in PrepareAndSendCodecConfigure() 1960 conf.codec_config = ase->codec_config.RawPacket(); in PrepareAndSendCodecConfigure() 1962 confs.push_back(conf); in PrepareAndSendCodecConfigure() 1964 msg_stream << "ASE_ID " << +conf.ase_id << ","; in PrepareAndSendCodecConfigure() 1970 extra_stream << +conf.codec_id.coding_format << "," in PrepareAndSendCodecConfigure() [all …]
|
D | le_audio_utils.cc | 450 for (const auto& conf : audio_set_conf.confs.get(remote_direction)) { in GetAudioSessionCodecConfigFromAudioSetConfiguration() local 452 conf.codec.GetSamplingFrequencyHz() != group_config.sample_rate) { in GetAudioSessionCodecConfigFromAudioSetConfiguration() 459 group_config.sample_rate = conf.codec.GetSamplingFrequencyHz(); in GetAudioSessionCodecConfigFromAudioSetConfiguration() 462 conf.codec.GetDataIntervalUs() != group_config.data_interval_us) { in GetAudioSessionCodecConfigFromAudioSetConfiguration() 469 group_config.data_interval_us = conf.codec.GetDataIntervalUs(); in GetAudioSessionCodecConfigFromAudioSetConfiguration() 472 conf.codec.GetBitsPerSample() != group_config.bits_per_sample) { in GetAudioSessionCodecConfigFromAudioSetConfiguration() 479 group_config.bits_per_sample = conf.codec.GetBitsPerSample(); in GetAudioSessionCodecConfigFromAudioSetConfiguration() 480 group_config.num_channels += conf.codec.GetChannelCountPerIsoStream(); in GetAudioSessionCodecConfigFromAudioSetConfiguration()
|
D | codec_manager.cc | 333 for (const auto& conf : context_type_offload_config_map_.at(ctx_type)) { in PrintDebugState() local 334 os << conf->name << ", "; in PrintDebugState() 391 auto conf = verifier(requirements, &configs); in GetCodecConfig() local 392 return conf ? std::make_unique<AudioSetConfiguration>(*conf) : nullptr; in GetCodecConfig() 879 for (auto const& conf : software_audio_set_conf->confs.get(direction)) { in IsAudioSetConfigurationMatched() local 880 if (offload_preference_set.find(conf.codec.id.coding_format) == in IsAudioSetConfigurationMatched() 993 for (auto conf : adsp.confs.sink) { in storeLocalCapa() local 996 conf.codec.id.coding_format, conf.codec.GetSamplingFrequencyHz(), in storeLocalCapa() 997 conf.codec.GetDataIntervalUs(), in storeLocalCapa() 998 conf.codec.GetChannelCountPerIsoStream()); in storeLocalCapa() [all …]
|
D | device_groups.cc | 510 if (!stream_conf.conf) { in GetPacking() 514 return stream_conf.conf->packing; in GetPacking() 1343 const set_configurations::AseConfiguration& conf, in CheckIfStrategySupported() argument 1375 auto requested_channel_count = conf.codec.GetChannelCountPerIsoStream(); in CheckIfStrategySupported() 1658 const set_configurations::AudioSetConfiguration* conf = nullptr; in GetConfiguration() local 1666 conf = valid_config_pair.second.get(); in GetConfiguration() 1668 if (!is_valid || (conf == nullptr)) { in GetConfiguration() 1678 const set_configurations::AudioSetConfiguration* conf = nullptr; in GetAudioSessionCodecConfigForDirection() local 1686 conf = valid_config_pair.second.get(); in GetAudioSessionCodecConfigForDirection() 1688 if (!is_valid || (conf == nullptr)) { in GetAudioSessionCodecConfigForDirection() [all …]
|
D | client_parser_test.cc | 1376 const ctp_qos_conf conf{.ase_id = 0x01, in TEST() local 1386 confs.push_back(conf); in TEST() 1417 const ctp_qos_conf conf{.ase_id = 0x01, in TEST() local 1427 confs.push_back(conf); in TEST() 1497 ctp_enable conf{.ase_id = 0x11, .metadata = {0x02, 0x22, 0x21}}; in TEST() local 1498 confs.push_back(conf); in TEST() 1518 ctp_enable conf{.ase_id = 0x11, .metadata = {0x02, 0x22, 0x21}}; in TEST() local 1519 confs.push_back(conf); in TEST() 1683 ctp_update_metadata conf{.ase_id = 0x11, .metadata = {0x02, 0x22, 0x21}}; in TEST() local 1684 confs.push_back(conf); in TEST() [all …]
|
D | le_audio_set_configuration_provider_json.cc | 569 for (const auto& conf : *confs) { in Dump() 570 stream << " name: " << conf->name << " \n"; in Dump() 577 for (const auto& ent : conf->confs.get(direction)) { in Dump() 657 for (const auto& conf : set_configuration.confs.get(direction)) { in CheckConfigurationIsBiDirSwb() local 658 if (conf.codec.GetSamplingFrequencyHz() >= in CheckConfigurationIsBiDirSwb()
|
/packages/modules/Bluetooth/system/conf/ |
D | Android.bp | 1 // Bluetooth bt_stack.conf config file 12 name: "bt_stack.conf", 13 src: "bt_stack.conf", 17 // Bluetooth bt_did.conf config file 19 name: "bt_did.conf", 20 src: "bt_did.conf", 24 // Bluetooth interop_database.conf config file 26 name: "interop_database.conf", 27 src: "interop_database.conf",
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | RunInLocale.java | 38 final Configuration conf = res.getConfiguration(); in runInLocale() local 39 if (newLocale == null || newLocale.equals(conf.locale)) { in runInLocale() 42 final Locale savedLocale = conf.locale; in runInLocale() 44 conf.locale = newLocale; in runInLocale() 45 res.updateConfiguration(conf, null); in runInLocale() 48 conf.locale = savedLocale; in runInLocale() 49 res.updateConfiguration(conf, null); in runInLocale()
|
/packages/modules/adb/libs/libadbd_fs/ |
D | adbd_fs.cpp | 28 struct fs_config conf; in adbd_fs_config() local 29 if (get_fs_config(path, dir, target_out_path, &conf)) { in adbd_fs_config() 30 *uid = conf.uid; in adbd_fs_config() 31 *gid = conf.gid; in adbd_fs_config() 32 *mode = conf.mode; in adbd_fs_config() 33 *capabilities = conf.capabilities; in adbd_fs_config()
|
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/ |
D | migrate.rs | 570 for (adapter, conf) in adapter_conf_map.iter_mut() { in migrate_bluez_devices() 574 let devices = conf.sections(); in migrate_bluez_devices() 583 if conf.get(sec.as_str(), k.as_str()) == None { in migrate_bluez_devices() 584 conf.set(sec.as_str(), k.as_str(), v); in migrate_bluez_devices() 591 conf.set(ADAPTER_SECTION_NAME, "Address", Some(adapter.clone())); in migrate_bluez_devices() 595 match conf.write(FLOSS_CONF_FILE) { in migrate_bluez_devices() 616 fn merge_and_write_bluez_conf(filepath: String, conf: &mut Ini) { in merge_and_write_bluez_conf() 625 if conf.get(sec.as_str(), k.as_str()) == None { in merge_and_write_bluez_conf() 626 conf.set(sec.as_str(), k.as_str(), v); in merge_and_write_bluez_conf() 634 match conf.write(filepath.clone()) { in merge_and_write_bluez_conf() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ScanResultMatchInfoTest.java | 98 WifiConfiguration conf = in testScanResultMatchesWifiConfiguration() local 100 ScanDetail scan = createScanDetailForNetwork(conf, "AA:AA:AA:AA:AA:AA"); in testScanResultMatchesWifiConfiguration() 101 assertEquals(ScanResultMatchInfo.fromWifiConfiguration(conf), in testScanResultMatchesWifiConfiguration() 104 conf = WifiConfigurationTestUtil.createPskNetwork("0123456789"); in testScanResultMatchesWifiConfiguration() 105 scan = createScanDetailForNetwork(conf, "AA:AA:AA:AA:AA:AA"); in testScanResultMatchesWifiConfiguration() 106 assertEquals(ScanResultMatchInfo.fromWifiConfiguration(conf), in testScanResultMatchesWifiConfiguration() 109 conf = WifiConfigurationTestUtil.createOpenNetwork("\"WIFIght the inevitable\""); in testScanResultMatchesWifiConfiguration() 110 scan = createScanDetailForNetwork(conf, "BB:BB:BB:BB:BB:BB"); in testScanResultMatchesWifiConfiguration() 111 assertEquals(ScanResultMatchInfo.fromWifiConfiguration(conf), in testScanResultMatchesWifiConfiguration() 113 assertTrue(ScanResultMatchInfo.fromWifiConfiguration(conf) in testScanResultMatchesWifiConfiguration() [all …]
|
/packages/modules/Virtualization/authfs/service/src/ |
D | authfs.rs | 140 for conf in in_file_fds { in run_authfs() 144 args.push(OsString::from(conf.fd.to_string())); in run_authfs() 146 for conf in out_file_fds { in run_authfs() 148 args.push(OsString::from(conf.fd.to_string())); in run_authfs() 150 for conf in in_dir_fds { in run_authfs() 152 args.push(OsString::from(format!("{}:{}:{}", conf.fd, conf.manifestPath, conf.prefix))); in run_authfs() 154 for conf in out_dir_fds { in run_authfs() 156 args.push(OsString::from(conf.fd.to_string())); in run_authfs()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastResources.java | 298 Configuration conf = context.getResources().getConfiguration(); in getSmsSenderAddressResourceEnglishString() local 299 conf = new Configuration(conf); in getSmsSenderAddressResourceEnglishString() 300 conf.setLocale(Locale.ENGLISH); in getSmsSenderAddressResourceEnglishString() 301 Context localizedContext = context.createConfigurationContext(conf); in getSmsSenderAddressResourceEnglishString() 465 Configuration conf = res.getConfiguration(); in overrideTranslation() local 466 conf = new Configuration(conf); in overrideTranslation() 467 conf.setLocale(new Locale(languageCode)); in overrideTranslation() 468 Context localizedContext = context.createConfigurationContext(conf); in overrideTranslation()
|
/packages/modules/Bluetooth/system/stack/mmc/ |
D | BUILD.gn | 60 sources = [ "dbus_permissions/org.chromium.mmc.CodecManager.conf" ] 70 sources = [ "init/mmc_service.conf" ] 75 sources = [ "tmpfiles.d/mmc.conf" ] 80 sources = [ "minijail/mmc.conf" ]
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 503 conf(links(TEST_LOCAL_ADDRESSES), prefixes(TEST_PREFIXES), ips())) in testProvisioningWithInitialConfiguration() 552 InitialConfiguration empty = conf(links(), prefixes()); in testIsProvisioned() 578 conf(links("fe80::e1f7:22d1/64", "fd2c:4e57:8e3c:0:548d:2db2:4fcf:ef75/64"), in testIsProvisioned() 588 conf(links("fe80::e1f7:22d1/64", "fd2c:4e57:8e3c:0:548d:2db2:4fcf:ef75/64"), in testIsProvisioned() 709 return confTestCase(descr, true, conf(links, prefixes, dns)); in validConf() 714 return confTestCase(descr, false, conf(links, prefixes, dns)); in invalidConf() 735 static InitialConfiguration conf(Set<LinkAddress> links, Set<IpPrefix> prefixes) { in conf() method in IpClientTest 736 return conf(links, prefixes, new HashSet<>()); in conf() 739 static InitialConfiguration conf( in conf() method in IpClientTest 741 InitialConfiguration conf = new InitialConfiguration(); in conf() local [all …]
|
/packages/modules/Wifi/framework/tests/assets/hsr1/ |
D | README.txt | 1 HSR1ProfileWithCACert.conf - unencoded installation file that contains a Passpoint profile and a CA… 2 HSR1ProfileWithCACert.base64 - base64 encoded of the data contained in HSR1ProfileWithCAWith.conf
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkRanker.java | 91 public NetworkRanker(@NonNull final Configuration conf) { in NetworkRanker() argument 95 setConfiguration(conf); in NetworkRanker() 98 public void setConfiguration(@NonNull final Configuration conf) { in setConfiguration() argument 99 mConf = Objects.requireNonNull(conf); in setConfiguration()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | FileManagementUiTest.java | 141 Bundle conf = new Bundle(); in testCopyLargeAmountOfFiles() local 142 conf.putBoolean(StubProvider.EXTRA_ENABLE_ROOT_NOTIFICATION, false); in testCopyLargeAmountOfFiles() 143 mDocsHelper.configure(null, conf); in testCopyLargeAmountOfFiles()
|
/packages/modules/Bluetooth/apex/ |
D | Android.bp | 44 "bt_did.conf", 45 "bt_stack.conf", 47 "interop_database.conf",
|
/packages/apps/Nfc/nci/jni/ |
D | Android.bp | 82 // Provide a default libnfc-nci.conf in /system/etc for devices that 84 "libnfc-nci.conf-default",
|
/packages/services/Car/car_product/build/ |
D | car_product.mk | 24 device/sample/etc/apns-full-conf.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/apns-conf.xml
|
/packages/apps/Nfc/ |
D | Android.bp | 75 // Provide a default libnfc-nci.conf in /system/etc for devices that 77 "libnfc-nci.conf-default",
|
/packages/modules/Bluetooth/system/stack/mmc/init/ |
D | mmc_service.conf | 40 exec minijail0 --config /usr/share/minijail/mmc.conf \
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | TestableNetworkAgent.kt | 65 conf: NetworkAgentConfig 67 nc, lp, TEST_NETWORK_SCORE, conf, Provider(context, looper)) {
|