/frameworks/native/libs/binder/ |
D | ProcessState.cpp | 76 sp<ProcessState> ProcessState::self() in self() 81 sp<ProcessState> ProcessState::initWithDriver(const char* driver) in initWithDriver() 86 sp<ProcessState> ProcessState::selfOrNull() in selfOrNull() 91 sp<ProcessState> ProcessState::init(const char *driver, bool requireDefault) in init() 93 [[clang::no_destroy]] static sp<ProcessState> gProcess; in init() 109 gProcess = sp<ProcessState>::make(driver); in init() 124 sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& /*caller*/) in getContextObject() 139 void ProcessState::startThreadPool() in startThreadPool() 148 bool ProcessState::becomeContextManager() in becomeContextManager() 179 ssize_t ProcessState::getKernelReferences(size_t buf_count, uintptr_t* buf) in getKernelReferences() [all …]
|
/frameworks/native/libs/binder/include/binder/ |
D | ProcessState.h | 33 class ProcessState : public virtual RefBase 36 static sp<ProcessState> self(); 37 static sp<ProcessState> selfOrNull(); 47 static sp<ProcessState> initWithDriver(const char *driver); 89 static sp<ProcessState> init(const char *defaultDriver, bool requireDefault); 92 friend class sp<ProcessState>; 94 explicit ProcessState(const char* driver); 95 ~ProcessState(); 97 ProcessState(const ProcessState& o); 98 ProcessState& operator=(const ProcessState& o);
|
D | BinderService.h | 56 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool()
|
/frameworks/native/include/binder/ |
D | ProcessState.h | 33 class ProcessState : public virtual RefBase 36 static sp<ProcessState> self(); 37 static sp<ProcessState> selfOrNull(); 47 static sp<ProcessState> initWithDriver(const char *driver); 89 static sp<ProcessState> init(const char *defaultDriver, bool requireDefault); 92 friend class sp<ProcessState>; 94 explicit ProcessState(const char* driver); 95 ~ProcessState(); 97 ProcessState(const ProcessState& o); 98 ProcessState& operator=(const ProcessState& o);
|
D | BinderService.h | 56 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool()
|
/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 | 70 sp<ProcessState> proc(ProcessState::self()); in main() 72 ProcessState::self()->startThreadPool(); in main() 140 sp<ProcessState> proc(ProcessState::self()); in main() 155 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/base/cmds/bootanimation/ |
D | bootanimation_main.cpp | 44 sp<ProcessState> proc(ProcessState::self()); in main() 45 ProcessState::self()->startThreadPool(); in main()
|
/frameworks/av/services/tuner/ |
D | main_tunerservice.cpp | 31 sp<ProcessState> proc(ProcessState::self()); in main() 41 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/camera/cameraserver/ |
D | main_cameraserver.cpp | 33 sp<ProcessState> proc(ProcessState::self()); in main() 38 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/av/services/mediaextractor/ |
D | main_extractorservice.cpp | 70 sp<ProcessState> proc(ProcessState::self()); in main() 74 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/native/cmds/servicemanager/ |
D | main.cpp | 32 using ::android::ProcessState; 34 using ::android::ProcessState; 120 sp<ProcessState> ps = ProcessState::initWithDriver(driver); in main() 122 ps->setCallRestriction(ProcessState::CallRestriction::FATAL_IF_NOT_ONEWAY); in main()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessStats.java | 201 public final ProcessMap<ProcessState> mProcesses = new ProcessMap<>(); 302 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add() 306 ProcessState thisProc = getProcessStateLocked(pkgName, uid, vers, in add() 340 ArrayMap<String, SparseArray<ProcessState>> procMap = other.mProcesses.getMap(); in add() 342 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add() 345 ProcessState otherProc = uids.valueAt(iu); in add() 349 ProcessState thisProc = mProcesses.get(name, uid); in add() 353 thisProc = new ProcessState(this, pkg, uid, vers, name); in add() 476 ArrayMap<String, SparseArray<ProcessState>> procMap = mProcesses.getMap(); in computeTotalMemoryUse() 478 SparseArray<ProcessState> uids = procMap.valueAt(iproc); in computeTotalMemoryUse() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessProfileRecord.java | 31 import com.android.internal.app.procstats.ProcessState; 58 private ProcessState mBaseProcessTracker; 211 ProcessState getBaseProcessTracker() { in getBaseProcessTracker() 216 void setBaseProcessTracker(ProcessState baseProcessTracker) { in setBaseProcessTracker() 224 final ProcessState origBase = getBaseProcessTracker(); in onProcessActive() 241 final ProcessState baseProcessTracker = tracker.getProcessStateLocked( in onProcessActive() 268 final ProcessState origBase = getBaseProcessTracker(); in onProcessInactive() 478 final ProcessState tracker = mBaseProcessTracker; in addPss() 491 final ProcessState tracker = mBaseProcessTracker; in reportExcessiveCpu() 503 final ProcessState tracker = mBaseProcessTracker; in reportCachedKill() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | MirrorActiveUids.java | 21 import android.app.ActivityManager.ProcessState; 54 synchronized @ProcessState int getUidState(int uid) { in getUidState() 89 @ProcessState int mProcState;
|
/frameworks/av/services/mediametrics/ |
D | main_mediametrics.cpp | 48 sp<ProcessState> processState(ProcessState::self()); in main()
|
/frameworks/base/cmds/incidentd/src/ |
D | main.cpp | 40 sp<ProcessState> ps(ProcessState::self()); in main()
|
/frameworks/native/services/surfaceflinger/ |
D | main_surfaceflinger.cpp | 90 ProcessState::self()->setThreadPoolMaxThreadCount(4); in main() 119 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/native/libs/binder/rust/src/ |
D | state.rs | 22 pub struct ProcessState; struct 24 impl ProcessState { impl
|
/frameworks/av/services/mediacodec/ |
D | main_codecservice.cpp | 46 android::ProcessState::initWithDriver("/dev/vndbinder"); in main() 47 android::ProcessState::self()->startThreadPool(); in main()
|