/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/ |
H A D | custom_utd_json_parser_test.cpp | 94 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 D | medialibrary_thumbnail_service_test.cpp | 695 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 D | udmf_test.cpp | 293 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 D | nfc_napi_tag.cpp | 86 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 D | buffer_queue_test.cpp | 822 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 D | lnn_network_manager_test.cpp | 157 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 D | window_session_impl_test.cpp | 295 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 D | skills_test.cpp | 966 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 D | wifi_napi_device.cpp | 922 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 D | want_params.cpp | 294 int type2 = WantParams::GetDataType(itother->second); in operator ==() local 295 if (type1 != type2) { in operator ==()
|