/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
ProcessTest.java | 29 ArrayList<Process> children = new ArrayList<Process>(); 41 Process ps = Runtime.getRuntime().exec(psCommand, null, null); 53 Process p = Runtime.getRuntime().exec(commands, null, null); 81 Process p = Runtime.getRuntime().exec(commands, null, null); 110 Process process = Runtime.getRuntime().exec(commands, null, null); local 111 process.waitFor(); 112 assertEquals(0, process.exitValue()); 115 process = Runtime.getRuntime().exec(commandsSleep, null, null) 130 Process process = Runtime.getRuntime().exec(commands, null, null); local [all...] |
/external/chromium_org/chrome/common/ |
service_process_util.h | 14 #include "base/process/process.h" 32 // Return the IPC channel to connect to the service process. 36 // Return a name that is scoped to this instance of the service process. We 40 // Return a name that is scoped to this instance of the service process. We 58 // The following methods are used in a process that acts as a client to the 59 // service process (typically the browser process). 61 // This method checks that if the service process is ready to receive 65 // Returns the process id and version of the currently running service process [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/SystemEvents/ |
Processes_Suite.py | 51 """application process - A process launched from an application file """ 54 """application file - a reference to the application file from which this process was launched """ 61 """desk accessory process - A process launched from an desk accessory file """ 64 """desk accessory file - a reference to the desk accessory file from which this process was launched """ 70 class process(aetools.ComponentItem): class in inherits:aetools.ComponentItem 71 """process - A process running on this computer """ 74 """accepts high level events - Is the process high-level event aware (accepts open application, open document, print document, and quit)? "" [all...] |
/external/ltrace/ |
proc.h | 59 STATE_IGNORED /* ignore this process (it's a fork and no -f was used) */ 84 * have struct process for the whole group and struct task (or struct 87 struct process { struct 89 struct process *parent; /* needed by STATE_BEING_CREATED */ 98 int mask_32bit; /* 1 if 64-bit ltrace is tracing 32-bit process */ 136 * Process chaining. 138 struct process *next; 140 /* LEADER points to the leader thread of the POSIX.1 process. 142 process structures chained by NEXT represent other threads, 145 that case this process is waiting to be collected. * [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/ |
JDWPUnitDebuggeeProcessWrapper.java | 36 * which can launch and control debuggee process. 41 * Target VM debuggee process. 43 public Process process; field in class:JDWPUnitDebuggeeProcessWrapper 61 * Launches process and redirects output. 64 logWriter.println("Launch process: " + cmdLine); 65 process = launchProcess(cmdLine); 66 logWriter.println("Launched process"); 67 if (process != null) { 69 errRedir = new StreamRedirector(process.getErrorStream(), logWriter, "STDERR") [all...] |
/external/chromium_org/content/public/browser/ |
browser_child_process_host.h | 9 #include "base/process/kill.h" 10 #include "base/process/process_handle.h" 11 #include "base/process/process_metrics.h" 30 // This represents child processes of the browser process, i.e. plugins. They 34 // Used to create a child process host. The delegate must outlive this object. 43 // Derived classes call this to launch the child process asynchronously. 55 // status returned when the process exited (for posix, as returned 64 // Sets the user-visible name of the process. 67 // Set the handle of the process. BrowserChildProcessHost will do this when 68 // the Launch method is used to start the process. However if the owne [all...] |
utility_process_host.h | 9 #include "base/process/launch.h" 23 // This class acts as the browser-side host to a utility child process. A 24 // utility process is a short-lived process that is created to run a specific 26 // If you need a single method call in the process, use StartFooBar(p). 27 // If you need multiple batches of work to be done in the process, use 37 // Used to create a utility process. 44 // Starts utility process in batch mode. Caller must call EndBatchMode() 45 // to finish the utility process. 48 // Ends the utility process. Must be called after StartBatchMode() [all...] |
browser_child_process_host_delegate.h | 18 // Delegates return true if it's ok to shut down the child process (which is 20 // sending a request to the process, in which case the other side might think 24 // Called when the process has been started. 27 // Called if the process failed to launch. In this case the process never 31 // Called if the process crashed. |exit_code| is the status returned when the 32 // process crashed (for posix, as returned from waitpid(), for Windows, as
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/Finder/ |
Legacy_suite.py | 83 """application process - A process launched from an application file """ 86 """<Inheritance> - inherits some of its properties from the process class """ 90 """application file - the application file from which this process was launched """ 97 """desk accessory process - A process launched from a desk accessory file """ 100 """desk accessory file - the desk accessory file from which this process was launched """ 106 class process(aetools.ComponentItem): class in inherits:aetools.ComponentItem 107 """process - A process running on this computer "" [all...] |
/external/lldb/test/macosx/universal/ |
TestUniversal.py | 34 # Now launch the process, and do not stop at entry point. 35 process = target.LaunchSimple(None, None, os.getcwd()) 36 self.assertTrue(process, PROCESS_IS_VALID) 38 # rdar://problem/8972204 AddressByteSize of 32-bit process should be 4, got 8 instead. 42 """Test process launch of a universal binary.""" 62 # Check whether we have a 64-bit process launched. 64 process = target.GetProcess() 65 self.assertTrue(target and process and 66 self.invoke(process, 'GetAddressByteSize') == 8, 67 "64-bit process launched" [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
BinderThreadPriorityTest.java | 78 mSavedPriority = Process.getThreadPriority(Process.myTid()); 79 Process.setThreadPriority(mSavedPriority); // To realign priority & cgroup, if needed 88 Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); 89 Process.setThreadPriority(mSavedPriority); 90 assertEquals(mSavedPriority, Process.getThreadPriority(Process.myTid())); 98 String fn = "/proc/" + Process.myPid() + "/task/" + Process.myTid() + "/cgroup" [all...] |
/cts/tests/ProcessTest/ |
AndroidManifest.xml | 17 package="com.android.cts.process" 18 android:sharedUserId="com.android.cts.process.uidpid_test"> 22 android:targetPackage="com.android.cts.process" 23 android:label="Test process"/> 29 android:process=":shareProcess"/> 31 android:process=":shareProcess"/> 33 android:process=":noShareProcess"/>
|
/external/chromium_org/components/nacl/browser/ |
nacl_broker_host_win.h | 12 #include "base/process/process.h" 26 // This function starts the broker process. It needs to be called 30 // Send a message to the broker process, causing it to launch 31 // a Native Client loader process. 38 // Stop the broker process. 41 // Returns true if the process has been asked to terminate. If true, this
|
/external/chromium_org/content/browser/android/ |
child_process_launcher_android.h | 12 #include "base/process/process.h" 18 // Starts a process as a child process spawned by the Android 20 // The created process handle is returned to the |callback| on success, 0 is 21 // retuned if the process could not be created. 28 // Stops a child process based on the handle returned form
|
/external/lldb/test/api/multithreaded/ |
listener_test.cpp | 1 // LLDB test snippet that registers a listener with a process that hits 42 SBProcess process = target.Launch(g_listener, local 49 throw Exception("Error launching process."); 52 SBProcess process = target.LaunchSimple(0, 0, working_dir.get()); 54 // get debugger listener (which is attached to process by default) 58 // FIXME: because a listener is attached to the process at launch-time, 62 // process.GetBroadcaster().AddListener(g_listener,
|
/external/lldb/source/API/ |
SBFrame.cpp | 34 #include "lldb/Target/Process.h" 119 Process *process = exe_ctx.GetProcessPtr(); local 120 if (target && process) 122 Process::StopLocker stop_locker; 123 if (stop_locker.TryLock(&process->GetRunLock())) 139 log->Printf ("SBFrame::GetSymbolContext () => error: process is running"); 161 Process *process = exe_ctx.GetProcessPtr(); local 162 if (target && process) 203 Process *process = exe_ctx.GetProcessPtr(); local 243 Process *process = exe_ctx.GetProcessPtr(); local 283 Process *process = exe_ctx.GetProcessPtr(); local 322 Process *process = exe_ctx.GetProcessPtr(); local 361 Process *process = exe_ctx.GetProcessPtr(); local 400 Process *process = exe_ctx.GetProcessPtr(); local 456 Process *process = exe_ctx.GetProcessPtr(); local 496 Process *process = exe_ctx.GetProcessPtr(); local 537 Process *process = exe_ctx.GetProcessPtr(); local 577 Process *process = exe_ctx.GetProcessPtr(); local 617 Process *process = exe_ctx.GetProcessPtr(); local 683 Process *process = exe_ctx.GetProcessPtr(); local 752 Process *process = exe_ctx.GetProcessPtr(); local 839 Process *process = exe_ctx.GetProcessPtr(); local 1019 Process *process = exe_ctx.GetProcessPtr(); local 1091 Process *process = exe_ctx.GetProcessPtr(); local 1179 Process *process = exe_ctx.GetProcessPtr(); local 1229 Process *process = exe_ctx.GetProcessPtr(); local 1286 Process *process = exe_ctx.GetProcessPtr(); local 1379 Process *process = exe_ctx.GetProcessPtr(); local 1441 Process *process = exe_ctx.GetProcessPtr(); local 1479 Process *process = exe_ctx.GetProcessPtr(); local [all...] |
/external/chromium_org/base/process/ |
kill_win.cc | 5 #include "base/process/kill.h" 14 #include "base/process/process_iterator.h" 28 // process. It's value is obviously not that unique, and it's 32 // process goes away. 35 // Maximum amount of time (in milliseconds) to wait for the process to exit. 40 explicit TimerExpiredTask(ProcessHandle process); 51 // The process that we are watching. 59 TimerExpiredTask::TimerExpiredTask(ProcessHandle process) : process_(process) { 79 // Stop watching the process handle since we're killing it 110 HANDLE process = OpenProcess(PROCESS_TERMINATE | SYNCHRONIZE, local 211 HANDLE process = OpenProcess(SYNCHRONIZE, local [all...] |
/external/chromium_org/remoting/host/ |
desktop_session_connector.h | 9 #include "base/process/process.h" 24 // Requests the daemon process to create a desktop session and associates 33 // Requests the daemon process disconnect |desktop_session_proxy| from 43 // Notifies the network process that |terminal_id| is now attached to 44 // a desktop integration process. |desktop_process| specifies the process 46 // process. 52 // Notifies the network process that the daemon has disconnected the desktop
|
/external/chromium_org/sandbox/linux/services/ |
scoped_process.h | 10 #include "base/process/process_handle.h" 15 // fork() a child process that will run a Closure. 20 // This class cannot be instanciated from a multi-threaded process, as it needs 24 // A new process will be created and |child_callback| will run in the child 25 // process. This callback is allowed to terminate the process or to simply 26 // return. If the callback returns, the process will wait forever. 30 // Wait for the process to exit. 33 // When this returns, the process will still not have been reaped and will
|
/external/lldb/docs/testsuite/2010-10-19-14_10_49.059609/ |
TestSettings.SettingsCommandTestCase.test_set_output_path.log | 16 runCmd: settings set target.process.output-path 'stdout.txt' 19 runCmd: settings show target.process.output-path 20 output: target.process.output-path (string) = 'stdout.txt' 23 Expecting start string: target.process.output-path (string) = 'stdout.txt' 27 output: Process 43533 launched: '/Volumes/data/lldb/svn/trunk/test/settings/a.out' (x86_64) 32 runCmd: process kill 35 error: Process must be launched. 40 "'stdout.txt' exists due to target.process.output-path.") 41 AssertionError: False is not True : 'stdout.txt' exists due to target.process.output-path.
|
/external/lldb/test/python_api/hello_world/ |
TestHelloWorld.py | 1 """Test Python APIs for target (launch and attach), breakpoint, and process.""" 17 """Create target, breakpoint, launch a process, and then kill it. 19 Use dsym info and process launch API. 28 """Create target, breakpoint, launch a process, and then kill it. 30 Use dwarf debug map and process launch API. 40 """Create target, spawn a process, and attach to it with process id. 42 Use dsym info and attach to process with id API. 51 """Create target, spawn a process, and attach to it with process id [all...] |
/build/core/ |
process_wrapper.sh | 3 # When using a process wrapper, this is the top-level 6 # interact with the new process. 9 # the user can debug the new process.
|
/external/chromium_org/chrome/browser/task_manager/ |
os_resource_win.h | 8 #include "base/process/process_handle.h" 13 void GetWinGDIHandles(base::ProcessHandle process, 18 void GetWinUSERHandles(base::ProcessHandle process,
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/processes/process_monitor/ |
popup.html | 26 <div id="title"><b>Process Monitor</b></div> 27 <div id="process-list"><i>Loading...</i></div> 29 <input type="button" value="End Process" id="killProcess" />
|
/external/chromium_org/content/common/android/ |
surface_texture_peer.h | 8 #include "base/process/process.h" 20 // process.
|