Home
last modified time | relevance | path

Searched refs:primaryId (Results 1 – 5 of 5) 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.java340 long primaryId = -1; in fixPrimary() local
353 primaryId = dataId; in fixPrimary()
360 if (primaryId != -1) { in fixPrimary()
361 mDbHelper.setIsPrimary(rawContactId, primaryId, mimeTypeId); in fixPrimary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummaryPreferenceController.java306 public static SubscriptionPlan getPrimaryPlan(SubscriptionManager subManager, int primaryId) { in getPrimaryPlan() argument
307 List<SubscriptionPlan> plans = subManager.getSubscriptionPlans(primaryId); in getPrimaryPlan()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceController.java347 public static SubscriptionPlan getPrimaryPlan(SubscriptionManager subManager, int primaryId) { in getPrimaryPlan() argument
348 List<SubscriptionPlan> plans = subManager.getSubscriptionPlans(primaryId); in getPrimaryPlan()