Home
last modified time | relevance | path

Searched defs:reasons (Results 1 – 12 of 12) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioGainMonitor.java73 void handleAudioDeviceGainsChanged(List<Integer> reasons, List<CarAudioGainConfigInfo> gains) { in handleAudioDeviceGainsChanged()
102 static boolean shouldBlockVolumeRequest(List<Integer> reasons) { in shouldBlockVolumeRequest()
108 static boolean shouldLimitVolume(List<Integer> reasons) { in shouldLimitVolume()
113 static boolean shouldDuckGain(List<Integer> reasons) { in shouldDuckGain()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioGainMonitorTest.java161 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in handleAudioDeviceGainsChanged_validZones() local
208 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in handleAudioDeviceGainsChanged_validAndUnknownZones() local
244 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in handleAudioDeviceGainsChanged_unknownZones() local
269 List<Integer> reasons = Arrays.asList(blockingReasons.get(index)); in shouldBlockVolumeRequest_returnsTrue() local
301 List<Integer> reasons = Arrays.asList(nonBlockingReasons.get(index)); in shouldBlockVolumeRequest_returnsFalse() local
319 List<Integer> reasons = Arrays.asList(limitReasons.get(index)); in shouldLimitVolume_returnsTrue() local
352 List<Integer> reasons = Arrays.asList(nonLimitReasons.get(index)); in shouldLimitVolume_returnsFalse() local
369 List<Integer> reasons = Arrays.asList(limitReasons.get(index)); in shouldDuckGain_returnsTrue() local
402 List<Integer> reasons = Arrays.asList(nonDuckingReasons.get(index)); in shouldDuckGain_returnsFalse() local
DCarVolumeGroupUnitTest.java1184 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in onAudioGainChanged_validGain() local
1212 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in onAudioGainChanged_invalidGain() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioGainCallbackTest.java74 List<Integer> reasons = in reasonToString_validReasons_succeeds() local
98 List<Integer> reasons = List.of(-1, -10, 666); in reasonToString_invalidReasons_succeeds() local
DAudioControlWrapperAidlTest.java575 List<Integer> reasons = Arrays.stream(halReasons).boxed().collect(Collectors.toList()); in onAudioDeviceGainsChanged_succeeds() local
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZoneTest.java368 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in onAudioGainChanged_withDeviceAddressesInZone() local
392 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in onAudioGainChanged_withoutAnyDeviceAddressInZone() local
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/
DConfirmationActivity.java131 final ArrayList<String> reasons = details.getReasons(); in onCreate() local
/packages/apps/TV/src/com/android/tv/util/
DUtils.java186 long reasons = getRecordingFailedReasons(context) | 0x1 << reason; in setRecordingFailedReason() local
216 long reasons = getRecordingFailedReasons(context) & ~(0x1 << reason); in clearRecordingFailedReason() local
257 long reasons = getRecordingFailedReasons(context); in hasRecordingFailedReason() local
/packages/services/BuiltInPrintService/src/com/android/bips/
DLocalPrintJob.java398 StringJoiner reasons = new StringJoiner("|"); in getStringifiedBlockedReasons() local
/packages/services/Telephony/src/com/android/phone/
DPhoneGlobals.java895 List<DataDisallowedReason> reasons = phone.getDataNetworkController() in updateDataRoamingStatus() local
903 DataConnectionReasons reasons = new DataConnectionReasons(); in updateDataRoamingStatus() local
/packages/modules/Connectivity/nearby/service/proto/src/fastpair/
Drpcs.proto223 repeated RejectionReason reasons = 1; field
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiConfiguration.java2210 SparseArray<DisableReasonInfo> reasons = new SparseArray<>(); in buildDisableReasonInfos() local