Home | History | Annotate | Download | only in CameraServiceTest

Lines Matching refs:OP

176     enum OP { EQ, GE, LE, GT, LT };
177 void assertNotify(int32_t msgType, OP op, int count);
178 void assertData(int32_t msgType, OP op, int count);
179 void waitNotify(int32_t msgType, OP op, int count);
180 void waitData(int32_t msgType, OP op, int count);
181 void assertDataSize(int32_t msgType, OP op, int dataSize);
192 bool test(OP op, int v1, int v2);
193 void assertTest(OP op, int v1, int v2);
205 bool MCameraClient::test(OP op, int v1, int v2) {
206 switch (op) {
217 void MCameraClient::assertTest(OP op, int v1, int v2) {
218 if (!test(op, v1, v2)) {
219 ALOGE("assertTest failed: op=%d, v1=%d, v2=%d", op, v1, v2);
224 void MCameraClient::assertNotify(int32_t msgType, OP op, int count) {
227 assertTest(op, v, count);
230 void MCameraClient::assertData(int32_t msgType, OP op, int count) {
233 assertTest(op, v, count);
236 void MCameraClient::assertDataSize(int32_t msgType, OP op, int dataSize) {
239 assertTest(op, v, dataSize);
280 void MCameraClient::waitNotify(int32_t msgType, OP op, int count) {
281 INFO("waitNotify: %d, %d, %d", msgType, op, count);
285 if (test(op, v, count)) {
292 void MCameraClient::waitData(int32_t msgType, OP op, int count) {
293 INFO("waitData: %d, %d, %d", msgType, op, count);
297 if (test(op, v, count)) {