Home
last modified time | relevance | path

Searched refs:ProgramIdentifier (Results 1 – 25 of 155) sorted by relevance

1234567

/aosp_15_r20/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
H A DAidlTestUtils.java21 import android.hardware.broadcastradio.ProgramIdentifier;
66 static ProgramIdentifier makeHalIdentifier(@IdentifierType int type, long value) { in makeHalIdentifier()
67 ProgramIdentifier halDabId = new ProgramIdentifier(); in makeHalIdentifier()
86 ProgramIdentifier halId = makeHalIdentifier(IdentifierType.AMFM_FREQUENCY_KHZ, freq); in makeHalFmSelector()
87 return makeHalSelector(halId, /* secondaryIds= */ new ProgramIdentifier[0]); in makeHalFmSelector()
91 ProgramIdentifier primaryId, ProgramIdentifier[] secondaryIds) { in makeHalSelector()
114 @Nullable ProgramIdentifier logicallyTunedTo, in makeHalProgramInfo()
115 @Nullable ProgramIdentifier physicallyTunedTo, int hwSignalQuality) { in makeHalProgramInfo()
117 new ProgramIdentifier[]{}, new Metadata[]{}); in makeHalProgramInfo()
122 @Nullable ProgramIdentifier logicallyTunedTo, in makeHalProgramInfo()
[all …]
H A DConversionUtilsTest.java44 import android.hardware.broadcastradio.ProgramIdentifier;
119 private static final ProgramIdentifier TEST_HAL_INVALID_ID =
138 private static final ProgramIdentifier TEST_HAL_DAB_SID_EXT_ID =
140 private static final ProgramIdentifier TEST_HAL_DAB_ENSEMBLE_ID =
142 private static final ProgramIdentifier TEST_HAL_DAB_FREQUENCY_ID =
161 private static final ProgramIdentifier TEST_HAL_HD_STATION_EXT_ID =
164 private static final ProgramIdentifier TEST_HAL_HD_STATION_LOCATION_ID =
167 private static final ProgramIdentifier TEST_HAL_HD_FM_FREQUENCY_ID =
448 ProgramIdentifier halDabId = in identifierToHalProgramIdentifier_withDabId()
460 ProgramIdentifier halDabIdExpected = AidlTestUtils.makeHalIdentifier( in identifierToHalProgramIdentifier_withDeprecateDabId()
[all …]
H A DProgramInfoCacheTest.java19 import android.hardware.broadcastradio.ProgramIdentifier;
161 new ProgramIdentifier[]{}); in updateFromHalProgramListChunk_withPurgingCompleteChunk()
179 new ProgramIdentifier[]{ConversionUtils.identifierToHalProgramIdentifier( in updateFromHalProgramListChunk_withNonPurgingIncompleteChunk()
195 new ProgramIdentifier[]{}), /* logicallyTunedTo= */ null, in updateFromHalProgramListChunk_withInvalidChunk()
201 new ProgramIdentifier[]{}); in updateFromHalProgramListChunk_withInvalidChunk()
455 new ProgramIdentifier[]{}), /* logicallyTunedTo= */ null, in filterAndApplyChunkInternal_withInvalidProgramInfoAndIdentifiers()
457 ProgramIdentifier[] halRemoved = new android.hardware.broadcastradio.ProgramIdentifier[1]; in filterAndApplyChunkInternal_withInvalidProgramInfoAndIdentifiers()
458 halRemoved[0] = new android.hardware.broadcastradio.ProgramIdentifier(); in filterAndApplyChunkInternal_withInvalidProgramInfoAndIdentifiers()
/aosp_15_r20/out/soong/.intermediates/hardware/interfaces/broadcastradio/aidl/android.hardware.broadcastradio-V3-java-source/gen/android/hardware/broadcastradio/
DProgramIdentifier.java11 public class ProgramIdentifier implements android.os.Parcelable class
24 …final android.os.Parcelable.Creator<ProgramIdentifier> CREATOR = new android.os.Parcelable.Creator…
26 public ProgramIdentifier createFromParcel(android.os.Parcel _aidl_source) {
27 ProgramIdentifier _aidl_out = new ProgramIdentifier();
32 public ProgramIdentifier[] newArray(int _aidl_size) {
33 return new ProgramIdentifier[_aidl_size];
75 if (!(other instanceof ProgramIdentifier)) return false; in equals()
76 ProgramIdentifier that = (ProgramIdentifier)other; in equals()
DProgramInfo.java50 public android.hardware.broadcastradio.ProgramIdentifier logicallyTunedTo;
72 public android.hardware.broadcastradio.ProgramIdentifier physicallyTunedTo;
91 public android.hardware.broadcastradio.ProgramIdentifier[] relatedContent;
162 …yTunedTo = _aidl_parcel.readTypedObject(android.hardware.broadcastradio.ProgramIdentifier.CREATOR); in readFromParcel()
164 …yTunedTo = _aidl_parcel.readTypedObject(android.hardware.broadcastradio.ProgramIdentifier.CREATOR); in readFromParcel()
166 …Content = _aidl_parcel.createTypedArray(android.hardware.broadcastradio.ProgramIdentifier.CREATOR); in readFromParcel()
DProgramSelector.java47 public android.hardware.broadcastradio.ProgramIdentifier primaryId;
63 public android.hardware.broadcastradio.ProgramIdentifier[] secondaryIds;
96 …primaryId = _aidl_parcel.readTypedObject(android.hardware.broadcastradio.ProgramIdentifier.CREATOR… in readFromParcel()
98 …daryIds = _aidl_parcel.createTypedArray(android.hardware.broadcastradio.ProgramIdentifier.CREATOR); in readFromParcel()
/aosp_15_r20/out/soong/.intermediates/hardware/interfaces/broadcastradio/2.0/android.hardware.broadcastradio-V2.0-java_gen_java/gen/srcs/android/hardware/broadcastradio/V2_0/
DProgramIdentifier.java4 public final class ProgramIdentifier { class
25 … if (otherObject.getClass() != android.hardware.broadcastradio.V2_0.ProgramIdentifier.class) { in equals()
28 …ndroid.hardware.broadcastradio.V2_0.ProgramIdentifier other = (android.hardware.broadcastradio.V2_… in equals()
62 …public static final java.util.ArrayList<ProgramIdentifier> readVectorFromParcel(android.os.HwParce… in readVectorFromParcel()
63 java.util.ArrayList<ProgramIdentifier> _hidl_vec = new java.util.ArrayList(); in readVectorFromParcel()
74 …ardware.broadcastradio.V2_0.ProgramIdentifier _hidl_vec_element = new android.hardware.broadcastra… in readVectorFromParcel()
75 …((android.hardware.broadcastradio.V2_0.ProgramIdentifier) _hidl_vec_element).readEmbeddedFromParce… in readVectorFromParcel()
96 android.os.HwParcel parcel, java.util.ArrayList<ProgramIdentifier> _hidl_vec) { in writeVectorToParcel()
DProgramSelector.java24 …id.hardware.broadcastradio.V2_0.ProgramIdentifier primaryId = new android.hardware.broadcastradio.…
37 …broadcastradio.V2_0.ProgramIdentifier> secondaryIds = new java.util.ArrayList<android.hardware.bro…
107 …((android.hardware.broadcastradio.V2_0.ProgramIdentifier) primaryId).readEmbeddedFromParcel(parcel… in readEmbeddedFromParcel()
114 …((java.util.ArrayList<android.hardware.broadcastradio.V2_0.ProgramIdentifier>) secondaryIds).clear… in readEmbeddedFromParcel()
116 …ardware.broadcastradio.V2_0.ProgramIdentifier _hidl_vec_element = new android.hardware.broadcastra… in readEmbeddedFromParcel()
117 …((android.hardware.broadcastradio.V2_0.ProgramIdentifier) _hidl_vec_element).readEmbeddedFromParce… in readEmbeddedFromParcel()
118 …((java.util.ArrayList<android.hardware.broadcastradio.V2_0.ProgramIdentifier>) secondaryIds).add(_… in readEmbeddedFromParcel()
DProgramInfo.java37 …hardware.broadcastradio.V2_0.ProgramIdentifier logicallyTunedTo = new android.hardware.broadcastra…
59 …ardware.broadcastradio.V2_0.ProgramIdentifier physicallyTunedTo = new android.hardware.broadcastra…
78 …roadcastradio.V2_0.ProgramIdentifier> relatedContent = new java.util.ArrayList<android.hardware.br…
204 …((android.hardware.broadcastradio.V2_0.ProgramIdentifier) logicallyTunedTo).readEmbeddedFromParcel… in readEmbeddedFromParcel()
205 …((android.hardware.broadcastradio.V2_0.ProgramIdentifier) physicallyTunedTo).readEmbeddedFromParce… in readEmbeddedFromParcel()
212 …((java.util.ArrayList<android.hardware.broadcastradio.V2_0.ProgramIdentifier>) relatedContent).cle… in readEmbeddedFromParcel()
214 …ardware.broadcastradio.V2_0.ProgramIdentifier _hidl_vec_element = new android.hardware.broadcastra… in readEmbeddedFromParcel()
215 …((android.hardware.broadcastradio.V2_0.ProgramIdentifier) _hidl_vec_element).readEmbeddedFromParce… in readEmbeddedFromParcel()
216 …((java.util.ArrayList<android.hardware.broadcastradio.V2_0.ProgramIdentifier>) relatedContent).add… in readEmbeddedFromParcel()
DProgramFilter.java22 ….broadcastradio.V2_0.ProgramIdentifier> identifiers = new java.util.ArrayList<android.hardware.bro…
136 …((java.util.ArrayList<android.hardware.broadcastradio.V2_0.ProgramIdentifier>) identifiers).clear(… in readEmbeddedFromParcel()
138 …ardware.broadcastradio.V2_0.ProgramIdentifier _hidl_vec_element = new android.hardware.broadcastra… in readEmbeddedFromParcel()
139 …((android.hardware.broadcastradio.V2_0.ProgramIdentifier) _hidl_vec_element).readEmbeddedFromParce… in readEmbeddedFromParcel()
140 …((java.util.ArrayList<android.hardware.broadcastradio.V2_0.ProgramIdentifier>) identifiers).add(_h… in readEmbeddedFromParcel()
DProgramListChunk.java44 …re.broadcastradio.V2_0.ProgramIdentifier> removed = new java.util.ArrayList<android.hardware.broad…
147 … ((java.util.ArrayList<android.hardware.broadcastradio.V2_0.ProgramIdentifier>) removed).clear(); in readEmbeddedFromParcel()
149 …ardware.broadcastradio.V2_0.ProgramIdentifier _hidl_vec_element = new android.hardware.broadcastra… in readEmbeddedFromParcel()
150 …((android.hardware.broadcastradio.V2_0.ProgramIdentifier) _hidl_vec_element).readEmbeddedFromParce… in readEmbeddedFromParcel()
151 …((java.util.ArrayList<android.hardware.broadcastradio.V2_0.ProgramIdentifier>) removed).add(_hidl_… in readEmbeddedFromParcel()
/aosp_15_r20/external/deqp/external/vulkancts/framework/vulkan/
H A DvkBinaryRegistry.hpp42 struct ProgramIdentifier struct
47 ProgramIdentifier(const std::string &testCasePath_, const std::string &programName_) in ProgramIdentifier() function
54 inline bool operator<(const ProgramIdentifier &a, const ProgramIdentifier &b) in operator <()
62 ProgramNotFoundException(const ProgramIdentifier &id, const std::string &reason) in ProgramNotFoundException()
188 ProgramBinary *loadProgram(const ProgramIdentifier &id) const;
201 ProgramIdentifier id;
204 ProgramIdentifierIndex(const ProgramIdentifier &id_, uint32_t index_) : id(id_), index(index_) in ProgramIdentifierIndex()
234 void addProgram(const ProgramIdentifier &id, const ProgramBinary &binary);
273 using BinaryRegistryDetail::ProgramIdentifier;
H A DvkResourceInterface.hpp133 …virtual vk::ProgramBinary *compileProgram(const vk::ProgramIdentifier &progId, const vk::GlslSourc…
136 …virtual vk::ProgramBinary *compileProgram(const vk::ProgramIdentifier &progId, const vk::HlslSourc…
139 …virtual vk::ProgramBinary *compileProgram(const vk::ProgramIdentifier &progId, const vk::SpirVAsmS…
287 …vk::ProgramBinary *compileProgram(const vk::ProgramIdentifier &progId, const vk::GlslSource &sourc…
289 …vk::ProgramBinary *compileProgram(const vk::ProgramIdentifier &progId, const vk::HlslSource &sourc…
291 …vk::ProgramBinary *compileProgram(const vk::ProgramIdentifier &progId, const vk::SpirVAsmSource &s…
314 …vk::ProgramBinary *compileProgram(const vk::ProgramIdentifier &progId, const vk::GlslSource &sourc…
316 …vk::ProgramBinary *compileProgram(const vk::ProgramIdentifier &progId, const vk::HlslSource &sourc…
318 …vk::ProgramBinary *compileProgram(const vk::ProgramIdentifier &progId, const vk::SpirVAsmSource &s…
346 const vk::ProgramIdentifier progId(casePath, iter.getName()); in buildProgram()
/aosp_15_r20/hardware/interfaces/broadcastradio/common/utils2x/include/broadcastradio-utils-2x/
H A DUtils.h40 V2_0::IdentifierType getType(const V2_0::ProgramIdentifier& id);
43 : public std::iterator<std::random_access_iterator_tag, V2_0::ProgramIdentifier, ssize_t,
44 const V2_0::ProgramIdentifier*, const V2_0::ProgramIdentifier&> {
124 bool isValid(const V2_0::ProgramIdentifier& id);
127 V2_0::ProgramIdentifier make_identifier(V2_0::IdentifierType type, uint64_t value);
151 V2_0::ProgramIdentifier make_hdradio_station_name(const std::string& name);
/aosp_15_r20/hardware/interfaces/broadcastradio/common/utilsaidl/include/broadcastradio-utils-aidl/
H A DUtils.h46 : public std::iterator<std::random_access_iterator_tag, ProgramIdentifier, ssize_t,
47 const ProgramIdentifier*, const ProgramIdentifier&> {
135 bool isValid(const ProgramIdentifier& id);
138 ProgramIdentifier makeIdentifier(IdentifierType type, int64_t value);
170 ProgramIdentifier makeHdRadioStationName(const std::string& name);
208 bool parseProgramIdentifierList(const std::string& s, std::vector<ProgramIdentifier>* out);
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
H A DConversionUtils.java32 import android.hardware.broadcastradio.ProgramIdentifier;
349 static ProgramIdentifier identifierToHalProgramIdentifier(ProgramSelector.Identifier id) { in identifierToHalProgramIdentifier()
350 ProgramIdentifier hwId = new ProgramIdentifier(); in identifierToHalProgramIdentifier()
373 ProgramIdentifier id) { in identifierFromHalProgramIdentifier()
415 ArrayList<ProgramIdentifier> secondaryIdList = new ArrayList<>(secondaryIds.length); in programSelectorToHalProgramSelector()
417 ProgramIdentifier hwId = identifierToHalProgramIdentifier(secondaryIds[i]); in programSelectorToHalProgramSelector()
424 hwSel.secondaryIds = secondaryIdList.toArray(ProgramIdentifier[]::new); in programSelectorToHalProgramSelector()
658 private static boolean isValidLogicallyTunedTo(ProgramIdentifier id) { in isValidLogicallyTunedTo()
667 private static boolean isValidPhysicallyTunedTo(ProgramIdentifier id) { in isValidPhysicallyTunedTo()
732 ArrayList<ProgramIdentifier> identifiersList = new ArrayList<>(); in filterToHalProgramFilter()
[all …]
/aosp_15_r20/hardware/interfaces/broadcastradio/aidl/android/hardware/broadcastradio/
H A DProgramInfo.aidl21 import android.hardware.broadcastradio.ProgramIdentifier;
124 ProgramIdentifier logicallyTunedTo;
147 ProgramIdentifier physicallyTunedTo;
167 @nullable ProgramIdentifier[] relatedContent;
/aosp_15_r20/hardware/interfaces/broadcastradio/common/utilsaidl/src/
H A DUtils.cpp205 bool isValid(const ProgramIdentifier& id) { in isValid()
308 ProgramIdentifier makeIdentifier(IdentifierType type, int64_t value) { in makeIdentifier()
334 vector<ProgramIdentifier> secondaryIds = { in makeSelectorDab()
343 auto typeEquals = [](const ProgramIdentifier& id, IdentifierType type) { in satisfies()
414 const ProgramIdentifier& id = info.selector.primaryId; in operator ()()
425 const ProgramIdentifier& id1 = info1.selector.primaryId; in operator ()()
426 const ProgramIdentifier& id2 = info2.selector.primaryId; in operator ()()
515 ProgramIdentifier makeHdRadioStationName(const std::string& name) { in makeHdRadioStationName()
672 bool parseProgramIdentifierList(const std::string& s, vector<ProgramIdentifier>* out) { in parseProgramIdentifierList()
686 ProgramIdentifier id = {getType(idType), idVal}; in parseProgramIdentifierList()
/aosp_15_r20/hardware/interfaces/broadcastradio/common/utils2x/
H A DUtils.cpp31 using V2_0::ProgramIdentifier;
44 IdentifierType getType(const ProgramIdentifier& id) { in getType()
199 bool isValid(const ProgramIdentifier& id) { in isValid()
292 ProgramIdentifier make_identifier(IdentifierType type, uint64_t value) { in make_identifier()
307 hidl_vec<ProgramIdentifier> secondaryIds = { in make_selector_dab()
332 auto typeEquals = [](const V2_0::ProgramIdentifier& id, uint32_t type) { in satisfies()
395 V2_0::ProgramIdentifier make_hdradio_station_name(const std::string& name) { in make_hdradio_station_name()
/aosp_15_r20/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
H A DTestUtils.java20 import android.hardware.broadcastradio.V2_0.ProgramIdentifier;
118 ProgramIdentifier halId = new ProgramIdentifier(); in makeHalFmSelector()
125 halSelector.secondaryIds = new ArrayList<ProgramIdentifier>(); in makeHalFmSelector()
138 ArrayList<ProgramIdentifier> relatedContent, ArrayList<Metadata> metadata) { in makeHalProgramInfo()
/aosp_15_r20/prebuilts/vndk/v30/x86/include/generated-headers/hardware/interfaces/broadcastradio/1.1/[email protected]_genc++_headers/gen/android/hardware/broadcastradio/1.1/
Dtypes.h24 struct ProgramIdentifier;
245 struct ProgramIdentifier final {
250 static_assert(offsetof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier, type) == 0, "w…
251 static_assert(offsetof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier, value) == 8, "…
252 static_assert(sizeof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier) == 16, "wrong si…
253 static_assert(__alignof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier) == 8, "wrong …
286 …::android::hardware::broadcastradio::V1_1::ProgramIdentifier primaryId __attribute__ ((aligned(8))…
287 …::android::hardware::hidl_vec<::android::hardware::broadcastradio::V1_1::ProgramIdentifier> second…
500 …inline std::string toString(const ::android::hardware::broadcastradio::V1_1::ProgramIdentifier& o);
501 static inline void PrintTo(const ::android::hardware::broadcastradio::V1_1::ProgramIdentifier& o, :…
[all …]
/aosp_15_r20/out/soong/.intermediates/hardware/interfaces/broadcastradio/1.1/[email protected]_genc++_headers/gen/android/hardware/broadcastradio/1.1/
Dtypes.h24 struct ProgramIdentifier;
245 struct ProgramIdentifier final {
250 static_assert(offsetof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier, type) == 0, "w…
251 static_assert(offsetof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier, value) == 8, "…
252 static_assert(sizeof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier) == 16, "wrong si…
253 static_assert(__alignof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier) == 8, "wrong …
286 …::android::hardware::broadcastradio::V1_1::ProgramIdentifier primaryId __attribute__ ((aligned(8))…
287 …::android::hardware::hidl_vec<::android::hardware::broadcastradio::V1_1::ProgramIdentifier> second…
500 …inline std::string toString(const ::android::hardware::broadcastradio::V1_1::ProgramIdentifier& o);
501 static inline void PrintTo(const ::android::hardware::broadcastradio::V1_1::ProgramIdentifier& o, :…
[all …]
/aosp_15_r20/prebuilts/vndk/v30/arm/include/generated-headers/hardware/interfaces/broadcastradio/1.1/[email protected]_genc++_headers/gen/android/hardware/broadcastradio/1.1/
Dtypes.h24 struct ProgramIdentifier;
245 struct ProgramIdentifier final {
250 static_assert(offsetof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier, type) == 0, "w…
251 static_assert(offsetof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier, value) == 8, "…
252 static_assert(sizeof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier) == 16, "wrong si…
253 static_assert(__alignof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier) == 8, "wrong …
286 …::android::hardware::broadcastradio::V1_1::ProgramIdentifier primaryId __attribute__ ((aligned(8))…
287 …::android::hardware::hidl_vec<::android::hardware::broadcastradio::V1_1::ProgramIdentifier> second…
500 …inline std::string toString(const ::android::hardware::broadcastradio::V1_1::ProgramIdentifier& o);
501 static inline void PrintTo(const ::android::hardware::broadcastradio::V1_1::ProgramIdentifier& o, :…
[all …]
/aosp_15_r20/prebuilts/vndk/v30/arm64/include/generated-headers/hardware/interfaces/broadcastradio/1.1/[email protected]_genc++_headers/gen/android/hardware/broadcastradio/1.1/
Dtypes.h24 struct ProgramIdentifier;
245 struct ProgramIdentifier final {
250 static_assert(offsetof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier, type) == 0, "w…
251 static_assert(offsetof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier, value) == 8, "…
252 static_assert(sizeof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier) == 16, "wrong si…
253 static_assert(__alignof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier) == 8, "wrong …
286 …::android::hardware::broadcastradio::V1_1::ProgramIdentifier primaryId __attribute__ ((aligned(8))…
287 …::android::hardware::hidl_vec<::android::hardware::broadcastradio::V1_1::ProgramIdentifier> second…
500 …inline std::string toString(const ::android::hardware::broadcastradio::V1_1::ProgramIdentifier& o);
501 static inline void PrintTo(const ::android::hardware::broadcastradio::V1_1::ProgramIdentifier& o, :…
[all …]
/aosp_15_r20/prebuilts/vndk/v30/x86_64/include/generated-headers/hardware/interfaces/broadcastradio/1.1/[email protected]_genc++_headers/gen/android/hardware/broadcastradio/1.1/
Dtypes.h24 struct ProgramIdentifier;
245 struct ProgramIdentifier final {
250 static_assert(offsetof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier, type) == 0, "w…
251 static_assert(offsetof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier, value) == 8, "…
252 static_assert(sizeof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier) == 16, "wrong si…
253 static_assert(__alignof(::android::hardware::broadcastradio::V1_1::ProgramIdentifier) == 8, "wrong …
286 …::android::hardware::broadcastradio::V1_1::ProgramIdentifier primaryId __attribute__ ((aligned(8))…
287 …::android::hardware::hidl_vec<::android::hardware::broadcastradio::V1_1::ProgramIdentifier> second…
500 …inline std::string toString(const ::android::hardware::broadcastradio::V1_1::ProgramIdentifier& o);
501 static inline void PrintTo(const ::android::hardware::broadcastradio::V1_1::ProgramIdentifier& o, :…
[all …]

1234567