Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 2145) sorted by relevance

12345678910>>...86

/external/chromium_org/chrome/browser/extensions/
Dextension_action_unittest.cc18 ExtensionAction action(std::string(), ActionInfo::TYPE_PAGE, action_info); in TEST() local
20 ASSERT_EQ("Initial Title", action.GetTitle(1)); in TEST()
21 action.SetTitle(ExtensionAction::kDefaultTabId, "foo"); in TEST()
22 ASSERT_EQ("foo", action.GetTitle(1)); in TEST()
23 ASSERT_EQ("foo", action.GetTitle(100)); in TEST()
24 action.SetTitle(100, "bar"); in TEST()
25 ASSERT_EQ("foo", action.GetTitle(1)); in TEST()
26 ASSERT_EQ("bar", action.GetTitle(100)); in TEST()
27 action.SetTitle(ExtensionAction::kDefaultTabId, "baz"); in TEST()
28 ASSERT_EQ("baz", action.GetTitle(1)); in TEST()
[all …]
Dextension_action_manager_unittest.cc33 DictionaryBuilder& action,
37 bool TitlesMatch(const Extension& extension, const ExtensionAction& action);
43 const ExtensionAction& action,
73 DictionaryBuilder& action, in BuildExtension() argument
80 .Set(action_type, action) in BuildExtension()
90 const ExtensionAction& action) { in TitlesMatch() argument
91 return action.GetTitle(ExtensionAction::kDefaultTabId) == extension.name(); in TitlesMatch()
96 const ExtensionAction& action, in IconsMatch() argument
98 return action.default_icon()->Get(action_key, in IconsMatch()
124 const ExtensionAction* action = GetAction(action_type, *extension.get()); in TestPopulateMissingValues() local
[all …]
/external/chromium_org/tools/gyp/test/many-actions/
Dmany-actions.gyp18 'action': [
27 'action': [
36 'action': [
45 'action': [
54 'action': [
63 'action': [
72 'action': [
81 'action': [
90 'action': [
99 'action': [
[all …]
/external/chromium_org/chrome/browser/extensions/activity_log/
Dactivity_log_policy_unittest.cc19 scoped_refptr<Action> action = in TEST_F() local
24 action->mutable_args()->AppendString("woof"); in TEST_F()
25 action->set_page_url(GURL("http://www.google.com/")); in TEST_F()
26 action->set_page_incognito(true); in TEST_F()
27 action->set_page_title("private"); in TEST_F()
28 action->set_arg_url(GURL("http://www.youtube.com/?privatekey")); in TEST_F()
30 ASSERT_EQ("<incognito>http://www.google.com/", action->SerializePageUrl()); in TEST_F()
32 ActivityLogPolicy::Util::StripPrivacySensitiveFields(action); in TEST_F()
34 ASSERT_FALSE(action->page_url().is_valid()); in TEST_F()
35 ASSERT_EQ("", action->SerializePageUrl()); in TEST_F()
[all …]
Dcounting_policy_unittest.cc387 static void CheckAction(const Action& action, in CheckAction() argument
396 ASSERT_EQ(expected_id, action.extension_id()); in CheckAction()
397 ASSERT_EQ(expected_type, action.action_type()); in CheckAction()
398 ASSERT_EQ(expected_api_name, action.api_name()); in CheckAction()
400 ActivityLogPolicy::Util::Serialize(action.args())); in CheckAction()
401 ASSERT_EQ(expected_page_url, action.SerializePageUrl()); in CheckAction()
402 ASSERT_EQ(expected_page_title, action.page_title()); in CheckAction()
403 ASSERT_EQ(expected_arg_url, action.SerializeArgUrl()); in CheckAction()
404 ASSERT_EQ(expected_count, action.count()); in CheckAction()
405 ASSERT_NE(-1, action.action_id()); in CheckAction()
[all …]
Dactivity_log_unittest.cc134 scoped_refptr<Action> action = i->at(0); in RetrieveActions_ArgUrlExtraction() local
135 ASSERT_EQ("XMLHttpRequest.open", action->api_name()); in RetrieveActions_ArgUrlExtraction()
137 ActivityLogPolicy::Util::Serialize(action->args())); in RetrieveActions_ArgUrlExtraction()
138 ASSERT_EQ("http://api.google.com/", action->arg_url().spec()); in RetrieveActions_ArgUrlExtraction()
142 other = action->other(); in RetrieveActions_ArgUrlExtraction()
148 action = i->at(1); in RetrieveActions_ArgUrlExtraction()
149 ASSERT_EQ("XMLHttpRequest.open", action->api_name()); in RetrieveActions_ArgUrlExtraction()
151 ActivityLogPolicy::Util::Serialize(action->args())); in RetrieveActions_ArgUrlExtraction()
152 ASSERT_EQ("http://www.google.com/api/", action->arg_url().spec()); in RetrieveActions_ArgUrlExtraction()
154 action = i->at(2); in RetrieveActions_ArgUrlExtraction()
[all …]
Dfullstream_ui_policy_unittest.cc274 static void CheckAction(const Action& action, in CheckAction() argument
282 ASSERT_EQ(expected_id, action.extension_id()); in CheckAction()
283 ASSERT_EQ(expected_type, action.action_type()); in CheckAction()
284 ASSERT_EQ(expected_api_name, action.api_name()); in CheckAction()
286 ActivityLogPolicy::Util::Serialize(action.args())); in CheckAction()
287 ASSERT_EQ(expected_page_url, action.SerializePageUrl()); in CheckAction()
288 ASSERT_EQ(expected_page_title, action.page_title()); in CheckAction()
289 ASSERT_EQ(expected_arg_url, action.SerializeArgUrl()); in CheckAction()
290 ASSERT_NE(-1, action.action_id()); in CheckAction()
309 scoped_refptr<Action> action = in CheckRemoveActions() local
[all …]
Dactivity_log_policy.cc87 scoped_refptr<Action> action) { in StripPrivacySensitiveFields() argument
89 if (action->page_incognito()) { in StripPrivacySensitiveFields()
90 action->set_page_url(GURL()); in StripPrivacySensitiveFields()
91 action->set_page_title(""); in StripPrivacySensitiveFields()
92 action->set_page_incognito(false); in StripPrivacySensitiveFields()
94 if (action->arg_incognito()) { in StripPrivacySensitiveFields()
95 action->set_arg_url(GURL()); in StripPrivacySensitiveFields()
96 action->set_arg_incognito(false); in StripPrivacySensitiveFields()
100 if (action->page_url().is_valid() || action->arg_url().is_valid()) { in StripPrivacySensitiveFields()
107 if (action->page_url().is_valid()) in StripPrivacySensitiveFields()
[all …]
/external/chromium_org/chrome/common/extensions/api/extension_action/
Dpage_action_manifest_unittest.cc64 scoped_ptr<ActionInfo> action; in TEST_F() local
67 action = LoadAction("page_action_empty.json"); in TEST_F()
68 ASSERT_TRUE(action); in TEST_F()
75 action = LoadAction("page_action.json"); in TEST_F()
76 ASSERT_TRUE(action); in TEST_F()
77 ASSERT_EQ(id, action->id); in TEST_F()
80 ASSERT_EQ(name, action->default_title); in TEST_F()
82 action->default_icon.Get(extension_misc::EXTENSION_ICON_ACTION, in TEST_F()
86 action = LoadAction("page_action_type.json"); in TEST_F()
87 ASSERT_TRUE(action); in TEST_F()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/events/
DSDL_quit.c49 struct sigaction action; local
50 sigaction(SIGINT, NULL, &action);
52 if ( action.sa_handler == SIG_DFL && action.sa_sigaction == (void*)SIG_DFL ) {
54 if ( action.sa_handler == SIG_DFL ) {
56 action.sa_handler = SDL_HandleSIG;
57 sigaction(SIGINT, &action, NULL);
59 sigaction(SIGTERM, NULL, &action);
61 if ( action.sa_handler == SIG_DFL && action.sa_sigaction == (void*)SIG_DFL ) {
63 if ( action.sa_handler == SIG_DFL ) {
65 action.sa_handler = SDL_HandleSIG;
[all …]
/external/pdfium/fpdfsdk/src/
Dfsdk_actionhandler.cpp51 FX_BOOL CPDFSDK_ActionHandler::DoAction_DocOpen(const CPDF_Action& action, CPDFSDK_Document* pDocum… in DoAction_DocOpen() argument
55 return ExecuteDocumentOpenAction(action, pDocument, /*pDocView, */list); in DoAction_DocOpen()
93 FX_BOOL CPDFSDK_ActionHandler::DoAction_Page(const CPDF_Action& action, enum CPDF_AAction::AActionT… in DoAction_Page() argument
97 return ExecuteDocumentPageAction(action, eType, pDocument,/* pDocView,*/ list); in DoAction_Page()
100 FX_BOOL CPDFSDK_ActionHandler::DoAction_Document(const CPDF_Action& action, enum CPDF_AAction::AAct… in DoAction_Document() argument
104 return ExecuteDocumentPageAction(action, eType, pDocument,/* pDocView,*/ list); in DoAction_Document()
107 …nHandler::DoAction_BookMark(CPDF_Bookmark *pBookMark, const CPDF_Action& action, CPDF_AAction::AAc… in DoAction_BookMark() argument
111 return this->ExecuteBookMark(action, pDocument,/* pDocView,*/ pBookMark, list); in DoAction_BookMark()
114 FX_BOOL CPDFSDK_ActionHandler::DoAction_Screen(const CPDF_Action& action, CPDF_AAction::AActionType… in DoAction_Screen() argument
118 return this->ExecuteScreenAction(action, type, pDocument,/* pDocView,*/ pScreen, list); in DoAction_Screen()
[all …]
/external/chromium_org/components/autofill/content/browser/wallet/
Drequired_action.cc13 bool ActionAppliesToFullWallet(RequiredAction action) { in ActionAppliesToFullWallet() argument
14 return action == UPDATE_EXPIRATION_DATE || in ActionAppliesToFullWallet()
15 action == VERIFY_CVV || in ActionAppliesToFullWallet()
16 action == CHOOSE_ANOTHER_INSTRUMENT_OR_ADDRESS || in ActionAppliesToFullWallet()
17 action == REQUIRE_PHONE_NUMBER; in ActionAppliesToFullWallet()
20 bool ActionAppliesToSaveToWallet(RequiredAction action) { in ActionAppliesToSaveToWallet() argument
21 return action == INVALID_FORM_FIELD || in ActionAppliesToSaveToWallet()
22 action == REQUIRE_PHONE_NUMBER; in ActionAppliesToSaveToWallet()
25 bool ActionAppliesToWalletItems(RequiredAction action) { in ActionAppliesToWalletItems() argument
26 return action == SETUP_WALLET || in ActionAppliesToWalletItems()
[all …]
/external/chromium_org/v8/src/heap/
Dgc-idle-time-handler-unittest.cc154 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F() local
155 EXPECT_EQ(DO_FULL_GC, action.type); in TEST_F()
165 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F() local
166 EXPECT_EQ(DO_INCREMENTAL_MARKING, action.type); in TEST_F()
175 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F() local
176 EXPECT_EQ(DO_INCREMENTAL_MARKING, action.type); in TEST_F()
184 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F() local
185 EXPECT_EQ(DO_INCREMENTAL_MARKING, action.type); in TEST_F()
187 static_cast<size_t>(action.parameter)); in TEST_F()
188 EXPECT_LT(0, action.parameter); in TEST_F()
[all …]
/external/chromium_org/net/tools/crash_cache/
Dcrash_cache.cc46 int RunSlave(RankCrashes action) { in RunSlave() argument
51 cmdline.AppendArg(base::IntToString(action)); in RunSlave()
55 printf("Unable to run test %d\n", action); in RunSlave()
62 printf("Unable to get return code, test %d\n", action); in RunSlave()
66 printf("Test %d failed, code %d\n", action, exit_code); in RunSlave()
91 bool CreateTargetFolder(const base::FilePath& path, RankCrashes action, in CreateTargetFolder() argument
119 DCHECK(action > disk_cache::NO_CRASH && action < disk_cache::MAX_CRASH); in CreateTargetFolder()
121 *full_path = path.AppendASCII(folders[action]); in CreateTargetFolder()
154 int SimpleInsert(const base::FilePath& path, RankCrashes action, in SimpleInsert() argument
163 if (action <= disk_cache::INSERT_EMPTY_3) { in SimpleInsert()
[all …]
/external/pdfium/fpdfsdk/include/
Dfsdk_actionhandler.h17 FX_BOOL DoAction_Hide(const CPDF_Action& action, CPDFSDK_Document* pDocument);
18 FX_BOOL DoAction_SubmitForm(const CPDF_Action& action, CPDFSDK_Document* pDocument);
19 FX_BOOL DoAction_ResetForm(const CPDF_Action& action, CPDFSDK_Document* pDocument);
20 FX_BOOL DoAction_ImportData(const CPDF_Action& action, CPDFSDK_Document* pDocument);
26 FX_BOOL DoAction_Rendition(const CPDF_Action& action, CPDFSDK_Document* pDocument);
27 FX_BOOL DoAction_Sound(const CPDF_Action& action, CPDFSDK_Document* pDocument);
28 FX_BOOL DoAction_Movie(const CPDF_Action& action, CPDFSDK_Document* pDocument);
38 …virtual FX_BOOL DoAction_DocOpen(const CPDF_Action& action, CPDFSDK_Document* pDocument/*, CPDFSD…
40 …virtual FX_BOOL DoAction_Page(const CPDF_Action& action, enum CPDF_AAction::AActionType eType, CP…
41 …virtual FX_BOOL DoAction_Document(const CPDF_Action& action, enum CPDF_AAction::AActionType eType…
[all …]
/external/chromium_org/third_party/WebKit/Source/web/tests/data/
Dtouch-action-tests.css2 Use a class to apply touch-action so that we can easily manually check
6 -ms-touch-action: none;
7 touch-action: none;
10 -ms-touch-action: auto;
11 touch-action: auto;
14 -ms-touch-action: pan-x;
15 touch-action: pan-x;
18 -ms-touch-action: pan-y;
19 touch-action: pan-y;
22 -ms-touch-action: pan-x pan-y;
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/
Drun_webkit_tests.py106 action="append", default=[],
111 action="store_false", dest='android_logging', default=True,
116 optparse.make_option("--add-platform-exceptions", action="store_true", default=False,
118 optparse.make_option("--additional-drt-flag", action="append",
121 optparse.make_option("--additional-expectations", action="append", default=[],
124 optparse.make_option("--additional-platform-directory", action="append",
130 optparse.make_option("--clobber-old-results", action="store_true",
132 optparse.make_option("--compare-port", action="store", default=None,
136 optparse.make_option("--full-results-html", action="store_true",
139 optparse.make_option("--new-baseline", action="store_true",
[all …]
/external/qemu/distrib/sdl-1.2.15/src/
DSDL_fatal.c64 struct sigaction action; in SDL_InstallParachute() local
67 sigaction(SDL_fatal_signals[i], NULL, &action); in SDL_InstallParachute()
68 if ( action.sa_handler == SIG_DFL ) { in SDL_InstallParachute()
69 action.sa_handler = SDL_Parachute; in SDL_InstallParachute()
70 sigaction(SDL_fatal_signals[i], &action, NULL); in SDL_InstallParachute()
75 sigaction(SIGALRM, NULL, &action); in SDL_InstallParachute()
76 if ( action.sa_handler == SIG_DFL ) { in SDL_InstallParachute()
77 action.sa_handler = SIG_IGN; in SDL_InstallParachute()
78 sigaction(SIGALRM, &action, NULL); in SDL_InstallParachute()
99 struct sigaction action; in SDL_UninstallParachute() local
[all …]
/external/chromium_org/tools/telemetry/telemetry/page/actions/
Dplay_unittest.py24 action = play.PlayAction(playing_event_timeout_in_seconds=60)
25 action.WillRunAction(self._tab)
29 action.RunAction(self._tab)
37 action = play.PlayAction(selector='#video_1',
39 action.WillRunAction(self._tab)
43 action.RunAction(self._tab)
51 action = play.PlayAction(selector='all',
53 action.WillRunAction(self._tab)
57 action.RunAction(self._tab)
65 action = play.PlayAction(selector='#video_1',
[all …]
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestAttributes.java58 String action = "i<3; '<xmltag>'"; in testEscapedLessThanInAction() local
60 new CommonToken(ANTLRParser.ACTION,action),0); in testEscapedLessThanInAction()
61 String expecting = action; in testEscapedLessThanInAction()
73 String action = "int \\$n; \"\\$in string\\$\""; in testEscaped$InAction() local
77 "@members {"+action+"}\n"+ in testEscaped$InAction()
79 " : {"+action+"}\n" + in testEscaped$InAction()
88 new CommonToken(ANTLRParser.ACTION,action),0); in testEscaped$InAction()
93 String action = "$i; $i.x; $u; $u.x"; in testArguments() local
101 " : {"+action+"}\n" + in testArguments()
108 new CommonToken(ANTLRParser.ACTION,action),1); in testArguments()
[all …]
/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_action_unittest.cc22 SpellcheckAction action; in TEST() local
24 action.type = kFinalActions[i]; in TEST()
25 ASSERT_TRUE(action.IsFinal()); in TEST()
34 SpellcheckAction action; in TEST() local
36 action.type = kPendingActions[i]; in TEST()
37 ASSERT_FALSE(action.IsFinal()); in TEST()
42 SpellcheckAction action; in TEST() local
43 action.type = SpellcheckAction::TYPE_PENDING; in TEST()
44 action.Finalize(); in TEST()
45 ASSERT_EQ(SpellcheckAction::TYPE_NO_ACTION, action.type); in TEST()
[all …]
/external/eigen/bench/btl/generic_bench/timers/
Dportable_perf_analyzer_old.hh45 Action action(size); in eval_mflops() local
60 double time_action = time_calculate(action); in eval_mflops()
64 time_action = time_calculate(action); in eval_mflops()
69 time_action = std::min(time_action, time_calculate(action)); in eval_mflops()
77 action.check_result(); in eval_mflops()
80 double time_baseline = time_init(action); in eval_mflops()
82 time_baseline = std::min(time_baseline, time_init(action)); in eval_mflops()
94 return action.nb_op_base()/(time_action*1000000.0); in eval_mflops()
97 inline double time_init(Action & action) in time_init() argument
102 action.initialize(); in time_init()
[all …]
/external/bison/lib/
Dfatal-signal.c95 struct sigaction action; in init_fatal_signals() local
97 if (sigaction (fatal_signals[i], NULL, &action) >= 0 in init_fatal_signals()
98 && get_handler (&action) == SIG_IGN) in init_fatal_signals()
117 volatile action_t action; member
157 action_t action; in fatal_signal_handler() local
163 action = actions[n].action; in fatal_signal_handler()
165 action (); in fatal_signal_handler()
183 struct sigaction action; in install_handlers() local
185 action.sa_handler = &fatal_signal_handler; in install_handlers()
189 action.sa_flags = SA_NODEFER; in install_handlers()
[all …]
Dspawni.c244 struct __spawn_action *action = &file_actions->_actions[cnt]; in __spawni() local
246 switch (action->tag) in __spawni()
249 if (close_not_cancel (action->action.close_action.fd) != 0) in __spawni()
256 int new_fd = open_not_cancel (action->action.open_action.path, in __spawni()
257 action->action.open_action.oflag in __spawni()
259 action->action.open_action.mode); in __spawni()
266 if (new_fd != action->action.open_action.fd) in __spawni()
268 if (dup2 (new_fd, action->action.open_action.fd) in __spawni()
269 != action->action.open_action.fd) in __spawni()
281 if (dup2 (action->action.dup2_action.fd, in __spawni()
[all …]
/external/bluetooth/bluedroid/stack/btm/
Dbtm_ble_adv_filter.c42 static UINT8 btm_ble_cs_update_pf_counter(tBTM_BLE_SCAN_COND_OP action,
99 void btm_ble_advfilt_enq_op_q(UINT8 action, UINT8 ocf, tBTM_BLE_FILT_CB_EVT cb_evt, in btm_ble_advfilt_enq_op_q() argument
103 btm_ble_adv_filt_cb.op_q.action_ocf[btm_ble_adv_filt_cb.op_q.next_idx] = (action |(ocf << 4)); in btm_ble_advfilt_enq_op_q()
110 btm_ble_adv_filt_cb.op_q.action_ocf[btm_ble_adv_filt_cb.op_q.next_idx], action, in btm_ble_advfilt_enq_op_q()
246 UINT8 *p = p_params->p_param_buf, op_subcode = 0, action = 0xff; in btm_ble_scan_pf_cmpl_cback() local
257 btm_ble_advfilt_deq_op_q(&action, &ocf, &cb_evt, &ref_value, &p_scan_cfg_cback, in btm_ble_scan_pf_cmpl_cback()
262 btm_ble_advfilt_deq_op_q(&action, &ocf, &cb_evt, &ref_value, &p_scan_cfg_cback, in btm_ble_scan_pf_cmpl_cback()
267 STREAM_TO_UINT8(action, p); in btm_ble_scan_pf_cmpl_cback()
275 ocf, op_subcode, action, evt_len, ref_value, status); in btm_ble_scan_pf_cmpl_cback()
281 btm_ble_adv_filt_cb.p_filt_stat_cback(action, status, ref_value); in btm_ble_scan_pf_cmpl_cback()
[all …]

12345678910>>...86