/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...] |
/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); 36 class Alert: public testing::Test { 46 TEST_F(Alert, OneCallback) { 47 struct cras_alert *alert = cras_alert_create(NULL, 0); local 48 cras_alert_add_callback(alert, &callback1, NULL); 50 cras_alert_pending(alert); 54 cras_alert_destroy(alert); 57 TEST_F(Alert, OneCallbackPost2Call1) { 58 struct cras_alert *alert = cras_alert_create(NULL, 0); local 59 cras_alert_add_callback(alert, &callback1, NULL) 71 struct cras_alert *alert = cras_alert_create(NULL, 0); local 84 struct cras_alert *alert = cras_alert_create(NULL, 0); local 102 struct cras_alert *alert = cras_alert_create( local 119 struct cras_alert *alert = cras_alert_create(NULL, 0); local 133 struct cras_alert *alert = cras_alert_create(NULL, 0); local 160 struct cras_alert *alert = cras_alert_create(prepare, 0); local [all...] |
/external/python/google-api-python-client/samples/adexchangeseller/ |
get_all_alerts.py | 46 for alert in alerts: 47 print(('Alert id "%s" with severity "%s" and type "%s" was found. ' 48 % (alert['id'], alert['severity'], alert['type'])))
|
/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...] |
SettingsController.m | 45 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"WALT Connection Error" error:error]; 46 [alert show]; 62 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"WALT Connection Error" error:error]; 63 [alert show];
|
/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()
|
linksyse_dual_band_configurator.py | 20 def _alert_handler(self, alert): 21 """Checks for any modal dialogs which popup to alert the user and 22 either raises a RuntimeError or ignores the alert. 25 alert: The modal dialog's contents. 27 text = alert.text 31 alert.accept() 33 alert.accept() 35 alert.accept() 37 alert.accept() 39 alert.accept( [all...] |
netgear4300_ap_configurator.py | 18 def _alert_handler(self, alert): 19 """Checks for any modal dialogs which popup to alert the user and 20 either raises a RuntimeError or ignores the alert. 22 @param alert: The modal dialog's contents. 24 text = alert.text 28 alert.accept() 30 alert.accept() 32 alert.accept() 34 alert.accept() 38 super(Netgear4300APConfigurator, self)._alert_handler(alert) [all...] |
dlink_dir505l_ap_configurator.py | 19 def _alert_handler(self, alert): 20 """Checks for any modal dialogs which popup to alert the user and 21 either raises a RuntimeError or ignores the alert. 24 alert: The modal dialog's contents. 26 text = alert.text 28 alert.accept() 30 alert.accept() 32 alert.accept() 34 raise RuntimeError('We have an unhandled alert: %s' % text) 95 # Second alert may pop-up, so we must send it to our alert handle [all...] |
dlink_dir655_ap_configurator.py | 22 def _alert_handler(self, alert): 23 """Checks for any modal dialogs which popup to alert the user and 24 either raises a RuntimeError or ignores the alert. 27 alert: The modal dialog's contents. 29 text = alert.text 31 alert.accept() 33 alert.accept() 35 alert.accept() 38 alert.accept() 39 raise RuntimeError('Invalid configuration, alert message:\n%s [all...] |
netgear3700_ap_configurator.py | 15 def _alert_handler(self, alert): 16 """Checks for any modal dialogs which popup to alert the user and 17 either raises a RuntimeError or ignores the alert. 19 @param alert: the modal dialog's contents. 21 text = alert.text 25 alert.accept() 27 super(Netgear3700APConfigurator, self)._alert_handler(alert)
|
netgearR6200_ap_configurator.py | 16 def _alert_handler(self, alert): 17 """Checks for any modal dialogs which popup to alert the user and 18 either raises a RuntimeError or ignores the alert. 20 @param alert: The modal dialog's contents. 22 text = alert.text 24 alert.accept() 26 super(NetgearR6200APConfigurator, self)._alert_handler(alert)
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowAlertDialogTest.java | 49 AlertDialog alert = builder.create(); local 50 alert.show(); 52 assertThat(alert.isShowing()).isTrue(); 54 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); 59 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isSameAs(alert); 104 AlertDialog alert = builder.create(); local 106 ShadowAlertDialog shadowAlertDialog = shadowOf(alert); 109 alert.setMessage("new message"); 112 alert.setMessage(null); 121 AlertDialog alert = builder.create() local 132 AlertDialog alert = builder.create(); local 142 AlertDialog alert = builder.create(); local 153 AlertDialog alert = builder.create(); local 204 AlertDialog alert = builder.create(); local 232 AlertDialog alert = builder.create(); local 267 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);
|
/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...] |
/external/pdfium/xfa/fwl/ |
cfwl_edit_embeddertest.cpp | 41 auto alert = delegate().GetAlerts()[0]; local 42 EXPECT_STREQ(L"PDFium", alert.title.c_str()); 44 alert.message.c_str());
|
/external/nos/host/generic/nugget/include/ |
citadel_events.h | 57 } alert; member in union:event_record::__anon34586 83 EVENT_ALERT = 1, /* Security alert reported */
|
/external/okhttp/website/static/ |
jquery-maven-artifact.min.js | 7 */(function(e){function n(e,t){var n=e.groupId.replace(/\./g,"/"),r="http://repo1.maven.org/maven2/"+n+"/"+e.artifactId+"/"+t+"/"+e.artifactId+"-"+t;return typeof e.classifier!="undefined"&&(r+="-"+e.classifier),r+="."+e.packaging,r}function r(e){var t={groupId:"g",artifactId:"a",packaging:"p",classifier:"l"},n="";for(var r in t)t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&(n!==""&&(n+="+AND+"),n+=t[r]+':"'+e[r]+'"');return n}var t={packaging:"jar"};e.fn.artifactVersion=function(i,s){if(typeof i=="undefined"){alert("Error: config object is required.");return}if(typeof s=="undefined"){alert("Error: callback function required.");return}var i=e.extend({},t,i),o="http://search.maven.org/solrsearch/select/?q="+r(i)+"&wt=json&json.wrf=?";e.getJSON(o,function(e){var t=e.response.docs;if(t.length==0)return;var r=t[0].latestVersion||t[0].v,o=n(i,r);s(r,o)})},e.fn.artifactVersions=function(i,s){if(typeof i=="undefined"){alert("Error: config object is required.");return}if(typeof s=="undefined"){alert("Error: callback function required.");return}var i=e.extend({},t,i),o="http://search.maven.org/sol (…)
|