Home
last modified time | relevance | path

Searched defs:contexts (Results 1 – 18 of 18) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarDuckingUtils.java79 private static Set<Integer> getUnduckedContexts(Set<Integer> contexts, in getUnduckedContexts()
86 private static Set<String> getAddressesForContexts(Set<Integer> contexts, CarAudioZone zone) { in getAddressesForContexts()
94 private static Set<Integer> getContextsToDuck(Set<Integer> contexts) { in getContextsToDuck()
DCarVolume.java149 ArraySet<Integer> contexts = new ArraySet<>(); in convertAttributesToContexts() local
237 boolean isAnyContextActive(@AudioContext int [] contexts, in isAnyContextActive()
DCarAudioZone.java129 ArraySet<Integer> contexts = new ArraySet<>(); in validateVolumeGroups() local
DCarAudioZonesHelperLegacy.java225 List<Integer> contexts = new ArrayList<>(); in parseAudioContexts() local
DCarAudioContext.java678 boolean validateAllAudioAttributesSupported(List<Integer> contexts) { in validateAllAudioAttributesSupported()
DCarAudioService.java984 int[] contexts = group.getContexts(); in getUsagesForVolumeGroupId() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowPermissionControllerManager.java34 protected void __constructor__(Context contexts, Handler handler) { in __constructor__()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioContextTest.java244 Set<Integer> contexts = in getUniqueAttributesHoldingFocus_withNoAttributes_returnsEmpty() local
258 Set<Integer> contexts = in getUniqueAttributesHoldingFocus_withDuplicates_returnsSetWithNoDuplicates() local
273 Set<Integer> contexts = in getUniqueAttributesHoldingFocus_withSystemAudioAttributes_retSystemContext() local
288 Set<Integer> contexts = in getUniqueAttributesHoldingFocus_withInvalidAttribute_returnsEmpty() local
DVolumeGroupBuilder.java62 int[] contexts = new int[mDeviceAddresses.size()]; in build() local
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperLegacyTest.java304 List<Integer> contexts = IntStream.of(mediaVolumeGroup.getContexts()).boxed().collect( in loadAudioZones_associatesLegacyContextsWithCorrectBuses() local
334 List<Integer> contexts = IntStream.of(mediaVolumeGroup.getContexts()).boxed().collect( in loadAudioZones_associatesNonLegacyContextsWithMediaBus() local
DCarAudioZoneTest.java442 @AudioContext int[] contexts = new int[mDeviceAddresses.size()]; in build() local
/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_utils.cc229 std::vector<uint8_t> GetAllCcids(const AudioContexts& contexts) { in GetAllCcids()
Dclient_parser.cc634 bool ParseSupportedAudioContexts(struct acs_supported_audio_contexts& contexts, in ParseSupportedAudioContexts()
653 bool ParseAvailableAudioContexts(struct acs_available_audio_contexts& contexts, in ParseAvailableAudioContexts()
Dle_audio_types.cc733 std::ostream& operator<<(std::ostream& os, const AudioContexts& contexts) { in operator <<()
Dclient.cc4136 auto contexts = group->GetPendingAvailableContextsChange(); in HandlePendingAvailableContextsChange() local
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dbroadcaster.cc171 void UpdateStreamingContextTypeOnAllSubgroups(const AudioContexts& contexts) { in UpdateStreamingContextTypeOnAllSubgroups()
871 auto contexts = GetAllowedAudioContextsFromSourceMetadata( in OnAudioMetadataUpdate() local
/packages/apps/Camera2/src/com/android/camera/data/
DCameraFilmstripDataAdapter.java398 protected QueryTaskResult doInBackground(Context... contexts) { in doInBackground()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java1179 Integer contexts = BluetoothLeAudio.CONTEXT_TYPE_MEDIA | in testMessageFromNativeAudioConfChangedInactiveGroup() local