/foundation/systemabilitymgr/samgr_lite/samgr/source/ |
H A D | service.c | 34 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 D | global_config.cpp | 24 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 D | config.cpp | 42 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 D | hfp_ag_sdp_server.cpp | 167 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 D | hfp_hf_sdp_server.cpp | 162 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 D | hfp_hf_sdp_client.cpp | 189 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 D | hfp_hf_sdp_client.h | 164 * @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 D | feature_system.cpp | 54 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 D | engine_util.cpp | 121 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 D | config_factory_test.cpp | 42 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 D | hci_def_le_feature.h | 25 #define GET_LINK_LAYER_FEATURE_FLAG(features, bitIndex) ((features)[(bitIndex) / 8] & 0x01 << ((bitIndex) % 8))
|
/foundation/communication/bluetooth/frameworks/inner/ipc/common/ |
H A D | avrcp_media.cpp | 23 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 D | wifip2pimpl_fuzzer.cpp | 106 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 D | wifi_scan_proxy_lite.cpp | 64 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 D | inter_scan_info.h | 69 int64_t features; member 89 features(0), in InterScanInfo()
|
/foundation/communication/wifi/wifi/test/wifi_standard/native/ |
H A D | wifi_inner_scan_test.cpp | 62 long features; in HWTEST_F() local 63 ErrCode result = devicePtr->GetSupportedFeatures(features); in HWTEST_F()
|
H A D | wifi_inner_p2p_test.cpp | 81 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 D | avrcp_ct_sdp.cpp | 36 AvrcCtSdpManager::AvrcCtSdpManager(uint32_t features) : sdpHandle_(0xFFFFFFFF), features_(features) in AvrcCtSdpManager() argument 38 HILOGI("features: %{public}u", features); in AvrcCtSdpManager()
|
H A D | avrcp_ct_sdp.h | 23 // 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 D | avrcp_tg_sdp.cpp | 36 AvrcTgSdpManager::AvrcTgSdpManager(uint32_t features) : sdpHandle_(0xFFFFFFFF), features_(features) in AvrcTgSdpManager() argument 38 HILOGI("features:%{public}u", features); in AvrcTgSdpManager()
|
H A D | avrcp_tg_sdp.h | 24 /// 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 D | serializable_test.cpp | 82 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 D | wifiscansa_fuzzer.cpp | 113 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 D | wifi_scan_stub_lite.cpp | 230 (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 D | global_config.h | 33 std::vector<std::string> features; member in OHOS::DistributedData::final
|