Home
last modified time | relevance | path

Searched refs:Enumerator (Results 1 – 19 of 19) sorted by relevance

/packages/services/Car/cpp/evs/manager/1.1/test/unit/
DEvsEnumeratorTest.cpp27 using ::android::automotive::evs::V1_1::implementation::Enumerator;
36 TEST(Enumerator, BuildsNullObjectWithoutServiceNameProvided) { in TEST() argument
37 EXPECT_EQ(Enumerator::build(nullptr), nullptr); in TEST()
40 TEST(Enumerator, ReturnsNullWhenNullNamePassed) { in TEST() argument
41 EXPECT_EQ(Enumerator::build(static_cast<const char*>(nullptr)), nullptr); in TEST()
44 TEST(Enumerator, ReturnsNullWhenServiceNotAvailable) { in TEST() argument
49 EXPECT_EQ(Enumerator::build(std::move(mockServiceFactory), in TEST()
55 TEST(Enumerator, ConstructsAndDestroys) { in TEST() argument
56 EXPECT_NE(Enumerator::build(std::make_unique<NiceMockServiceFactory>(), in TEST()
65 TEST(Enumerator, PreventsGettingDisplayWithNoPermissions) { in TEST() argument
[all …]
/packages/services/Car/cpp/evs/manager/aidl/src/
DEnumerator.cpp78 Enumerator::~Enumerator() { in ~Enumerator()
84 std::shared_ptr<IEvsEnumerator> Enumerator::connectToAidlHal( in connectToAidlHal()
89 std::string(Enumerator::descriptor) + separator + std::string(hardwareServiceName); in connectToAidlHal()
108 ::ndk::SharedRefBase::make<EvsDeviceStatusCallbackImpl>(ref<Enumerator>()); in connectToAidlHal()
116 std::shared_ptr<IEvsEnumerator> Enumerator::connectToHidlHal( in connectToHidlHal()
128 bool Enumerator::init(const std::string_view& hardwareServiceName) { in init()
194 bool Enumerator::checkPermission() const { in checkPermission()
205 bool Enumerator::isLogicalCamera(const camera_metadata_t* metadata) const { in isLogicalCamera()
230 std::unordered_set<std::string> Enumerator::getPhysicalCameraIds(const std::string& id) { in getPhysicalCameraIds()
271 ScopedAStatus Enumerator::isHardware(bool* flag) { in isHardware()
[all …]
Dservice.cpp31 using ::aidl::android::automotive::evs::implementation::Enumerator;
40 std::shared_ptr<Enumerator> aidlService = ::ndk::SharedRefBase::make<Enumerator>(); in startService()
48 std::string(Enumerator::descriptor) + kSeparator + std::string(managerServiceName); in startService()
/packages/services/Car/cpp/evs/manager/1.1/
DEnumerator.cpp114 Enumerator::Enumerator(std::unique_ptr<ServiceFactory> serviceFactory, in Enumerator() function in android::automotive::evs::V1_1::implementation::Enumerator
143 std::unique_ptr<Enumerator> Enumerator::build( in build()
152 return std::unique_ptr<Enumerator>{new Enumerator(std::move(serviceFactory), in build()
157 std::unique_ptr<Enumerator> Enumerator::build(const char* hardwareServiceName) { in build()
166 bool Enumerator::isLogicalCamera(const camera_metadata_t* metadata) { in isLogicalCamera()
197 std::unordered_set<std::string> Enumerator::getPhysicalCameraIds(const std::string& id) { in getPhysicalCameraIds()
239 Return<void> Enumerator::getCameraList(getCameraList_cb list_cb) { in getCameraList()
269 Return<sp<IEvsCamera_1_0>> Enumerator::openCamera(const hidl_string& cameraId) { in openCamera()
324 Return<void> Enumerator::closeCamera(const ::android::sp<IEvsCamera_1_0>& clientCamera) { in closeCamera()
362 Return<sp<IEvsCamera_1_1>> Enumerator::openCamera_1_1(const hidl_string& cameraId, in openCamera_1_1()
[all …]
DEnumerator.h59 class Enumerator : public IEvsEnumerator {
62 explicit Enumerator(std::unique_ptr<ServiceFactory> serviceFactory,
66 static std::unique_ptr<Enumerator> build(const char* hardwareServiceName);
67 static std::unique_ptr<Enumerator> build(
72 virtual ~Enumerator() = default;
Dservice.cpp34 using android::automotive::evs::V1_1::implementation::Enumerator;
53 std::make_unique<EnumeratorProxy>(Enumerator::build(context->hardwareServiceName)); in startService()
DEnumeratorProxy.h37 explicit EnumeratorProxy(std::unique_ptr<Enumerator> enumeratorManager) : in EnumeratorProxy()
106 const std::unique_ptr<Enumerator> mEnumeratorManager;
DAndroid.bp71 "Enumerator.cpp",
/packages/services/Car/cpp/evs/manager/1.0/
DEnumerator.cpp30 bool Enumerator::init(const char* hardwareServiceName) { in init()
40 bool Enumerator::checkPermission() { in checkPermission()
51 Return<void> Enumerator::getCameraList(getCameraList_cb list_cb) { in getCameraList()
61 Return<sp<IEvsCamera>> Enumerator::openCamera(const hidl_string& cameraId) { in openCamera()
114 Return<void> Enumerator::closeCamera(const ::android::sp<IEvsCamera>& clientCamera) { in closeCamera()
144 Return<sp<IEvsDisplay>> Enumerator::openDisplay() { in openDisplay()
175 Return<void> Enumerator::closeDisplay(const ::android::sp<IEvsDisplay>& display) { in closeDisplay()
193 Return<DisplayState> Enumerator::getDisplayState() { in getDisplayState()
Dservice.cpp41 android::sp<Enumerator> service = new Enumerator(); in startService()
DEnumerator.h38 class Enumerator : public IEvsEnumerator {
DAndroid.bp27 "Enumerator.cpp",
/packages/services/Car/cpp/evs/manager/aidl/tests/fuzz/
DEnumeratorFuzzer.cpp25 using ::aidl::android::automotive::evs::implementation::Enumerator;
32 std::shared_ptr<Enumerator> aidlService = ::ndk::SharedRefBase::make<Enumerator>(); in LLVMFuzzerTestOneInput()
/packages/services/Car/cpp/evs/manager/aidl/include/
DEnumerator.h38 class Enumerator final : public ::aidl::android::hardware::automotive::evs::BnEvsEnumerator {
73 virtual ~Enumerator();
84 EvsDeviceStatusCallbackImpl(const std::shared_ptr<Enumerator>& enumerator) : in EvsDeviceStatusCallbackImpl()
90 std::shared_ptr<Enumerator> mEnumerator;
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DEvsEnumeratorHidlUnitTest_1_0.cpp66 mAidlEnumerator = ndk::SharedRefBase::make<Enumerator>(); in EvsEnumeratorHidlUnitTest_1_0()
109 std::shared_ptr<Enumerator> mAidlEnumerator;
DEvsEnumeratorUnitTest.cpp75 mEnumerator = ndk::SharedRefBase::make<Enumerator>(); in EvsEnumeratorUnitTest()
112 std::shared_ptr<Enumerator> mEnumerator;
DEvsEnumeratorHidlUnitTest.cpp76 mAidlEnumerator = ndk::SharedRefBase::make<Enumerator>(); in EvsEnumeratorHidlUnitTest()
126 std::shared_ptr<Enumerator> mAidlEnumerator;
/packages/modules/Bluetooth/system/gd/packet/parser/
Dlanguage_y.yy175 DEBUG() << "Enumerator with comma\n";
182 DEBUG() << "Enumerator with list\n";
191 DEBUG() << "Enumerator: name=" << *$1
/packages/services/Car/cpp/evs/manager/aidl/
DAndroid.bp91 "src/Enumerator.cpp",