Home
last modified time | relevance | path

Searched refs:alert (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/wifi/
DWifiAPITest.java110 AlertDialog.Builder alert = new AlertDialog.Builder(getContext()); in onPreferenceClick() local
111 alert.setTitle("Input"); in onPreferenceClick()
112 alert.setMessage("Enter Network ID"); in onPreferenceClick()
115 alert.setView(input); in onPreferenceClick()
116 alert.setPositiveButton("Ok", new DialogInterface.OnClickListener() { in onPreferenceClick()
129 alert.setNegativeButton("Cancel", new DialogInterface.OnClickListener() { in onPreferenceClick()
134 alert.show(); in onPreferenceClick()
136 AlertDialog.Builder alert = new AlertDialog.Builder(getContext()); in onPreferenceClick() local
137 alert.setTitle("Input"); in onPreferenceClick()
138 alert.setMessage("Enter Network ID"); in onPreferenceClick()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiAPITest.java110 AlertDialog.Builder alert = new AlertDialog.Builder(getContext()); in onPreferenceClick() local
111 alert.setTitle("Input"); in onPreferenceClick()
112 alert.setMessage("Enter Network ID"); in onPreferenceClick()
115 alert.setView(input); in onPreferenceClick()
116 alert.setPositiveButton("Ok", new DialogInterface.OnClickListener() { in onPreferenceClick()
129 alert.setNegativeButton("Cancel", new DialogInterface.OnClickListener() { in onPreferenceClick()
134 alert.show(); in onPreferenceClick()
136 AlertDialog.Builder alert = new AlertDialog.Builder(getContext()); in onPreferenceClick() local
137 alert.setTitle("Input"); in onPreferenceClick()
138 alert.setMessage("Enter Network ID"); in onPreferenceClick()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarm.java126 if (alarm.alert == null) { in createContentValues()
130 values.put(RINGTONE, alarm.alert.toString()); in createContentValues()
285 public Uri alert;
302 this.alert = DataModel.getDataModel().getDefaultAlarmRingtoneUri();
324 alert = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_ALARM);
326 alert = Uri.parse(c.getString(RINGTONE_INDEX));
338 alert = p.readParcelable(null);
372 p.writeParcelable(alert, flags);
385 result.mRingtone = alert;
457 "alert=" + alert +
DAlarm.kt68 var alert: Uri? = null variable in com.android.deskclock.provider.Alarm
87 alert = DataModel.dataModel.defaultAlarmRingtoneUri
106 alert = if (c.isNull(RINGTONE_INDEX)) {
123 alert = p.readParcelable(null)
156 p.writeParcelable(alert, flags) in writeToParcel()
167 result.mRingtone = alert in describeContents()
235 "alert=" + alert + in toString()
334 if (alarm.alert == null) { in createContentValues()
338 values.put(AlarmSettingColumns.RINGTONE, alarm.alert.toString()) in createContentValues()
DClockDatabaseHelper.kt107 alarm.alert = AlarmSettingColumns.NO_RINGTONE_URI in onUpgrade()
109 alarm.alert = if (TextUtils.isEmpty(alertString)) { in onUpgrade()
DClockDatabaseHelper.java174 alarm.alert = Alarm.NO_RINGTONE_URI; in onUpgrade()
176 alarm.alert = in onUpgrade()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DImportancePreferenceTest.java82 assertThat(holder.itemView.findViewById(R.id.alert).isEnabled()).isFalse(); in onBindViewHolder_nonConfigurable()
84 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(selected); in onBindViewHolder_nonConfigurable()
94 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(unselected); in onBindViewHolder_nonConfigurable()
114 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(selected); in onBindViewHolder_selectButtonAndText()
140 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(unselected); in onClick_changesUICallsListener()
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleApiCalls.java537 alarm.alert = getAlertFromIntent(intent, alarm.alert); in updateAlarmFromIntent()
570 final String alert = intent.getStringExtra(AlarmClock.EXTRA_RINGTONE); in getAlertFromIntent() local
571 if (alert == null) { in getAlertFromIntent()
573 } else if (AlarmClock.VALUE_RINGTONE_SILENT.equals(alert) || alert.isEmpty()) { in getAlertFromIntent()
577 return Uri.parse(alert); in getAlertFromIntent()
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DRingtonePickerActivity.kt184 alarm.alert = it in <lambda>()
191 DataModel.dataModel.defaultAlarmRingtoneUri = alarm.alert!! in <lambda>()
530 if (mRemoveUri == alarm.alert) { in <lambda>()
531 alarm.alert = mSystemDefaultRingtoneUri in <lambda>()
615 .putExtra(EXTRA_RINGTONE_URI, alarm.alert) in <lambda>()
DRingtonePickerActivity.java137 .putExtra(EXTRA_RINGTONE_URI, alarm.alert) in createAlarmRingtonePickerIntent()
239 alarm.alert = mSelectedRingtoneUri; in onPause()
247 DataModel.getDataModel().setDefaultAlarmRingtoneUri(alarm.alert); in onPause()
617 if (mRemoveUri.equals(alarm.alert)) { in doInBackground()
618 alarm.alert = mSystemDefaultRingtoneUri; in doInBackground()
/packages/services/Telephony/src/com/android/phone/
DSpecialCharSequenceMgr.java297 AlertDialog alert = new AlertDialog.Builder(context) in showDeviceIdPanel() local
303 alert.getWindow().setType(WindowManager.LayoutParams.TYPE_PRIORITY_PHONE); in showDeviceIdPanel()
304 alert.show(); in showDeviceIdPanel()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java2417 ContentValues alert = new ContentValues(); in internalTestDirty() local
2418 alert.put(CalendarContract.CalendarAlerts.BEGIN, begin); in internalTestDirty()
2419 alert.put(CalendarContract.CalendarAlerts.END, end); in internalTestDirty()
2420 alert.put(CalendarContract.CalendarAlerts.ALARM_TIME, alarmTime); in internalTestDirty()
2421 alert.put(CalendarContract.CalendarAlerts.CREATION_TIME, now); in internalTestDirty()
2422 alert.put(CalendarContract.CalendarAlerts.RECEIVED_TIME, now); in internalTestDirty()
2423 alert.put(CalendarContract.CalendarAlerts.NOTIFY_TIME, now); in internalTestDirty()
2424 alert.put(CalendarContract.CalendarAlerts.STATE, in internalTestDirty()
2426 alert.put(CalendarContract.CalendarAlerts.MINUTES, 30); in internalTestDirty()
2427 alert.put(CalendarContract.CalendarAlerts.EVENT_ID, eventId); in internalTestDirty()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapConnection.java393 final String alert = response.getAlertTextOrEmpty().getString(); in getCommandResponses() local
396 throw new ImapException(toString, status, statusMessage, alert, responseCode); in getCommandResponses()
/packages/apps/Test/connectivity/sl4n/rapidjson/bin/jsonchecker/
Dfail12.json1 {"Illegal invocation": alert()}
/packages/apps/Dialer/java/com/android/dialer/app/alert/
DAlertManager.java17 package com.android.dialer.app.alert;
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/
DPresentTestFragment.java146 AlertDialog alert = builder in setupListeners()
153 alert.show(); in setupListeners()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogModalAlertManager.java23 import com.android.dialer.app.alert.AlertManager;
DCallLogAlertManager.java24 import com.android.dialer.app.alert.AlertManager;
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmUpdateHandler.kt116 newInstance.mRingtone = alarm.alert in <lambda>()
DAlarmUpdateHandler.java123 newInstance.mRingtone = alarm.alert; in asyncUpdateAlarm()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DExpandedAlarmViewHolder.kt156 val title = DataModel.dataModel.getRingtoneTitle(alarm.alert!!) in <lambda>()
162 val silent: Boolean = Utils.RINGTONE_SILENT == alarm.alert in <lambda>()
DExpandedAlarmViewHolder.java206 final String title = DataModel.getDataModel().getRingtoneTitle(alarm.alert); in bindRingtone()
212 final boolean silent = Utils.RINGTONE_SILENT.equals(alarm.alert); in bindRingtone()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DImportancePreference.java94 View alertView = holder.itemView.findViewById(R.id.alert); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/notification/
DImportancePreference.java109 mAlertButton = holder.findViewById(R.id.alert); in onBindViewHolder()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/
DVoicemailErrorAlert.java25 import com.android.dialer.app.alert.AlertManager;

12