/frameworks/native/libs/binder/ |
D | ProcessState.cpp | 74 sp<ProcessState> ProcessState::self() in self() 80 gProcess = new ProcessState(kDefaultDriver); in self() 84 sp<ProcessState> ProcessState::initWithDriver(const char* driver) in initWithDriver() 101 gProcess = new ProcessState(driver); in initWithDriver() 105 sp<ProcessState> ProcessState::selfOrNull() in selfOrNull() 111 void ProcessState::setContextObject(const sp<IBinder>& object) in setContextObject() 116 sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& /*caller*/) in getContextObject() 121 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) in setContextObject() 127 sp<IBinder> ProcessState::getContextObject(const String16& name, const sp<IBinder>& caller) in getContextObject() 163 void ProcessState::startThreadPool() in startThreadPool() [all …]
|
/frameworks/native/libs/binder/include/binder/ |
D | ProcessState.h | 34 class ProcessState : public virtual RefBase 37 static sp<ProcessState> self(); 38 static sp<ProcessState> selfOrNull(); 46 static sp<ProcessState> initWithDriver(const char *driver); 95 explicit ProcessState(const char* driver); 96 ~ProcessState(); 98 ProcessState(const ProcessState& o); 99 ProcessState& operator=(const ProcessState& o);
|
D | BinderService.h | 57 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool()
|
D | IPCThreadState.h | 40 sp<ProcessState> process(); 174 const sp<ProcessState> mProcess; 194 ProcessState::CallRestriction mCallRestriction;
|
/frameworks/native/libs/binder/ndk/ |
D | process.cpp | 25 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/media/audioserver/ |
D | main_audioserver.cpp | 66 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/av/drm/drmserver/ |
D | main_drmserver.cpp | 33 sp<ProcessState> proc(ProcessState::self()); in main() 37 ProcessState::self()->startThreadPool(); in main()
|
/frameworks/av/services/mediadrm/ |
D | main_mediadrmserver.cpp | 37 sp<ProcessState> proc(ProcessState::self()); in main() 41 ProcessState::self()->startThreadPool(); in main()
|
/frameworks/av/camera/cameraserver/ |
D | main_cameraserver.cpp | 33 sp<ProcessState> proc(ProcessState::self()); in main() 37 ProcessState::self()->startThreadPool(); in main()
|
/frameworks/av/services/mediaanalytics/ |
D | main_mediametrics.cpp | 40 sp<ProcessState> proc(ProcessState::self()); in main() 46 ProcessState::self()->startThreadPool(); in main()
|
/frameworks/base/cmds/bootanimation/ |
D | bootanimation_main.cpp | 44 sp<ProcessState> proc(ProcessState::self()); in main() 45 ProcessState::self()->startThreadPool(); in main()
|
/frameworks/av/media/mediaserver/ |
D | main_mediaserver.cpp | 38 sp<ProcessState> proc(ProcessState::self()); in main() 45 ProcessState::self()->startThreadPool(); in main()
|
/frameworks/native/services/gpuservice/ |
D | main_gpuservice.cpp | 34 ProcessState::self()->setThreadPoolMaxThreadCount(4); in main() 37 sp<ProcessState> ps(ProcessState::self()); in main()
|
/frameworks/av/services/mediaextractor/ |
D | main_extractorservice.cpp | 61 sp<ProcessState> proc(ProcessState::self()); in main() 65 ProcessState::self()->startThreadPool(); in main()
|
/frameworks/base/cmds/idmap2/idmap2d/ |
D | Main.cpp | 32 using android::ProcessState; 43 sp<ProcessState> ps(ProcessState::self()); in main()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessStats.java | 191 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/native/services/surfaceflinger/ |
D | main_surfaceflinger.cpp | 85 ProcessState::self()->setThreadPoolMaxThreadCount(4); in main() 88 sp<ProcessState> ps(ProcessState::self()); in main()
|
/frameworks/base/cmds/bootanimation/iot/ |
D | iotbootanimation_main.cpp | 116 sp<ProcessState> proc(ProcessState::self()); in main() 117 ProcessState::self()->startThreadPool(); in main()
|
/frameworks/base/cmds/incidentd/src/ |
D | main.cpp | 40 sp<ProcessState> ps(ProcessState::self()); in main()
|
/frameworks/native/services/vr/virtual_touchpad/ |
D | main.cpp | 16 android::sp<android::ProcessState> ps(android::ProcessState::self()); in main()
|
/frameworks/av/services/mediacodec/ |
D | main_codecservice.cpp | 45 android::ProcessState::initWithDriver("/dev/vndbinder"); in main() 46 android::ProcessState::self()->startThreadPool(); in main()
|
/frameworks/native/services/vr/hardware_composer/ |
D | vr_hardware_composer_service.cpp | 25 android::ProcessState::self()->startThreadPool(); in main() 51 android::hardware::ProcessState::self()->startThreadPool(); in main()
|
/frameworks/base/cmds/app_process/ |
D | app_main.cpp | 81 sp<ProcessState> proc = ProcessState::self(); in onStarted() 94 sp<ProcessState> proc = ProcessState::self(); in onZygoteInit()
|
/frameworks/base/cmds/statsd/src/ |
D | main.cpp | 75 sp<ProcessState> ps(ProcessState::self()); in main()
|
/frameworks/av/media/codec2/hidl/services/ |
D | vendor.cpp | 106 android::ProcessState::initWithDriver("/dev/vndbinder"); in main() 107 android::ProcessState::self()->startThreadPool(); in main()
|