HomeSort by relevance Sort by last modified time
    Searched refs:Process (Results 1 - 25 of 1724) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /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);
  /external/libchrome/base/process/
process.h 10 #include "base/process/process_handle.h"
20 #include "base/process/port_provider_mac.h"
29 // Provides a move-only encapsulation of a process.
31 // This object is not tied to the lifetime of the underlying process: the
32 // process may be killed and this object may still around, and it will still
35 // Windows: The underlying ProcessHandle will be valid after the process dies
36 // and can be used to gather some information about that process, but most
40 // the process dies, and it may be reused by the system, which means that it may
41 // end up pointing to the wrong process.
42 class BASE_EXPORT Process {
    [all...]
process_posix.cc 5 #include "base/process/process.h"
16 #include "base/process/kill.h"
32 // than |wait| for the process to exit. The child process may
38 // When a child process terminates a SIGCHLD signal is sent to the parent.
42 // Our strategy is to call waitpid() once up front to check if the process
64 // If the process hasn't exited yet, then sleep and try again.
72 // Sleep for a bit while we wait for the process to finish.
110 // If the process wasn't found, it must be dead
    [all...]
kill.cc 5 #include "base/process/kill.h"
7 #include "base/process/process_iterator.h"
17 Process process = Process::Open(entry->pid()); local
18 result &= process.Terminate(exit_code, true);
  /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...]
  /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());
  /cts/tests/autofillservice/src/android/autofillservice/cts/
SelfDestructReceiver.java 21 import android.os.Process;
25 * A {@link BroadcastReceiver} that kills its process.
34 Process.killProcess(Process.myPid());
  /cts/tests/app/app/src/android/app/stubs/
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();
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/source/opt/
compact_ids_pass.h 28 Status Process(ir::Module*) override;
eliminate_dead_constant_pass.h 28 Status Process(ir::Module*) override;
flatten_decoration_pass.h 28 Status Process(ir::Module*) override;
freeze_spec_constant_value_pass.h 28 Status Process(ir::Module*) override;
strip_debug_info_pass.h 28 Status Process(ir::Module* module) override;
unify_const_pass.h 28 Status Process(ir::Module*) override;
  /frameworks/base/services/core/java/com/android/server/os/
SchedulingPolicyService.java 23 import android.os.Process;
51 // Current process that received a cpuset boost
71 int[] nativePids = Process.getPidsForCommands(MEDIA_PROCESS_NAMES);
93 prio > PRIORITY_MAX || Process.getThreadGroupLeader(tid) != pid) {
96 if (Binder.getCallingUid() != Process.BLUETOOTH_UID) {
99 Process.setThreadGroup(tid, !isForApp ?
100 Process.THREAD_GROUP_AUDIO_SYS : Process.THREAD_GROUP_RT_APP);
108 Process.setThreadScheduler(tid, Process.SCHED_FIFO | Process.SCHED_RESET_ON_FORK
    [all...]
  /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);
  /cts/tests/tests/tv/src/android/media/tv/cts/
FaultyTvInputService.java 21 import android.os.Process;
48 Process.killProcess(Process.myPid());
71 Process.killProcess(Process.myPid());
  /external/llvm/unittests/Support/
ProcessTest.cpp 10 #include "llvm/Support/Process.h"
23 const unsigned r1 = Process::GetRandomNumber();
24 const unsigned r2 = Process::GetRandomNumber();
36 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__"));
43 Process::GetEnv("__LLVM_TEST_ENVIRON_NO_SUCH_VAR__"));
51 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__"));
  /frameworks/base/services/core/java/com/android/server/
UiThread.java 21 import android.os.Process;
36 super("android.ui", Process.THREAD_PRIORITY_FOREGROUND, false /*allowIo*/);
42 Process.setThreadGroup(Process.myTid(), Process.THREAD_GROUP_TOP_APP);
  /frameworks/base/cmds/incident_helper/src/parsers/
PsParser.cpp 36 Table table(PsProto::Process::_FIELD_NAMES, PsProto::Process::_FIELD_IDS, PsProto::Process::_FIELD_COUNT);
38 const int pcyValues[] = {PsProto::Process::POLICY_FG, PsProto::Process::POLICY_BG, PsProto::Process::POLICY_TA};
41 const int sValues[] = {PsProto::Process::STATE_D, PsProto::Process::STATE_R, PsProto::Process::STATE_S, PsProto::Process::STATE_T, PsProto::Process::STATE_TRACING, PsProto::Process::STATE_X, PsProto::Process::STATE_Z}
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
KernelWakelockReader.java 18 import android.os.Process;
38 Process.PROC_TAB_TERM|Process.PROC_OUT_STRING| // 0: name
39 Process.PROC_QUOTES,
40 Process.PROC_TAB_TERM|Process.PROC_OUT_LONG, // 1: count
41 Process.PROC_TAB_TERM,
42 Process.PROC_TAB_TERM,
43 Process.PROC_TAB_TERM,
44 Process.PROC_TAB_TERM|Process.PROC_OUT_LONG, // 5: totalTim
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowProcess.java 8 @Implements(android.os.Process.class)
19 * Returns the identifier of this process's uid. Unlike Android UIDs are randomly initialized to prevent
20 * tests from depending on any given value. Tests should access the current process UID via
21 * {@link android.os.Process#myUid()}.
29 * Sets the identifier of this process.
39 // android.os.Process.myUid(), which persists between tests.
44 // should access the current process UID via android.os.Process::myUid().
47 android.os.Process.FIRST_APPLICATION_UID, android.os.Process.LAST_APPLICATION_UID + 1)
    [all...]
  /frameworks/base/core/java/android/os/
UserHandle.java 50 * user, but if this is calling from a user process then we will send it
55 * user, but if this is calling from a user process then we will send it
97 public static final int AID_ROOT = android.os.Process.ROOT_UID;
99 public static final int AID_APP_START = android.os.Process.FIRST_APPLICATION_UID;
101 public static final int AID_APP_END = android.os.Process.LAST_APPLICATION_UID;
103 public static final int AID_SHARED_GID_START = android.os.Process.FIRST_SHARED_APPLICATION_GID;
105 public static final int AID_CACHE_GID_START = android.os.Process.FIRST_APPLICATION_CACHE_GID;
137 return appId >= Process.FIRST_ISOLATED_UID && appId <= Process.LAST_ISOLATED_UID;
151 return appId >= Process.FIRST_APPLICATION_UID && appId <= Process.LAST_APPLICATION_UID
    [all...]

Completed in 1349 milliseconds

1 2 3 4 5 6 7 8 91011>>