Searched refs:polling (Results 1 - 13 of 13) sorted by relevance
/external/chromium_org/chromeos/dbus/ |
H A D | fake_nfc_adapter_client.cc | 51 // Cannot set the power if currently polling. 52 if (polling.value()) { 53 LOG(ERROR) << "Cannot set power while polling."; 155 if (properties_->polling.value()) { 156 error_callback.Run(nfc_error::kFailed, "Already polling."); 164 properties_->polling.ReplaceValue(true); 194 if (!properties_->polling.value()) { 195 error_callback.Run("org.neard.Error.Failed", "Not polling."); 206 properties_->polling.ReplaceValue(false); 238 if (!properties_->polling [all...] |
H A D | nfc_adapter_client.h | 39 // Indicates whether or not the adapter is currently polling for targets. 41 dbus::Property<bool> polling; member in struct:chromeos::NfcAdapterClient::Properties 96 // Starts the polling loop for the adapter with object path |object_path|. 97 // Depending on the mode, the adapter will start polling for targets, 100 // alternate between "Initiator" and "Target" modes during the polling loop. 108 // Stops the polling loop for the adapter with object_path |object_path|.
|
H A D | nfc_adapter_client.cc | 29 RegisterProperty(nfc_adapter::kPollingProperty, &polling);
|
/external/smack/src/com/kenai/jbosh/ |
H A D | CMSessionParams.java | 32 private final AttrPolling polling; field in class:CMSessionParams 69 polling = aPolling; 142 return polling;
|
H A D | BOSHClient.java | 1143 AttrPolling polling = cmParams.getPollingInterval(); 1145 if (polling == null) { 1148 delay = polling.getInMilliseconds();
|
/external/chromium_org/device/nfc/ |
H A D | nfc_adapter_chromeos.cc | 69 GetProperties(object_path_)->polling.value(); 159 else if (property_name == properties->polling.name()) 160 PollingChanged(properties->polling.value()); 262 if (properties->polling.value()) 305 if (properties->polling.value()) 341 void NfcAdapterChromeOS::PollingChanged(bool polling) { argument 343 AdapterPollingChanged(this, polling)); 378 LOG(ERROR) << object_path_.value() << ": Failed to start polling: " 391 LOG(ERROR) << object_path_.value() << ": Failed to stop polling: "
|
H A D | nfc_adapter.h | 24 // adapter's power and polling state. NfcAdapter instances can be used to power 53 // Called when the "polling" state of the adapter |adapter| changes. If 54 // |polling| is true, the adapter is currently polling for remote tags and 55 // devices. If false, the adapter isn't polling, either because a poll loop 58 virtual void AdapterPollingChanged(NfcAdapter* adapter, bool polling) {} argument 112 // Indicates whether the adapter is polling for remote NFC tags and peers. 132 // - The adapter is already polling. 142 // can fail if the adapter is not polling when this method was called. Bear 144 // adapter and polling ma [all...] |
H A D | nfc_adapter_chromeos.h | 78 void PollingChanged(bool polling); 86 // Called by dbus:: on completion of the D-Bus method call to start polling. 92 // Called by dbus:: on completion of the D-Bus method call to stop polling.
|
H A D | nfc_chromeos_unittest.cc | 339 EXPECT_TRUE(properties->polling.value()); 390 EXPECT_TRUE(properties->polling.value()); 439 // Tests that the adapter correctly updates its state when polling is started 448 // Start polling while not powered. Should fail. 459 // Start polling while powered. Should succeed. 479 // Start polling while already polling. Should fail. 489 // Stop polling. Should succeed. 499 // Stop polling while not polling [all...] |
/external/iputils/ |
H A D | ping_common.c | 735 int polling; local 767 polling = 0; 783 polling = MSG_DONTWAIT; 789 if (!polling && 798 polling = MSG_DONTWAIT; 817 cc = recvmsg(icmp_sock, &msg, polling); 818 polling = MSG_DONTWAIT;
|
/external/chromium_org/chrome/browser/resources/chromeos/ |
H A D | nfc_debug.js | 35 * Tells the NFC adapter to start or stop polling. 38 chrome.send('setAdapterPolling', [!this.adapterData_.polling]); 272 data.polling ? 'adapterStopPollText' : 'adapterStartPollText');
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/ |
H A D | nfc_debug_ui.cc | 37 const char kAdapterPollingProperty[] = "polling"; 199 bool polling) OVERRIDE; 230 // boolean that indicates whether polling should be started or stopped. 312 bool polling) { 453 LOG(ERROR) << "Failed to start/stop polling."; 310 AdapterPollingChanged( NfcAdapter* adapter, bool polling) argument
|
/external/qemu/ |
H A D | qemu-char.c | 920 int polling; member in struct:__anon30078 979 s->polling = 1; 998 s->polling = 0; 1017 if (s->polling) { 1018 /* If we arrive here without polling being cleared due
|
Completed in 1893 milliseconds