Lines Matching defs:streamId
264 virtual void onFrameAvailable(int streamId,
277 dout << "Frame received on streamId = " << streamId <<
284 dout << "Frame received on streamId = " << streamId << std::endl;
679 int streamId = -1;
681 TEST_FORMAT_MAIN, surface, &streamId));
682 EXPECT_NE(-1, streamId);
709 uint8_t allStreams[] = { streamId, depthStreamId };
755 int streamId = -1;
758 TEST_FORMAT_DEPTH, TEST_CPU_HEAP_COUNT, &consumer, &streamId));
759 EXPECT_NE(-1, streamId);
780 uint8_t allStreams[] = { streamId };
810 EXPECT_OK(mCamera->deleteStream(streamId));
822 int streamId = -1;
825 TEST_FORMAT_MAIN, TEST_CPU_HEAP_COUNT, &consumer, &streamId));
826 EXPECT_NE(-1, streamId);
851 uint8_t allStreams[] = { streamId, depthStreamId };
889 EXPECT_OK(mCamera->deleteStream(streamId));
903 int streamId = -1;
906 TEST_FORMAT_MAIN, TEST_CPU_HEAP_COUNT, &consumer, &streamId));
907 EXPECT_NE(-1, streamId);
926 uint8_t allStreams[] = { streamId };
957 EXPECT_OK(mCamera->deleteStream(streamId));
969 int streamId = -1;
972 TEST_FORMAT_MAIN, TEST_CPU_HEAP_COUNT, &consumer, &streamId));
973 EXPECT_NE(-1, streamId);
977 uint8_t streams[] = { streamId };
988 EXPECT_OK(mCamera->deleteStream(streamId));
997 int streamId = -1;
1000 TEST_FORMAT_MAIN, TEST_CPU_HEAP_COUNT, &consumer, &streamId));
1001 EXPECT_NE(-1, streamId);
1005 uint8_t streams[] = { streamId };
1011 EXPECT_EQ(1, mCamera->waitForFrameBuffer(streamId));
1016 dout << "Buffer synchronously received on streamId = " << streamId <<
1024 EXPECT_OK(mCamera->deleteStream(streamId));
1037 int streamId = -1;
1040 TEST_FORMAT_MAIN, TEST_CPU_HEAP_COUNT, &consumer, &streamId));
1041 EXPECT_NE(-1, streamId);
1052 streamId, depthStreamId };
1081 dout << "Depth Buffer synchronously received on streamId = " <<
1082 streamId <<
1096 dout << "GRAY Buffer synchronously received on streamId = " <<
1097 streamId <<
1111 EXPECT_OK(mCamera->deleteStream(streamId));
1122 int streamId = -1;
1126 /*synchronousMode*/true, &consumer, &streamId));
1127 EXPECT_NE(-1, streamId);
1131 uint8_t streams[] = { streamId };
1138 EXPECT_TRUE((numFrames = mCamera->waitForFrameBuffer(streamId)) > 0);
1141 EXPECT_EQ(numFrames-1, mCamera->dropFrameBuffer(streamId, numFrames-1));
1152 dout << "Buffer synchronously received on streamId = " << streamId <<
1165 EXPECT_OK(mCamera->deleteStream(streamId));
1177 int streamId = -1;
1181 /*synchronousMode*/false, &consumer, &streamId));
1182 EXPECT_NE(-1, streamId);
1186 uint8_t streams[] = { streamId };
1196 EXPECT_LT(0, (numFrames = mCamera->waitForFrameBuffer(streamId)));
1210 dout << "Buffer asynchronously received on streamId = " << streamId <<
1226 EXPECT_OK(mCamera->deleteStream(streamId));