Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/radio/
DProgramSelector.java254 private final @NonNull Identifier mPrimaryId;
255 private final @NonNull Identifier[] mSecondaryIds;
271 public ProgramSelector(@ProgramType int programType, @NonNull Identifier primaryId, in ProgramSelector()
272 @Nullable Identifier[] secondaryIds, @Nullable long[] vendorIds) { in ProgramSelector()
273 if (secondaryIds == null) secondaryIds = new Identifier[0]; in ProgramSelector()
301 public @NonNull Identifier getPrimaryId() { in getPrimaryId()
311 public @NonNull Identifier[] getSecondaryIds() { in getSecondaryIds()
327 for (Identifier id : mSecondaryIds) { in getFirstId()
342 public @NonNull Identifier[] getAllIds(@IdentifierType int type) { in getAllIds()
343 List<Identifier> out = new ArrayList<>(); in getAllIds()
[all …]
DProgramList.java44 private final Map<ProgramSelector.Identifier, RadioManager.ProgramInfo> mPrograms =
62 public void onItemChanged(@NonNull ProgramSelector.Identifier id) { } in onItemChanged()
67 public void onItemRemoved(@NonNull ProgramSelector.Identifier id) { } in onItemRemoved()
91 public void onItemChanged(@NonNull ProgramSelector.Identifier id) { in registerListCallback()
95 public void onItemRemoved(@NonNull ProgramSelector.Identifier id) { in registerListCallback()
197 ProgramSelector.Identifier key = value.getSelector().getPrimaryId(); in putLocked()
199 ProgramSelector.Identifier sel = value.getSelector().getPrimaryId(); in putLocked()
203 private void removeLocked(@NonNull ProgramSelector.Identifier key) { in removeLocked()
206 ProgramSelector.Identifier sel = removed.getSelector().getPrimaryId(); in removeLocked()
227 public @Nullable RadioManager.ProgramInfo get(@NonNull ProgramSelector.Identifier id) { in get()
[all …]
DRadioManager.java1419 @Nullable private final ProgramSelector.Identifier mLogicallyTunedTo;
1420 @Nullable private final ProgramSelector.Identifier mPhysicallyTunedTo;
1421 @NonNull private final Collection<ProgramSelector.Identifier> mRelatedContent;
1429 @Nullable ProgramSelector.Identifier logicallyTunedTo, in ProgramInfo()
1430 @Nullable ProgramSelector.Identifier physicallyTunedTo, in ProgramInfo()
1431 @Nullable Collection<ProgramSelector.Identifier> relatedContent, in ProgramInfo()
1470 public @Nullable ProgramSelector.Identifier getLogicallyTunedTo() { in getLogicallyTunedTo()
1483 public @Nullable ProgramSelector.Identifier getPhysicallyTunedTo() { in getPhysicallyTunedTo()
1499 public @Nullable Collection<ProgramSelector.Identifier> getRelatedContent() { in getRelatedContent()
1553 ProgramSelector.Identifier id = mLogicallyTunedTo; in isDigital()
[all …]
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DProgramInfoCacheTest.java43 private final ProgramSelector.Identifier mAmFmIdentifier =
44 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY, 88500);
48 private final ProgramSelector.Identifier mRdsIdentifier =
49 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_RDS_PI, 15019);
53 private final ProgramSelector.Identifier mDabEnsembleIdentifier =
54 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_ENSEMBLE, 1337);
58 private final ProgramSelector.Identifier mVendorCustomIdentifier =
59 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_VENDOR_START, 9001);
105 new HashSet<ProgramSelector.Identifier>(), true, false)); in testEmptyFilter()
117 new HashSet<ProgramSelector.Identifier>(), true, false)); in testFilterByType()
[all …]
DStartProgramListUpdatesFanoutTest.java76 private final ProgramSelector.Identifier mAmFmIdentifier =
77 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY, 88500);
83 private final ProgramSelector.Identifier mRdsIdentifier =
84 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_RDS_PI, 15019);
88 private final ProgramSelector.Identifier mDabEnsembleIdentifier =
89 new ProgramSelector.Identifier(ProgramSelector.IDENTIFIER_TYPE_DAB_ENSEMBLE, 1337);
117 new HashSet<ProgramSelector.Identifier>(), true, false); in testFanout()
157 new HashSet<ProgramSelector.Identifier>(Arrays.asList(mRdsIdentifier)), true, true); in testFiltering()
159 new HashSet<ProgramSelector.Identifier>(), false, true); in testFiltering()
162 new HashSet<ProgramSelector.Identifier>(), true, true); in testFiltering()
[all …]
DTestUtils.java27 ProgramSelector.Identifier identifier, int signalQuality) { in makeProgramInfo()
/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.java43 private List<? extends BiometricAuthenticator.Identifier> mEnrolledList;
45 private List<BiometricAuthenticator.Identifier> mUnknownHALTemplates = new ArrayList<>();
49 @NonNull List<? extends BiometricAuthenticator.Identifier> enrolledList, in InternalEnumerateClient()
61 public void onEnumerationResult(BiometricAuthenticator.Identifier identifier, in onEnumerationResult()
83 private void handleEnumeratedTemplate(BiometricAuthenticator.Identifier identifier) { in handleEnumeratedTemplate()
114 BiometricAuthenticator.Identifier identifier = mEnrolledList.get(i); in doTemplateCleanup()
127 public List<BiometricAuthenticator.Identifier> getUnknownHALTemplates() { in getUnknownHALTemplates()
DInternalCleanupClient.java42 public abstract class InternalCleanupClient<S extends BiometricAuthenticator.Identifier, T>
52 final BiometricAuthenticator.Identifier mIdentifier;
54 UserTemplate(BiometricAuthenticator.Identifier identifier, int userId) { in UserTemplate()
69 final List<BiometricAuthenticator.Identifier> unknownHALTemplates =
77 for (BiometricAuthenticator.Identifier unknownHALTemplate : unknownHALTemplates) {
159 public void onRemoved(BiometricAuthenticator.Identifier identifier, int remaining) { in onRemoved()
169 public void onEnumerationResult(BiometricAuthenticator.Identifier identifier, in onEnumerationResult()
DClientMonitorCallbackConverter.java72 void onAuthenticationSucceeded(int sensorId, BiometricAuthenticator.Identifier identifier, in onAuthenticationSucceeded()
117 void onEnrollResult(BiometricAuthenticator.Identifier identifier, int remaining) in onEnrollResult()
126 void onRemoved(BiometricAuthenticator.Identifier identifier, int remaining) in onRemoved()
DRemovalClient.java35 public abstract class RemovalClient<S extends BiometricAuthenticator.Identifier, T>
68 public void onRemoved(@NonNull BiometricAuthenticator.Identifier identifier, int remaining) { in onRemoved()
DEnumerateConsumer.java31 void onEnumerationResult(BiometricAuthenticator.Identifier identifier, int remaining); in onEnumerationResult()
DRemovalConsumer.java32 void onRemoved(@Nullable BiometricAuthenticator.Identifier identifier, int remaining); in onRemoved()
DAuthenticationConsumer.java27 void onAuthenticated(BiometricAuthenticator.Identifier identifier, boolean authenticated, in onAuthenticated()
DBiometricUtils.java28 public interface BiometricUtils<T extends BiometricAuthenticator.Identifier> {
DBiometricUserState.java49 public abstract class BiometricUserState<T extends BiometricAuthenticator.Identifier> {
164 BiometricAuthenticator.Identifier identifier = mBiometrics.get(i); in renameBiometric()
DInvalidationRequesterClient.java60 public class InvalidationRequesterClient<S extends BiometricAuthenticator.Identifier>
DInvalidationClient.java35 public abstract class InvalidationClient<S extends BiometricAuthenticator.Identifier, T>
DEnrollClient.java61 public void onEnrollResult(BiometricAuthenticator.Identifier identifier, int remaining) { in onEnrollResult()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DProgramInfoCache.java48 private final Map<ProgramSelector.Identifier, RadioManager.ProgramInfo> mProgramInfoMap =
76 Map<ProgramSelector.Identifier, RadioManager.ProgramInfo> expectedMap = new HashMap<>(); in programInfosAreExactly()
140 Set<ProgramSelector.Identifier> removed = new HashSet<>(mProgramInfoMap.keySet()); in filterAndUpdateFromInternal()
141 for (Map.Entry<ProgramSelector.Identifier, RadioManager.ProgramInfo> entry in filterAndUpdateFromInternal()
143 ProgramSelector.Identifier id = entry.getKey(); in filterAndUpdateFromInternal()
156 for (ProgramSelector.Identifier rem : removed) { in filterAndUpdateFromInternal()
177 Set<ProgramSelector.Identifier> removed = new HashSet<>(); in filterAndApplyChunkInternal()
179 ProgramSelector.Identifier id = info.getSelector().getPrimaryId(); in filterAndApplyChunkInternal()
186 for (ProgramSelector.Identifier id : chunk.getRemoved()) { in filterAndApplyChunkInternal()
200 private boolean passesFilter(ProgramSelector.Identifier id) { in passesFilter()
[all …]
DConvert.java247 @NonNull ProgramSelector.Identifier id) { in programIdentifierToHal()
253 @NonNull ProgramSelector.Identifier id) { in programIdentifierToHal()
259 static @Nullable ProgramSelector.Identifier programIdentifierFromHal( in programIdentifierFromHal()
262 return new ProgramSelector.Identifier(id.type, id.value); in programIdentifierFromHal()
289 ProgramSelector.Identifier[] secondaryIds = sel.secondaryIds.stream(). in programSelectorFromHal()
291 toArray(ProgramSelector.Identifier[]::new); in programSelectorFromHal()
371 Collection<ProgramSelector.Identifier> relatedContent = info.relatedContent.stream(). in programInfoFromHal()
404 Set<ProgramSelector.Identifier> removed = chunk.removed.stream(). in programListChunkFromHal()
/frameworks/opt/telephony/proto/src/
DcarrierId.proto71 // [Optional] Group Identifier Level1 for a GSM phone. Read from subscription EF_GID1.
75 // [Optional] Group Identifier Level2 for a GSM phone. Read from subscription EF_GID2.
84 // [Optional] Prefix of Integrated Circuit Card Identifier. Read from subscription EF_ICCID.
/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.cpp139 } Identifier; member
552 return make_javaref(env, env->NewObject(gjni.ProgramSelector.Identifier.clazz, in ProgramIdentifierFromHal()
553 gjni.ProgramSelector.Identifier.cstor, id.type, id.value)); in ProgramIdentifierFromHal()
560 gjni.ProgramSelector.Identifier.clazz, ProgramIdentifierFromHal); in ProgramSelectorFromHal()
571 id.type = env->GetIntField(jId, gjni.ProgramSelector.Identifier.type); in ProgramIdentifierToHal()
572 id.value = env->GetLongField(jId, gjni.ProgramSelector.Identifier.value); in ProgramIdentifierToHal()
742 gjni.ProgramSelector.Identifier.clazz = MakeGlobalRefOrDie(env, progSelIdClass); in register_android_server_broadcastradio_convert()
743 gjni.ProgramSelector.Identifier.cstor = GetMethodIDOrDie(env, progSelIdClass, in register_android_server_broadcastradio_convert()
745 gjni.ProgramSelector.Identifier.type = GetFieldIDOrDie(env, progSelIdClass, in register_android_server_broadcastradio_convert()
747 gjni.ProgramSelector.Identifier.value = GetFieldIDOrDie(env, progSelIdClass, in register_android_server_broadcastradio_convert()
/frameworks/base/core/java/android/hardware/face/
DFace.java28 public final class Face extends BiometricAuthenticator.Identifier {
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprint.java26 public final class Fingerprint extends BiometricAuthenticator.Identifier {

12