Home
last modified time | relevance | path

Searched refs:primaryId (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Radio/src/com/android/car/radio/storage/
DFavorite.java35 public final IdentifierEntity primaryId; field in Favorite
43 Favorite(@NonNull IdentifierEntity primaryId, @NonNull ProgramSelector selector, in Favorite() argument
45 if (!primaryId.sameAs(selector.getPrimaryId())) { in Favorite()
50 this.primaryId = primaryId; in Favorite()
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/
DProgramSelectorExt.java102 public static @NonNull ProgramSelector newProgramSelector(@NonNull Identifier primaryId, in newProgramSelector() argument
105 identifierToProgramType(primaryId), in newProgramSelector()
106 primaryId, secondaryIds, null); in newProgramSelector()
111 @NonNull Identifier primaryId) { in identifierToProgramType()
112 int idType = primaryId.getType(); in identifierToProgramType()
115 if (isAmFrequency(primaryId.getValue())) { in identifierToProgramType()
123 if (isAmFrequency(IdentifierExt.asHdPrimary(primaryId).getFrequency())) { in identifierToProgramType()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java334 long primaryId = -1; in fixPrimary() local
347 primaryId = dataId; in fixPrimary()
354 if (primaryId != -1) { in fixPrimary()
355 mDbHelper.setIsPrimary(rawContactId, primaryId, mimeTypeId); in fixPrimary()