Home
last modified time | relevance | path

Searched refs:conf (Results 1 – 25 of 35) sorted by relevance

12

/packages/modules/Bluetooth/system/bta/le_audio/
Dclient_parser.cc293 [&conf_ents_str](size_t cur_len, auto const& conf) { in PrepareAseCtpCodecConfig() argument
294 auto ltv_map = conf.codec_config.GetAsLtvMap(); in PrepareAseCtpCodecConfig()
310 for (const struct ctp_codec_conf& conf : confs) { in PrepareAseCtpCodecConfig() local
311 UINT8_TO_STREAM(msg, conf.ase_id); in PrepareAseCtpCodecConfig()
312 UINT8_TO_STREAM(msg, conf.target_latency); in PrepareAseCtpCodecConfig()
313 UINT8_TO_STREAM(msg, conf.target_phy); in PrepareAseCtpCodecConfig()
314 UINT8_TO_STREAM(msg, conf.codec_id.coding_format); in PrepareAseCtpCodecConfig()
315 UINT16_TO_STREAM(msg, conf.codec_id.vendor_company_id); in PrepareAseCtpCodecConfig()
316 UINT16_TO_STREAM(msg, conf.codec_id.vendor_codec_id); in PrepareAseCtpCodecConfig()
318 auto ltv_map = conf.codec_config.GetAsLtvMap(); in PrepareAseCtpCodecConfig()
[all …]
Dstate_machine.cc1556 struct le_audio::client_parser::ascs::ctp_codec_conf conf; in PrepareAndSendCodecConfigure() local
1575 conf.ase_id = ase->id; in PrepareAndSendCodecConfigure()
1576 conf.target_latency = ase->target_latency; in PrepareAndSendCodecConfigure()
1577 conf.target_phy = group->GetTargetPhy(ase->direction); in PrepareAndSendCodecConfigure()
1578 conf.codec_id = ase->codec_id; in PrepareAndSendCodecConfigure()
1579 conf.codec_config = ase->codec_config; in PrepareAndSendCodecConfigure()
1580 confs.push_back(conf); in PrepareAndSendCodecConfigure()
1995 struct le_audio::client_parser::ascs::ctp_enable conf; in PrepareAndSendEnable() local
2006 conf.ase_id = ase->id; in PrepareAndSendEnable()
2007 conf.metadata = ase->metadata; in PrepareAndSendEnable()
[all …]
Dclient_parser_test.cc1249 const ctp_qos_conf conf{.ase_id = 0x01, in TEST() local
1259 confs.push_back(conf); in TEST()
1290 const ctp_qos_conf conf{.ase_id = 0x01, in TEST() local
1300 confs.push_back(conf); in TEST()
1370 ctp_enable conf{.ase_id = 0x11, .metadata = {0x02, 0x22, 0x21}}; in TEST() local
1371 confs.push_back(conf); in TEST()
1391 ctp_enable conf{.ase_id = 0x11, .metadata = {0x02, 0x22, 0x21}}; in TEST() local
1392 confs.push_back(conf); in TEST()
1556 ctp_update_metadata conf{.ase_id = 0x11, .metadata = {0x02, 0x22, 0x21}}; in TEST() local
1557 confs.push_back(conf); in TEST()
[all …]
Ddevices.cc1694 for (const auto& conf : audio_set_conf->confs) { in GetCodecConfigurationByDirection() local
1695 if (conf.direction != direction) continue; in GetCodecConfigurationByDirection()
1698 conf.codec.GetConfigSamplingFrequency() != group_config.sample_rate) { in GetCodecConfigurationByDirection()
1705 group_config.sample_rate = conf.codec.GetConfigSamplingFrequency(); in GetCodecConfigurationByDirection()
1708 conf.codec.GetConfigDataIntervalUs() != group_config.data_interval_us) { in GetCodecConfigurationByDirection()
1715 group_config.data_interval_us = conf.codec.GetConfigDataIntervalUs(); in GetCodecConfigurationByDirection()
1718 conf.codec.GetConfigBitsPerSample() != group_config.bits_per_sample) { in GetCodecConfigurationByDirection()
1725 group_config.bits_per_sample = conf.codec.GetConfigBitsPerSample(); in GetCodecConfigurationByDirection()
1728 conf.codec.GetConfigChannelCount() * conf.device_cnt; in GetCodecConfigurationByDirection()
1931 for (const auto& conf : *confs) { in FindFirstSupportedConfiguration()
[all …]
Dstate_machine_test.cc545 client_parser::ascs::ase_codec_configured_state_params* conf = in InjectAseStateNotification() local
549 std::vector<uint8_t> notif_value(25 + conf->codec_spec_conf.size()); in InjectAseStateNotification()
557 UINT8_TO_STREAM(p, conf->framing); in InjectAseStateNotification()
558 UINT8_TO_STREAM(p, conf->preferred_phy); in InjectAseStateNotification()
559 UINT8_TO_STREAM(p, conf->preferred_retrans_nb); in InjectAseStateNotification()
560 UINT16_TO_STREAM(p, conf->max_transport_latency); in InjectAseStateNotification()
561 UINT24_TO_STREAM(p, conf->pres_delay_min); in InjectAseStateNotification()
562 UINT24_TO_STREAM(p, conf->pres_delay_max); in InjectAseStateNotification()
563 UINT24_TO_STREAM(p, conf->preferred_pres_delay_min); in InjectAseStateNotification()
564 UINT24_TO_STREAM(p, conf->preferred_pres_delay_max); in InjectAseStateNotification()
[all …]
Dclient.cc2422 if (!stream_conf->conf) { in AttachToStreamingGroupIfNeeded()
2428 get_num_of_devices_in_configuration(stream_conf->conf); in AttachToStreamingGroupIfNeeded()
2431 !group->IsConfigurationSupported(leAudioDevice, stream_conf->conf)) { in AttachToStreamingGroupIfNeeded()
2669 LOG_INFO("configuration: %s", stream_conf->conf->name.c_str()); in GetStreamSinkConfiguration()
2984 LOG_INFO("configuration: %s", stream_conf->conf->name.c_str()); in GetStreamSourceConfiguration()
3059 void printSingleConfiguration(int fd, LeAudioCodecConfiguration* conf, in printSingleConfiguration() argument
3070 stream << "\tsample rate: " << +conf->sample_rate in printSingleConfiguration()
3071 << ",\tchan: " << +conf->num_channels in printSingleConfiguration()
3072 << ",\tbits: " << +conf->bits_per_sample in printSingleConfiguration()
3073 << ",\tdata_interval_us: " << +conf->data_interval_us << "\n"; in printSingleConfiguration()
[all …]
Dle_audio_types.h191 uint16_t constexpr SamplingFreqConfig2Capability(uint8_t conf) { in SamplingFreqConfig2Capability() argument
192 return (1 << (conf - 1)); in SamplingFreqConfig2Capability()
195 uint8_t constexpr FrameDurationConfig2Capability(uint8_t conf) { in FrameDurationConfig2Capability() argument
196 return (0x01 << (conf)); in FrameDurationConfig2Capability()
784 const le_audio::set_configurations::AudioSetConfiguration* conf; member
Dle_audio_set_configuration_provider_json.cc559 for (const auto& conf : *confs) { in Dump()
560 stream << " name: " << conf->name << " \n"; in Dump()
561 for (const auto& ent : conf->confs) { in Dump()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanResultMatchInfoTest.java98 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DRunInLocale.java38 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/Virtualization/authfs/service/src/
Dauthfs.rs143 for conf in in_file_fds { in run_authfs()
147 args.push(OsString::from(conf.fd.to_string())); in run_authfs()
149 for conf in out_file_fds { in run_authfs()
151 args.push(OsString::from(conf.fd.to_string())); in run_authfs()
153 for conf in in_dir_fds { in run_authfs()
155 args.push(OsString::from(format!("{}:{}:{}", conf.fd, conf.manifestPath, conf.prefix))); in run_authfs()
157 for conf in out_dir_fds { in run_authfs()
159 args.push(OsString::from(conf.fd.to_string())); in run_authfs()
/packages/modules/StatsD/tests/src/android/cts/statsd/atom/
DDeviceAtomTestCase.java82 StatsdConfig.Builder conf = createConfigBuilder(); in doDeviceMethodOnOff() local
83 addAtomEvent(conf, atom, createFvm(key).setEqInt(stateOn)); in doDeviceMethodOnOff()
84 addAtomEvent(conf, atom, createFvm(key).setEqInt(stateOff)); in doDeviceMethodOnOff()
85 List<EventMetricData> data = doDeviceMethod(methodName, conf); in doDeviceMethodOnOff()
115 StatsdConfig.Builder conf = createConfigBuilder(); in createAndUploadConfig() local
116 addAtomEvent(conf, atomTag, useAttribution); in createAndUploadConfig()
117 uploadConfig(conf); in createAndUploadConfig()
127 … protected void addAtomEvent(StatsdConfig.Builder conf, int atomTag, FieldValueMatcher.Builder fvm) in addAtomEvent() argument
132 addAtomEvent(conf, atomTag, Arrays.asList(fvm, fvmUid)); in addAtomEvent()
142 protected void addAtomEvent(StatsdConfig.Builder conf, int atomTag, in addAtomEvent() argument
[all …]
DAtomTestCase.java287 StatsdConfig.Builder conf = createConfigBuilder(); in createAndUploadConfig() local
288 addAtomEvent(conf, atomTag); in createAndUploadConfig()
289 uploadConfig(conf); in createAndUploadConfig()
665 protected void addAtomEvent(StatsdConfig.Builder conf, int atomTag) throws Exception { in addAtomEvent() argument
666 addAtomEvent(conf, atomTag, new ArrayList<FieldValueMatcher.Builder>()); in addAtomEvent()
676 protected void addAtomEvent(StatsdConfig.Builder conf, int atomTag, in addAtomEvent() argument
679 addAtomEvent(conf, atomTag, Arrays.asList(fvm)); in addAtomEvent()
689 protected void addAtomEvent(StatsdConfig.Builder conf, int atomId, in addAtomEvent() argument
701 conf.addAtomMatcher(AtomMatcher.newBuilder() in addAtomEvent()
704 conf.addEventMetric(EventMetric.newBuilder() in addAtomEvent()
[all …]
/packages/modules/Bluetooth/system/conf/
DAndroid.bp1 // 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",
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java394 conf(links(TEST_LOCAL_ADDRESSES), prefixes(TEST_PREFIXES), ips())) in testProvisioningWithInitialConfiguration()
441 InitialConfiguration empty = conf(links(), prefixes()); in testIsProvisioned()
467 conf(links("fe80::e1f7:22d1/64", "fd2c:4e57:8e3c:0:548d:2db2:4fcf:ef75/64"), in testIsProvisioned()
477 conf(links("fe80::e1f7:22d1/64", "fd2c:4e57:8e3c:0:548d:2db2:4fcf:ef75/64"), in testIsProvisioned()
596 return confTestCase(descr, true, conf(links, prefixes, dns)); in validConf()
601 return confTestCase(descr, false, conf(links, prefixes, dns)); in invalidConf()
622 static InitialConfiguration conf(Set<LinkAddress> links, Set<IpPrefix> prefixes) { in conf() method in IpClientTest
623 return conf(links, prefixes, new HashSet<>()); in conf()
626 static InitialConfiguration conf( in conf() method in IpClientTest
628 InitialConfiguration conf = new InitialConfiguration(); in conf() local
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastResources.java297 Configuration conf = context.getResources().getConfiguration(); in getSmsSenderAddressResourceEnglishString() local
298 conf = new Configuration(conf); in getSmsSenderAddressResourceEnglishString()
299 conf.setLocale(Locale.ENGLISH); in getSmsSenderAddressResourceEnglishString()
300 Context localizedContext = context.createConfigurationContext(conf); in getSmsSenderAddressResourceEnglishString()
DCellBroadcastAlertDialog.java695 Configuration conf = res.getConfiguration(); in overrideTranslation() local
696 conf = new Configuration(conf); in overrideTranslation()
697 conf.setLocale(new Locale(languageCode)); in overrideTranslation()
698 Context localizedContext = getApplicationContext().createConfigurationContext(conf); in overrideTranslation()
/packages/modules/Wifi/framework/tests/assets/hsr1/
DREADME.txt1 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/apps/DocumentsUI/tests/functional/com/android/documentsui/
DFileManagementUiTest.java141 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/system/doc/
Dpts_guide.md30 `conf/bt_stack.conf`. To enable a flag, uncomment the corresponding line and
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java368 public static boolean readHasHardwareKeyboard(final Configuration conf) { in readHasHardwareKeyboard() argument
373 return conf.keyboard != Configuration.KEYBOARD_NOKEYS in readHasHardwareKeyboard()
374 && conf.hardKeyboardHidden != Configuration.HARDKEYBOARDHIDDEN_YES; in readHasHardwareKeyboard()
/packages/services/Car/car_product/build/
Dcar.mk69 frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf
/packages/apps/Launcher3/src/com/android/launcher3/util/window/
DWindowManagerProxy.java213 Configuration conf = new Configuration(); in estimateWindowBounds() local
214 conf.smallestScreenWidthDp = swDp; in estimateWindowBounds()
215 systemRes = context.createConfigurationContext(conf).getResources(); in estimateWindowBounds()
/packages/modules/Bluetooth/apex/
DAndroid.bp56 "bt_did.conf",
57 "bt_stack.conf",
/packages/modules/Bluetooth/system/gd/rust/chromeos/examples/dbus/
Dfloss.conf5 <!-- ../system.conf have denied everything, so we just punch some holes -->

12