/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/command/ |
H A D | rs_command_factory.cpp | 60 void RSCommandFactory::Register(uint16_t type, uint16_t subtype, UnmarshallingFunc func) in Register() argument 62 auto result = unmarshallingFuncLUT_.try_emplace(MakeKey(type, subtype), func); in Register() 65 " type: %{public}d subtype: %{public}d", type, subtype); in Register() 69 UnmarshallingFunc RSCommandFactory::GetUnmarshallingFunc(uint16_t type, uint16_t subtype) in GetUnmarshallingFunc() argument 71 auto it = unmarshallingFuncLUT_.find(MakeKey(type, subtype)); in GetUnmarshallingFunc() 74 " type=%{public}d subtype=%{public}d", type, subtype); in GetUnmarshallingFunc()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/componentmanager/ |
H A D | component_privacy.cpp | 47 int32_t ComponentPrivacy::OnPrivaceResourceMessage(const ResourceEventType &type, const std::string &subtype, in OnPrivaceResourceMessage() argument 53 ret = OnResourceInfoCallback(subtype, networkId, isSensitive, isSameAccout); in OnPrivaceResourceMessage() 55 HandlePullUpPage(subtype, networkId); in OnPrivaceResourceMessage() 57 HandleClosePage(subtype); in OnPrivaceResourceMessage() 62 void ComponentPrivacy::HandlePullUpPage(const std::string &subtype, const std::string &networkId) in HandlePullUpPage() argument 81 cJSON_AddStringToObject(tmpJson, PRIVACY_SUBTYPE.c_str(), subtype.c_str()); in HandlePullUpPage() 94 void ComponentPrivacy::HandleClosePage(const std::string &subtype) in HandleClosePage() argument 110 cJSON_AddStringToObject(tmpJson, PRIVACY_SUBTYPE.c_str(), subtype.c_str()); in HandleClosePage() 122 int32_t ComponentPrivacy::OnResourceInfoCallback(const std::string &subtype, const std::string &networkId, in OnResourceInfoCallback() argument 130 if (resourceDesc.find(subtype) in OnResourceInfoCallback() 156 StartPrivacePage(const std::string &subtype, const std::string &networkId) StartPrivacePage() argument 192 StopPrivacePage(const std::string &subtype) StopPrivacePage() argument 308 std::string subtype = cJSON_GetObjectItem(innerMsg, PRIVACY_SUBTYPE.c_str())->valuestring; ProcessStartPage() local 338 std::string subtype = cJSON_GetObjectItem(innerMsg, PRIVACY_SUBTYPE.c_str())->valuestring; ProcessStopPage() local [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/componentmanager/component_privacy/ |
H A D | component_privacy_test.cpp | 65 std::string subtype = "mic"; in HWTEST_F() local 69 int32_t ret = compPrivacy_->OnPrivaceResourceMessage(type, subtype, networkId, isSensitive, isSameAccout); in HWTEST_F() 79 std::string subtype = "mic"; in HWTEST_F() local 83 int32_t ret = compPrivacy_->OnPrivaceResourceMessage(type, subtype, networkId, isSensitive, isSameAccout); in HWTEST_F() 93 std::string subtype = "mic"; in HWTEST_F() local 97 int32_t ret = compPrivacy_->OnPrivaceResourceMessage(type, subtype, networkId, isSensitive, isSameAccout); in HWTEST_F() 106 std::string subtype = "mic"; in HWTEST_F() local 110 ComponentLoader::GetInstance().resDescMap_[subtype] = true; in HWTEST_F() 111 int32_t ret = compPrivacy_->OnResourceInfoCallback(subtype, networkId, isSensitive, isSameAccout); in HWTEST_F()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/localhardwaremanager/pluginlistenerimpl/src/ |
H A D | plugin_listener_impl_test.cpp | 28 const std::string subtype = "subtype"; member 58 EXPECT_EQ(g_mockHardwareHandler->PluginHardware(dhId, attrs, subtype), DH_FWK_SUCCESS); in HWTEST_F() 88 listener->PluginHardware(dhId, attrs, subtype); in HWTEST_F() 111 listener->PluginHardware(dhId1, attrs1, subtype); in HWTEST_F() 112 listener->PluginHardware(dhId2, attrs1, subtype); in HWTEST_F() 113 listener->PluginHardware(dhId3, attrs1, subtype); in HWTEST_F() 114 listener->PluginHardware(dhId3, attrs2, subtype); in HWTEST_F() 115 listener->PluginHardware(dhId3, attrs3, subtype); in HWTEST_F()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/componentmanager/ |
H A D | component_privacy.h | 24 const std::string PRIVACY_SUBTYPE = "subtype"; 33 int32_t OnPrivaceResourceMessage(const ResourceEventType &type, const std::string &subtype, 35 int32_t OnResourceInfoCallback(const std::string &subtype, const std::string &networkId, 37 int32_t StartPrivacePage(const std::string &subtype, const std::string &networkId); 38 int32_t StopPrivacePage(const std::string &subtype); 59 void HandleClosePage(const std::string &subtype); 60 void HandlePullUpPage(const std::string &subtype, const std::string &networkId);
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/cmd/ |
H A D | rs_cmd_factory_test.cpp | 50 uint16_t subtype = 65535; // for test in HWTEST_F() local 51 func = factory.GetUnmarshallingFunc(type, subtype); in HWTEST_F() 69 uint16_t subtype = 65535; // for test in HWTEST_F() local 70 func = factory.GetUnmarshallingFunc(type, subtype); in HWTEST_F() 71 factory.Register(type, subtype, func); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/ |
H A D | rs_command_factory_test.cpp | 50 uint16_t subtype = 65535; // for test in HWTEST_F() local 51 func = factory.GetUnmarshallingFunc(type, subtype); in HWTEST_F() 52 factory.Register(type, subtype, func); in HWTEST_F() 70 uint16_t subtype = 65535; // for test in HWTEST_F() local 71 func = factory.GetUnmarshallingFunc(type, subtype); in HWTEST_F()
|
/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/include/enhancement_service/ |
H A D | enhancement_service_callback.h | 37 int32_t subtype;
member 40 subtype(0), hidden(0) {}
in CloudEnhancementFileInfo() 42 int32_t subtype, int32_t hidden) : fileId(fileId), filePath(filePath),
in CloudEnhancementFileInfo() 43 displayName(displayName), subtype(subtype), hidden(hidden) {}
in CloudEnhancementFileInfo()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/ |
H A D | rs_profiler_network_test.cpp | 122 auto subtype = static_cast<char>(PackageID::RS_PROFILER_RDC_BINARY); in HWTEST_F() local 123 std::vector<char> sendData { type, 10, 0, 0, 0, subtype, 'p', 'a', 't', 'h' }; in HWTEST_F() 139 auto subtype = static_cast<char>(PackageID::RS_PROFILER_DCL_BINARY); in HWTEST_F() local 140 std::vector<char> sendData { type, 10, 0, 0, 0, subtype, 'p', 'a', 't', 'h' }; in HWTEST_F() 159 auto subtype = static_cast<char>(PackageID::RS_PROFILER_SKP_BINARY); in HWTEST_F() local 160 std::vector<char> sendData { type, 12, 0, 0, 0, subtype, 0, 1, 2, 3, 4, 5 }; in HWTEST_F() 174 auto subtype = static_cast<char>(PackageID::RS_PROFILER_RSTREE_PERF_NODE_LIST); in HWTEST_F() local 175 std::vector<char> sendData { type, 6, 0, 0, 0, subtype }; in HWTEST_F() 180 sendData = { type, 22, 0, 0, 0, subtype, 2, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 }; in HWTEST_F() 194 auto subtype in HWTEST_F() local [all...] |
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/camera_sink/src/callback/ |
H A D | dcamera_sink_callback.cpp | 29 int32_t DCameraSinkCallback::OnNotifyResourceInfo(const ResourceEventType &type, const std::string &subtype, in OnNotifyResourceInfo() argument 32 DHLOGI("DCameraSinkCallback OnNotifyResourceInfo type: %{public}d, subtype: %{public}s, networkId: %{public}s, " in OnNotifyResourceInfo() 33 "isSensitive: %{public}d, isSameAccout: %{public}d", (uint32_t)type, subtype.c_str(), in OnNotifyResourceInfo() 40 ret = (*iter)->OnPrivaceResourceMessage(type, subtype, networkId, isSensitive, isSameAccout); in OnNotifyResourceInfo()
|
H A D | dcamera_sink_callback_stub.cpp | 63 std::string subtype = data.ReadString(); in OnNotifyResourceInfoInner() local 65 ret = OnNotifyResourceInfo(type, subtype, networkId, isSensitive, isSameAccout); in OnNotifyResourceInfoInner()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_album_refresh.cpp | 31 static void NotifyAnalysisAlbum(PhotoAlbumSubType subtype, int32_t albumId) in NotifyAnalysisAlbum() argument 36 if (NEED_FLUSH_ANALYSIS_ALBUM.find(subtype) != NEED_FLUSH_ANALYSIS_ALBUM.end()) { in NotifyAnalysisAlbum() 51 static void NotifySystemAlbumFunc(PhotoAlbumType albumtype, PhotoAlbumSubType subtype, int32_t albumId) in NotifySystemAlbumFunc() argument 54 NotifyAnalysisAlbum(subtype, albumId); in NotifySystemAlbumFunc() 61 if (NEED_FLUSH_PHOTO_ALBUM.find(subtype) != NEED_FLUSH_PHOTO_ALBUM.end()) { in NotifySystemAlbumFunc()
|
H A D | photo_map_operations.cpp | 200 PhotoAlbumSubType subtype, const string &albumId, const vector<string> &assetsArray) in GetDismissAssetsPredicates() 202 if (subtype == PhotoAlbumSubType::PORTRAIT) { in GetDismissAssetsPredicates() 213 int32_t DoDismissAssets(int32_t subtype, const string &albumId, const vector<string> &assetIds) in DoDismissAssets() argument 216 if (subtype == PhotoAlbumSubType::GROUP_PHOTO) { in DoDismissAssets() 229 static_cast<PhotoAlbumSubType>(subtype), albumId, assetIds); in DoDismissAssets() 261 int32_t subtype = atoi(strSubtype.c_str()); in DismissAssets() local 262 if (subtype != PhotoAlbumSubType::CLASSIFY && subtype != PhotoAlbumSubType::PORTRAIT && in DismissAssets() 263 subtype != PhotoAlbumSubType::GROUP_PHOTO) { in DismissAssets() 264 MEDIA_ERR_LOG("Invalid album subtype in DismissAssets() 199 GetDismissAssetsPredicates(NativeRdb::RdbPredicates &rdbPredicate, vector<string> &updateAlbumIds, PhotoAlbumSubType subtype, const string &albumId, const vector<string> &assetsArray) GetDismissAssetsPredicates() argument [all...] |
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/callbacksinkonremoterequest_fuzzer/ |
H A D | callbacksinkonremoterequest_fuzzer.cpp | 45 std::string subtype(reinterpret_cast<const char*>(data), size); in CallbackSinkOnRemoteRequestFuzzTest() 50 pdata.WriteString(subtype); in CallbackSinkOnRemoteRequestFuzzTest() 71 std::string subtype(reinterpret_cast<const char*>(data), size); in CallbackSinkOnNotifyResourceInfoInnerFuzzTest() 76 pdata.WriteString(subtype); in CallbackSinkOnNotifyResourceInfoInnerFuzzTest()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/command/ |
H A D | rs_command_factory.h | 34 void Register(uint16_t type, uint16_t subtype, UnmarshallingFunc func); 35 UnmarshallingFunc GetUnmarshallingFunc(uint16_t type, uint16_t subtype);
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/ |
H A D | item_property_aux_box.cpp | 35 for (uint8_t subtype: auxSubtypes_) { in Write() 36 writer.Write8(subtype); in Write()
|
/foundation/distributedhardware/distributed_screen/screenhandler/test/fuzztest/pluginhardware_fuzzer/ |
H A D | pluginhardware_fuzzer.cpp | 33 std::string subtype(reinterpret_cast<const char*>(data), size); in PluginHardwareFuzzTest() 35 DScreenHandler::GetInstance().PluginHardware(dhId, attr, subtype); in PluginHardwareFuzzTest()
|
/foundation/distributedhardware/distributed_screen/screenhandler/test/unittest/screenhandler/include/ |
H A D | dscreen_handler_test.h | 40 void PluginHardware(const std::string &dhId, const std::string &attrs, const std::string &subtype) override 44 (void) subtype; variable
|
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/callbackonnotifyresourceinfo_fuzzer/ |
H A D | callbackonnotifyresourceinfo_fuzzer.cpp | 38 std::string subtype(reinterpret_cast<const char*>(data), size); in CallbackOnNotifyResourceInfoFuzzTest() 49 dcameraSinkCallback->OnNotifyResourceInfo(type, subtype, networkId, isSensitive, isSameAccout); in CallbackOnNotifyResourceInfoFuzzTest()
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/src/distributedcamera/ |
H A D | dcamera_sink_callback_proxy.cpp | 26 int32_t DCameraSinkCallbackProxy::OnNotifyResourceInfo(const ResourceEventType &type, const std::string &subtype, in OnNotifyResourceInfo() argument 43 if (!req.WriteInt32(resType) || !req.WriteString(subtype) || !req.WriteString(networkId)) { in OnNotifyResourceInfo()
|
/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonnotifyresourceinfo_fuzzer/ |
H A D | sinkipccallbackonnotifyresourceinfo_fuzzer.cpp | 37 std::string subtype(reinterpret_cast<const char*>(data), size); in SinkIpcCallbackOnNotifyResourceInfoFuzzTest() 43 callback->OnNotifyResourceInfo(type, subtype, networkId, isSensitive, isSameAccout); in SinkIpcCallbackOnNotifyResourceInfoFuzzTest()
|
/foundation/distributedhardware/distributed_hardware_fwk/common/utils/include/ |
H A D | ihardware_handler.h | 30 std::string subtype; member 35 virtual void PluginHardware(const std::string &dhId, const std::string &attrs, const std::string &subtype) = 0;
|
/foundation/distributedhardware/distributed_screen/screenhandler/src/ |
H A D | dscreen_handler.cpp | 99 std::string subtype = "screen"; in OnConnect() local 101 DScreenHandler::GetInstance().PluginHardware(dhId, attrJson.dump(), subtype); in OnConnect() 111 void DScreenHandler::PluginHardware(const std::string &dhId, const std::string &attr, const std::string &subtype) in PluginHardware() argument 115 listener_->PluginHardware(dhId, attr, subtype); in PluginHardware() 181 dhItem.subtype = "screen"; in RealQuery()
|
/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonnotifyresourceinfoinner_fuzzer/ |
H A D | sinkipccallbackonnotifyresourceinfoinner_fuzzer.cpp | 48 std::string subtype(reinterpret_cast<const char*>(data), size); in SinkIpcCallbackOnNotifyResourceInfoInnerFuzzTest() 53 pdata.WriteString(subtype); in SinkIpcCallbackOnNotifyResourceInfoInnerFuzzTest()
|
/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonremoterequest_fuzzer/ |
H A D | sinkipccallbackonremoterequest_fuzzer.cpp | 48 std::string subtype(reinterpret_cast<const char*>(data), size); in SinkIpcCallbackOnRemoteRequestFuzzTest() 53 pdata.WriteString(subtype); in SinkIpcCallbackOnRemoteRequestFuzzTest()
|