/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | VibratorHelperTest.java | 50 VibratorHelper mVibratorHelper; 57 mVibratorHelper = new VibratorHelper(getContext()); in setUp() 63 VibratorHelper.createWaveformVibration(CUSTOM_PATTERN, /* insistent= */ true)); in createWaveformVibration_insistent_createsRepeatingVibration() 71 VibratorHelper.createWaveformVibration(CUSTOM_PATTERN, /* insistent= */ false)); in createWaveformVibration_nonInsistent_createsSingleShotVibration() 78 assertNull(VibratorHelper.createWaveformVibration(null, false)); in createWaveformVibration_invalidPattern_returnsNullAndDoesNotCrash() 79 assertNull(VibratorHelper.createWaveformVibration(new long[0], false)); in createWaveformVibration_invalidPattern_returnsNullAndDoesNotCrash() 80 assertNull(VibratorHelper.createWaveformVibration(new long[] { 0, 0 }, false)); in createWaveformVibration_invalidPattern_returnsNullAndDoesNotCrash() 82 assertNull(VibratorHelper.createPwleWaveformVibration(null, false)); in createWaveformVibration_invalidPattern_returnsNullAndDoesNotCrash() 83 assertNull(VibratorHelper.createPwleWaveformVibration(new float[0], false)); in createWaveformVibration_invalidPattern_returnsNullAndDoesNotCrash() 84 assertNull(VibratorHelper.createPwleWaveformVibration(new float[] { 0 }, false)); in createWaveformVibration_invalidPattern_returnsNullAndDoesNotCrash() [all …]
|
H A D | NotificationRecordTest.java | 334 assertEquals(VibratorHelper.createWaveformVibration( in testVibration_custom_preUpgradeUsesNotification() 348 assertNotEquals(VibratorHelper.createWaveformVibration( in testVibration_custom_userLocked_preUpgrade() 361 assertEquals(VibratorHelper.createWaveformVibration( in testVibration_custom_upgradeUsesChannel() 371 assertEquals(VibratorHelper.createWaveformVibration( in testVibration_insistent_createsInsistentVibrationEffect()
|
H A D | BuzzBeepBlinkTest.java | 177 mService.setVibratorHelper(new VibratorHelper(getContext())); in setUp()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | VibratorHelper.java | 36 public class VibratorHelper { class 57 public VibratorHelper(Context context) { in VibratorHelper() method in VibratorHelper
|
/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | VibratorHelper.java | 38 public final class VibratorHelper { class 50 public VibratorHelper(Context context) { in VibratorHelper() method in VibratorHelper
|
H A D | NotificationRecord.java | 296 VibratorHelper helper = new VibratorHelper(mContext); in calculateVibration()
|
H A D | NotificationManagerService.java | 582 private VibratorHelper mVibratorHelper; 1929 VibratorHelper getVibratorHelper() { in getVibratorHelper() 1934 void setVibratorHelper(VibratorHelper helper) { in setVibratorHelper() 2175 mVibratorHelper = new VibratorHelper(getContext()); in init()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarCommandQueueCallbacksTest.java | 44 import com.android.systemui.statusbar.VibratorHelper; 84 @Mock private VibratorHelper mVibratorHelper;
|
H A D | NotificationPanelViewControllerTest.java | 114 import com.android.systemui.statusbar.VibratorHelper; 207 private VibratorHelper mVibratorHelper;
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarCommandQueueCallbacks.java | 63 import com.android.systemui.statusbar.VibratorHelper; 100 private final VibratorHelper mVibratorHelper; 138 VibratorHelper vibratorHelper, in StatusBarCommandQueueCallbacks()
|
H A D | PanelViewController.java | 59 import com.android.systemui.statusbar.VibratorHelper; 147 private final VibratorHelper mVibratorHelper; 218 VibratorHelper vibratorHelper, in PanelViewController()
|
H A D | NotificationPanelViewController.java | 153 import com.android.systemui.statusbar.VibratorHelper; 255 private final VibratorHelper mVibratorHelper; 668 DozeParameters dozeParameters, CommandQueue commandQueue, VibratorHelper vibratorHelper, in NotificationPanelViewController()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
H A D | NavigationBarEdgePanel.java | 59 import com.android.systemui.statusbar.VibratorHelper; 138 private final VibratorHelper mVibratorHelper; 285 mVibratorHelper = Dependency.get(VibratorHelper.class); in NavigationBarEdgePanel()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | Dependency.java | 84 import com.android.systemui.statusbar.VibratorHelper; 302 @Inject Lazy<VibratorHelper> mVibratorHelper; 504 mProviders.put(VibratorHelper.class, mVibratorHelper::get); in start()
|
/aosp12/frameworks/base/services/ |
H A D | art-profile | 26974 …emVibrator;]Lcom/android/server/notification/VibratorHelper;Lcom/android/server/notification/Vibra… 27144 …ionChannel;]Lcom/android/server/notification/VibratorHelper;Lcom/android/server/notification/Vibra… 27621 HSPLcom/android/server/notification/VibratorHelper;-><clinit>()V 27622 HSPLcom/android/server/notification/VibratorHelper;-><init>(Landroid/content/Context;)V+]Landroid/c… 27623 HPLcom/android/server/notification/VibratorHelper;->cancelVibration()V+]Landroid/os/Vibrator;Landro… 27624 HPLcom/android/server/notification/VibratorHelper;->createDefaultVibration(Z)Landroid/os/VibrationE… 27625 HPLcom/android/server/notification/VibratorHelper;->createFallbackVibration(Z)Landroid/os/Vibration… 27626 HPLcom/android/server/notification/VibratorHelper;->createWaveformVibration([JZ)Landroid/os/Vibrati… 27627 HSPLcom/android/server/notification/VibratorHelper;->getLongArray(Landroid/content/res/Resources;II… 27628 HPLcom/android/server/notification/VibratorHelper;->vibrate(Landroid/os/VibrationEffect;Landroid/me… [all …]
|