Home
last modified time | relevance | path

Searched refs:ProcessState (Results 1 – 25 of 102) sorted by relevance

12345

/frameworks/native/libs/binder/
DProcessState.cpp75 sp<ProcessState> ProcessState::self() in self()
80 sp<ProcessState> ProcessState::initWithDriver(const char* driver) in initWithDriver()
85 sp<ProcessState> ProcessState::selfOrNull() in selfOrNull()
90 sp<ProcessState> ProcessState::init(const char *driver, bool requireDefault) in init()
92 [[clang::no_destroy]] static sp<ProcessState> gProcess; in init()
108 gProcess = new ProcessState(driver); in init()
123 sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& /*caller*/) in getContextObject()
138 void ProcessState::startThreadPool() in startThreadPool()
147 bool ProcessState::becomeContextManager(context_check_func checkFunc, void* userData) in becomeContextManager()
182 ssize_t ProcessState::getKernelReferences(size_t buf_count, uintptr_t* buf) in getKernelReferences()
[all …]
/frameworks/native/include/binder/
DProcessState.h34 class ProcessState : public virtual RefBase
37 static sp<ProcessState> self();
38 static sp<ProcessState> selfOrNull();
48 static sp<ProcessState> initWithDriver(const char *driver);
95 static sp<ProcessState> init(const char *defaultDriver, bool requireDefault);
99 explicit ProcessState(const char* driver);
100 ~ProcessState();
102 ProcessState(const ProcessState& o);
103 ProcessState& operator=(const ProcessState& o);
DBinderService.h57 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool()
DIPCThreadState.h38 sp<ProcessState> process();
171 const sp<ProcessState> mProcess;
191 ProcessState::CallRestriction mCallRestriction;
/frameworks/native/libs/binder/include/binder/
DProcessState.h34 class ProcessState : public virtual RefBase
37 static sp<ProcessState> self();
38 static sp<ProcessState> selfOrNull();
48 static sp<ProcessState> initWithDriver(const char *driver);
95 static sp<ProcessState> init(const char *defaultDriver, bool requireDefault);
99 explicit ProcessState(const char* driver);
100 ~ProcessState();
102 ProcessState(const ProcessState& o);
103 ProcessState& operator=(const ProcessState& o);
DBinderService.h57 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool()
DIPCThreadState.h38 sp<ProcessState> process();
171 const sp<ProcessState> mProcess;
191 ProcessState::CallRestriction mCallRestriction;
/frameworks/av/media/audioserver/
Dmain_audioserver.cpp66 sp<ProcessState> proc(ProcessState::self()); in main()
68 ProcessState::self()->startThreadPool(); in main()
136 sp<ProcessState> proc(ProcessState::self()); in main()
152 ProcessState::self()->startThreadPool(); in main()
/frameworks/native/libs/binder/ndk/
Dprocess.cpp25 using ::android::ProcessState;
28 ProcessState::self()->startThreadPool(); in ABinderProcess_startThreadPool()
29 ProcessState::self()->giveThreadPoolName(); in ABinderProcess_startThreadPool()
32 return ProcessState::self()->setThreadPoolMaxThreadCount(numThreads) == 0; in ABinderProcess_setThreadPoolMaxThreadCount()
/frameworks/av/drm/drmserver/
Dmain_drmserver.cpp33 sp<ProcessState> proc(ProcessState::self()); in main()
37 ProcessState::self()->startThreadPool(); in main()
/frameworks/av/services/mediadrm/
Dmain_mediadrmserver.cpp37 sp<ProcessState> proc(ProcessState::self()); in main()
41 ProcessState::self()->startThreadPool(); in main()
/frameworks/av/services/mediaanalytics/
Dmain_mediametrics.cpp40 sp<ProcessState> proc(ProcessState::self()); in main()
46 ProcessState::self()->startThreadPool(); in main()
/frameworks/base/cmds/bootanimation/
Dbootanimation_main.cpp44 sp<ProcessState> proc(ProcessState::self()); in main()
45 ProcessState::self()->startThreadPool(); in main()
/frameworks/av/media/mediaserver/
Dmain_mediaserver.cpp38 sp<ProcessState> proc(ProcessState::self()); in main()
45 ProcessState::self()->startThreadPool(); in main()
/frameworks/native/services/gpuservice/
Dmain_gpuservice.cpp34 ProcessState::self()->setThreadPoolMaxThreadCount(4); in main()
37 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/av/camera/cameraserver/
Dmain_cameraserver.cpp33 sp<ProcessState> proc(ProcessState::self()); in main()
38 ProcessState::self()->startThreadPool(); in main()
/frameworks/av/services/mediaextractor/
Dmain_extractorservice.cpp61 sp<ProcessState> proc(ProcessState::self()); in main()
65 ProcessState::self()->startThreadPool(); in main()
/frameworks/native/cmds/servicemanager/
Dmain.cpp32 using ::android::ProcessState;
34 using ::android::ProcessState;
123 sp<ProcessState> ps = ProcessState::initWithDriver(driver); in main()
125 ps->setCallRestriction(ProcessState::CallRestriction::FATAL_IF_NOT_ONEWAY); in main()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java191 public final ProcessMap<ProcessState> mProcesses = new ProcessMap<>();
280 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add()
284 ProcessState thisProc = getProcessStateLocked(pkgName, uid, vers, in add()
318 ArrayMap<String, SparseArray<ProcessState>> procMap = other.mProcesses.getMap(); in add()
320 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add()
323 ProcessState otherProc = uids.valueAt(iu); in add()
327 ProcessState thisProc = mProcesses.get(name, uid); in add()
331 thisProc = new ProcessState(this, pkg, uid, vers, name); in add()
452 ArrayMap<String, SparseArray<ProcessState>> procMap = mProcesses.getMap(); in computeTotalMemoryUse()
454 SparseArray<ProcessState> uids = procMap.valueAt(iproc); in computeTotalMemoryUse()
[all …]
/frameworks/base/cmds/idmap2/idmap2d/
DMain.cpp32 using android::ProcessState;
43 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/native/services/surfaceflinger/
Dmain_surfaceflinger.cpp85 ProcessState::self()->setThreadPoolMaxThreadCount(4); in main()
88 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/base/cmds/incidentd/src/
Dmain.cpp40 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/native/services/vr/virtual_touchpad/
Dmain.cpp16 android::sp<android::ProcessState> ps(android::ProcessState::self()); in main()
/frameworks/av/services/mediacodec/
Dmain_codecservice.cpp46 android::ProcessState::initWithDriver("/dev/vndbinder"); in main()
47 android::ProcessState::self()->startThreadPool(); in main()
/frameworks/native/services/vr/hardware_composer/
Dvr_hardware_composer_service.cpp25 android::ProcessState::self()->startThreadPool(); in main()
51 android::hardware::ProcessState::self()->startThreadPool(); in main()

12345