/packages/services/Car/cpp/evs/manager/1.1/test/unit/ |
D | EvsEnumeratorTest.cpp | 27 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/ |
D | Enumerator.cpp | 78 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 …]
|
D | service.cpp | 31 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/ |
D | Enumerator.cpp | 114 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 …]
|
D | Enumerator.h | 59 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;
|
D | service.cpp | 34 using android::automotive::evs::V1_1::implementation::Enumerator; 53 std::make_unique<EnumeratorProxy>(Enumerator::build(context->hardwareServiceName)); in startService()
|
D | EnumeratorProxy.h | 37 explicit EnumeratorProxy(std::unique_ptr<Enumerator> enumeratorManager) : in EnumeratorProxy() 106 const std::unique_ptr<Enumerator> mEnumeratorManager;
|
D | Android.bp | 71 "Enumerator.cpp",
|
/packages/services/Car/cpp/evs/manager/1.0/ |
D | Enumerator.cpp | 30 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()
|
D | service.cpp | 41 android::sp<Enumerator> service = new Enumerator(); in startService()
|
D | Enumerator.h | 38 class Enumerator : public IEvsEnumerator {
|
D | Android.bp | 27 "Enumerator.cpp",
|
/packages/services/Car/cpp/evs/manager/aidl/tests/fuzz/ |
D | EnumeratorFuzzer.cpp | 25 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/ |
D | Enumerator.h | 38 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/ |
D | EvsEnumeratorHidlUnitTest_1_0.cpp | 66 mAidlEnumerator = ndk::SharedRefBase::make<Enumerator>(); in EvsEnumeratorHidlUnitTest_1_0() 109 std::shared_ptr<Enumerator> mAidlEnumerator;
|
D | EvsEnumeratorUnitTest.cpp | 75 mEnumerator = ndk::SharedRefBase::make<Enumerator>(); in EvsEnumeratorUnitTest() 112 std::shared_ptr<Enumerator> mEnumerator;
|
D | EvsEnumeratorHidlUnitTest.cpp | 76 mAidlEnumerator = ndk::SharedRefBase::make<Enumerator>(); in EvsEnumeratorHidlUnitTest() 126 std::shared_ptr<Enumerator> mAidlEnumerator;
|
/packages/modules/Bluetooth/system/gd/packet/parser/ |
D | language_y.yy | 175 DEBUG() << "Enumerator with comma\n"; 182 DEBUG() << "Enumerator with list\n"; 191 DEBUG() << "Enumerator: name=" << *$1
|
/packages/services/Car/cpp/evs/manager/aidl/ |
D | Android.bp | 91 "src/Enumerator.cpp",
|