Lines Matching refs:releaseFence

735     int releaseFence = -1;  in TEST_P()  local
736 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
740 releaseFence, (void**)&data)); in TEST_P()
741 releaseFence = -1; in TEST_P()
745 releaseFence = -1; in TEST_P()
746 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
747 if (releaseFence != -1) { in TEST_P()
748 close(releaseFence); in TEST_P()
795 int releaseFence = -1; in TEST_P() local
796 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
800 region, releaseFence, (void**)&data)); in TEST_P()
801 releaseFence = -1; in TEST_P()
807 releaseFence = -1; in TEST_P()
808 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
809 if (releaseFence != -1) { in TEST_P()
810 close(releaseFence); in TEST_P()
866 int releaseFence = -1; in TEST_P() local
867 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
868 if (releaseFence != -1) { in TEST_P()
869 close(releaseFence); in TEST_P()
909 int releaseFence = -1; in TEST_P() local
910 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
914 region, releaseFence, (void**)&data)); in TEST_P()
915 releaseFence = -1; in TEST_P()
921 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
922 if (releaseFence != -1) { in TEST_P()
923 close(releaseFence); in TEST_P()
958 int releaseFence = -1; in TEST_P() local
959 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
963 region, releaseFence, (void**)&data)); in TEST_P()
964 releaseFence = -1; in TEST_P()
970 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
971 if (releaseFence != -1) { in TEST_P()
972 close(releaseFence); in TEST_P()
1019 int releaseFence = -1; in TEST_P() local
1020 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
1021 if (releaseFence != -1) { in TEST_P()
1022 close(releaseFence); in TEST_P()
1069 int releaseFence = -1; in TEST_P() local
1070 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
1071 if (releaseFence != -1) { in TEST_P()
1072 close(releaseFence); in TEST_P()
1116 int releaseFence = -1; in TEST_P() local
1117 ASSERT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
1118 if (releaseFence != -1) { in TEST_P()
1119 close(releaseFence); in TEST_P()
1138 int releaseFence = -1; in TEST_P() local
1139 EXPECT_EQ(AIMAPPER_ERROR_BAD_BUFFER, mapper()->v5.unlock(invalidHandle, &releaseFence)) in TEST_P()
1143 EXPECT_EQ(AIMAPPER_ERROR_BAD_BUFFER, mapper()->v5.unlock(invalidHandle, &releaseFence)) in TEST_P()
1148 EXPECT_EQ(AIMAPPER_ERROR_BAD_BUFFER, mapper()->v5.unlock(buffer->rawHandle(), &releaseFence)) in TEST_P()
1153 int releaseFence = -1; in TEST_P() local
1156 EXPECT_EQ(AIMAPPER_ERROR_BAD_BUFFER, mapper()->v5.unlock(buffer->rawHandle(), &releaseFence)) in TEST_P()
1161 int releaseFence = -1; in TEST_P() local
1166 EXPECT_EQ(AIMAPPER_ERROR_BAD_BUFFER, mapper()->v5.unlock(*bufferHandle, &releaseFence)) in TEST_P()
1182 int releaseFence = -1; in TEST_P() local
1183 EXPECT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)); in TEST_P()
1184 if (releaseFence != -1) { in TEST_P()
1185 close(releaseFence); in TEST_P()
1186 releaseFence = -1; in TEST_P()
1188 EXPECT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*handle, &releaseFence)) in TEST_P()
1190 if (releaseFence != -1) { in TEST_P()
1191 close(releaseFence); in TEST_P()
1192 releaseFence = -1; in TEST_P()
1194 EXPECT_EQ(AIMAPPER_ERROR_BAD_BUFFER, mapper()->v5.unlock(*handle, &releaseFence)) in TEST_P()
1231 int releaseFence = -1; in TEST_P() local
1233 EXPECT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*readHandle, &releaseFence)); in TEST_P()
1234 if (releaseFence != -1) { in TEST_P()
1235 close(releaseFence); in TEST_P()
1236 releaseFence = -1; in TEST_P()
1239 EXPECT_EQ(AIMAPPER_ERROR_NONE, mapper()->v5.unlock(*writeHandle, &releaseFence)); in TEST_P()
1240 if (releaseFence != -1) { in TEST_P()
1241 close(releaseFence); in TEST_P()
1242 releaseFence = -1; in TEST_P()