Home
last modified time | relevance | path

Searched refs:shell (Results 1 – 25 of 1313) sorted by relevance

12345678910>>...53

/external/chromium_org/content/browser/
Ddatabase_browsertest.cc25 void RunScriptAndCheckResult(Shell* shell, in RunScriptAndCheckResult() argument
30 shell->web_contents(), in RunScriptAndCheckResult()
36 void Navigate(Shell* shell) { in Navigate() argument
37 NavigateToURL(shell, GetTestUrl("", "simple_database.html")); in Navigate()
40 void CreateTable(Shell* shell) { in CreateTable() argument
41 RunScriptAndCheckResult(shell, "createTable()", "done"); in CreateTable()
44 void InsertRecord(Shell* shell, const std::string& data) { in InsertRecord() argument
45 RunScriptAndCheckResult(shell, "insertRecord('" + data + "')", "done"); in InsertRecord()
48 void UpdateRecord(Shell* shell, int index, const std::string& data) { in UpdateRecord() argument
50 shell, in UpdateRecord()
[all …]
Dsecurity_exploit_browsertest.cc36 RenderViewHostImpl* PrepareToDuplicateHosts(Shell* shell, in PrepareToDuplicateHosts() argument
41 NavigateToURL(shell, foo); in PrepareToDuplicateHosts()
46 shell->web_contents(), "window.open(document.URL + '#2');")); in PrepareToDuplicateHosts()
50 EXPECT_EQ(shell->web_contents()->GetRenderViewHost()->GetProcess()->GetID(), in PrepareToDuplicateHosts()
55 shell->web_contents()->GetRenderViewHost()->GetRoutingID()); in PrepareToDuplicateHosts()
59 WebContentsImpl* wc = static_cast<WebContentsImpl*>(shell->web_contents()); in PrepareToDuplicateHosts()
71 EXPECT_NE(shell->web_contents()->GetRenderViewHost()->GetProcess()->GetID(), in PrepareToDuplicateHosts()
105 NavigateToURL(shell(), foo); in IN_PROC_BROWSER_TEST_F()
107 shell()->web_contents()->GetRenderViewHost()->GetEnabledBindings()); in IN_PROC_BROWSER_TEST_F()
110 shell()->web_contents(), in IN_PROC_BROWSER_TEST_F()
[all …]
Dsite_per_process_browsertest.cc163 ASSERT_TRUE(ExecuteScript(shell()->web_contents(), data_url_script)); in StartFrameAtDataURL()
203 NavigateToURL(shell(), main_url); in IN_PROC_BROWSER_TEST_F()
207 static_cast<WebContentsImpl*>(shell()->web_contents())-> in IN_PROC_BROWSER_TEST_F()
210 SitePerProcessWebContentsObserver observer(shell()->web_contents()); in IN_PROC_BROWSER_TEST_F()
222 static_cast<WebContentsImpl*>(shell()->web_contents()) in IN_PROC_BROWSER_TEST_F()
228 shell()->web_contents()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_F()
248 EXPECT_NE(shell()->web_contents()->GetRenderViewHost(), rvh); in IN_PROC_BROWSER_TEST_F()
249 EXPECT_NE(shell()->web_contents()->GetSiteInstance(), site_instance); in IN_PROC_BROWSER_TEST_F()
250 EXPECT_NE(shell()->web_contents()->GetRenderProcessHost(), rph); in IN_PROC_BROWSER_TEST_F()
255 static_cast<WebContentsImpl*>(shell()->web_contents()) in IN_PROC_BROWSER_TEST_F()
[all …]
Dsession_history_browsertest.cc55 NavigateToURL(shell(), GURL(url::kAboutBlankURL)); in SetUpOnMainThread()
61 NavigateToURL(shell(), url); in ClickLink()
71 NavigateToURL(shell(), url); in FillForm()
78 NavigateToURL(shell(), url); in SubmitForm()
84 NavigateToURL(shell(), url); in JavascriptGo()
88 return base::UTF16ToASCII(shell()->web_contents()->GetTitle()); in GetTabTitle()
92 return shell()->web_contents()->GetLastCommittedURL(); in GetTabURL()
103 TitleWatcher title_watcher(shell()->web_contents(), expected_title16); in NavigateAndCheckTitle()
104 NavigateToURL(shell(), GetURL(filename)); in NavigateAndCheckTitle()
109 return shell()->web_contents()->GetController().CanGoBack(); in CanGoBack()
[all …]
/external/chromium_org/content/
Dcontent_shell.gypi22 # GN version: //content/shell:content_shell_lib
76 'shell/android/shell_jni_registrar.cc',
77 'shell/android/shell_jni_registrar.h',
78 'shell/android/shell_manager.cc',
79 'shell/android/shell_manager.h',
80 'shell/app/paths_mac.h',
81 'shell/app/paths_mac.mm',
82 'shell/app/shell_crash_reporter_client.cc',
83 'shell/app/shell_crash_reporter_client.h',
84 'shell/app/shell_main_delegate.cc',
[all …]
/external/sepolicy/
Dshell.te1 # Domain for shell processes spawned by ADB or console service.
2 type shell, domain, mlstrustedsubject;
6 net_domain(shell)
10 app_domain(shell)
13 read_logd(shell)
14 control_logd(shell)
17 allow shell anr_data_file:dir r_dir_perms;
18 allow shell anr_data_file:file r_file_perms;
21 allow shell shell_data_file:dir create_dir_perms;
22 allow shell shell_data_file:file create_file_perms;
[all …]
/external/chromium_org/content/browser/web_contents/
Dweb_contents_impl_browsertest.cc29 void ResizeWebContentsView(Shell* shell, const gfx::Size& size, in ResizeWebContentsView() argument
37 shell->SizeTo(size); in ResizeWebContentsView()
41 NavigateToURL(shell, GURL("about://blank")); in ResizeWebContentsView()
43 static_cast<WebContentsImpl*>(shell->web_contents())->GetView()-> in ResizeWebContentsView()
88 NavigateOnCommitObserver(Shell* shell, GURL url) in NavigateOnCommitObserver() argument
89 : WebContentsObserver(shell->web_contents()), in NavigateOnCommitObserver()
90 shell_(shell), in NavigateOnCommitObserver()
130 RenderViewSizeObserver(Shell* shell, const gfx::Size& wcv_new_size) in RenderViewSizeObserver() argument
131 : WebContentsObserver(shell->web_contents()), in RenderViewSizeObserver()
132 shell_(shell), in RenderViewSizeObserver()
[all …]
/external/chromium_org/content/browser/frame_host/
Drender_frame_host_manager_browsertest.cc109 NavigateToURL(shell(), test_server()->GetURL(replacement_path)); in IN_PROC_BROWSER_TEST_F()
113 shell()->web_contents()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_F()
120 shell()->web_contents(), in IN_PROC_BROWSER_TEST_F()
139 shell()->web_contents(), in IN_PROC_BROWSER_TEST_F()
153 shell()->web_contents(), in IN_PROC_BROWSER_TEST_F()
171 NavigateToURL(shell(), test_server()->GetURL(replacement_path)); in IN_PROC_BROWSER_TEST_F()
175 shell()->web_contents()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_F()
182 shell()->web_contents(), in IN_PROC_BROWSER_TEST_F()
219 NavigateToURL(shell(), test_server()->GetURL(replacement_path)); in IN_PROC_BROWSER_TEST_F()
223 shell()->web_contents()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_F()
[all …]
Dframe_tree_browsertest.cc47 NavigateToURL(shell(), base_url.Resolve("blank.html")); in IN_PROC_BROWSER_TEST_F()
49 static_cast<WebContentsImpl*>(shell()->web_contents())-> in IN_PROC_BROWSER_TEST_F()
60 &shell()->web_contents()->GetController())); in IN_PROC_BROWSER_TEST_F()
61 NavigateToURL(shell(), base_url.Resolve("frames-X-X.html")); in IN_PROC_BROWSER_TEST_F()
72 NavigateToURL(shell(), in IN_PROC_BROWSER_TEST_F()
75 WebContentsImpl* wc = static_cast<WebContentsImpl*>(shell()->web_contents()); in IN_PROC_BROWSER_TEST_F()
94 NavigateToURL(shell(), test_server()->GetURL("files/title1.html")); in IN_PROC_BROWSER_TEST_F()
105 NavigateToURL(shell(), in IN_PROC_BROWSER_TEST_F()
109 RenderViewHost* rvh = shell()->web_contents()->GetRenderViewHost(); in IN_PROC_BROWSER_TEST_F()
117 shell()->web_contents(), in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/v8/tools/testrunner/network/
Ddistro.py30 def __init__(self, shell): argument
31 self.shell = shell
57 shell = s.shell()
58 if not shell in shells:
59 shells[shell] = Shell(shell)
60 shells[shell].AddSuite(s)
70 for shell in shells:
71 while len(shell.tests) > 0:
76 "Remaining tests: %d. Going to slow mode." % len(shell.tests))
80 peers[0].ForceAddOneTest(shell.tests.pop(), shell)
[all …]
/external/chromium_org/third_party/icu/source/samples/
Ddefs.mk8 CC=$(shell icu-config --cc)
9 CXX=$(shell icu-config --cxx)
10 CPPFLAGS=$(shell icu-config --cppflags)
11 CFLAGS=$(shell icu-config --cflags)
12 CXXFLAGS=$(shell icu-config --cxxflags)
13 LDFLAGS =$^ $(shell icu-config --ldflags)
14 LDFLAGS_USTDIO =$(shell icu-config --ldflags-icuio)
15 INVOKE=$(shell icu-config --invoke)
16 GENRB=$(shell icu-config --invoke=genrb)
18 PKGDATA=$(shell icu-config --invoke=pkgdata)
[all …]
/external/icu/icu4c/source/samples/
Ddefs.mk8 CC=$(shell icu-config --cc)
9 CXX=$(shell icu-config --cxx)
10 CPPFLAGS=$(shell icu-config --cppflags)
11 CFLAGS=$(shell icu-config --cflags)
12 CXXFLAGS=$(shell icu-config --cxxflags)
13 LDFLAGS =$^ $(shell icu-config --ldflags)
14 LDFLAGS_USTDIO =$(shell icu-config --ldflags-icuio)
15 INVOKE=$(shell icu-config --invoke)
16 GENRB=$(shell icu-config --invoke=genrb)
18 PKGDATA=$(shell icu-config --invoke=pkgdata)
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/config/
Dutilities.mak22 # GNU make's $(shell ...) function converts to a
42 # shell-escape-nl
44 # Usage: $(shell some-command | $(call shell-escape-nl[,escape]))
46 # Use this to escape newlines from within a shell call;
50 # in an `awk' program that is delimited by shell
54 define shell-escape-nl
58 # shell-unescape-nl
60 # Usage: $(shell some-command | $(call shell-unescape-nl[,escape]))
62 # Use this to unescape newlines from within a shell call;
67 # delimited by shell single-quotes, so be wary
[all …]
/external/chromium_org/chromecast/
Dchromecast.gyp147 'grit_grd_file': 'shell/browser/resources/shell_resources.grd',
148 'grit_resource_ids': 'shell/browser/resources/resource_ids',
215 'shell/app/cast_main_delegate.cc',
216 'shell/app/cast_main_delegate.h',
217 'shell/browser/cast_browser_context.cc',
218 'shell/browser/cast_browser_context.h',
219 'shell/browser/cast_browser_main_parts.cc',
220 'shell/browser/cast_browser_main_parts.h',
221 'shell/browser/cast_browser_process.cc',
222 'shell/browser/cast_browser_process.h',
[all …]
/external/chromium_org/content/browser/manifest/
Dmanifest_browsertest.cc24 shell()->web_contents()->GetManifest( in GetManifestAndWait()
53 TestNavigationObserver navigation_observer(shell()->web_contents(), 1); in IN_PROC_BROWSER_TEST_F()
54 shell()->LoadURL(test_url); in IN_PROC_BROWSER_TEST_F()
66 TestNavigationObserver navigation_observer(shell()->web_contents(), 1);
67 shell()->LoadURL(test_url);
79 TestNavigationObserver navigation_observer(shell()->web_contents(), 1); in IN_PROC_BROWSER_TEST_F()
80 shell()->LoadURL(test_url); in IN_PROC_BROWSER_TEST_F()
92 TestNavigationObserver navigation_observer(shell()->web_contents(), 1); in IN_PROC_BROWSER_TEST_F()
93 shell()->LoadURL(test_url); in IN_PROC_BROWSER_TEST_F()
105 TestNavigationObserver navigation_observer(shell()->web_contents(), 1); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/v8/tools/testrunner/objects/
Dpeer.py47 def AddTests(self, shell): argument
53 if shell.shell not in self.shells:
54 self.shells.add(shell.shell)
55 while len(shell.tests) > 0 and self.needed_work > 0:
56 t = shell.tests.pop()
59 shell.total_duration -= t.duration
62 def ForceAddOneTest(self, test, shell): argument
64 if shell.shell not in self.shells:
65 self.shells.add(shell.shell)
68 shell.total_duration -= test.duration
/external/chromium_org/content/browser/screen_orientation/
Dscreen_orientation_browsertest.cc50 RenderWidgetHost* rwh = shell()->web_contents()->GetRenderWidgetHostView() in SendFakeScreenOrientation()
81 ExecuteScriptAndGetValue(shell()->web_contents()->GetMainFrame(), in GetOrientationAngle()
88 ExecuteScriptAndGetValue(shell()->web_contents()->GetMainFrame(), in GetOrientationType()
95 ExecuteScriptAndGetValue(shell()->web_contents()->GetMainFrame(), in ScreenOrientationSupported()
102 ExecuteScriptAndGetValue(shell()->web_contents()->GetMainFrame(), in WindowOrientationSupported()
109 ExecuteScriptAndGetValue(shell()->web_contents()->GetMainFrame(), in GetWindowOrientationAngle()
130 TestNavigationObserver navigation_observer(shell()->web_contents(), 1); in IN_PROC_BROWSER_TEST_F()
131 shell()->LoadURL(test_url); in IN_PROC_BROWSER_TEST_F()
134 WaitForResizeComplete(shell()->web_contents()); in IN_PROC_BROWSER_TEST_F()
152 TestNavigationObserver navigation_observer(shell()->web_contents()); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/mojo/
Dmojo.gyp103 # GN version: //mojo/shell:external_service_bindings
107 'shell/external_service.mojom',
144 # GN version: //mojo/shell:lib
163 'shell/app_child_process.cc',
164 'shell/app_child_process.h',
165 'shell/app_child_process.mojom',
166 'shell/app_child_process_host.cc',
167 'shell/app_child_process_host.h',
168 'shell/child_process.cc',
169 'shell/child_process.h',
[all …]
/external/chromium_org/build/android/pylib/
Dcmd_helper.py23 def Popen(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): argument
26 shell=shell, close_fds=True, env=env,
30 def Call(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): argument
31 pipe = Popen(args, stdout=stdout, stderr=stderr, shell=shell, cwd=cwd,
53 def GetCmdOutput(args, cwd=None, shell=False): argument
67 (_, output) = GetCmdStatusAndOutput(args, cwd, shell)
71 def GetCmdStatusAndOutput(args, cwd=None, shell=False): argument
86 if not shell:
88 elif shell:
99 shell=shell, cwd=cwd)
[all …]
/external/chromium_org/content/browser/loader/
Dresource_dispatcher_host_browsertest.cc68 TitleWatcher title_watcher(shell()->web_contents(), expected_title16); in CheckTitleTest()
69 NavigateToURL(shell(), url); in CheckTitleTest()
74 NavigateToURL(shell(), url); in GetPopupTitle()
79 if (!ExecuteScript(shell()->web_contents(), "OpenPopup();")) in GetPopupTitle()
89 shell()->web_contents()->GetBrowserContext(), url); in GetCookies()
150 shell()->web_contents()->GetBrowserContext())->AddObserver(this); in IN_PROC_BROWSER_TEST_F()
171 shell(), embedded_test_server()->GetURL("/sync_xmlhttprequest.html")); in IN_PROC_BROWSER_TEST_F()
176 shell()->web_contents(), in IN_PROC_BROWSER_TEST_F()
187 shell(), in IN_PROC_BROWSER_TEST_F()
193 shell()->web_contents(), in IN_PROC_BROWSER_TEST_F()
[all …]
/external/valgrind/main/none/tests/
Dshell.stderr.exp-dash21 ./shell: 10: ./shell: ./x86/: Permission denied
2 ./shell: 13: ./shell: ./shell.vgtest: Permission denied
7 ./shell: 22: ./shell: ./shell_nosuchfile: not found
8 ./shell: 25: ./shell: shell_nosuchfile: not found
/external/chromium_org/content/browser/renderer_host/
Drender_view_host_browsertest.cc67 RenderViewHostTestWebContentsObserver observer(shell()->web_contents()); in IN_PROC_BROWSER_TEST_F()
70 NavigateToURL(shell(), test_url); in IN_PROC_BROWSER_TEST_F()
80 RenderViewHostTestWebContentsObserver observer(shell()->web_contents()); in IN_PROC_BROWSER_TEST_F()
84 NavigateToURL(shell(), test_url); in IN_PROC_BROWSER_TEST_F()
93 NavigateToURL(shell(), test_url); in IN_PROC_BROWSER_TEST_F()
103 NavigateToURL(shell(), test_url); in IN_PROC_BROWSER_TEST_F()
106 shell()->web_contents())->GetFrameTree()->root(); in IN_PROC_BROWSER_TEST_F()
110 EXPECT_TRUE(ExecuteScript(shell()->web_contents(), "window.open();")); in IN_PROC_BROWSER_TEST_F()
124 NavigateToURL(shell(), test_url); in IN_PROC_BROWSER_TEST_F()
126 RenderViewHost* rvh = shell()->web_contents()->GetRenderViewHost(); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/ash/wm/
Dapp_list_controller_unittest.cc84 Shell* shell = Shell::GetInstance(); in TEST_P() local
85 shell->ShowAppList(NULL); in TEST_P()
87 aura::Window* app_window = shell->GetAppListWindow(); in TEST_P()
89 ui::test::EventGenerator generator(shell->GetPrimaryRootWindow(), app_window); in TEST_P()
92 EXPECT_TRUE(shell->GetAppListTargetVisibility()); in TEST_P()
99 EXPECT_TRUE(shell->GetPrimaryRootWindow()->bounds().Contains(point_outside)); in TEST_P()
102 EXPECT_FALSE(shell->GetAppListTargetVisibility()); in TEST_P()
107 Shell* shell = Shell::GetInstance(); in TEST_P() local
108 shell->ShowAppList(NULL); in TEST_P()
110 aura::Window* app_window = shell->GetAppListWindow(); in TEST_P()
[all …]
/external/chromium_org/chromecast/shell/browser/android/
Dcast_window_android.cc18 namespace shell { namespace
49 CastWindowAndroid* shell = CreateCastWindowAndroid( in CreateNewWindow() local
53 shell->LoadURL(url); in CreateNewWindow()
54 return shell; in CreateNewWindow()
61 CastWindowAndroid* shell = new CastWindowAndroid(web_contents); in CreateCastWindowAndroid() local
65 CreateCastWindowView(shell)); in CreateCastWindowAndroid()
67 shell->java_object_.Reset(env, shell_android.Release()); in CreateCastWindowAndroid()
68 shell->web_contents_.reset(web_contents); in CreateCastWindowAndroid()
69 web_contents->SetDelegate(shell); in CreateCastWindowAndroid()
72 env, shell->java_object_.obj(), reinterpret_cast<jint>(web_contents)); in CreateCastWindowAndroid()
[all …]
/external/chromium_org/content/browser/accessibility/
Daccessibility_mode_browsertest.cc29 return static_cast<WebContentsImpl*>(shell()->web_contents()); in web_contents()
66 NavigateToURL(shell(), GURL(kMinimalPageDataURL)); in IN_PROC_BROWSER_TEST_F()
75 NavigateToURL(shell(), GURL(kMinimalPageDataURL)); in IN_PROC_BROWSER_TEST_F()
79 AccessibilityNotificationWaiter waiter(shell()); in IN_PROC_BROWSER_TEST_F()
88 NavigateToURL(shell(), GURL(kMinimalPageDataURL)); in IN_PROC_BROWSER_TEST_F()
92 AccessibilityNotificationWaiter waiter(shell()); in IN_PROC_BROWSER_TEST_F()
103 NavigateToURL(shell(), GURL(kMinimalPageDataURL)); in IN_PROC_BROWSER_TEST_F()
105 AccessibilityNotificationWaiter waiter(shell()); in IN_PROC_BROWSER_TEST_F()
115 AccessibilityNotificationWaiter waiter2(shell()); in IN_PROC_BROWSER_TEST_F()

12345678910>>...53