/frameworks/native/libs/binder/ |
D | ProcessState.cpp | 84 sp<ProcessState> ProcessState::self() in self() 89 sp<ProcessState> ProcessState::initWithDriver(const char* driver) in initWithDriver() 94 sp<ProcessState> ProcessState::selfOrNull() in selfOrNull() 99 [[clang::no_destroy]] static sp<ProcessState> gProcess; 106 bool ProcessState::isVndservicemanagerEnabled() { in isVndservicemanagerEnabled() 110 sp<ProcessState> ProcessState::init(const char* driver, bool requireDefault) { in init() 135 int ret = pthread_atfork(ProcessState::onFork, ProcessState::parentPostFork, in init() 136 ProcessState::childPostFork); in init() 140 gProcess = sp<ProcessState>::make(driver); in init() 156 sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& /*caller*/) in getContextObject() [all …]
|
/frameworks/native/libs/binder/include/binder/ |
D | ProcessState.h | 37 class ProcessState : public virtual RefBase { 39 LIBBINDER_EXPORTED static sp<ProcessState> self(); 40 LIBBINDER_EXPORTED static sp<ProcessState> selfOrNull(); 52 LIBBINDER_EXPORTED static sp<ProcessState> initWithDriver(const char* driver); 138 static sp<ProcessState> init(const char* defaultDriver, bool requireDefault); 145 friend class sp<ProcessState>; 147 explicit ProcessState(const char* driver); 148 ~ProcessState(); 150 ProcessState(const ProcessState& o); 151 ProcessState& operator=(const ProcessState& o);
|
/frameworks/native/include/binder/ |
D | ProcessState.h | 37 class ProcessState : public virtual RefBase { 39 LIBBINDER_EXPORTED static sp<ProcessState> self(); 40 LIBBINDER_EXPORTED static sp<ProcessState> selfOrNull(); 52 LIBBINDER_EXPORTED static sp<ProcessState> initWithDriver(const char* driver); 138 static sp<ProcessState> init(const char* defaultDriver, bool requireDefault); 145 friend class sp<ProcessState>; 147 explicit ProcessState(const char* driver); 148 ~ProcessState(); 150 ProcessState(const ProcessState& o); 151 ProcessState& operator=(const ProcessState& o);
|
/frameworks/libs/native_bridge_support/android_api/libandroid/proxy/ |
D | libandroid_trampolines.cc | 75 void DoCustomTrampoline_ALooper_addFd(HostCode /* callee */, ProcessState* state) { in DoCustomTrampoline_ALooper_addFd() 84 ProcessState* state) { in DoCustomTrampoline_ASensorManager_createEventQueue() 92 void DoCustomTrampoline_AInputQueue_attachLooper(HostCode /* callee */, ProcessState* state) { in DoCustomTrampoline_AInputQueue_attachLooper() 99 void DoCustomTrampoline_ANativeActivity_finish(HostCode /* callee */, ProcessState* state) { in DoCustomTrampoline_ANativeActivity_finish() 105 ProcessState* state) { in DoCustomTrampoline_ANativeActivity_setWindowFormat() 111 void DoCustomTrampoline_ANativeActivity_setWindowFlags(HostCode /* callee */, ProcessState* state) { in DoCustomTrampoline_ANativeActivity_setWindowFlags() 117 void DoCustomTrampoline_ANativeActivity_showSoftInput(HostCode /* callee */, ProcessState* state) { in DoCustomTrampoline_ANativeActivity_showSoftInput() 122 void DoCustomTrampoline_ANativeActivity_hideSoftInput(HostCode /* callee */, ProcessState* state) { in DoCustomTrampoline_ANativeActivity_hideSoftInput() 142 ProcessState* state) { in DoCustomTrampoline_AChoreographer_postFrameCallback() 154 ProcessState* state) { in DoCustomTrampoline_AChoreographer_postFrameCallbackDelayed() [all …]
|
/frameworks/native/libs/binder/ndk/ |
D | process.cpp | 23 using ::android::ProcessState; 26 ProcessState::self()->startThreadPool(); in ABinderProcess_startThreadPool() 27 ProcessState::self()->giveThreadPoolName(); in ABinderProcess_startThreadPool() 30 return ProcessState::self()->setThreadPoolMaxThreadCount(numThreads) == 0; in ABinderProcess_setThreadPoolMaxThreadCount() 33 return ProcessState::self()->isThreadPoolStarted(); in ABinderProcess_isThreadPoolStarted()
|
/frameworks/libs/native_bridge_support/android_api/libc/proxy/ |
D | pthread_translation.h | 115 void DoCustomTrampoline_pthread_create(HostCode callee, ProcessState* state); 119 ProcessState* state); 123 ProcessState* state); 127 ProcessState* state); 132 ProcessState* state); 136 ProcessState* state);
|
D | pthread_translation.cc | 48 ProcessState* state) { in DoCustomTrampoline_pthread_create() 84 ProcessState* state) { in DoCustomTrampoline_pthread_join() 95 ProcessState* state) { in DoCustomTrampoline_pthread_getattr_np() 131 ProcessState* state) { in DoCustomTrampoline___pthread_cleanup_push() 141 ProcessState* state) { in DoCustomTrampoline_pthread_key_create() 159 ProcessState* state) { in DoCustomTrampoline___get_thread_stack_top()
|
D | malloc_translation.h | 37 ProcessState* state); 40 ProcessState* state); 43 ProcessState* state);
|
D | malloc_translation.cc | 36 ProcessState* state) { in DoCustomTrampoline_native_bridge_malloc_info_helper() 54 ProcessState* state) { in DoCustomTrampoline_native_bridge_mallinfo() 61 ProcessState* state) { in DoCustomTrampoline_native_bridge_malloc_iterate()
|
D | system_properties_trampolines.h | 26 ProcessState* state); 29 ProcessState* state);
|
/frameworks/av/services/tuner/ |
D | main_tunerservice.cpp | 41 sp<ProcessState> proc(ProcessState::self()); in main() 44 ProcessState::self()->setThreadPoolMaxThreadCount(16); in main() 53 ProcessState::self()->startThreadPool(); in main()
|
/frameworks/libs/native_bridge_support/android_api/libmediandk/proxy/ |
D | media_trampolines.cc | 36 ProcessState* state) { in DoCustomTrampoline_AImageReader_setBufferRemovedListener() 58 void DoCustomTrampoline_AImageReader_setImageListener(HostCode /* callee */, ProcessState* state) { in DoCustomTrampoline_AImageReader_setImageListener() 117 ProcessState* state) { in DoCustomTrampoline_AMediaCodec_setAsyncNotifyCallback() 148 ProcessState* state) { in DoCustomTrampoline_AMediaCodec_setAsyncNotifyCallback() 174 void DoCustomTrampoline_AMediaDataSource_setClose(HostCode /* callee */, ProcessState* state) { in DoCustomTrampoline_AMediaDataSource_setClose() 183 void DoCustomTrampoline_AMediaDataSource_setGetSize(HostCode /* callee */, ProcessState* state) { in DoCustomTrampoline_AMediaDataSource_setGetSize() 194 void DoCustomTrampoline_AMediaDataSource_setReadAt(HostCode /* callee */, ProcessState* state) { in DoCustomTrampoline_AMediaDataSource_setReadAt()
|
/frameworks/libs/native_bridge_support/android_api/libnativehelper/proxy/ |
D | nativehelper_trampolines.cc | 31 void DoCustomTrampoline_AFileDescriptor_create(HostCode /* callee */, ProcessState* state) { in DoCustomTrampoline_AFileDescriptor_create() 38 void DoCustomTrampoline_AFileDescriptor_getFd(HostCode /* callee */, ProcessState* state) { in DoCustomTrampoline_AFileDescriptor_getFd() 45 void DoCustomTrampoline_AFileDescriptor_setFd(HostCode /* callee */, ProcessState* state) { in DoCustomTrampoline_AFileDescriptor_setFd() 51 void DoCustomTrampoline_JNI_CreateJavaVM(HostCode /* callee */, ProcessState* state) { in DoCustomTrampoline_JNI_CreateJavaVM() 64 void DoCustomTrampoline_JNI_GetCreatedJavaVMs(HostCode /* callee */, ProcessState* state) { in DoCustomTrampoline_JNI_GetCreatedJavaVMs()
|
/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/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 | 37 sp<ProcessState> proc(ProcessState::self()); in main() 42 ProcessState::self()->startThreadPool(); in main()
|
/frameworks/av/media/mediaserver/ |
D | main_mediaserver.cpp | 37 sp<ProcessState> proc(ProcessState::self()); in main() 44 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; 45 sp<ProcessState> ps(ProcessState::self()); in main()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessStats.java | 207 public final ProcessMap<ProcessState> mProcesses = new ProcessMap<>(); 310 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add() 314 ProcessState thisProc = getProcessStateLocked(pkgName, uid, vers, in add() 360 ArrayMap<String, SparseArray<ProcessState>> procMap = other.mProcesses.getMap(); in add() 362 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add() 365 ProcessState otherProc = uids.valueAt(iu); in add() 369 ProcessState thisProc = mProcesses.get(name, uid); in add() 373 thisProc = new ProcessState(this, pkg, uid, vers, name); in add() 506 ArrayMap<String, SparseArray<ProcessState>> procMap = mProcesses.getMap(); in computeTotalMemoryUse() 508 SparseArray<ProcessState> uids = procMap.valueAt(iproc); in computeTotalMemoryUse() [all …]
|
/frameworks/libs/binary_translation/jni/ |
D | jni_trampolines.cc | 177 void DoTrampoline_JNIEnv_RegisterNatives(HostCode /* callee */, ProcessState* state) { in DoTrampoline_JNIEnv_RegisterNatives() 188 void DoTrampoline_JNIEnv_GetJavaVM(HostCode /* callee */, ProcessState* state) { in DoTrampoline_JNIEnv_GetJavaVM() 201 void DoTrampoline_JNIEnv_CallStaticVoidMethodV(HostCode /* callee */, ProcessState* state) { in DoTrampoline_JNIEnv_CallStaticVoidMethodV() 221 void DoJavaVMTrampoline_DestroyJavaVM(HostCode /* callee */, ProcessState* state) { in DoJavaVMTrampoline_DestroyJavaVM() 231 void DoJavaVMTrampoline_AttachCurrentThread(HostCode /* callee */, ProcessState* state) { in DoJavaVMTrampoline_AttachCurrentThread() 245 void DoJavaVMTrampoline_DetachCurrentThread(HostCode /* callee */, ProcessState* state) { in DoJavaVMTrampoline_DetachCurrentThread() 255 void DoJavaVMTrampoline_GetEnv(HostCode /* callee */, ProcessState* state) { in DoJavaVMTrampoline_GetEnv() 273 void DoJavaVMTrampoline_AttachCurrentThreadAsDaemon(HostCode /* callee */, ProcessState* state) { in DoJavaVMTrampoline_AttachCurrentThreadAsDaemon()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessProfileRecord.java | 33 import com.android.internal.app.procstats.ProcessState; 62 private ProcessState mBaseProcessTracker; 234 ProcessState getBaseProcessTracker() { in getBaseProcessTracker() 239 void setBaseProcessTracker(ProcessState baseProcessTracker) { in setBaseProcessTracker() 245 final ProcessState tracker = mBaseProcessTracker; in onProcessFrozen() 258 final ProcessState tracker = mBaseProcessTracker; in onProcessUnfrozen() 273 final ProcessState origBase = getBaseProcessTracker(); in onProcessActive() 285 final ProcessState baseProcessTracker = tracker.getProcessStateLocked( in onProcessActive() 313 final ProcessState origBase = getBaseProcessTracker(); in onProcessInactive() 529 final ProcessState tracker = mBaseProcessTracker; in addPss() [all …]
|
/frameworks/av/services/mediametrics/ |
D | main_mediametrics.cpp | 47 sp<ProcessState> processState(ProcessState::self()); in main()
|
/frameworks/base/cmds/incidentd/src/ |
D | main.cpp | 40 sp<ProcessState> ps(ProcessState::self()); in main()
|