Home
last modified time | relevance | path

Searched refs:subtype (Results 1 – 25 of 154) sorted by relevance

1234567

/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/componentmanager/
H A Dcomponent_privacy.cpp55 HandlePullUpPage(subtype, networkId); in OnPrivaceResourceMessage()
57 HandleClosePage(subtype); in OnPrivaceResourceMessage()
94 void ComponentPrivacy::HandleClosePage(const std::string &subtype) in HandleClosePage() argument
130 if (resourceDesc.find(subtype) == resourceDesc.end()) { in OnResourceInfoCallback()
134 isSensitive = resourceDesc[subtype]; in OnResourceInfoCallback()
170 if (subtype == "mic") { in StartPrivacePage()
172 } else if (subtype == "camera") { in StartPrivacePage()
196 if (subtype == "mic") { in StopPrivacePage()
198 } else if (subtype == "camera") { in StopPrivacePage()
318 comPrivacyObj_->StartPrivacePage(subtype, networkId); in ProcessStartPage()
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-ime-kit/
H A Djs-apis-inputmethod-subtype.md3 …s for managing the attributes of input method subtypes. The input method subtype allows the input …
23 | label | string | Yes| Yes| Optional. Label of the input method subtype.|
24 | labelId<sup>10+</sup> | number | Yes| Yes| Optional. Label ID of the input method subtype.|
25 …ng | Yes| No| Mandatory. Bundle name of the application to which the input method subtype belongs.|
26 | id | string | Yes| No| Mandatory. ID of the input method subtype.|
27 | mode | 'upper' \| 'lower' | Yes| Yes| Optional. Mode of the input method subtype, including **upp…
28 | locale | string | Yes| No| Mandatory. Locale of the input method subtype.|
29 | language | string | Yes| No| Mandatory. Language of the input method subtype.|
30 | icon | string | Yes| Yes| Optional. Icon of the input method subtype. It can be obtained by using…
31 | iconId | number | Yes| Yes| Optional. Icon ID of the input method subtype.|
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/command/
H A Drs_command_factory.cpp60 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()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/componentmanager/component_privacy/
H A Dcomponent_privacy_test.cpp65 std::string subtype = "mic"; variable
69 …int32_t ret = compPrivacy_->OnPrivaceResourceMessage(type, subtype, networkId, isSensitive, isSame…
79 std::string subtype = "mic"; variable
83 …int32_t ret = compPrivacy_->OnPrivaceResourceMessage(type, subtype, networkId, isSensitive, isSame…
93 std::string subtype = "mic"; variable
97 …int32_t ret = compPrivacy_->OnPrivaceResourceMessage(type, subtype, networkId, isSensitive, isSame…
106 std::string subtype = "mic"; variable
110 ComponentLoader::GetInstance().resDescMap_[subtype] = true;
111 … int32_t ret = compPrivacy_->OnResourceInfoCallback(subtype, networkId, isSensitive, isSameAccout);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/
H A Drs_profiler_network_test.cpp142 auto subtype = static_cast<char>(PackageID::RS_PROFILER_RDC_BINARY); variable
143 std::vector<char> sendData { type, 10, 0, 0, 0, subtype, 'p', 'a', 't', 'h' };
159 auto subtype = static_cast<char>(PackageID::RS_PROFILER_DCL_BINARY); variable
160 std::vector<char> sendData { type, 10, 0, 0, 0, subtype, 'p', 'a', 't', 'h' };
179 auto subtype = static_cast<char>(PackageID::RS_PROFILER_SKP_BINARY); variable
180 std::vector<char> sendData { type, 12, 0, 0, 0, subtype, 0, 1, 2, 3, 4, 5 };
194 auto subtype = static_cast<char>(PackageID::RS_PROFILER_RSTREE_PERF_NODE_LIST); variable
195 std::vector<char> sendData { type, 6, 0, 0, 0, subtype };
200 sendData = { type, 22, 0, 0, 0, subtype, 2, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 };
214 auto subtype = static_cast<char>(PackageID::RS_PROFILER_RSTREE_SINGLE_NODE_PERF); variable
[all …]
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/localhardwaremanager/pluginlistenerimpl/src/
H A Dplugin_listener_impl_test.cpp28 const std::string subtype = "subtype"; variable
58 EXPECT_EQ(g_mockHardwareHandler->PluginHardware(dhId, attrs, subtype), DH_FWK_SUCCESS);
88 listener->PluginHardware(dhId, attrs, subtype);
111 listener->PluginHardware(dhId1, attrs1, subtype);
112 listener->PluginHardware(dhId2, attrs1, subtype);
113 listener->PluginHardware(dhId3, attrs1, subtype);
114 listener->PluginHardware(dhId3, attrs2, subtype);
115 listener->PluginHardware(dhId3, attrs3, subtype);
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/componentmanager/
H A Dcomponent_privacy.h33 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);
/ohos5.0/docs/en/application-dev/inputmethod/
H A Dinput-method-subtype-guide.md32 …Configure the subtype fields. For details about the fields, see [InputMethodSubtype](../reference/…
54 3. Register a listener in the input method application for subtype changes, so as to load a subtype
62 …let subType = inputMethodSubtype; // Save the current input method subtype. You can also change th…
63 …id == 'InputMethodExtAbility') {// Different soft keyboard UIs are loaded according to the subtype.
66 … == 'InputMethodExtAbility1') { // Different soft keyboard UIs are loaded according to the subtype.
74 1. To obtain the current subtype of the current input method, call [getCurrentInputMethodSubtype](.…
83 1. To switch to another subtype of the current input method, call [switchCurrentInputMethodSubtype]…
85 2. To switch to a specified subtype of a specified input method, call [switchCurrentInputMethodAndS…
H A Dswitch-inputmehod-guide.md13 …(../reference/apis-ime-kit/js-apis-inputmethod-subtype.md#inputmethodsubtype) to switch to another…
21 …Type = inputMethod.getCurrentInputMethodSubtype(); // Obtain the current subtype of the current in…
23 …bType.id) { // If the current subtype is not the specified one, switch to the specified one. You c…
31 2. Register a listener in the input method application for subtype changes, so as to load a subtype
40 // Register a listener in the input method application for subtype changes.
75 …e](../reference/apis-ime-kit/js-apis-inputmethod-subtype.md#inputmethodsubtype) to switch to the s…
87 …odAndSubtype(inputMethods[i], subTypes[0]); // This example switches to the first obtained subtype.
/ohos5.0/base/web/webview/ohos_adapter/net_connect_adapter/src/
H A Dnet_connect_utils.cpp19 NetConnectType NetConnectUtils::ConvertToConnectTypeInner(const RadioTech &subtype) in ConvertToConnectTypeInner() argument
21 switch (subtype) { in ConvertToConnectTypeInner()
45 NetConnectSubtype NetConnectUtils::ConvertToConnectsubtype(const RadioTech &subtype) in ConvertToConnectsubtype() argument
47 switch (subtype) { in ConvertToConnectsubtype()
74 …ype NetConnectUtils::ConvertToConnectType(const NetBearType &netBearType, const RadioTech &subtype) in ConvertToConnectType() argument
78 return ConvertToConnectTypeInner(subtype); in ConvertToConnectType()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/
H A Drs_command_factory_test.cpp50 uint16_t subtype = 65535; // for test variable
51 func = factory.GetUnmarshallingFunc(type, subtype);
52 factory.Register(type, subtype, func);
70 uint16_t subtype = 65535; // for test variable
71 func = factory.GetUnmarshallingFunc(type, subtype);
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/include/enhancement_service/
H A Denhancement_service_callback.h38 int32_t subtype; member
41 subtype(0), hidden(0) {} in CloudEnhancementFileInfo()
43 int32_t subtype, int32_t hidden) : fileId(fileId), filePath(filePath), in CloudEnhancementFileInfo()
44 displayName(displayName), subtype(subtype), hidden(hidden) {} in CloudEnhancementFileInfo()
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.10.12/
H A Dchangelog-imf.md13 | label | (1) Value: ID of the input method subtype.| (1) Value: Label of the input method subtype.|
14 … name | (1) Description: Name of the input method subtype. (2) Value: Label of the input method su…
15 | id | (1) Value: Bundle name of the input method.| (1) Value: ID of the input method subtype.|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.5.3/
H A Dchangelog-imf.md13 | label | (1) Value: ID of the input method subtype.| (1) Value: Label of the input method subtype.|
14 … name | (1) Description: Name of the input method subtype. (2) Value: Label of the input method su…
15 | id | (1) Value: Bundle name of the input method.| (1) Value: ID of the input method subtype.|
/ohos5.0/docs/en/release-notes/changelogs/v3.2-Release/
H A Dchangelogs-imf.md13 | label | (1) Value: ID of the input method subtype.| (1) Value: Label of the input method subtype.|
14 … name | (1) Description: Name of the input method subtype. (2) Value: Label of the input method su…
15 | id | (1) Value: Bundle name of the input method.| (1) Value: ID of the input method subtype.|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_rdb_utils.cpp466 if (subtype == PORTRAIT) { in SetCount()
535 …bool isAnalysisAlbum = subtype >= PhotoAlbumSubType::ANALYSIS_START && subtype <= PhotoAlbumSubTyp… in GetAlbumPredicates()
536 …bool isSystemAlbum = subtype >= PhotoAlbumSubType::SYSTEM_START && subtype <= PhotoAlbumSubType::S… in GetAlbumPredicates()
579 int32_t albumId, PhotoAlbumSubType subtype) in QueryAlbumCount() argument
658 } else if (subtype == PhotoAlbumSubType::VIDEO || subtype == PhotoAlbumSubType::IMAGE) { in SetAlbumCoverUri()
1080 } else if (subtype == PhotoAlbumSubType::VIDEO || subtype == PhotoAlbumSubType::IMAGE) { in SetUpdateValues()
1094 …if (subtype != PhotoAlbumSubType::HIGHLIGHT && subtype != PhotoAlbumSubType::HIGHLIGHT_SUGGESTIONS… in SetUpdateValues()
1678 if (subtype.empty() || !MediaLibraryDataManagerUtils::IsNumber(subtype)) { in GetAlbumSubtypeArgument()
1681 return std::stoi(subtype); in GetAlbumSubtypeArgument()
1771 for (int subtype : albumTypes) { in UpdateAnalysisAlbumByFile() local
[all …]
H A Dmedialibrary_album_refresh.cpp31 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 albu… in NotifySystemAlbumFunc() argument
54 NotifyAnalysisAlbum(subtype, albumId); in NotifySystemAlbumFunc()
63 if (NEED_FLUSH_PHOTO_ALBUM.find(subtype) != NEED_FLUSH_PHOTO_ALBUM.end()) { in NotifySystemAlbumFunc()
H A Dphoto_map_operations.cpp199 PhotoAlbumSubType subtype, const string &albumId, const vector<string> &assetsArray) in GetDismissAssetsPredicates() argument
201 if (subtype == PhotoAlbumSubType::PORTRAIT) { in GetDismissAssetsPredicates()
212 int32_t DoDismissAssets(int32_t subtype, const string &albumId, const vector<string> &assetIds) in DoDismissAssets() argument
215 if (subtype == PhotoAlbumSubType::GROUP_PHOTO) { in DoDismissAssets()
228 static_cast<PhotoAlbumSubType>(subtype), albumId, assetIds); in DoDismissAssets()
260 int32_t subtype = atoi(strSubtype.c_str()); in DismissAssets() local
261 if (subtype != PhotoAlbumSubType::CLASSIFY && subtype != PhotoAlbumSubType::PORTRAIT && in DismissAssets()
262 subtype != PhotoAlbumSubType::GROUP_PHOTO) { in DismissAssets()
263 MEDIA_ERR_LOG("Invalid album subtype: %{public}d", subtype); in DismissAssets()
272 int32_t deleteRow = DoDismissAssets(subtype, strAlbumId, assetsArray); in DismissAssets()
H A Dmoving_photo_processor.cpp193 int32_t subtype = get<int32_t>( in ParseMovingPhotoData() local
204 movingPhotoData.subtype = subtype; in ParseMovingPhotoData()
217 values.PutInt(PhotoColumn::PHOTO_SUBTYPE, movingPhotoData.subtype); in UpdateMovingPhotoData()
256 newData.subtype = static_cast<int32_t>(PhotoSubType::DEFAULT); in GetUpdatedMovingPhotoData()
263 newData.subtype = static_cast<int32_t>(PhotoSubType::DEFAULT); in GetUpdatedMovingPhotoData()
352 int32_t subtype = get<int32_t>( in ParseLivePhotoData() local
365 livePhotoData.subtype = subtype; in ParseLivePhotoData()
497 data.subtype = static_cast<int32_t>(PhotoSubType::MOVING_PHOTO); in ProcessLocalLivePhoto()
562 values.PutInt(PhotoColumn::PHOTO_SUBTYPE, livePhotoData.subtype); in UpdateLivePhotoData()
/ohos5.0/base/web/webview/ohos_adapter/net_connect_adapter/include/
H A Dnet_connect_utils.h33 static NetConnectSubtype ConvertToConnectsubtype(const RadioTech &subtype);
34 …atic NetConnectType ConvertToConnectType(const NetBearType &netBearType, const RadioTech &subtype);
37 static NetConnectType ConvertToConnectTypeInner(const RadioTech &subtype);
/ohos5.0/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/callbacksinkonremoterequest_fuzzer/
H A Dcallbacksinkonremoterequest_fuzzer.cpp45 std::string subtype(reinterpret_cast<const char*>(data), size); in CallbackSinkOnRemoteRequestFuzzTest()
50 pdata.WriteString(subtype); in CallbackSinkOnRemoteRequestFuzzTest()
68 std::string subtype(reinterpret_cast<const char*>(data), size); in CallbackSinkOnNotifyResourceInfoInnerFuzzTest()
73 pdata.WriteString(subtype); in CallbackSinkOnNotifyResourceInfoInnerFuzzTest()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_photo_operations_test/src/operation/
H A Ddisplay_name_info_test.cpp65 photoAssetInfo.subtype = static_cast<int32_t>(PhotoSubType::DEFAULT);
85 photoAssetInfo.subtype = static_cast<int32_t>(PhotoSubType::BURST);
107 photoAssetInfo.subtype = static_cast<int32_t>(PhotoSubType::BURST);
125 photoAssetInfo.subtype = static_cast<int32_t>(PhotoSubType::DEFAULT);
141 photoAssetInfo.subtype = static_cast<int32_t>(PhotoSubType::DEFAULT);
/ohos5.0/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/camera_sink/src/callback/
H A Ddcamera_sink_callback.cpp29 …CameraSinkCallback::OnNotifyResourceInfo(const ResourceEventType &type, const std::string &subtype, in OnNotifyResourceInfo() argument
33 "isSensitive: %{public}d, isSameAccout: %{public}d", (uint32_t)type, subtype.c_str(), in OnNotifyResourceInfo()
39 … ret = (*iter)->OnPrivaceResourceMessage(type, subtype, networkId, isSensitive, isSameAccout); in OnNotifyResourceInfo()
/ohos5.0/base/web/webview/test/unittest/net_connect_adapter_impl_test/
H A Dnet_connect_adapter_impl_test.cpp190 NetConnectSubtype subtype = NetConnectSubtype::SUBTYPE_UNKNOWN; variable
193 EXPECT_EQ(netConnectAdapterImpl->GetDefaultNetConnect(type, subtype), 0);
195 EXPECT_EQ(netConnectAdapterImpl->GetDefaultNetConnect(type, subtype), 0);
197 EXPECT_EQ(netConnectAdapterImpl->GetDefaultNetConnect(type, subtype), -1);
200 EXPECT_EQ(netConnectAdapterImpl->GetDefaultNetConnect(type, subtype), -1);
/ohos5.0/foundation/distributedhardware/distributed_screen/screenhandler/src/
H A Ddscreen_handler.cpp99 std::string subtype = "screen"; in OnConnect() local
101 DScreenHandler::GetInstance().PluginHardware(dhId, attrJson.dump(), subtype); in OnConnect()
111 …ndler::PluginHardware(const std::string &dhId, const std::string &attr, const std::string &subtype) in PluginHardware() argument
115 listener_->PluginHardware(dhId, attr, subtype); in PluginHardware()
174 dhItem.subtype = "screen"; in Query()

1234567