/foundation/multimedia/image_framework/plugins/manager/src/framework/ |
H A D | plugin_metadata.h | 31 "services": [ 48 "services": [ 75 "services": [ 102 "services": [ 129 "services": [ 156 "services": [ 173 "services": [ 200 "services": [ 227 "services": [ 254 "services" [all...] |
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/test/ |
H A D | wifi_p2p_upnp_service_info_test.cpp | 39 std::vector<std::string> services; in WarpCreate() local 40 services.push_back(std::string("TestUpnpService")); in WarpCreate() 42 WifiP2pUpnpServiceInfo::Create(uuid, device, services, svrName); in WarpCreate() 50 std::vector<std::string> services; in WarpCreateSupQuery() local 51 WifiP2pUpnpServiceInfo::Create(uuid, device, services, svrName).BuildWpaQuery(uuid, data, svrName); in WarpCreateSupQuery()
|
/foundation/systemabilitymgr/samgr_lite/samgr/source/ |
H A D | samgr_lite.c | 54 static void InitializeAllServices(Vector *services);
106 g_samgrImpl.services = VECTOR_Make((VECTOR_Key)GetServiceName, (VECTOR_Compare)strcmp);
in Init() 124 int16 size = VECTOR_Size(&(samgr->services));
in SAMGR_Bootstrap() 127 ServiceImpl *serviceImpl = (ServiceImpl *)VECTOR_At(&(samgr->services), i);
in SAMGR_Bootstrap() 147 int16 size = VECTOR_Size(&(manager->services));
in SAMGR_GetServiceByID() 152 ServiceImpl *serviceImpl = (ServiceImpl *)VECTOR_At(&(manager->services), serviceId);
in SAMGR_GetServiceByID() 159 // Did all services be inited?
in InitCompleted() 162 int16 size = VECTOR_Size(&(manager->services));
in InitCompleted() 171 HILOG_INFO(HILOG_MODULE_SAMGR, "Initialized all core system services!");
in InitCompleted() 179 HILOG_INFO(HILOG_MODULE_SAMGR, "Initialized all system and application services!");
in InitCompleted() 188 InitializeAllServices(Vector *services) InitializeAllServices() argument 259 Vector *services = &(samgr->services); UnregisterService() local 488 Vector *services = &(manager->services); GetService() local 544 Vector *services = &(samgr->services); GetSpecifiedTaskPool() local [all...] |
H A D | samgr_lite_inner.h | 39 #define BOOT_FMT(status) ((status) == BOOT_SYS_WAIT ? "Bootstrap core services(count:%d)." : \
40 ((status) == BOOT_APP_WAIT ? "Bootstrap system and application services(count:%d)." : \
41 ((status) == BOOT_DYNAMIC_WAIT ? "Bootstrap dynamic registered services(count:%d)." : \
42 "Bootstrap other services(count:%d).")))
58 Vector services;
member
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
H A D | hfp_ag_sdp_client.cpp | 179 if (!FindClassId(it->second.services[num].classIds)) { in FindAttributes() 184 if (!FindProfileVersion(it->second.services[num].profileDescriptors, info.remoteVersion)) { in FindAttributes() 189 if (!FindProfileFeatures(it->second.services[num].attributes, info.remoteFeatures)) { in FindAttributes() 244 array.services.push_back(service); in CopySdpServiceArray() 251 if (array.services.capacity() == 0) { in DeleteSdpServiceArray() 255 for (uint16_t n = 0; n < array.services.size(); n++) { in DeleteSdpServiceArray() 256 if (array.services[n].descriptors.capacity() != 0) { in DeleteSdpServiceArray() 257 std::vector<SdpProtocolDescriptor>().swap(array.services[n].descriptors); in DeleteSdpServiceArray() 259 if (array.services[n].profileDescriptors.capacity() != 0) { in DeleteSdpServiceArray() 260 std::vector<SdpProfileDescriptor>().swap(array.services[ in DeleteSdpServiceArray() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/ |
H A D | hfp_hf_sdp_client.cpp | 182 if (!FindProfileVersion(it->second.services[num].profileDescriptors, info.remoteVersion)) { in FindAttributes() 187 if (!FindProfileFeatures(it->second.services[num].attributes, info.remoteFeatures)) { in FindAttributes() 193 if (!FindProfileNetwork(it->second.services[num].attributes, info.remoteNetwork)) { in FindAttributes() 243 array.services.push_back(service); in CopySdpServiceArray() 250 if (array.services.capacity() == 0) { in DeleteSdpServiceArray() 254 for (uint16_t n = 0; n < array.services.size(); n++) { in DeleteSdpServiceArray() 255 if (array.services[n].descriptors.capacity() != 0) { in DeleteSdpServiceArray() 256 std::vector<SdpProtocolDescriptor>().swap(array.services[n].descriptors); in DeleteSdpServiceArray() 258 if (array.services[n].profileDescriptors.capacity() != 0) { in DeleteSdpServiceArray() 259 std::vector<SdpProfileDescriptor>().swap(array.services[ in DeleteSdpServiceArray() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/include/ |
H A D | interface_profile_gatt_server.h | 133 * @param services Service object. 137 virtual void OnAddService(int ret, const Service &services) {} in OnAddService() argument 139 virtual void OnServiceChanged(const Service &services) {} in OnServiceChanged() argument 184 * @param services Services object. 194 * @param services Services object. 199 virtual int RemoveService(int appId, const Service &services) = 0; 201 * @brief The function to clear services.
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/ |
H A D | wifi_p2p_upnp_service_info.cpp | 24 const std::vector<std::string> &services, const std::string &svrName) in Create() 30 for (unsigned long i = 0; i < services.size(); ++i) { in Create() 31 std::string service = services.at(i); in Create() 23 Create(const std::string &uuid, const std::string &device, const std::vector<std::string> &services, const std::string &svrName) Create() argument
|
H A D | wifi_p2p_upnp_service_info.h | 32 * @param services - string list of services 37 const std::vector<std::string> &services, const std::string &svrName);
|
H A D | wifi_p2p_service_manager.cpp | 135 std::vector<WifiP2pServiceInfo> services; in AddDeviceService() local 136 services.push_back(service); in AddDeviceService() 138 std::pair<std::string, std::vector<WifiP2pServiceInfo>>(dev.GetDeviceAddress(), services)); in AddDeviceService() 172 void WifiP2pServiceManager::GetDeviceServices(std::vector<WifiP2pServiceInfo> &services) in GetDeviceServices() argument 182 services.push_back(buf); in GetDeviceServices()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/ |
H A D | i_bluetooth_gatt_server.h | 33 virtual int AddService(int32_t appId, BluetoothGattService *services) = 0; 41 virtual int RemoveService(int32_t appId, const BluetoothGattService &services) = 0;
|
/foundation/communication/bluetooth_service/services/bluetooth/server/include/ |
H A D | bluetooth_gatt_server_server.h | 31 int AddService(int32_t appId, BluetoothGattService *services) override; 39 int RemoveService(int32_t appId, const BluetoothGattService &services) override;
|
/foundation/communication/bluetooth/frameworks/inner/ipc/include/ |
H A D | bluetooth_gatt_server_proxy.h | 29 int AddService(int32_t appId, BluetoothGattService *services) override; 37 int RemoveService(int32_t appId, const BluetoothGattService &services) override;
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/ |
H A D | wifi_mock_p2p_service.cpp | 143 std::vector<WifiP2pServiceInfo> services; in PutLocalP2pService() local 147 services.emplace_back(srvInfo); in PutLocalP2pService() 148 mCallback.OnP2pServicesChangedEvent(services); in PutLocalP2pService() 155 std::vector<WifiP2pServiceInfo> services; in DeleteLocalP2pService() local 159 services.emplace_back(srvInfo); in DeleteLocalP2pService() 160 mCallback.OnP2pServicesChangedEvent(services); in DeleteLocalP2pService() 400 ErrCode WifiMockP2pService::QueryP2pServices(std::vector<WifiP2pServiceInfo> &services) in QueryP2pServices() argument 407 services.push_back(service1); in QueryP2pServices() 413 services.push_back(service2); in QueryP2pServices()
|
H A D | wifi_mock_p2p_service.h | 52 ErrCode QueryP2pServices(std::vector<WifiP2pServiceInfo> &services);
|
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_settings_config.cpp | 665 RetError AccessibilitySettingsConfig::SetEnabledAccessibilityServices(const std::vector<std::string> &services) in SetEnabledAccessibilityServices() argument 668 enabledAccessibilityServices_ = services; in SetEnabledAccessibilityServices() 968 uint32_t AccessibilitySettingsConfig::GetShortKeyService(std::vector<std::string> &services) in GetShortKeyService() argument 972 auto screenReader = std::find_if(services.begin(), services.end(), [&](const std::string& service) { in GetShortKeyService() 975 serviceFlag = screenReader != services.end() ? STATE_EXPLORATION_ENABLED : serviceFlag; in GetShortKeyService() 977 auto invertColor = std::find_if(services.begin(), services.end(), [&](const std::string& service) { in GetShortKeyService() 981 serviceFlag = invertColor != services.end() ? (serviceFlag | STATE_INVETRTCOLOR_ENABLED) : serviceFlag; in GetShortKeyService() 983 auto audioMono = std::find_if(services in GetShortKeyService() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/ |
H A D | gatt_client_profile_callback.h | 48 int reqId, int result, uint16_t connectHandle, const std::map<uint16_t, GattCache::Service> &services) {}; in OnDiscoverAllPrimaryServicesEvent() 50 int reqId, int result, uint16_t connectHandle, const std::map<uint16_t, GattCache::Service> &services) {}; in OnDiscoverPrimaryServicesByServiceUUIDEvent() 52 const std::vector<GattCache::IncludeService> &services) {}; in OnFindIncludedServicesEvent() 47 OnDiscoverAllPrimaryServicesEvent( int reqId, int result, uint16_t connectHandle, const std::map<uint16_t, GattCache::Service> &services) OnDiscoverAllPrimaryServicesEvent() argument 49 OnDiscoverPrimaryServicesByServiceUUIDEvent( int reqId, int result, uint16_t connectHandle, const std::map<uint16_t, GattCache::Service> &services) OnDiscoverPrimaryServicesByServiceUUIDEvent() argument 51 OnFindIncludedServicesEvent(int reqId, int result, uint16_t connectHandle, uint16_t serviceHandle, const std::vector<GattCache::IncludeService> &services) OnFindIncludedServicesEvent() argument
|
H A D | gatt_client_service.cpp | 115 void GetServices(int appId, std::promise<void> &promise, std::vector<Service> &services); 118 int requestId, int ret, uint16_t connectHandle, const std::map<uint16_t, GattCache::Service> &services); 120 const std::vector<GattCache::IncludeService> &services); 414 std::vector<Service> services; in GetServices() local 415 GetDispatcher()->PostTask(std::bind(&impl::GetServices, pimpl.get(), appId, std::ref(promise), std::ref(services))); in GetServices() 418 return services; in GetServices() 468 int reqId, int ret, uint16_t connectHandle, const std::map<uint16_t, GattCache::Service> &services) override 475 std::ref(services))); 479 const std::vector<GattCache::IncludeService> &services) override 487 std::ref(services))); 814 GetServices( int appId, std::promise<void> &promise, std::vector<Service> &services) GetServices() argument 833 OnDiscoverAllPrimaryServicesEvent( int requestId, int ret, uint16_t connectHandle, const std::map<uint16_t, GattCache::Service> &services) OnDiscoverAllPrimaryServicesEvent() argument 863 OnFindIncludedServicesEvent(int requestId, int ret, uint16_t connectHandle, uint16_t serviceHandle, const std::vector<GattCache::IncludeService> &services) OnFindIncludedServicesEvent() argument [all...] |
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/ble/ |
H A D | softbus_adapter_ble_gatt_server.c | 62 ret = IsListEmpty(&g_softBusGattsManager.services); in IsGattsManagerEmpty() 530 LIST_FOR_EACH_ENTRY(it, &g_softBusGattsManager.services, ServerService, node) { in FindCallbackAndNotifyConnected() 657 LIST_FOR_EACH_ENTRY(it, &g_softBusGattsManager.services, ServerService, node) { in FindCallbackByHandle() 732 LIST_FOR_EACH_ENTRY(it, &g_softBusGattsManager.services, ServerService, node) { in FindCallbackByUdidAndSetHandle() 748 LIST_FOR_EACH_ENTRY(it, &g_softBusGattsManager.services, ServerService, node) { in CreateAndAddGattsManager() 768 ListAdd(&g_softBusGattsManager.services, &service->node); in CreateAndAddGattsManager() 779 LIST_FOR_EACH_ENTRY_SAFE(it, next, &g_softBusGattsManager.services, ServerService, node) { in RemoveGattsManager() 845 ListInit(&g_softBusGattsManager.services); in InitSoftbusAdapterServer() 849 ListDelInit(&g_softBusGattsManager.services); in InitSoftbusAdapterServer() 854 ListDelInit(&g_softBusGattsManager.services); in InitSoftbusAdapterServer() [all...] |
/foundation/communication/wifi/wifi/test/wifi_standard/native/ |
H A D | wifi_inner_p2p_test.cpp | 74 std::vector<WifiP2pServiceInfo> services; in HWTEST_F() local 76 EXPECT_TRUE(p2pPtr->QueryP2pServices(services)); in HWTEST_F()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_gatt_server_proxy.cpp | 22 int BluetoothGattServerProxy::AddService(int32_t appId, BluetoothGattService *services) in AddService() argument 28 CHECK_AND_RETURN_LOG_RET(data.WriteParcelable(services), BT_ERR_IPC_TRANS_FAILED, "write services error"); in AddService() 137 int BluetoothGattServerProxy::RemoveService(int32_t appId, const BluetoothGattService &services) in RemoveService() argument 143 CHECK_AND_RETURN_LOG_RET(data.WriteParcelable(&services), BT_ERR_IPC_TRANS_FAILED, "write services error"); in RemoveService()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/ |
H A D | napi_bluetooth_ble_utils.cpp | 49 vector<GattService> services; in ConvertGattServiceToJS() local 52 services.push_back(srv.get()); in ConvertGattServiceToJS() 54 ConvertGattServiceVectorToJS(env, includedServices, services); in ConvertGattServiceToJS() 58 void ConvertGattServiceVectorToJS(napi_env env, napi_value result, vector<GattService>& services) in ConvertGattServiceVectorToJS() argument 63 if (services.empty()) { in ConvertGattServiceVectorToJS() 66 HILOGI("size: %{public}zu", services.size()); in ConvertGattServiceVectorToJS() 67 for (auto& service : services) { in ConvertGattServiceVectorToJS()
|
/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_gatt_server_server.cpp | 162 void OnAddService(int ret, const bluetooth::Service &services) override 165 callback_->OnAddService(ret, (BluetoothGattService)services); 167 void OnServiceChanged(const bluetooth::Service &services) override 306 int BluetoothGattServerServer::AddService(int32_t appId, BluetoothGattService *services) in AddService() argument 318 bluetooth::Service svc = (bluetooth::Service)*services; in AddService() 370 int BluetoothGattServerServer::RemoveService(int32_t appId, const BluetoothGattService &services) in RemoveService() argument 383 int ret = pimpl->serverService_->RemoveService(appId, (bluetooth::Service)services); in RemoveService()
|
/foundation/barrierfree/accessibility/services/aams/include/ |
H A D | accessibility_settings_config.h | 92 RetError SetEnabledAccessibilityServices(const std::vector<std::string> &services); 102 uint32_t GetShortKeyService(std::vector<std::string> &services);
|
/foundation/communication/wifi/wifi/test/fuzztest/frameworks/native/src/wifip2pimpl_fuzzer/ |
H A D | wifip2pimpl_fuzzer.cpp | 97 std::vector<WifiP2pServiceInfo> services; in QueryP2pServicesTest() local 98 WifiP2pPtr->QueryP2pServices(services); in QueryP2pServicesTest()
|