/external/adhd/cras/src/server/ |
cras_alert.c | 14 /* A list of callbacks for an alert */ 39 /* If there is any alert pending. */ 45 struct cras_alert *alert; local 46 alert = calloc(1, sizeof(*alert)); 47 if (!alert) 49 alert->prepare = prepare; 50 alert->flags = flags; 51 DL_APPEND(all_alerts, alert); 52 return alert; 147 struct cras_alert *alert; local 181 struct cras_alert *alert; local [all...] |
cras_alert.h | 13 /* The alert facility provides a way to signal the clients when a system state 16 * First the clients registers callbacks to an alert. Each time the system state 17 * changes, we mark the associated alert as "pending". At the end of the event 25 * an alert. It is called before we invoke the callbacks. This gives the owner 26 * of each alert a chance to update the system to a consistent state before 29 * The alert functions should only be used from the main thread. 39 typedef void (*cras_alert_prepare)(struct cras_alert *alert); 51 /* Creates an alert. 58 * A pointer to the alert, NULL if out of memory. 63 /* Adds a callback to the alert [all...] |
/external/boringssl/src/ssl/test/runner/ |
alert.go | 9 type alert uint8 type 12 // alert level 18 alertCloseNotify alert = 0 19 alertEndOfEarlyData alert = 1 20 alertUnexpectedMessage alert = 10 21 alertBadRecordMAC alert = 20 22 alertDecryptionFailed alert = 21 23 alertRecordOverflow alert = 22 24 alertDecompressionFailure alert = 30 25 alertHandshakeFailure alert = 4 [all...] |
/prebuilts/go/darwin-x86/src/crypto/tls/ |
alert.go | 9 type alert uint8 type 12 // alert level 18 alertCloseNotify alert = 0 19 alertUnexpectedMessage alert = 10 20 alertBadRecordMAC alert = 20 21 alertDecryptionFailed alert = 21 22 alertRecordOverflow alert = 22 23 alertDecompressionFailure alert = 30 24 alertHandshakeFailure alert = 40 25 alertBadCertificate alert = 4 [all...] |
/prebuilts/go/linux-x86/src/crypto/tls/ |
alert.go | 9 type alert uint8 type 12 // alert level 18 alertCloseNotify alert = 0 19 alertUnexpectedMessage alert = 10 20 alertBadRecordMAC alert = 20 21 alertDecryptionFailed alert = 21 22 alertRecordOverflow alert = 22 23 alertDecompressionFailure alert = 30 24 alertHandshakeFailure alert = 40 25 alertBadCertificate alert = 4 [all...] |
/external/vboot_reference/utility/ |
enable_dev_usb_boot | 6 alert() { function 11 alert "ERROR: $*"
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/dialog/ |
DurationPickerDialog.java | 41 AlertDialog.Builder alert = new AlertDialog.Builder(activity); local 42 alert.setIcon(R.drawable.ic_dialog_time); 43 alert.setTitle(title); 44 alert.setView(picker); 45 alert.setPositiveButton("Set", new DialogInterface.OnClickListener() { 51 alert.setOnCancelListener(new DialogInterface.OnCancelListener() { 57 alert.show();
|
/external/adhd/cras/src/tests/ |
alert_unittest.cc | 16 void prepare(struct cras_alert *alert); 31 TEST(Alert, OneCallback) { 32 struct cras_alert *alert = cras_alert_create(NULL, 0); local 33 cras_alert_add_callback(alert, &callback1, NULL); 35 cras_alert_pending(alert); 39 cras_alert_destroy(alert); 42 TEST(Alert, OneCallbackPost2Call1) { 43 struct cras_alert *alert = cras_alert_create(NULL, 0); local 44 cras_alert_add_callback(alert, &callback1, NULL); 46 // Alert twice, callback should only be called once 56 struct cras_alert *alert = cras_alert_create(NULL, 0); local 69 struct cras_alert *alert = cras_alert_create(NULL, 0); local 85 struct cras_alert *alert = cras_alert_create( local 102 struct cras_alert *alert = cras_alert_create(NULL, 0); local 116 struct cras_alert *alert = cras_alert_create(NULL, 0); local 143 struct cras_alert *alert = cras_alert_create(prepare, 0); local [all...] |
/packages/apps/Dialer/java/com/android/dialer/app/alert/ |
AlertManager.java | 17 package com.android.dialer.app.alert; 24 /** Inflates <code>layoutId</code> into a view that is ready to be inserted as an alert. */
|
/system/libufdt/tests/ |
common.sh | 16 alert() { function
|
run_tests.sh | 33 alert "${description}" 39 alert "========== Running Tests of libufdt =========="
|
/external/walt/ios/WALT/ |
WALTAppDelegate.m | 34 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"System Error" 39 [alert show]; 52 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"WALT Connection Error" error:error]; 53 [alert show];
|
MenuController.m | 72 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"WALT Connection Error" 77 [alert show]; 106 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Log Write Error" 108 [alert show]; 111 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Log Write Error" 116 [alert show]; 140 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"WALT Connection Error" 142 [alert show];
|
ScreenResponseController.m | 76 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"WALT Connection Error" error:error]; 77 [alert show]; 83 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"WALT Response Error" 88 [alert show]; 135 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"WALT Connection Error" error:error]; 136 [alert show]; 148 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"WALT Connection Error" error:error]; 149 [alert show]; 155 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"WALT Response Error" 160 [alert show] [all...] |
/prebuilts/jdk/jdk8/darwin-x86/sample/scripting/scriptpad/src/scripts/ |
browse.js | 53 alert("no desktop support"); 63 alert("no browser support");
|
/prebuilts/jdk/jdk8/linux-x86/sample/scripting/scriptpad/src/scripts/ |
browse.js | 53 alert("no desktop support"); 63 alert("no browser support");
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiAPITest.java | 109 AlertDialog.Builder alert = new AlertDialog.Builder(getContext()); local 110 alert.setTitle("Input"); 111 alert.setMessage("Enter Network ID"); 114 alert.setView(input); 115 alert.setPositiveButton("Ok", new DialogInterface.OnClickListener() { 128 alert.setNegativeButton("Cancel", new DialogInterface.OnClickListener() { 133 alert.show(); 135 AlertDialog.Builder alert = new AlertDialog.Builder(getContext()); local 136 alert.setTitle("Input"); 137 alert.setMessage("Enter Network ID") [all...] |
/external/autotest/server/cros/ap_configurators/ |
netgear2000_ap_configurator.py | 17 def _alert_handler(self, alert): 18 """Checks for any modal dialogs which popup to alert the user and 19 either raises a RuntimeError or ignores the alert. 21 @param alert: The modal dialog's contents. 23 text = alert.text 25 alert.accept() 29 alert.accept() 31 alert.accept() 33 alert.accept() 35 alert.accept( [all...] |
belkinF9K1001_ap_configurator.py | 21 def _security_alert(self, alert): 22 text = alert.text 24 alert.accept() 26 alert.accept() 28 alert.accept() 30 alert.accept() 32 alert.accept() 34 alert.accept()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
ConfigTtl_e2e_test.cpp | 45 auto alert = config.add_alert(); local 46 alert->set_id(StringToId("alert")); 47 alert->set_metric_id(123456); 48 alert->set_num_buckets(num_buckets); 49 alert->set_refractory_period_secs(10); 50 alert->set_trigger_if_sum_gt(threshold); 63 const uint64_t alert_id = config.alert(0).id(); 64 const uint32_t refractory_period_sec = config.alert(0).refractory_period_secs();
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowAlertDialogTest.java | 40 AlertDialog alert = builder.create(); local 41 alert.show(); 43 assertThat(alert.isShowing()).isTrue(); 45 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); 50 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isSameAs(alert); 94 AlertDialog alert = builder.create(); local 96 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); 99 alert.setMessage("new message"); 102 alert.setMessage(null); 111 AlertDialog alert = builder.create() local 122 AlertDialog alert = builder.create(); local 132 AlertDialog alert = builder.create(); local 143 AlertDialog alert = builder.create(); local 194 AlertDialog alert = builder.create(); local 222 AlertDialog alert = builder.create(); local 255 AlertDialog alert = builder.create(); local [all...] |
/external/chromium-libpac/test/js-unittest/ |
bindings.js | 33 // Call alert with some wonky arguments. 34 alert(); 35 alert(null); 36 alert(undefined); 37 alert({foo:'bar'}); 40 // to alert in the bindings. 42 alert(new MyObject()); 44 alert(e);
|
/tools/acloud/internal/lib/ |
utils_test.py | 62 sentinel.alert() 67 self.assertEqual(1 + num_retry, sentinel.alert.call_count) 72 sentinel.alert() 80 self.assertEqual(1 + num_retry, sentinel.alert.call_count) 86 sentinel.alert() 97 self.assertEqual(1 + num_retry, sentinel.alert.call_count)
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
AlertDialogTest.java | 36 AlertDialog alert = builder.create(); local 37 alert.show(); 39 assertThat(alert.isShowing(), equalTo(true)); 41 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); 46 assertThat(ShadowAlertDialog.getLatestAlertDialog(), sameInstance(alert)); 80 AlertDialog alert = builder.create(); local 82 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); 97 AlertDialog alert = builder.create(); local 98 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); 109 AlertDialog alert = builder.create() local 120 AlertDialog alert = builder.create(); local 216 AlertDialog alert = builder.create(); local 259 AlertDialog alert = builder.create(); local 289 AlertDialog alert = builder.create(); local 308 AlertDialog alert = builder.create(); local 334 AlertDialog alert = builder.create(); local [all...] |
/external/ImageMagick/scripts/ |
xsnap | 43 # Create an alert window and display a message to the user. 45 proc Alert {dograb message args} { 47 # Initialize alert window. 49 catch {destroy .alert} 50 toplevel .alert -class alert 51 wm title .alert Alert 52 wm iconname .alert alert [all...] |