Home
last modified time | relevance | path

Searched refs:mAlertBuilder (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppBtEnableActivity.java61 mAlertBuilder.setIconAttribute(android.R.attr.alertDialogIcon); in onCreate()
62 mAlertBuilder.setTitle(getString(R.string.bt_enable_title)); in onCreate()
63 mAlertBuilder.setView(createView()); in onCreate()
64 mAlertBuilder.setPositiveButton(R.string.bt_enable_ok, in onCreate()
66 mAlertBuilder.setNegativeButton(R.string.bt_enable_cancel, (dialog, which) -> finish()); in onCreate()
DBluetoothOppTransferActivity.java219 mAlertBuilder.setTitle(getString(R.string.download_title)); in setUpDialog()
221 mAlertBuilder.setPositiveButton(R.string.download_ok, this); in setUpDialog()
222 mAlertBuilder.setNegativeButton(R.string.download_cancel, this); in setUpDialog()
224 mAlertBuilder.setPositiveButton(R.string.download_succ_ok, this); in setUpDialog()
226 mAlertBuilder.setIconAttribute(android.R.attr.alertDialogIcon); in setUpDialog()
227 mAlertBuilder.setPositiveButton(R.string.download_fail_ok, this); in setUpDialog()
229 mAlertBuilder.setPositiveButton(R.string.upload_succ_ok, this); in setUpDialog()
231 mAlertBuilder.setIconAttribute(android.R.attr.alertDialogIcon); in setUpDialog()
232 mAlertBuilder.setNegativeButton(R.string.upload_fail_cancel, this); in setUpDialog()
234 mAlertBuilder.setView(createView()); in setUpDialog()
DBluetoothOppBtErrorActivity.java60 mAlertBuilder.setIconAttribute(android.R.attr.alertDialogIcon); in onCreate()
61 mAlertBuilder.setTitle(errorTitle); in onCreate()
62 mAlertBuilder.setView(createView(errorContent)); in onCreate()
63 mAlertBuilder.setPositiveButton(R.string.bt_error_btn_ok, (dialog, which) -> {}); in onCreate()
DBluetoothOppIncomingFileConfirmActivity.java110 mAlertBuilder.setTitle(getString(R.string.incoming_file_confirm_content)); in onCreate()
111 mAlertBuilder.setView(createView()); in onCreate()
112 mAlertBuilder.setPositiveButton(R.string.incoming_file_confirm_ok, in onCreate()
114 mAlertBuilder.setNegativeButton(R.string.incoming_file_confirm_cancel, in onCreate()
DBluetoothOppBtEnablingActivity.java85 mAlertBuilder.setTitle(R.string.enabling_progress_title); in onCreate()
86 mAlertBuilder.setView(createView()); in onCreate()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DAlertActivity.java45 protected AlertDialog.Builder mAlertBuilder; field in AlertActivity
56 mAlertBuilder = new AlertDialog.Builder(this); in onCreate()
57 mAlertBuilder.setOnDismissListener(this); in onCreate()
58 mAlertBuilder.setOnCancelListener(this); in onCreate()
94 mAlert = mAlertBuilder.create(); in setupAlert()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapActivity.java126 mAlertBuilder.setTitle(getString(R.string.pbap_session_key_dialog_header)); in showPbapDialog()
127 mAlertBuilder.setView(createView(DIALOG_YES_NO_AUTH)); in showPbapDialog()
128 mAlertBuilder.setPositiveButton(android.R.string.ok, in showPbapDialog()
130 mAlertBuilder.setNegativeButton(android.R.string.cancel, in showPbapDialog()
/packages/providers/MediaProvider/src/com/android/providers/media/
DTranscodeHelperImpl.java1606 private final NotificationCompat.Builder mAlertBuilder;
1617 mAlertBuilder = createAlertNotificationBuilder(context);
1627 mAlertBuilder.setContentTitle(getString(mContext,
1629 mAlertBuilder.setContentText(FileUtils.extractDisplayName(filePath));
1631 mNotificationManager.notify(notificationId, mAlertBuilder.build());
1679 mAlertBuilder.setContentTitle(message);
1680 mAlertBuilder.setContentText(FileUtils.extractDisplayName(filePath));
1682 mNotificationManager.notify(notificationId, mAlertBuilder.build());