Home
last modified time | relevance | path

Searched refs:csdWarning (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DCsdWarningDialog.java106 CsdWarningDialog create(int csdWarning, Runnable onCleanup); in create() argument
110 public CsdWarningDialog(@Assisted @AudioManager.CsdWarning int csdWarning, Context context, in CsdWarningDialog() argument
114 mCsdWarning = csdWarning; in CsdWarningDialog()
124 setMessage(mContext.getString(getStringForWarning(csdWarning))); in CsdWarningDialog()
135 if (csdWarning == AudioManager.CSD_WARNING_DOSE_REACHED_1X) { in CsdWarningDialog()
245 private @StringRes int getStringForWarning(@AudioManager.CsdWarning int csdWarning) { in getStringForWarning() argument
246 switch (csdWarning) { in getStringForWarning()
252 Log.e(TAG, "Invalid CSD warning event " + csdWarning, new Exception()); in getStringForWarning()
DVolumeDialogControllerImpl.java443 private void onShowCsdWarningW(@AudioManager.CsdWarning int csdWarning, int durationMs) { in onShowCsdWarningW() argument
444 mCallbacks.onShowCsdWarning(csdWarning, durationMs); in onShowCsdWarningW()
785 public void displayCsdWarning(int csdWarning, int displayDurationMs) throws RemoteException in displayCsdWarning() argument
788 mWorker.obtainMessage(W.SHOW_CSD_WARNING, csdWarning, displayDurationMs) in displayCsdWarning()
1019 public void onShowCsdWarning(int csdWarning, int durationMs) { in onShowCsdWarning() argument
1027 entry.getKey().onShowCsdWarning(csdWarning, durationMs); in onShowCsdWarning()
DVolumeDialogImpl.java2201 @VisibleForTesting void showCsdWarningH(int csdWarning, int durationMs) {
2215 mCsdDialog = mCsdWarningDialogFactory.create(csdWarning, cleanUp);
2409 public void onShowCsdWarning(int csdWarning, int durationMs) {
2410 showCsdWarningH(csdWarning, durationMs);
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DVolumeDialogController.java229 void onShowCsdWarning(@AudioManager.CsdWarning int csdWarning, int durationMs); in onShowCsdWarning() argument
/frameworks/base/services/core/java/com/android/server/audio/
DSoundDoseHelper.java1073 private int getTimeoutMsForWarning(@AudioManager.CsdWarning int csdWarning) { in getTimeoutMsForWarning() argument
1074 switch (csdWarning) { in getTimeoutMsForWarning()
1084 Log.e(TAG, "Invalid CSD warning " + csdWarning, new Exception()); in getTimeoutMsForWarning()
DAudioService.java12242 @AudioManager.CsdWarning int csdWarning, int displayDurationMs) { in postDisplayCsdWarning()
12248 mController.displayCsdWarning(csdWarning, displayDurationMs); in postDisplayCsdWarning()
12250 Log.w(TAG, "Error calling displayCsdWarning for warning " + csdWarning, e); in postDisplayCsdWarning()