Home
last modified time | relevance | path

Searched refs:Identifier (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
DProgramSelectorTest.java35 private static final ProgramSelector.Identifier FM_IDENTIFIER = new ProgramSelector.Identifier(
37 private static final ProgramSelector.Identifier DAB_DMB_SID_EXT_IDENTIFIER_1 =
38 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_DMB_SID_EXT,
40 private static final ProgramSelector.Identifier DAB_DMB_SID_EXT_IDENTIFIER_2 =
41 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_DMB_SID_EXT,
43 private static final ProgramSelector.Identifier DAB_ENSEMBLE_IDENTIFIER =
44 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_ENSEMBLE,
46 private static final ProgramSelector.Identifier DAB_FREQUENCY_IDENTIFIER =
47 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_FREQUENCY,
59 ProgramSelector.Identifier fmIdentifier = new ProgramSelector.Identifier( in isCategoryType_withCategoryTypeForIdentifier()
[all …]
DUniqueProgramIdentifierTest.java30 private static final ProgramSelector.Identifier FM_IDENTIFIER = new ProgramSelector.Identifier(
33 private static final ProgramSelector.Identifier DAB_DMB_SID_EXT_IDENTIFIER_1 =
34 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_DMB_SID_EXT,
36 private static final ProgramSelector.Identifier DAB_ENSEMBLE_IDENTIFIER =
37 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_ENSEMBLE,
39 private static final ProgramSelector.Identifier DAB_FREQUENCY_IDENTIFIER =
40 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_FREQUENCY,
42 private static final ProgramSelector.Identifier DAB_SCID_IDENTIFIER =
43 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_SCID,
69 ProgramSelector dabSelector = getDabSelector(new ProgramSelector.Identifier[]{ in getPrimaryId_forUniqueProgramIdentifier()
[all …]
DProgramListTest.java68 private static final ProgramSelector.Identifier FM_IDENTIFIER =
69 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY,
71 private static final ProgramSelector.Identifier RDS_IDENTIFIER =
72 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_RDS_PI, 15019);
73 private static final ProgramSelector.Identifier DAB_DMB_SID_EXT_IDENTIFIER =
74 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_DMB_SID_EXT,
76 private static final ProgramSelector.Identifier DAB_ENSEMBLE_IDENTIFIER =
77 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_ENSEMBLE,
79 private static final ProgramSelector.Identifier DAB_FREQUENCY_IDENTIFIER_1 =
80 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_FREQUENCY,
[all …]
DRadioAnnouncementTest.java31 private static final ProgramSelector.Identifier FM_IDENTIFIER = new ProgramSelector.Identifier(
DRadioManagerTest.java118 private static final ProgramSelector.Identifier DAB_SID_EXT_IDENTIFIER =
119 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_DMB_SID_EXT,
121 private static final ProgramSelector.Identifier DAB_SID_EXT_IDENTIFIER_RELATED =
122 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_DMB_SID_EXT,
124 private static final ProgramSelector.Identifier DAB_ENSEMBLE_IDENTIFIER =
125 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_ENSEMBLE,
127 private static final ProgramSelector.Identifier DAB_FREQUENCY_IDENTIFIER =
128 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_FREQUENCY,
132 new ProgramSelector.Identifier[]{
137 private static final ProgramSelector.Identifier HD_STATION_EXT_IDENTIFIER =
[all …]
/frameworks/base/core/java/android/hardware/radio/
DProgramSelector.java435 private final @NonNull Identifier mPrimaryId;
436 private final @NonNull Identifier[] mSecondaryIds;
453 public ProgramSelector(@ProgramType int programType, @NonNull Identifier primaryId, in ProgramSelector()
454 @Nullable Identifier[] secondaryIds, @Nullable long[] vendorIds) { in ProgramSelector()
455 if (secondaryIds == null) secondaryIds = new Identifier[0]; in ProgramSelector()
483 public @NonNull Identifier getPrimaryId() { in getPrimaryId()
493 public @NonNull Identifier[] getSecondaryIds() { in getSecondaryIds()
509 for (Identifier id : mSecondaryIds) { in getFirstId()
524 public @NonNull Identifier[] getAllIds(@IdentifierType int type) { in getAllIds()
525 List<Identifier> out = new ArrayList<>(); in getAllIds()
[all …]
DUniqueProgramIdentifier.java39 @NonNull private final ProgramSelector.Identifier mPrimaryId;
40 @NonNull private final ProgramSelector.Identifier[] mCriticalSecondaryIds;
60 ProgramSelector.Identifier ensembleId = null; in UniqueProgramIdentifier()
61 ProgramSelector.Identifier frequencyId = null; in UniqueProgramIdentifier()
62 ProgramSelector.Identifier[] secondaryIds = selector.getSecondaryIds(); in UniqueProgramIdentifier()
77 mCriticalSecondaryIds = new ProgramSelector.Identifier[]{}; in UniqueProgramIdentifier()
79 mCriticalSecondaryIds = new ProgramSelector.Identifier[]{frequencyId}; in UniqueProgramIdentifier()
82 mCriticalSecondaryIds = new ProgramSelector.Identifier[]{ensembleId}; in UniqueProgramIdentifier()
84 mCriticalSecondaryIds = new ProgramSelector.Identifier[]{ensembleId, in UniqueProgramIdentifier()
89 mCriticalSecondaryIds = new ProgramSelector.Identifier[]{}; in UniqueProgramIdentifier()
[all …]
DProgramList.java49 private final ArrayMap<ProgramSelector.Identifier, ArrayMap<UniqueProgramIdentifier,
76 public void onItemChanged(@NonNull ProgramSelector.Identifier id) { } in onItemChanged()
81 public void onItemRemoved(@NonNull ProgramSelector.Identifier id) { } in onItemRemoved()
105 public void onItemChanged(@NonNull ProgramSelector.Identifier id) { in registerListCallback()
109 public void onItemRemoved(@NonNull ProgramSelector.Identifier id) { in registerListCallback()
196 List<ProgramSelector.Identifier> removedList = new ArrayList<>(); in apply()
197 Set<ProgramSelector.Identifier> changedSet = new ArraySet<>(); in apply()
207 Iterator<Map.Entry<ProgramSelector.Identifier, in apply()
211 Map.Entry<ProgramSelector.Identifier, ArrayMap<UniqueProgramIdentifier, in apply()
240 Iterator<ProgramSelector.Identifier> changedIterator = changedSet.iterator(); in apply()
[all …]
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DProgramInfoCacheTest.java51 private static final ProgramSelector.Identifier TEST_AM_FM_ID = new ProgramSelector.Identifier(
58 private static final ProgramSelector.Identifier TEST_RDS_ID = new ProgramSelector.Identifier(
66 ProgramSelector.PROGRAM_TYPE_FM_HD, new ProgramSelector.Identifier(
70 private static final ProgramSelector.Identifier TEST_DAB_SID_ID =
71 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_SID_EXT,
73 private static final ProgramSelector.Identifier TEST_DAB_ENSEMBLE_ID =
74 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_ENSEMBLE,
76 private static final ProgramSelector.Identifier TEST_DAB_FREQUENCY_ID =
77 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_FREQUENCY,
81 new ProgramSelector.Identifier[]{TEST_DAB_FREQUENCY_ID, TEST_DAB_ENSEMBLE_ID});
[all …]
DStartProgramListUpdatesFanoutTest.java77 private static final ProgramSelector.Identifier TEST_AM_FM_ID =
78 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY,
87 private static final ProgramSelector.Identifier TEST_RDS_ID =
88 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_RDS_PI,
98 private static final ProgramSelector.Identifier TEST_DAB_SID_ID =
99 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_SID_EXT,
101 private static final ProgramSelector.Identifier TEST_DAB_ENSEMBLE_ID =
102 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_ENSEMBLE,
104 private static final ProgramSelector.Identifier TEST_DAB_FREQUENCY_ID =
105 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_FREQUENCY,
[all …]
DTestUtils.java47 ProgramSelector.Identifier logicallyTunedTo, in makeProgramInfo()
48 ProgramSelector.Identifier physicallyTunedTo, int signalQuality) { in makeProgramInfo()
79 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY, in makeFmSelector()
84 ProgramSelector.Identifier identifier) { in makeProgramSelector()
89 ProgramSelector.Identifier primaryId, ProgramSelector.Identifier[] secondaryIds) { in makeProgramSelector()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricAuthenticator.java85 abstract class Identifier implements Parcelable { class
90 public Identifier() {} in Identifier() method in BiometricAuthenticator.Identifier
92 public Identifier(CharSequence name, int biometricId, long deviceId) { in Identifier() method in BiometricAuthenticator.Identifier
137 private Identifier mIdentifier;
156 @AuthenticationResultType int authenticationType, Identifier identifier, in AuthenticationResult()
190 public Identifier getId() { in getId()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DInternalEnumerateClient.java45 private List<? extends BiometricAuthenticator.Identifier> mEnrolledList;
47 private List<BiometricAuthenticator.Identifier> mUnknownHALTemplates = new ArrayList<>();
52 @NonNull List<? extends BiometricAuthenticator.Identifier> enrolledList, in InternalEnumerateClient()
65 public void onEnumerationResult(BiometricAuthenticator.Identifier identifier, in onEnumerationResult()
87 private void handleEnumeratedTemplate(BiometricAuthenticator.Identifier identifier) { in handleEnumeratedTemplate()
119 BiometricAuthenticator.Identifier identifier = mEnrolledList.get(i); in doTemplateCleanup()
136 public List<BiometricAuthenticator.Identifier> getUnknownHALTemplates() { in getUnknownHALTemplates()
DInternalCleanupClient.java45 public abstract class InternalCleanupClient<S extends BiometricAuthenticator.Identifier, T>
56 final BiometricAuthenticator.Identifier mIdentifier;
58 UserTemplate(BiometricAuthenticator.Identifier identifier, int userId) { in UserTemplate()
74 final List<BiometricAuthenticator.Identifier> unknownHALTemplates =
82 for (BiometricAuthenticator.Identifier unknownHALTemplate : unknownHALTemplates) {
190 public void onRemoved(BiometricAuthenticator.Identifier identifier, int remaining) { in onRemoved()
212 public void onEnumerationResult(BiometricAuthenticator.Identifier identifier, in onEnumerationResult()
230 @NonNull BiometricAuthenticator.Identifier identifier) {} in onAddUnknownTemplate()
DClientMonitorCallbackConverter.java92 void onAuthenticationSucceeded(int sensorId, BiometricAuthenticator.Identifier identifier, in onAuthenticationSucceeded()
137 void onEnrollResult(BiometricAuthenticator.Identifier identifier, int remaining) in onEnrollResult()
147 public void onRemoved(BiometricAuthenticator.Identifier identifier, int remaining) in onRemoved()
DEnumerateConsumer.java31 void onEnumerationResult(BiometricAuthenticator.Identifier identifier, int remaining); in onEnumerationResult()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DProgramInfoCacheTest.java51 private static final ProgramSelector.Identifier TEST_FM_FREQUENCY_ID =
52 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY,
63 private static final ProgramSelector.Identifier TEST_AM_FREQUENCY_ID =
64 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY,
73 private static final ProgramSelector.Identifier TEST_RDS_PI_ID =
74 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_RDS_PI,
80 TEST_RDS_PI_ID, new ProgramSelector.Identifier(
84 private static final ProgramSelector.Identifier TEST_DAB_DMB_SID_EXT_ID =
85 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_DMB_SID_EXT,
87 private static final ProgramSelector.Identifier TEST_DAB_ENSEMBLE_ID =
[all …]
DConversionUtilsTest.java101 private static final ProgramSelector.Identifier TEST_INVALID_ID =
102 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_INVALID, 1);
106 private static final ProgramSelector.Identifier TEST_DAB_SID_EXT_ID =
107 new ProgramSelector.Identifier(
109 private static final ProgramSelector.Identifier TEST_DAB_SID_EXT_LEGACY_ID =
110 new ProgramSelector.Identifier(
112 private static final ProgramSelector.Identifier TEST_DAB_ENSEMBLE_ID =
113 new ProgramSelector.Identifier(
115 private static final ProgramSelector.Identifier TEST_DAB_FREQUENCY_ID =
116 new ProgramSelector.Identifier(
[all …]
DAidlTestUtils.java52 ProgramSelector.Identifier logicallyTunedTo, in makeProgramInfo()
53 ProgramSelector.Identifier physicallyTunedTo, int signalQuality) { in makeProgramInfo()
74 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY, in makeFmSelector()
79 ProgramSelector.Identifier identifier) { in makeProgramSelector()
134 List<RadioManager.ProgramInfo> modified, List<ProgramSelector.Identifier> removed) { in makeHalChunk()
DTunerSessionTest.java105 private static final ProgramSelector.Identifier TEST_FM_FREQUENCY_ID =
106 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY,
117 private static final ProgramSelector.Identifier TEST_DAB_FREQUENCY_ID =
118 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_FREQUENCY,
120 private static final ProgramSelector.Identifier TEST_DAB_FREQUENCY_ID_ALT =
121 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_FREQUENCY,
123 private static final ProgramSelector.Identifier TEST_DAB_SID_EXT_ID =
124 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_DMB_SID_EXT,
126 private static final ProgramSelector.Identifier TEST_DAB_ENSEMBLE_ID =
127 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_ENSEMBLE,
[all …]
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DProgramInfoCache.java22 import android.hardware.radio.ProgramSelector.Identifier;
49 private final ArrayMap<Identifier, ArrayMap<UniqueProgramIdentifier, RadioManager.ProgramInfo>>
148 Identifier id = other.mProgramInfoMap.keyAt(index); in filterAndUpdateFromInternal()
190 Identifier primaryId = info.getSelector().getPrimaryId(); in filterAndApplyChunkInternal()
199 Identifier removedId = Convert.programIdentifierFromHal(halProgramId); in filterAndApplyChunkInternal()
217 private boolean passesFilter(Identifier id) { in passesFilter()
235 Identifier primaryId = info.getSelector().getPrimaryId(); in putInfo()
244 Identifier primaryId = uniqueId.getPrimaryId(); in removeUniqueId()
255 Identifier primaryId = newInfo.getSelector().getPrimaryId(); in shouldIncludeInModified()
DConvert.java275 @NonNull ProgramSelector.Identifier id) { in programIdentifierToHal()
281 @NonNull ProgramSelector.Identifier id) { in programIdentifierToHal()
287 static @Nullable ProgramSelector.Identifier programIdentifierFromHal( in programIdentifierFromHal()
290 return new ProgramSelector.Identifier(id.type, id.value); in programIdentifierFromHal()
314 ProgramSelector.Identifier[] secondaryIds = sel.secondaryIds.stream(). in programSelectorFromHal()
316 toArray(ProgramSelector.Identifier[]::new); in programSelectorFromHal()
396 Collection<ProgramSelector.Identifier> relatedContent = info.relatedContent.stream(). in programInfoFromHal()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DProgramInfoCache.java22 import android.hardware.radio.ProgramSelector.Identifier;
61 private final ArrayMap<Identifier, ArrayMap<UniqueProgramIdentifier, RadioManager.ProgramInfo>>
174 Identifier id = other.mProgramInfoMap.keyAt(index); in filterAndUpdateFromInternal()
222 Identifier primaryId = info.getSelector().getPrimaryId(); in filterAndApplyChunkInternal()
232 Identifier removedId = ConversionUtils.identifierFromHalProgramIdentifier( in filterAndApplyChunkInternal()
254 private boolean passesFilter(Identifier id) { in passesFilter()
269 Identifier primaryId = info.getSelector().getPrimaryId(); in putInfo()
277 Identifier primaryId = uniqueId.getPrimaryId(); in removeUniqueId()
288 Identifier primaryId = newInfo.getSelector().getPrimaryId(); in shouldIncludeInModified()
DConversionUtils.java347 static ProgramIdentifier identifierToHalProgramIdentifier(ProgramSelector.Identifier id) { in identifierToHalProgramIdentifier()
370 static ProgramSelector.Identifier identifierFromHalProgramIdentifier( in identifierFromHalProgramIdentifier()
387 return new ProgramSelector.Identifier(idType, id.value); in identifierFromHalProgramIdentifier()
412 ProgramSelector.Identifier[] secondaryIds = sel.getSecondaryIds(); in programSelectorToHalProgramSelector()
442 List<ProgramSelector.Identifier> secondaryIdList = new ArrayList<>(); in programSelectorFromHalProgramSelector()
445 ProgramSelector.Identifier id = identifierFromHalProgramIdentifier( in programSelectorFromHalProgramSelector()
458 secondaryIdList.toArray(new ProgramSelector.Identifier[0]), in programSelectorFromHalProgramSelector()
604 Collection<ProgramSelector.Identifier> relatedContent = new ArrayList<>(); in programInfoFromHalProgramInfo()
607 ProgramSelector.Identifier relatedContentId = in programInfoFromHalProgramInfo()
640 Iterator<ProgramSelector.Identifier> idIterator = filter.getIdentifiers().iterator(); in filterToHalProgramFilter()
[all …]
/frameworks/base/apex/jobscheduler/framework/java/android/os/
DWearModeManagerInternal.java73 @interface Identifier { annotation
94 <T> void addActiveStateChangeListener(@NonNull @Identifier String identifier, in addActiveStateChangeListener()

123