Home
last modified time | relevance | path

Searched refs:USAGE_COMMUNICATION_REQUEST (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/os/
DVibrationAttributes.java51 USAGE_COMMUNICATION_REQUEST,
112 public static final int USAGE_COMMUNICATION_REQUEST = 0x40 | USAGE_CLASS_ALARM; field in VibrationAttributes
347 case USAGE_COMMUNICATION_REQUEST: in getAudioUsage()
440 case USAGE_COMMUNICATION_REQUEST: in usageToString()
523 mUsage = USAGE_COMMUNICATION_REQUEST; in setUsage()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibratorControlServiceTest.java20 import static android.os.VibrationAttributes.USAGE_COMMUNICATION_REQUEST;
155 verify(mMockVibrationScaler).updateAdaptiveHapticsScale(USAGE_COMMUNICATION_REQUEST, 0.4f); in testOnRequestVibrationParamsComplete_cachesAdaptiveHapticsScalesCorrectly()
220 verify(mMockVibrationScaler).updateAdaptiveHapticsScale(USAGE_COMMUNICATION_REQUEST, 0.4f); in testSetVibrationParams_cachesAdaptiveHapticsScalesCorrectly()
264 verify(mMockVibrationScaler).removeAdaptiveHapticsScale(USAGE_COMMUNICATION_REQUEST); in testClearVibrationParams_clearsCachedAdaptiveHapticsScales()
297 USAGE_HARDWARE_FEEDBACK, USAGE_UNKNOWN, USAGE_COMMUNICATION_REQUEST}; in testShouldRequestVibrationParams_returnsTrueForVibrationsThatShouldRequestParams()
311 USAGE_HARDWARE_FEEDBACK, USAGE_UNKNOWN, USAGE_COMMUNICATION_REQUEST}; in testShouldRequestVibrationParams_unregisteredVibratorController_returnsFalse()
DVibrationSettingsTest.java24 import static android.os.VibrationAttributes.USAGE_COMMUNICATION_REQUEST;
116 USAGE_COMMUNICATION_REQUEST,
283 USAGE_COMMUNICATION_REQUEST, in shouldIgnoreVibration_fromBackground_doesNotIgnoreUsagesFromAllowlist()
396 USAGE_COMMUNICATION_REQUEST, in shouldIgnoreVibration_inBatterySaverMode_doesNotIgnoreUsagesFromAllowlist()
DHapticFeedbackVibrationProviderTest.java296 assertThat(attrs.getUsage()).isEqualTo(VibrationAttributes.USAGE_COMMUNICATION_REQUEST); in testVibrationAttribute_biometricConstants_returnsCommunicationRequestUsage()
DVibratorManagerServiceTest.java793 VibrationAttributes.USAGE_COMMUNICATION_REQUEST).build()); in vibrate_withVibrationAttributes_usesCorrespondingAudioUsageInAppOpsManager()
/frameworks/base/core/java/android/os/vibrator/
DVibrationConfig.java21 import static android.os.VibrationAttributes.USAGE_COMMUNICATION_REQUEST;
219 case USAGE_COMMUNICATION_REQUEST: in getDefaultVibrationIntensity()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorControlService.java21 import static android.os.VibrationAttributes.USAGE_COMMUNICATION_REQUEST;
369 case USAGE_NOTIFICATION, USAGE_COMMUNICATION_REQUEST -> { in mapToAdaptiveVibrationType()
397 usages.add(USAGE_COMMUNICATION_REQUEST); in mapFromAdaptiveVibrationTypeToVibrationUsages()
DVibrationSettings.java22 import static android.os.VibrationAttributes.USAGE_COMMUNICATION_REQUEST;
95 USAGE_COMMUNICATION_REQUEST,
109 USAGE_COMMUNICATION_REQUEST,
597 mCurrentVibrationIntensities.put(USAGE_COMMUNICATION_REQUEST, in updateSettings()
DHapticFeedbackVibrationProvider.java48 VibrationAttributes.createForUsage(VibrationAttributes.USAGE_COMMUNICATION_REQUEST);
DVibratorManagerService.java1098 case VibrationAttributes.USAGE_COMMUNICATION_REQUEST: in getVibrationImportance()
2456 .setUsage(VibrationAttributes.USAGE_COMMUNICATION_REQUEST) in createVibrationAttributes()
/frameworks/base/core/tests/vibrator/src/android/os/
DVibratorTest.java237 assertEquals(VibrationAttributes.USAGE_COMMUNICATION_REQUEST, in vibrate_withAudioAttributes_createsVibrationAttributesWithSameUsage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsController.java230 .setUsage(VibrationAttributes.USAGE_COMMUNICATION_REQUEST)
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt34151 field public static final int USAGE_COMMUNICATION_REQUEST = 65; // 0x41