/hardware/interfaces/broadcastradio/common/utilsaidl/src/ |
D | UtilsV2.cpp | 147 bool isValidMetadataV2(const Metadata& metadata) { in isValidMetadataV2() 152 if (metadata.getTag() == Metadata::hdStationNameShort) { in isValidMetadataV2() 153 if (metadata.get<Metadata::hdStationNameShort>().size() > 12) { in isValidMetadataV2() 157 } else if (metadata.getTag() == Metadata::hdSubChannelsAvailable) { in isValidMetadataV2() 158 if (metadata.get<Metadata::hdSubChannelsAvailable>() < 0) { in isValidMetadataV2() 161 } else if (metadata.get<Metadata::hdSubChannelsAvailable>() > in isValidMetadataV2() 170 std::optional<std::string> getMetadataStringV2(const ProgramInfo& info, const Metadata::Tag& tag) { in getMetadataStringV2() 171 auto hasMetadataType = [tag](const Metadata& item) { return item.getTag() == tag; }; in getMetadataStringV2() 180 case Metadata::rdsPs: in getMetadataStringV2() 181 metadataString = it->get<Metadata::rdsPs>(); in getMetadataStringV2() [all …]
|
D | Utils.cpp | 449 std::optional<std::string> getMetadataString(const ProgramInfo& info, const Metadata::Tag& tag) { in getMetadataString() 450 auto hasMetadataType = [tag](const Metadata& item) { return item.getTag() == tag; }; in getMetadataString() 459 case Metadata::rdsPs: in getMetadataString() 460 metadataString = it->get<Metadata::rdsPs>(); in getMetadataString() 462 case Metadata::rdsPty: in getMetadataString() 463 metadataString = std::to_string(it->get<Metadata::rdsPty>()); in getMetadataString() 465 case Metadata::rbdsPty: in getMetadataString() 466 metadataString = std::to_string(it->get<Metadata::rbdsPty>()); in getMetadataString() 468 case Metadata::rdsRt: in getMetadataString() 469 metadataString = it->get<Metadata::rdsRt>(); in getMetadataString() [all …]
|
/hardware/libhardware/modules/usbcamera/ |
D | Metadata.cpp | 33 Metadata::Metadata(): in Metadata() function in usb_camera_hal::Metadata 37 Metadata::~Metadata() { in ~Metadata() 41 void Metadata::replace(camera_metadata_t *m) { in replace() 50 int Metadata::init(const camera_metadata_t *metadata) { in init() 64 int Metadata::addUInt8(uint32_t tag, int count, const uint8_t *data) { in addUInt8() 69 int Metadata::add1UInt8(uint32_t tag, const uint8_t data) { in add1UInt8() 73 int Metadata::addInt32(uint32_t tag, int count, const int32_t *data) { in addInt32() 78 int Metadata::addFloat(uint32_t tag, int count, const float *data) { in addFloat() 83 int Metadata::addInt64(uint32_t tag, int count, const int64_t *data) { in addInt64() 88 int Metadata::addDouble(uint32_t tag, int count, const double *data) { in addDouble() [all …]
|
D | UsbCamera.h | 44 int initPreviewTemplate(Metadata m); 45 int initStillTemplate(Metadata m); 46 int initRecordTemplate(Metadata m); 47 int initSnapshotTemplate(Metadata m); 48 int initZslTemplate(Metadata m); 49 int initManualTemplate(Metadata m);
|
D | UsbCamera.cpp | 52 Metadata m; in initStaticInfo() 227 Metadata base; in initDevice() 258 int UsbCamera::initPreviewTemplate(Metadata m) { in initPreviewTemplate() 269 int UsbCamera::initStillTemplate(Metadata m) { in initStillTemplate() 279 int UsbCamera::initRecordTemplate(Metadata m) { in initRecordTemplate() 289 int UsbCamera::initSnapshotTemplate(Metadata m) { in initSnapshotTemplate() 299 int UsbCamera::initZslTemplate(Metadata m) { in initZslTemplate() 309 int UsbCamera::initManualTemplate(Metadata m) { in initManualTemplate()
|
D | Metadata.h | 26 class Metadata { 28 Metadata(); 29 ~Metadata();
|
/hardware/libhardware/modules/camera/3_0/ |
D | Metadata.cpp | 32 Metadata::Metadata(): in Metadata() function in default_camera_hal::Metadata 37 Metadata::~Metadata() in ~Metadata() 42 void Metadata::replace(camera_metadata_t *m) in replace() 53 int Metadata::init(const camera_metadata_t *metadata) in init() 68 int Metadata::addUInt8(uint32_t tag, int count, const uint8_t *data) in addUInt8() 74 int Metadata::add1UInt8(uint32_t tag, const uint8_t data) in add1UInt8() 79 int Metadata::addInt32(uint32_t tag, int count, const int32_t *data) in addInt32() 85 int Metadata::addFloat(uint32_t tag, int count, const float *data) in addFloat() 91 int Metadata::addInt64(uint32_t tag, int count, const int64_t *data) in addInt64() 97 int Metadata::addDouble(uint32_t tag, int count, const double *data) in addDouble() [all …]
|
D | ExampleCamera.h | 39 int setPreviewTemplate(Metadata m); 40 int setStillTemplate(Metadata m); 41 int setRecordTemplate(Metadata m); 42 int setSnapshotTemplate(Metadata m); 43 int setZslTemplate(Metadata m);
|
D | ExampleCamera.cpp | 48 Metadata m; in initStaticInfo() 184 Metadata base; in initDevice() 212 int ExampleCamera::setPreviewTemplate(Metadata m) in setPreviewTemplate() 224 int ExampleCamera::setStillTemplate(Metadata m) in setStillTemplate() 235 int ExampleCamera::setRecordTemplate(Metadata m) in setRecordTemplate() 246 int ExampleCamera::setSnapshotTemplate(Metadata m) in setSnapshotTemplate() 257 int ExampleCamera::setZslTemplate(Metadata m) in setZslTemplate()
|
D | Metadata.h | 26 class Metadata { 28 Metadata(); 29 ~Metadata();
|
/hardware/interfaces/broadcastradio/common/utilsaidl/test/ |
D | BroadcastRadioUtilsCommonTest.cpp | 257 Metadata metadata; 264 .metadata = Metadata::make<Metadata::rdsPty>(1), in getIsValidMetadataTestCases() 267 .metadata = Metadata::make<Metadata::rdsPty>(-1), in getIsValidMetadataTestCases() 270 .metadata = Metadata::make<Metadata::rdsPty>(256), in getIsValidMetadataTestCases() 273 .metadata = Metadata::make<Metadata::rbdsPty>(1), in getIsValidMetadataTestCases() 276 .metadata = Metadata::make<Metadata::rbdsPty>(-1), in getIsValidMetadataTestCases() 279 .metadata = Metadata::make<Metadata::rbdsPty>(256), in getIsValidMetadataTestCases() 283 .metadata = Metadata::make<Metadata::dabEnsembleNameShort>("name"), in getIsValidMetadataTestCases() 287 .metadata = Metadata::make<Metadata::dabEnsembleNameShort>("name_long"), in getIsValidMetadataTestCases() 291 .metadata = Metadata::make<Metadata::dabServiceNameShort>("name"), in getIsValidMetadataTestCases() [all …]
|
/hardware/interfaces/broadcastradio/aidl/default/ |
D | VirtualProgram.cpp | 79 info.metadata = vector<Metadata>({ in operator ProgramInfo() 80 Metadata::make<Metadata::rdsPs>(programName), in operator ProgramInfo() 81 Metadata::make<Metadata::songTitle>(songTitle), in operator ProgramInfo() 82 Metadata::make<Metadata::songArtist>(songArtist), in operator ProgramInfo() 83 Metadata::make<Metadata::stationIcon>(resources::kDemoPngId), in operator ProgramInfo() 84 Metadata::make<Metadata::albumArt>(resources::kDemoPngId), in operator ProgramInfo()
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | metadata.cpp | 28 Metadata::Metadata(PartialMetadataSet components) in Metadata() function in v4l2_camera_hal::Metadata 33 Metadata::~Metadata() { in ~Metadata() 37 int Metadata::FillStaticMetadata(android::CameraMetadata* metadata) { in FillStaticMetadata() 109 bool Metadata::IsValidRequest(const android::CameraMetadata& metadata) { in IsValidRequest() 128 int Metadata::GetRequestTemplate(int template_type, in GetRequestTemplate() 165 int Metadata::SetRequestSettings(const android::CameraMetadata& metadata) { in SetRequestSettings() 183 int Metadata::FillResultMetadata(android::CameraMetadata* metadata) { in FillResultMetadata()
|
D | metadata.h | 26 class Metadata { 28 Metadata(PartialMetadataSet components); 29 virtual ~Metadata(); 43 DISALLOW_COPY_AND_ASSIGN(Metadata);
|
/hardware/google/aemu/base/include/aemu/base/perflogger/ |
D | Benchmark.h | 28 using Metadata = std::map<std::string, std::string>; 34 const Metadata& metadata); 41 const Metadata& metadata); 49 const Metadata& getMetadata() const; 60 Metadata mMetadata;
|
/hardware/interfaces/broadcastradio/common/utilsaidl/include/broadcastradio-utils-aidl/ |
D | UtilsV2.h | 31 bool isValidMetadataV2(const Metadata& metadata); 32 std::optional<std::string> getMetadataStringV2(const ProgramInfo& info, const Metadata::Tag& tag);
|
/hardware/interfaces/broadcastradio/aidl/android/hardware/broadcastradio/ |
D | ProgramInfo.aidl | 19 import android.hardware.broadcastradio.Metadata; 186 Metadata[] metadata;
|
/hardware/interfaces/audio/aidl/default/include/core-impl/ |
D | StreamSwitcher.h | 105 StreamSwitcher(StreamContext* context, const Metadata& metadata); 122 ndk::ScopedAStatus updateMetadataCommon(const Metadata& metadata) override; 161 StreamContext* context, const Metadata& metadata) = 0; 178 Metadata mMetadata;
|
D | StreamPrimary.h | 28 StreamPrimary(StreamContext* context, const Metadata& metadata); 60 StreamContext* context, const Metadata& metadata) override; 85 StreamContext* context, const Metadata& metadata) override;
|
D | StreamRemoteSubmix.h | 30 StreamContext* context, const Metadata& metadata, 88 StreamContext* context, const Metadata& metadata) override; 110 StreamContext* context, const Metadata& metadata) override;
|
/hardware/libhardware/modules/camera/3_4/ |
D | README.md | 47 and the Metadata system. 67 restrictions given in the [Metadata](#Metadata) initialized by the V4L2Camera, 95 Metadata components. 97 ### Metadata subsection 99 The Metadata subsystem attempts to organize and simplify handling of 101 is the Metadata class and the PartialMetadataInterface. The Metadata 104 etc. The Metadata class passes all of these things on to the component 117 The Metadata system uses further interfaces and subclasses to distinguish 121 #### Metadata Factory argument
|
D | v4l2_camera.h | 52 std::unique_ptr<Metadata> metadata); 95 std::unique_ptr<Metadata> metadata_;
|
D | v4l2_metadata_factory.h | 30 std::unique_ptr<Metadata>* result);
|
/hardware/interfaces/graphics/mapper/stable-c/implutils/ |
D | impltests.cpp | 65 TEST(Metadata, setGetBufferId) { in TEST() argument 82 TEST(Metadata, setGetDataspace) { in TEST() argument 99 TEST(Metadata, setGetValidName) { in TEST() argument 117 TEST(Metadata, setGetInvalidName) { in TEST() argument 136 TEST(Metadata, wouldOverflowName) { in TEST() argument 151 TEST(Metadata, setGetMismatchedWidthHight) { in TEST() argument 166 TEST(Metadata, setGetCompression) { in TEST() argument 182 TEST(Metadata, setGetPlaneLayout) { in TEST() argument 209 TEST(Metadata, setGetRects) { in TEST() argument 226 TEST(Metadata, setGetSmpte2086) { in TEST() argument [all …]
|
/hardware/interfaces/broadcastradio/common/utils2x/ |
D | Utils.cpp | 28 using V2_0::Metadata; 316 Metadata make_metadata(MetadataKey key, int64_t value) { in make_metadata() 317 Metadata meta = {}; in make_metadata() 323 Metadata make_metadata(MetadataKey key, string value) { in make_metadata() 324 Metadata meta = {}; in make_metadata() 385 auto isKey = [key](const V2_0::Metadata& item) { in getMetadataString()
|