Home | History | Annotate | Download | only in tests

Lines Matching refs:device

326         // Make sure we're available, or skip device tests otherwise
335 sp<hardware::camera2::ICameraDeviceUser> device;
337 hardware::ICameraService::USE_CALLING_UID, /*out*/&device);
339 ASSERT_NE(nullptr, device.get());
340 device->disconnect();
375 sp<hardware::camera2::ICameraDeviceUser> device;
379 hardware::ICameraService::USE_CALLING_UID, /*out*/&device);
382 auto p = std::make_pair(callbacks, device);
428 // Make sure we're available, or skip device tests otherwise
438 sp<hardware::camera2::ICameraDeviceUser> device = p.second;
459 res = device->beginConfigure();
462 res = device->createStream(output, &streamId);
465 res = device->endConfigure(/*isConstrainedHighSpeed*/ false);
471 res = device->createDefaultRequest(/*preview template*/1,
484 res = device->submitRequest(request, /*streaming*/true, /*out*/&info);
490 res = device->cancelRequest(info.mRequestId, /*out*/&lastFrameNumber);
499 res = device->createDefaultRequest(hardware::camera2::ICameraDeviceUser::TEMPLATE_PREVIEW,
508 res = device->submitRequest(request2, /*streaming*/true,
516 res = device->cancelRequest(info2.mRequestId, /*out*/&lastFrameNumber);
528 res = device->createDefaultRequest(hardware::camera2::ICameraDeviceUser::TEMPLATE_PREVIEW,
531 res = device->createDefaultRequest(hardware::camera2::ICameraDeviceUser::TEMPLATE_PREVIEW,
548 res = device->submitRequestList(requestList, /*streaming*/false,
559 res = device->beginConfigure();
561 res = device->deleteStream(streamId);
563 res = device->endConfigure(/*isConstrainedHighSpeed*/ false);