Home
last modified time | relevance | path

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

12345678

/frameworks/native/libs/binder/
DProcessState.cpp84 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/
DProcessState.h37 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/
DProcessState.h37 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/
Dlibandroid_trampolines.cc75 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/
Dprocess.cpp23 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/
Dpthread_translation.h115 void DoCustomTrampoline_pthread_create(HostCode callee, ProcessState* state);
119 ProcessState* state);
123 ProcessState* state);
127 ProcessState* state);
132 ProcessState* state);
136 ProcessState* state);
Dpthread_translation.cc48 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()
Dmalloc_translation.h37 ProcessState* state);
40 ProcessState* state);
43 ProcessState* state);
Dmalloc_translation.cc36 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()
Dsystem_properties_trampolines.h26 ProcessState* state);
29 ProcessState* state);
/frameworks/av/services/tuner/
Dmain_tunerservice.cpp41 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/
Dmedia_trampolines.cc36 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/
Dnativehelper_trampolines.cc31 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/
Dmain_drmserver.cpp33 sp<ProcessState> proc(ProcessState::self()); in main()
37 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/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.cpp37 sp<ProcessState> proc(ProcessState::self()); in main()
42 ProcessState::self()->startThreadPool(); in main()
/frameworks/av/media/mediaserver/
Dmain_mediaserver.cpp37 sp<ProcessState> proc(ProcessState::self()); in main()
44 ProcessState::self()->startThreadPool(); in main()
/frameworks/av/services/mediaextractor/
Dmain_extractorservice.cpp70 sp<ProcessState> proc(ProcessState::self()); in main()
74 ProcessState::self()->startThreadPool(); in main()
/frameworks/base/cmds/idmap2/idmap2d/
DMain.cpp32 using android::ProcessState;
45 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java207 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/
Djni_trampolines.cc177 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/
DProcessProfileRecord.java33 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/
Dmain_mediametrics.cpp47 sp<ProcessState> processState(ProcessState::self()); in main()
/frameworks/base/cmds/incidentd/src/
Dmain.cpp40 sp<ProcessState> ps(ProcessState::self()); in main()

12345678