/external/chromium_org/base/process/ |
process_posix.cc | 5 #include "base/process/process.h" 12 #include "base/process/kill.h" 17 Process Process::Current() { 18 return Process(GetCurrentProcessHandle()); 21 ProcessId Process::pid() const { 28 bool Process::is_current() const { 32 void Process::Close() { 34 // if the process wasn't terminated (so we waited) or the stat [all...] |
process.h | 10 #include "base/process/process_handle.h" 15 class BASE_EXPORT Process { 17 Process() : process_(kNullProcessHandle) { 20 explicit Process(ProcessHandle handle) : process_(handle) { 23 // A handle to the current process. 24 static Process Current(); 28 // Get/Set the handle for this process. The handle will be 0 if the process 35 // Get the PID for this process. 38 // Is the this process the current process [all...] |
process_win.cc | 5 #include "base/process/process.h" 13 void Process::Close() { 24 void Process::Terminate(int result_code) { 38 bool Process::IsProcessBackgrounded() const { 48 bool Process::SetProcessBackgrounded(bool value) { 53 // by it. Unfortunately it can only be set for the calling process. 66 ProcessId Process::pid() const { 73 bool Process::is_current() const { 78 Process Process::Current() [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
ProcessTest.java | 20 import android.os.Process; 32 assertEquals(android.os.Process.SYSTEM_UID, Process.getUidForName("system")); 33 assertEquals(Process.BLUETOOTH_UID, Process.getUidForName("bluetooth")); 34 assertEquals(Process.FIRST_APPLICATION_UID, Process.getUidForName("u0_a0")); 35 assertEquals(UserHandle.getUid(1, Process.SYSTEM_UID), Process.getUidForName("u1_system")); 36 assertEquals(UserHandle.getUid(2, Process.FIRST_ISOLATED_UID) [all...] |
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...] |
/external/deqp/framework/delibs/decpp/ |
deProcess.cpp | 31 Process::Process (void) 38 Process::~Process (void) 43 void Process::start (const char* commandLine, const char* workingDirectory) 49 void Process::waitForFinish (void) 55 void Process::terminate (void) 61 void Process::kill (void) 67 void Process::closeStdIn (void) 73 void Process::closeStdOut (void [all...] |
deProcess.hpp | 41 class Process 44 Process (void); 45 ~Process (void); 65 Process (const Process& other); 66 Process& operator= (const Process& other);
|
/frameworks/base/services/core/java/com/android/server/os/ |
SchedulingPolicyService.java | 22 import android.os.Process; 48 if (Binder.getCallingUid() != Process.MEDIA_UID || prio < PRIORITY_MIN || 49 prio > PRIORITY_MAX || Process.getThreadGroupLeader(tid) != pid) { 54 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ? 55 Process.THREAD_GROUP_AUDIO_SYS : Process.THREAD_GROUP_AUDIO_APP); 57 Process.setThreadScheduler(tid, Process.SCHED_FIFO, prio);
|
/external/chromium_org/tools/grit/grit/tool/ |
preprocess_interface.py | 16 def Process(self, rctext, rcpath):
|
postprocess_interface.py | 18 def Process(self, rctext, rcpath, grdnode):
|
/packages/apps/Browser/src/com/android/browser/ |
Performance.java | 21 import android.os.Process; 39 Process.PROC_SPACE_TERM | Process.PROC_COMBINE, 40 Process.PROC_SPACE_TERM | Process.PROC_OUT_LONG, // 1: user time 41 Process.PROC_SPACE_TERM | Process.PROC_OUT_LONG, // 2: nice time 42 Process.PROC_SPACE_TERM | Process.PROC_OUT_LONG, // 3: sys time 43 Process.PROC_SPACE_TERM | Process.PROC_OUT_LONG, // 4: idle tim [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
ProcessTest.java | 24 import android.os.Process; 105 int myTid = Process.myTid(); 107 int priority = Process.getThreadPriority(myTid); 109 && priority <= Process.THREAD_PRIORITY_LOWEST); 111 Process.setThreadPriority(Process.THREAD_PRIORITY_AUDIO); 112 assertEquals(Process.THREAD_PRIORITY_AUDIO, Process.getThreadPriority(myTid)); 114 Process.setThreadPriority(myTid, Process.THREAD_PRIORITY_LOWEST) [all...] |
CtsRemoteService.java | 22 import android.os.Process; 29 android.util.Log.d("Process test stub", "CtsRemoteServiceProcessPid:" + Process.myPid()); 34 return Process.myPid(); 38 return Process.getElapsedCpuTime();
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
PermissionMaxSdkVersionTest.java | 20 import android.os.Process; 40 Process.myPid(), Process.myUid()); 53 Process.myPid(), Process.myUid());
|
/external/lldb/source/Plugins/ |
Makefile | 17 SymbolFile/DWARF SymbolFile/Symtab Process/Utility \ 18 DynamicLoader/Static Platform Process/gdb-remote Instruction/ARM \ 26 DIRS += Process/MacOSX-Kernel 30 #DIRS += Process/MacOSX-User 31 DIRS += Process/mach-core 36 DIRS += Process/Linux Process/POSIX 38 DIRS += Process/elf-core 42 DIRS += Process/FreeBSD Process/POSI [all...] |
Android.mk | 23 Process/gdb-remote \ 24 Process/Utility \ 36 Process/mach-core \ 37 Process/MacOSX-Kernel \ 44 Process/elf-core \ 45 Process/Linux \ 46 Process/POSIX \ 52 Process/elf-core \ 53 Process/FreeBSD \ 54 Process/POSIX [all...] |
/cts/tests/app/src/android/app/cts/ |
StubRemoteService.java | 22 import android.os.Process; 29 android.util.Log.d("Process test stub", "StubRemoteServiceProcessPid:" + Process.myPid()); 34 return Process.myPid(); 38 return Process.getElapsedCpuTime();
|
/external/lldb/source/Plugins/Process/Utility/ |
InferiorCallPOSIX.h | 19 class Process; 33 bool InferiorCallMmap(Process *proc, lldb::addr_t &allocated_addr, 37 bool InferiorCallMunmap(Process *proc, lldb::addr_t addr, lldb::addr_t length); 39 bool InferiorCall(Process *proc, const Address *address, lldb::addr_t &returned_func);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
PriorityThreadFactory.java | 19 import android.os.Process; 34 * For values, see {@link Process}. 44 Process.setThreadPriority(mPriority);
|
/external/lldb/include/lldb/Target/ |
DynamicLoader.h | 25 /// unloading. The class is initialized given a live process that is 28 /// Dynamic loader plug-ins can track the process by registering 30 /// Process::RegisterNotificationCallbacks (const Notifications&) 33 /// Breakpoints can also be set in the process which can register 35 /// Process::BreakpointSetCallback (lldb::user_id_t, BreakpointHitCallback, void *). 37 /// the process should continue or halt and should return the global 46 /// Find a dynamic loader plugin for a given process. 50 /// process. 52 /// @param[in] process 53 /// The process for which to try and locate a dynamic loade [all...] |
OperatingSystem.h | 26 /// Halted OS plug-ins can be used by any process to locate and create 39 /// Find a halted OS plugin for a given process. 45 /// @param[in] process 46 /// The process for which to try and locate a halted OS 54 FindPlugin (Process *process, const char *plugin_name); 59 OperatingSystem (Process *process); 94 Process* m_process; ///< The process that this dynamic loader plug-in is tracking [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
RemoteSubActivityScreen.java | 23 import android.os.Process; 35 // We are running in a remote process, so want to have the sub-activity 36 // sending the result back in the original process. 43 //Log.i("foo", "RemoteSubActivityScreen pid=" + Process.myPid() 47 // After finishing initialization, kill the process! But only if 53 Process.killProcess(Process.myPid());
|
/external/chromium_org/ui/base/accelerators/ |
accelerator_manager_unittest.cc | 70 EXPECT_TRUE(manager_.Process(accelerator_a)); 85 EXPECT_TRUE(manager_.Process(accelerator_a)); 102 EXPECT_TRUE(manager_.Process(accelerator_a)); 108 EXPECT_FALSE(manager_.Process(accelerator_a)); 127 EXPECT_FALSE(manager_.Process(accelerator_a)); 128 EXPECT_FALSE(manager_.Process(accelerator_b)); 132 EXPECT_TRUE(manager_.Process(accelerator_c)); 136 TEST_F(AcceleratorManagerTest, Process) { 148 EXPECT_TRUE(manager_.Process(accelerator)) << text; 153 EXPECT_FALSE(manager_.Process(accelerator)) << text; // different typ [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/ |
rms_level.h | 24 // Process(). When enough chunks have been accumulated to form a packet, call 37 // Pass each chunk of audio to Process() to accumulate the level. 38 void Process(const int16_t* data, int length); 44 // Computes the RMS level over all data passed to Process() since the last
|
/external/lldb/source/Plugins/Process/Linux/ |
LinuxThread.h | 27 LinuxThread(lldb_private::Process &process, lldb::tid_t tid);
|