Home
last modified time | relevance | path

Searched refs:features (Results 1 - 25 of 98) sorted by relevance

1234

/foundation/systemabilitymgr/samgr_lite/samgr/source/
H A Dservice.c34 impl->features = VECTOR_Make((VECTOR_Key)GetFeatureName, (VECTOR_Compare)strcmp); in SAMGR_CreateServiceImpl()
50 if (VECTOR_Num(&(serviceImpl->features)) >= MAX_FEATURE_NUM) { in DEFAULT_AddFeature()
59 int16 featureId = VECTOR_Add(&(serviceImpl->features), impl); in DEFAULT_AddFeature()
77 int16 size = VECTOR_Size(&impl->features); in DEFAULT_Initialize()
80 FeatureImpl *feature = (FeatureImpl *)VECTOR_At(&(impl->features), i); in DEFAULT_Initialize()
103 if (VECTOR_Size(&serviceImpl->features) <= identity->featureId) { in DEFAULT_MessageHandle()
107 FeatureImpl *featureImpl = (FeatureImpl *)VECTOR_At(&(serviceImpl->features), identity->featureId); in DEFAULT_MessageHandle()
121 int16 size = VECTOR_Size(&service->features); in DEFAULT_StopService()
124 FeatureImpl *featureImpl = (FeatureImpl *)VECTOR_At(&(service->features), i); in DEFAULT_StopService()
140 short pos = VECTOR_FindByKey(&(serviceImpl->features), (voi in DEFAULT_GetFeature()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/src/model/
H A Dglobal_config.cpp24 SetValue(node[GET_NAME(features)], features); in Marshal()
40 GetValue(node, GET_NAME(features), features); in Unmarshal()
/foundation/distributeddatamgr/pasteboard/services/load/src/
H A Dconfig.cpp42 SetValue(node, features, GET_NAME(features)); in Marshal()
54 GetValue(node, GET_NAME(features), features); in Unmarshal()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_sdp_server.cpp167 uint32_t features = HfpAgDataConnection::GetLocalFeatures(); in AddNetwork() local
168 uint8_t networkValue = (features & HFP_AG_FEATURES_REJECT_CALL) ? 1 : 0; in AddNetwork()
179 uint32_t features = HfpAgDataConnection::GetLocalFeatures(); in AddFeatures() local
180 bool codecMSBC = (features & HFP_AG_FEATURES_CODEC_NEGOTIATION) ? true : false; in AddFeatures()
181 features &= HFP_AG_FEATURES_SDP_SPEC; in AddFeatures()
184 features |= HFP_AG_HF_FEATURES_SUPPORT_WBS; in AddFeatures()
190 featuresAttr.attributeValue = &features; in AddFeatures()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_sdp_server.cpp162 uint32_t features = HfpHfDataConnection::GetLocalFeatures(); in AddFeatures() local
163 bool codecMSBC = (features & HFP_HF_FEATURES_CODEC_NEGOTIATION) ? true : false; in AddFeatures()
164 features &= HFP_HF_FEATURES_SDP_SPEC; in AddFeatures()
167 features |= HFP_HF_AG_FEATURES_SUPPORT_WBS; in AddFeatures()
173 featuresAttr.attributeValue = &features; in AddFeatures()
H A Dhfp_hf_sdp_client.cpp189 LOG_DEBUG("[HFP HF]%{public}s():Not found peer HFP features, using default features", __FUNCTION__); in FindAttributes()
320 bool HfpHfSdpClient::FindProfileFeatures(const std::vector<HfpHfSdpAttribute> &attributes, uint16_t &features) in FindProfileFeatures() argument
325 features = HFP_HF_AG_FEATURES_BRSF_MASK & attributes[num].attributeValue; in FindProfileFeatures()
326 LOG_DEBUG("[HFP HF]%{public}s():Found profile features are [%hu]", __FUNCTION__, features); in FindProfileFeatures()
340 LOG_DEBUG("[HFP HF]%{public}s():Found profile features are [%hhu]", __FUNCTION__, network); in FindProfileNetwork()
348 void HfpHfSdpClient::SelectProfileFeatures(uint16_t &features, int &codec) in SelectProfileFeatures() argument
350 if (features & HFP_HF_AG_FEATURES_SUPPORT_WBS) { in SelectProfileFeatures()
353 features in SelectProfileFeatures()
[all...]
H A Dhfp_hf_sdp_client.h164 * @brief Find out remote AG features.
167 * @param features[out] Remote AG features.
170 static bool FindProfileFeatures(const std::vector<HfpHfSdpAttribute> &attributes, uint16_t &features);
182 * @brief Select remote AG features and codec.
184 * @param features[out] Remote AG features.
185 * @param codec [out] Remote AG features.
187 static void SelectProfileFeatures(uint16_t &features, int &codec);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/feature/
H A Dfeature_system.cpp54 std::vector<std::string> features; in GetFeatureName() local
55 creators_.ForEach([flag, &features](const std::string &key, auto &pair) -> bool { in GetFeatureName()
58 features.push_back(key); in GetFeatureName()
62 return features; in GetFeatureName()
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/base/
H A Dengine_util.cpp121 std::string features = triggerMgr->GetParameter(KEY_GET_WAKEUP_FEATURE); in SetDspFeatures() local
122 if (features == "") { in SetDspFeatures()
124 features = HistoryInfoMgr::GetInstance().GetWakeupDspFeature(); in SetDspFeatures()
125 if (features == "") { in SetDspFeatures()
130 HistoryInfoMgr::GetInstance().SetWakeupDspFeature(features); in SetDspFeatures()
133 std::string kvPair = KEY_GET_WAKEUP_FEATURE + "=" + features; in SetDspFeatures()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dconfig_factory_test.cpp42 std::vector<std::string> features{ "kvdb", "rdb", "object", "backup", "data_sync" }; in HWTEST_F()
43 ASSERT_EQ(global->features, features); in HWTEST_F()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/
H A Dhci_def_le_feature.h25 #define GET_LINK_LAYER_FEATURE_FLAG(features, bitIndex) ((features)[(bitIndex) / 8] & 0x01 << ((bitIndex) % 8))
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Davrcp_media.cpp23 const std::vector<uint8_t> &features, const std::string &name) in AvrcMpItem()
29 features_(features), in AvrcMpItem()
22 AvrcMpItem(uint8_t itemType, uint16_t playerId, uint8_t majorType, uint32_t subType, uint8_t playStatus, const std::vector<uint8_t> &features, const std::string &name) AvrcMpItem() argument
/foundation/communication/wifi/wifi/test/fuzztest/frameworks/native/src/wifip2pimpl_fuzzer/
H A Dwifip2pimpl_fuzzer.cpp106 long features = static_cast<long>(OHOS::Wifi::U32_AT(data)); in GetSupportedFeaturesTest() local
107 WifiP2pPtr->GetSupportedFeatures(features); in GetSupportedFeaturesTest()
115 long features = static_cast<long>(OHOS::Wifi::U32_AT(data)); in IsFeatureSupportedTest() local
116 WifiP2pPtr->IsFeatureSupported(features); in IsFeatureSupportedTest()
/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dwifi_scan_proxy_lite.cpp64 int64_t features = 0; in ParseScanInfos() local
65 (void)ReadInt64(reply, &features); in ParseScanInfos()
66 info.features = features; in ParseScanInfos()
114 int64_t features = 0; in IpcCallback() local
115 (void)ReadInt64(reply, &features); in IpcCallback()
116 *((long *)data->variable) = features; in IpcCallback()
443 ErrCode WifiScanProxy::GetSupportedFeatures(long &features) in GetSupportedFeatures() argument
461 owner.variable = &features; in GetSupportedFeatures()
/foundation/communication/wifi/wifi/frameworks/native/interfaces/
H A Dinter_scan_info.h69 int64_t features; member
89 features(0), in InterScanInfo()
/foundation/communication/wifi/wifi/test/wifi_standard/native/
H A Dwifi_inner_scan_test.cpp62 long features; in HWTEST_F() local
63 ErrCode result = devicePtr->GetSupportedFeatures(features); in HWTEST_F()
H A Dwifi_inner_p2p_test.cpp81 long features = 0; in HWTEST_F() local
83 EXPECT_TRUE(p2pPtr->GetSupportedFeatures(features)); in HWTEST_F()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_sdp.cpp36 AvrcCtSdpManager::AvrcCtSdpManager(uint32_t features) : sdpHandle_(0xFFFFFFFF), features_(features) in AvrcCtSdpManager() argument
38 HILOGI("features: %{public}u", features); in AvrcCtSdpManager()
H A Davrcp_ct_sdp.h23 // The attribute id of the supported features.
26 // All of the features that can registered into the SDP.
43 explicit AvrcCtSdpManager(uint32_t features);
78 uint32_t features_; // The features supported by the AVRCP CT service.
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_sdp.cpp36 AvrcTgSdpManager::AvrcTgSdpManager(uint32_t features) : sdpHandle_(0xFFFFFFFF), features_(features) in AvrcTgSdpManager() argument
38 HILOGI("features:%{public}u", features); in AvrcTgSdpManager()
H A Davrcp_tg_sdp.h24 /// The attribute id of the supported features.
27 /// All of the features that can registered into the SDP.
43 explicit AvrcTgSdpManager(uint32_t features);
78 uint32_t features_; // The features supported by the AVRCP TG service.
/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dserializable_test.cpp82 isSame = oldConfig.features == newConfig.features && isSame; in IsSame()
102 config.features = { prefix + "feature1", prefix + "feature2" }; in CreateConfig()
408 ret = Serializable::SetValue(node, newConfig.features, GET_NAME(features)); in HWTEST_F()
433 " \"features\": [\"features1\", \"features2\"], \n" in HWTEST_F()
455 ASSERT_EQ(config.features[0], "features1"); in HWTEST_F()
456 ASSERT_EQ(config.features[1], "features2"); in HWTEST_F()
/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifiscansa_fuzzer/
H A Dwifiscansa_fuzzer.cpp113 long features = static_cast<long>(data[0]); in GetSupportedFeaturesFuzzTest() local
114 pWifiScanServiceImpl.GetSupportedFeatures(features); in GetSupportedFeaturesFuzzTest()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan_sa/
H A Dwifi_scan_stub_lite.cpp230 (void)WriteUint64(reply, result[i].features); in OnGetScanInfoList()
278 long features = 0; in OnGetSupportedFeatures() local
279 int ret = GetSupportedFeatures(features); in OnGetSupportedFeatures()
284 (void)WriteUint64(reply, features); in OnGetSupportedFeatures()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/include/model/
H A Dglobal_config.h33 std::vector<std::string> features; member in OHOS::DistributedData::final

Completed in 10 milliseconds

1234