Searched refs:triggers (Results 1 - 25 of 33) sorted by relevance

12

/external/ltp/testcases/kernel/tracing/ftrace_test/ftrace_stress/
H A Dftrace_set_ftrace_filter.sh25 triggers="traceon traceoff enable_event disable_event snapshot \
27 nr_triggers=$(echo ${triggers} | wc -w)
108 trigger_name=$(echo $triggers | awk "{print \$$trigger_index}")
/external/sl4a/Common/src/com/googlecode/android_scripting/trigger/
H A DTriggerRepository.java41 * A repository maintaining all currently scheduled triggers. This includes, for example, alarms or
43 * triggers to the shared preferences store, and retrieving it from there.
48 * The list of triggers is serialized to the shared preferences entry with this name.
83 String triggers = mPreferences.getString(TRIGGERS_PREF_KEY, null);
84 mTriggers = deserializeTriggersFromString(triggers);
87 /** Returns a list of all triggers. The list is unmodifiable. */
132 /** Writes the list of triggers to the shared preferences. */
144 private Multimap<String, Trigger> deserializeTriggersFromString(String triggers) { argument
145 if (triggers == null) {
150 new ByteArrayInputStream(Base64Codec.decodeBase64(triggers
160 serializeTriggersToString(Multimap<String, Trigger> triggers) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_common.c166 struct wowlan_triggers *triggers; local
177 triggers = os_zalloc(sizeof(*triggers));
178 if (triggers == NULL)
184 &triggers->trigger)
208 os_free(triggers);
209 triggers = NULL;
221 return triggers;
H A Ddriver_nl80211_capa.c495 struct nlattr *triggers[MAX_NL80211_WOWLAN_TRIG + 1]; local
500 if (nla_parse_nested(triggers, MAX_NL80211_WOWLAN_TRIG,
504 if (triggers[NL80211_WOWLAN_TRIG_ANY])
506 if (triggers[NL80211_WOWLAN_TRIG_DISCONNECT])
508 if (triggers[NL80211_WOWLAN_TRIG_MAGIC_PKT])
510 if (triggers[NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE])
512 if (triggers[NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST])
514 if (triggers[NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE])
516 if (triggers[NL80211_WOWLAN_TRIG_RFKILL_RELEASE])
H A Ddriver_nl80211.c8615 const struct wowlan_triggers *triggers)
8628 (triggers->any &&
8630 (triggers->disconnect &&
8632 (triggers->magic_pkt &&
8634 (triggers->gtk_rekey_failure &&
8636 (triggers->eap_identity_req &&
8638 (triggers->four_way_handshake &&
8640 (triggers->rfkill_release &&
8614 nl80211_set_wowlan(void *priv, const struct wowlan_triggers *triggers) argument
H A Ddriver.h3143 * set_wowlan - Set wake-on-wireless triggers
3145 * @triggers: wowlan triggers
3147 int (*set_wowlan)(void *priv, const struct wowlan_triggers *triggers);
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_common.c166 struct wowlan_triggers *triggers; local
177 triggers = os_zalloc(sizeof(*triggers));
178 if (triggers == NULL)
184 &triggers->trigger)
208 os_free(triggers);
209 triggers = NULL;
221 return triggers;
H A Ddriver_nl80211_capa.c495 struct nlattr *triggers[MAX_NL80211_WOWLAN_TRIG + 1]; local
500 if (nla_parse_nested(triggers, MAX_NL80211_WOWLAN_TRIG,
504 if (triggers[NL80211_WOWLAN_TRIG_ANY])
506 if (triggers[NL80211_WOWLAN_TRIG_DISCONNECT])
508 if (triggers[NL80211_WOWLAN_TRIG_MAGIC_PKT])
510 if (triggers[NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE])
512 if (triggers[NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST])
514 if (triggers[NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE])
516 if (triggers[NL80211_WOWLAN_TRIG_RFKILL_RELEASE])
H A Ddriver_nl80211.c8615 const struct wowlan_triggers *triggers)
8628 (triggers->any &&
8630 (triggers->disconnect &&
8632 (triggers->magic_pkt &&
8634 (triggers->gtk_rekey_failure &&
8636 (triggers->eap_identity_req &&
8638 (triggers->four_way_handshake &&
8640 (triggers->rfkill_release &&
8614 nl80211_set_wowlan(void *priv, const struct wowlan_triggers *triggers) argument
H A Ddriver.h3143 * set_wowlan - Set wake-on-wireless triggers
3145 * @triggers: wowlan triggers
3147 int (*set_wowlan)(void *priv, const struct wowlan_triggers *triggers);
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_common.c166 struct wowlan_triggers *triggers; local
177 triggers = os_zalloc(sizeof(*triggers));
178 if (triggers == NULL)
184 &triggers->trigger)
208 os_free(triggers);
209 triggers = NULL;
221 return triggers;
H A Ddriver_nl80211_capa.c495 struct nlattr *triggers[MAX_NL80211_WOWLAN_TRIG + 1]; local
500 if (nla_parse_nested(triggers, MAX_NL80211_WOWLAN_TRIG,
504 if (triggers[NL80211_WOWLAN_TRIG_ANY])
506 if (triggers[NL80211_WOWLAN_TRIG_DISCONNECT])
508 if (triggers[NL80211_WOWLAN_TRIG_MAGIC_PKT])
510 if (triggers[NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE])
512 if (triggers[NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST])
514 if (triggers[NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE])
516 if (triggers[NL80211_WOWLAN_TRIG_RFKILL_RELEASE])
H A Ddriver_nl80211.c8615 const struct wowlan_triggers *triggers)
8628 (triggers->any &&
8630 (triggers->disconnect &&
8632 (triggers->magic_pkt &&
8634 (triggers->gtk_rekey_failure &&
8636 (triggers->eap_identity_req &&
8638 (triggers->four_way_handshake &&
8640 (triggers->rfkill_release &&
8614 nl80211_set_wowlan(void *priv, const struct wowlan_triggers *triggers) argument
H A Ddriver.h3143 * set_wowlan - Set wake-on-wireless triggers
3145 * @triggers: wowlan triggers
3147 int (*set_wowlan)(void *priv, const struct wowlan_triggers *triggers);
/external/autotest/client/common_lib/hosts/
H A Drepair.py385 Each repair action includes one or more verifier triggers that
387 will call its `repair()` method if one or more of its triggers
388 fails. A repair action is successful if all of its triggers pass
393 triggers, and doesn't call `repair()`.
416 def __init__(self, tag, dependencies, triggers):
418 self._trigger_list = triggers
424 Apply this repair action if any triggers fail.
429 If the `repair()` method triggers, the success or failure of
444 'Repairing because these triggers failed')
464 'However, these triggers stil
[all...]
H A Drepair_unittest.py155 `try_repair()` for all triggers, and then report success. When the
167 def __init__(self, tag, deps, triggers, success):
168 super(_StubRepairAction, self).__init__(tag, deps, triggers)
250 def _make_repair_action(self, success, tag, deps, triggers):
257 @param triggers As for the `_StubRepairAction` constructor.
259 repair_action = _StubRepairAction(tag, deps, triggers, success)
713 Test a repair that triggers and fails.
895 of the form `(constructor, tag, deps, triggers)`. Each item in
896 `input_data` is a tuple of the form `(tag, success, deps, triggers)`
902 * `tag`, `deps`, and `triggers` wil
[all...]
/external/libchrome/base/trace_event/
H A Dtrace_config.cc52 const char kTriggersParam[] = "triggers";
114 triggers.clear();
292 memory_dump_config_.triggers.insert(memory_dump_config_.triggers.end(),
293 config.memory_dump_config_.triggers.begin(),
294 config.memory_dump_config_.triggers.end());
356 // If dump triggers not set, the client is using the legacy with just
509 // Set triggers
510 memory_dump_config_.triggers.clear();
530 memory_dump_config_.triggers
[all...]
H A Dtrace_config_unittest.cc42 "\"triggers\":["
636 ASSERT_EQ(2u, tc1.memory_dump_config_.triggers.size());
638 EXPECT_EQ(200u, tc1.memory_dump_config_.triggers[0].periodic_interval_ms);
640 tc1.memory_dump_config_.triggers[0].level_of_detail);
642 EXPECT_EQ(2000u, tc1.memory_dump_config_.triggers[1].periodic_interval_ms);
644 tc1.memory_dump_config_.triggers[1].level_of_detail);
655 ASSERT_EQ(1u, tc2.memory_dump_config_.triggers.size());
656 EXPECT_EQ(1u, tc2.memory_dump_config_.triggers[0].periodic_interval_ms);
658 tc2.memory_dump_config_.triggers[0].level_of_detail);
666 EXPECT_EQ(0u, tc.memory_dump_config_.triggers
[all...]
H A Dtrace_config.h52 // Specifies the triggers in the memory dump config.
79 std::vector<Trigger> triggers; member in struct:base::trace_event::TraceConfig::MemoryDumpConfig
150 // "triggers": [
H A Dmemory_dump_manager.cc716 periodic_dump_timer_.Start(trace_config.memory_dump_config().triggers);
/external/llvm/test/MC/Mips/
H A Dhigher-highest-addressing.s33 # is chosen so that it is just below the value that triggers the addition of +1
/external/wpa_supplicant_8/wpa_supplicant/
H A Ddriver_i.h667 const struct wowlan_triggers *triggers)
671 return wpa_s->driver->set_wowlan(wpa_s->drv_priv, triggers);
666 wpa_drv_wowlan(struct wpa_supplicant *wpa_s, const struct wowlan_triggers *triggers) argument
H A Dwpa_supplicant.c4242 struct wowlan_triggers *triggers; local
4248 triggers = wpa_get_wowlan_triggers(wpa_s->conf->wowlan_triggers, capa);
4249 if (triggers) {
4250 ret = wpa_drv_wowlan(wpa_s, triggers);
4251 os_free(triggers);
5049 * Set Wake-on-WLAN triggers, if configured.
5050 * Note: We don't restore/remove the triggers on shutdown (it doesn't
/external/blktrace/btt/doc/
H A Dbtt.tex635 The \emph{--per-io-dump} or \emph{-p} option triggers this behavior,
906 This option triggers \texttt{btt} to generate iostat-like output to the
/external/icu/tools/srcgen/currysrc/libs/
H A Dorg.eclipse.osgi_3.10.100.v20150529-1857.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ...

Completed in 526 milliseconds

12