Home
last modified time | relevance | path

Searched refs:type2 (Results 1 - 10 of 10) sorted by relevance

/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dcustom_utd_json_parser_test.cpp94 TypeDescriptorCfg type2 = *(typesCfg2.begin()); in HWTEST_F() local
95 EXPECT_EQ(type2.typeId, "com.example.utdtest2.document"); in HWTEST_F()
96 EXPECT_EQ(*(type2.belongingToTypes.begin()), "general.object"); in HWTEST_F()
97 EXPECT_EQ(*(type2.filenameExtensions.begin()), ".mydocument2"); in HWTEST_F()
98 EXPECT_EQ(*(type2.mimeTypes.begin()), "application/my-document2"); in HWTEST_F()
99 EXPECT_EQ(type2.description, "My document 2."); in HWTEST_F()
100 EXPECT_EQ(type2.referenceURL, "http://www.mycompany.com/my-document2.html"); in HWTEST_F()
101 EXPECT_EQ(type2.iconFile, "resources/my-document2.png"); in HWTEST_F()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_thumbnail_service_test/src/
H A Dmedialibrary_thumbnail_service_test.cpp695 ThumbnailType type2 = ThumbnailType::YEAR_ASTC;
698 auto res2 = ThumbnailUtils::TrySaveFile(data, type2);
708 ThumbnailType type2 = ThumbnailType::THUMB_ASTC;
709 auto res2 = ThumbnailUtils::TrySaveFile(data, type2);
749 const ThumbnailType type2 = ThumbnailType::YEAR_ASTC;
750 auto res2 = ThumbnailUtils::SaveAstcDataToKvStore(data, type2);
/foundation/distributeddatamgr/udmf/framework/ndkimpl/unittest/
H A Dudmf_test.cpp293 char type2[] = "general.html"; in HWTEST_F() local
294 int hasType2 = OH_UdmfData_HasType(unifiedData, type2); in HWTEST_F()
1416 char type2[] = "ApplicationDefined-myType1"; in HWTEST_F() local
1417 int buildRes7 = OH_UdmfRecord_AddArrayBuffer(record2, type2, buffer2); in HWTEST_F()
1454 char type2[] = "ApplicationDefined-myType1"; in HWTEST_F() local
1455 int buildRes7 = OH_UdmfRecord_GetArrayBuffer(record2, type2, buffer2); in HWTEST_F()
1479 char type2[] = "ApplicationDefined-myType2"; in HWTEST_F() local
1481 int getRes = OH_UdmfRecord_GetArrayBuffer(record1, type2, buffer2); in HWTEST_F()
/foundation/communication/nfc/frameworks/js/napi/tag/
H A Dnfc_napi_tag.cpp86 napi_value type2 = nullptr; in RegisterEnumNfcForumType() local
91 napi_create_int32(env, static_cast<int32_t>(EmNfcForumType::NFC_FORUM_TYPE_2), &type2); in RegisterEnumNfcForumType()
97 DECLARE_NAPI_STATIC_PROPERTY("NFC_FORUM_TYPE_2", type2), in RegisterEnumNfcForumType()
/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dbuffer_queue_test.cpp822 std::string type2 = "test"; in HWTEST_F() local
823 ret = bq->SetSurfaceAppFrameworkType(type2); in HWTEST_F()
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_buscenter/
H A Dlnn_network_manager_test.cpp157 ConnectionAddrType type2 = CONNECTION_ADDR_WLAN; in HWTEST_F() local
158 ret = LnnGetAddrTypeByIfName("WLAN", &type2); in HWTEST_F()
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_session_impl_test.cpp295 WindowType type2 = WindowType::WINDOW_TYPE_APP_MAIN_WINDOW; in HWTEST_F() local
296 option->SetWindowType(type2); in HWTEST_F()
2085 WindowType type2 = WindowType::WINDOW_TYPE_UI_EXTENSION; in HWTEST_F() local
2086 option->SetWindowType(type2); in HWTEST_F()
/foundation/ability/ability_base/test/unittest/want/
H A Dskills_test.cpp966 std::string type2 = base_->GetType(1); in HWTEST_F() local
967 EXPECT_EQ(patternStr2, type2); in HWTEST_F()
/foundation/communication/wifi/wifi/frameworks/js/napi/src/
H A Dwifi_napi_device.cpp922 napi_valuetype type2; in GetSignalLevel() local
924 napi_typeof(env, argv[1], &type2); in GetSignalLevel()
926 WIFI_NAPI_ASSERT(env, type2 == napi_number, WIFI_OPT_INVALID_PARAM, SYSCAP_WIFI_STA); in GetSignalLevel()
/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dwant_params.cpp294 int type2 = WantParams::GetDataType(itother->second); in operator ==() local
295 if (type1 != type2) { in operator ==()

Completed in 21 milliseconds