Home
last modified time | relevance | path

Searched refs:reconstructed (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libshmem/
DShmemTest.cpp66 sp<IMemory> reconstructed; in TEST() local
74 ASSERT_TRUE(convertSharedFileRegionToIMemory(shmem, &reconstructed)); in TEST()
76 ASSERT_EQ(3, reconstructed->size()); in TEST()
77 ASSERT_EQ(reconstructed->getMemory()->getFlags() & IMemoryHeap::READ_ONLY, 0); in TEST()
79 reinterpret_cast<const uint8_t*>(reconstructed->unsecurePointer()); in TEST()
86 sp<IMemory> reconstructed; in TEST() local
94 ASSERT_TRUE(convertSharedFileRegionToIMemory(shmem, &reconstructed)); in TEST()
96 ASSERT_EQ(3, reconstructed->size()); in TEST()
97 ASSERT_NE(reconstructed->getMemory()->getFlags() & IMemoryHeap::READ_ONLY, 0); in TEST()
99 reinterpret_cast<const uint8_t*>(reconstructed->unsecurePointer()); in TEST()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerMetadataTest.cpp73 LayerMetadata reconstructed; in TEST_F() local
74 reconstructed.setInt32(3, 1); // to make sure it gets replaced in TEST_F()
76 reconstructed.readFromParcel(&p); in TEST_F()
77 ASSERT_EQ(metadata.mMap, reconstructed.mMap); in TEST_F()
/frameworks/av/media/libheadtracking/
DPose-test.cpp118 std::vector<float> reconstructed = pose->toVector(); in TEST() local
119 EXPECT_EQ(vec, reconstructed); in TEST()
125 std::optional<Pose3f> reconstructed = Pose3f::fromVector(vec); in TEST() local
126 ASSERT_TRUE(reconstructed.has_value()); in TEST()
127 EXPECT_EQ(pose, reconstructed.value()); in TEST()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DConversionUtilTest.java44 Uuid reconstructed = ConversionUtil.aidl2hidlUuid(aidl); in testUuidRoundTrip() local
45 assertEquals(hidl, reconstructed); in testUuidRoundTrip()
/frameworks/base/tests/Internal/src/android/app/
DWallpaperColorsTest.java161 WallpaperColors reconstructed = new WallpaperColors(parcel); in testParcelUnparcel() local
164 colors, reconstructed); in testParcelUnparcel()
167 colors.getAllColors(), reconstructed.getAllColors()); in testParcelUnparcel()
170 colors.getMainColors(), reconstructed.getMainColors()); in testParcelUnparcel()
/frameworks/native/services/surfaceflinger/FrontEnd/
Dreadme.md82 client side. The states can always be reconstructed from LayerCreationArgs and a list of