Home
last modified time | relevance | path

Searched refs:byteObj (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/ability/ability_base/test/unittest/base/
H A Dbase_test.cpp501 sptr<Byte> byteObj = new Byte(129);
503 byteObj->GetValue(&value);
517 sptr<IByte> byteObj = Byte::Box(129);
518 EXPECT_EQ(Byte::Unbox(byteObj), 129);
531 sptr<IByte> byteObj = Byte::Parse("129");
532 EXPECT_EQ(Byte::Unbox(byteObj), 129);
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/
H A Ddistributed_want_params_test.cpp233 sptr<IInterface> byteObj = variable
235 …std::string byteVal = DistributedWantParams::GetStringByType(byteObj, DistributedWantParams::VALUE…
386 sptr<IInterface> byteObj = variable
388 int type = DistributedWantParams::GetDataType(byteObj);
523 sptr<IInterface> byteObj = variable
525 EXPECT_EQ(Byte::Unbox(IByte::Query(byteObj)), 129);
/ohos5.0/foundation/ability/ability_base/test/unittest/want/
H A Dwant_params_test.cpp388 sptr<IInterface> byteObj = WantParams::GetInterfaceByType(WantParams::VALUE_TYPE_BYTE, value); variable
389 std::string byteVal = WantParams::GetStringByType(byteObj, WantParams::VALUE_TYPE_BYTE);
532 sptr<IInterface> byteObj = WantParams::GetInterfaceByType(WantParams::VALUE_TYPE_BYTE, value); variable
533 int type = WantParams::GetDataType(byteObj);
661 sptr<IInterface> byteObj = WantParams::GetInterfaceByType(WantParams::VALUE_TYPE_BYTE, value); variable
662 EXPECT_EQ(Byte::Unbox(IByte::Query(byteObj)), 129);