Searched refs:contexts (Results 1 – 16 of 16) sorted by relevance
187 public static boolean isAnyContextActive(@NonNull @AudioContext int [] contexts, in isAnyContextActive() argument190 Objects.nonNull(contexts); in isAnyContextActive()191 Preconditions.checkArgument(contexts.length != 0, in isAnyContextActive()195 for (@AudioContext int context : contexts) { in isAnyContextActive()208 Set<Integer> contexts = CarAudioContext.getUniqueContextsForUsages(activeHalUsages); in getActiveContexts() local212 contexts.add(CarAudioContext.CALL_RING); in getActiveContexts()215 contexts.add(CarAudioContext.CALL); in getActiveContexts()219 contexts.addAll(activePlaybackContexts); in getActiveContexts()220 return contexts; in getActiveContexts()
147 private static Set<Integer> getUnduckedContexts(Set<Integer> contexts, in getUnduckedContexts() argument149 Set<Integer> unduckedContexts = new HashSet<>(contexts); in getUnduckedContexts()154 private static Set<String> getAddressesForContexts(Set<Integer> contexts, CarAudioZone zone) { in getAddressesForContexts() argument156 for (Integer context : contexts) { in getAddressesForContexts()162 private static Set<Integer> getContextsToDuck(Set<Integer> contexts) { in getContextsToDuck() argument165 for (Integer context : contexts) { in getContextsToDuck()173 contextsToDuck.retainAll(contexts); in getContextsToDuck()
125 Set<Integer> contexts = new HashSet<>(); in validateVolumeGroups() local131 if (!contexts.add(context)) { in validateVolumeGroups()147 if (contexts.size() != CarAudioContext.CONTEXTS.length) { in validateVolumeGroups()149 Slog.e(CarLog.TAG_AUDIO, "Assigned contexts " + contexts); in validateVolumeGroups()
205 List<Integer> contexts = new ArrayList<>(); in parseAudioContexts() local216 contexts.add(c.getInt(R.styleable.volumeGroups_context_context, -1)); in parseAudioContexts()221 return contexts; in parseAudioContexts()
923 Set<Integer> contexts = in getUsagesForVolumeGroupId() local926 for (@AudioContext int context : contexts) { in getUsagesForVolumeGroupId()
62 int[] contexts = new int[mDeviceAddresses.size()]; in build() local72 contexts[index] = context; in build()75 when(carVolumeGroup.getContexts()).thenReturn(contexts); in build()
127 List<Integer> contexts = IntStream.of(mediaVolumeGroup.getContexts()).boxed().collect( in loadAudioZones_associatesLegacyContextsWithCorrectBuses() local129 assertThat(contexts).contains(CarAudioContext.MUSIC); in loadAudioZones_associatesLegacyContextsWithCorrectBuses()154 List<Integer> contexts = IntStream.of(mediaVolumeGroup.getContexts()).boxed().collect( in loadAudioZones_associatesNonLegacyContextsWithMediaBus() local156 assertThat(contexts).containsAtLeast(CarAudioService.DEFAULT_AUDIO_CONTEXT, in loadAudioZones_associatesNonLegacyContextsWithMediaBus()
316 @AudioContext int[] contexts = new int[mDeviceAddresses.size()]; in build() local326 contexts[index] = context; in build()329 when(carVolumeGroup.getContexts()).thenReturn(contexts); in build()
34 protected void __constructor__(Context contexts, Handler handler) { in __constructor__() argument
391 protected QueryTaskResult doInBackground(Context... contexts) { in doInBackground() argument392 final Context context = contexts[0]; in doInBackground()
172 …s" or "in place" to describe an event where it takes place, and is used in many different contexts.
495 # NOTE: For additional vendor file contexts for vendor overlay files,
3314 Landroid/icu/text/LocaleDisplayNames$LastResortLocaleDisplayNames;->contexts:[Landroid/icu/text/Dis…
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...