/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/ |
D | AlertActivity.java | 47 private AlertDialog mAlert; field in AlertActivity 96 mAlert = mAlertBuilder.create(); in setupAlert() 97 mAlert.show(); in setupAlert() 101 if (mAlert == null) return; in changeIconAttribute() 102 mAlert.setIconAttribute(attrId); in changeIconAttribute() 106 if (mAlert == null) return; in changeTitle() 107 mAlert.setTitle(title); in changeTitle() 111 if (mAlert == null) return; in changeButtonVisibility() 112 mAlert.getButton(identifier).setVisibility(visibility); in changeButtonVisibility() 116 if (mAlert == null) return; in changeButtonText() [all …]
|
/packages/modules/StatsD/statsd/src/anomaly/ |
D | AnomalyTracker.cpp | 38 : mAlert(alert), mConfigKey(configKey), mNumOfPastBuckets(mAlert.num_buckets() - 1) { in AnomalyTracker() 201 return mAlert.has_trigger_if_sum_gt() && in detectAnomaly() 202 getSumOverPastBuckets(key) + currentBucketValue > mAlert.trigger_if_sum_gt(); in detectAnomaly() 215 util::stats_write(util::ANOMALY_DETECTED, mConfigKey.GetUid(), mConfigKey.GetId(), mAlert.id()); in declareAnomaly() 217 if (mAlert.probability_of_informing() < 1 && in declareAnomaly() 218 ((float)rand() / (float)RAND_MAX) >= mAlert.probability_of_informing()) { in declareAnomaly() 226 if (mAlert.has_refractory_period_secs()) { in declareAnomaly() 228 + mAlert.refractory_period_secs(); in declareAnomaly() 236 mAlert.id(), key.toString().c_str()); in declareAnomaly() 242 StatsdStats::getInstance().noteAnomalyDeclared(mConfigKey, mAlert.id()); in declareAnomaly() [all …]
|
D | DurationAnomalyTracker.cpp | 68 declareAnomaly(timestampNs, mAlert.metric_id(), dimensionKey, in stopAlarm() 69 mAlert.trigger_if_sum_gt() + (timestampNs / NS_PER_SEC) - in stopAlarm() 106 timestampNs, mAlert.metric_id(), kv.first, in informAlarmsFired() 107 mAlert.trigger_if_sum_gt() + (timestampNs / NS_PER_SEC) - kv.second->timestampSec); in informAlarmsFired()
|
D | AnomalyTracker.h | 95 return mAlert.trigger_if_sum_gt(); in getAnomalyThreshold() 159 const Alert mAlert; variable
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | ConfirmConnectActivity.java | 36 AlertDialog mAlert = null; field in ConfirmConnectActivity 59 ConfirmConnectActivity.this.mAlert = null; in onCreate() 70 ConfirmConnectActivity.this.mAlert = null; in onCreate() 74 mAlert = builder.create(); in onCreate() 75 mAlert.show(); in onCreate() 84 if (mAlert != null) { in onDestroy() 85 mAlert.dismiss(); in onDestroy() 90 mAlert = null; in onDestroy()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/util/ |
D | AlertActivity.java | 51 private AlertDialog mAlert; field in AlertActivity 99 mAlert = mAlertBuilder.create(); in setupAlert() 100 mAlert.show(); in setupAlert() 105 if (mAlert != null) { in onDestroy() 106 mAlert.dismiss(); in onDestroy()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | GeneralPreferences.kt | 51 var mAlert: CheckBoxPreference? = null variable in com.android.calendar.GeneralPreferences 76 mAlert = preferenceScreen.findPreference(KEY_ALERTS) as CheckBoxPreference in onCreate() 182 if (mAlert?.isChecked() ?: false) { in onSharedPreferenceChanged() 254 mAlert?.setChecked(false) in migrateOldPreferences() 258 mAlert?.setChecked(true) in migrateOldPreferences() 262 mAlert?.setChecked(true) in migrateOldPreferences() 277 if (mAlert?.isChecked() ?: false) { in updateChildPreferences()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | RequestToggleWiFiActivity.java | 263 mAlert.setButton(DialogInterface.BUTTON_POSITIVE, null, null, null); in updateUi() 264 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, null, null, null); in updateUi() 283 mAlert.setButton(DialogInterface.BUTTON_POSITIVE, null, null, null); in updateUi() 284 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, null, null, null); in updateUi()
|
D | WifiNoInternetDialog.java | 129 mAlert.setIcon(R.drawable.ic_settings_wireless); in createDialog()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPermissionActivity.java | 152 mOkButton = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in showDialog()
|