Home
last modified time | relevance | path

Searched defs:usages (Results 1 – 16 of 16) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioContextTest.java86 int[] usages = CarAudioContext.getUsagesForContext(MUSIC); in getUsagesForContext_withValidContext_returnsUsages() local
101 @AttributeUsage int[] usages = CarAudioContext.getUsagesForContext(audioContext); in getUsagesForContext_returnsUniqueValuesForAllContexts() local
115 int[] usages = {USAGE_GAME, USAGE_MEDIA}; in getUniqueContextsForUsages_withMultipleUsages_filtersDuplicateContexts() local
124 int[] usages = {USAGE_MEDIA, USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, USAGE_EMERGENCY}; in getUniqueContextsForUsages_withMultipleUsages_returnsAllUniqueContexts() local
DCarDuckingUtilsTest.java102 int[] usages = CarDuckingUtils.getUsagesHoldingFocus(new ArrayList<>()); in getUsagesHoldingFocus_withNoHolders_returnsEmptyArray() local
114 int[] usages = CarDuckingUtils.getUsagesHoldingFocus(focusHolders); in getUsagesHoldingFocus_removesDuplicateUsages() local
126 int[] usages = CarDuckingUtils.getUsagesHoldingFocus(focusHolders); in getUsagesHoldingFocus_includesSystemUsages() local
155 int[] usages = in getAddressesToDuck_onlyReturnsDevicesForUsagesHoldingFocus() local
167 int[] usages = new int[]{USAGE_MEDIA, USAGE_SAFETY, USAGE_ASSISTANCE_NAVIGATION_GUIDANCE}; in getAddressesToDuck_withDuckedAndUnduckedContextsSharingDevice_excludesThatDevice() local
178 int[] usages = new int[]{USAGE_MEDIA, USAGE_SAFETY, USAGE_ALARM}; in getAddressesToDuck_withDuckedContextsSharingADevice_includesAddressOnce() local
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DReviewOngoingUsageViewModel.kt152 for ((permGroupName, usages) in permGroupUsages.value!!) { in <lambda>() constant
198 val usages = permGroupUsages.value?.get(MICROPHONE) ?: run { in <lambda>() constant
330 val usages = permGroupUsages.value?.get(MICROPHONE) ?: emptyList() in <lambda>() constant
414 val usages = object : SmartAsyncMediatorLiveData<Usages>() { in <lambda>() constant
467 for ((pkg, usages) in appUsages) { in <lambda>() constant
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDynamicRouting.java79 int[] usages = CarAudioContext.getUsagesForContext(carAudioContext); in setupAudioDynamicRoutingForGroup() local
DCarDuckingUtils.java127 static List<String> getAddressesToDuck(int[] usages, CarAudioZone zone) { in getAddressesToDuck()
DCarAudioContext.java254 static Set<Integer> getUniqueContextsForUsages(int[] usages) { in getUniqueContextsForUsages()
DCarAudioService.java925 final List<Integer> usages = new ArrayList<>(); in getUsagesForVolumeGroupId() local
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/
DPermissionUsageV2Fragment.java321 Map<String, Integer> usages = new HashMap<>(); in updateUI() local
413 Map<String, Integer> usages, in extractPermissionUsage()
468 List<Map.Entry<String, Integer>> usages, in addUIContent()
DPermissionUsages.java130 final List<AppPermissionUsage> usages = loader.loadInBackground(); in load() local
144 List<AppPermissionUsage> usages) { in onLoadFinished()
224 final List<AppPermissionUsage> usages = new ArrayList<>(); in loadInBackground() local
DPermissionUsageGraphicPreference.java88 public void setUsages(Map<String, Integer> usages) { in setUsages()
DPermissionDetailsFragment.java309 List<AppPermissionUsageEntry> usages = mAppPermissionUsages.stream() in updateUI() local
/packages/services/Car/cpp/watchdog/server/tests/
DUidIoStatsTest.cpp35 std::string toString(std::unordered_map<uid_t, UidIoUsage> usages) { in toString()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceController.java215 private VolumeItem getVolumeItemForUsages(int[] usages) { in getVolumeItemForUsages()
/packages/services/Car/cpp/evs/manager/1.1/stats/
DStatsCollector.cpp431 Result<void> StatsCollector::toString(std::unordered_map<std::string, std::string>* usages, in toString()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DCarVolumeDialogImpl.java445 private VolumeItem getVolumeItemForUsages(int[] usages) { in getVolumeItemForUsages()
/packages/services/Car/cpp/watchdog/server/src/
DIoPerfCollection.cpp417 const std::unordered_map<uid_t, UidIoUsage>& usages = uidIoStats.promote()->deltaStats(); in processUidIoPerfData() local