Home
last modified time | relevance | path

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

123

/system/libhwbinder/
DProcessState.cpp71 sp<ProcessState> ProcessState::self() in self()
76 sp<ProcessState> ProcessState::selfOrNull() { in selfOrNull()
80 sp<ProcessState> ProcessState::initWithMmapSize(size_t mmapSize) { in initWithMmapSize()
84 sp<ProcessState> ProcessState::init(size_t mmapSize, bool requireMmapSize) { in init()
85 [[clang::no_destroy]] static sp<ProcessState> gProcess; in init()
96 gProcess = new ProcessState(mmapSize); in init()
107 void ProcessState::startThreadPool() in startThreadPool()
121 sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& /*caller*/) in getContextObject()
126 void ProcessState::becomeContextManager() in becomeContextManager()
155 ssize_t ProcessState::getKernelReferences(size_t buf_count, uintptr_t* buf) { in getKernelReferences()
[all …]
/system/libhwbinder/include/hwbinder/
DProcessState.h39 class ProcessState : public virtual RefBase
42 static sp<ProcessState> self();
43 static sp<ProcessState> selfOrNull();
46 static sp<ProcessState> initWithMmapSize(size_t mmapSize); // size in bytes
87 static sp<ProcessState> init(size_t mmapSize, bool requireMmapSize);
90 explicit ProcessState(size_t mmapSize);
91 ~ProcessState();
93 ProcessState(const ProcessState& o);
94 ProcessState& operator=(const ProcessState& o);
DParcel.h51 class ProcessState; variable
321 void acquire_object(const sp<ProcessState>& proc,
323 void release_object(const sp<ProcessState>& proc,
326 void flatten_binder(const sp<ProcessState>& proc,
328 void flatten_binder(const sp<ProcessState>& proc,
330 status_t unflatten_binder(const sp<ProcessState>& proc,
332 status_t unflatten_binder(const sp<ProcessState>& proc,
DIPCThreadState.h46 sp<ProcessState> process();
138 const sp<ProcessState> mProcess;
157 ProcessState::CallRestriction mCallRestriction;
/system/security/identity/
Dmain.cpp36 using ::android::ProcessState;
60 ProcessState::self()->setThreadPoolMaxThreadCount(2); in main()
61 ProcessState::self()->startThreadPool(); in main()
/system/gsid/
Ddaemon.cpp28 using android::ProcessState;
70 sp<ProcessState> ps(ProcessState::self()); in main()
/system/libhwbinder/vts/performance/
DBenchmark_binder.cpp40 using android::ProcessState;
66 ProcessState::self()->setThreadPoolMaxThreadCount(0); in startServer()
69 ProcessState::self()->startThreadPool(); in startServer()
/system/libfmq/tests/aidl/default/
Dmq_test_service.rs26 binder::ProcessState::start_thread_pool(); in main()
38 binder::ProcessState::join_thread_pool(); in main()
/system/hwservicemanager/
Dservice.cpp50 using android::hardware::ProcessState;
149 ProcessState::self()->setCallRestriction(ProcessState::CallRestriction::ERROR_IF_NOT_ONEWAY); in main()
189 ProcessState::self()->becomeContextManager(); in main()
/system/tools/aidl/tests/
Daidl_test_client.h38 android::ProcessState::self()->setThreadPoolMaxThreadCount(1); in SetUp()
39 android::ProcessState::self()->startThreadPool(); in SetUp()
Daidl_test_client_ndk_nested.cpp43 android::ProcessState::self()->setThreadPoolMaxThreadCount(1); in getService()
44 android::ProcessState::self()->startThreadPool(); in getService()
Daidl_test_client_ndk_delegate.cpp47 android::ProcessState::self()->setThreadPoolMaxThreadCount(1); in getService()
48 android::ProcessState::self()->startThreadPool(); in getService()
Daidl_test_client_versioned_interface.cpp37 android::ProcessState::self()->setThreadPoolMaxThreadCount(1); in SetUp()
38 android::ProcessState::self()->startThreadPool(); in SetUp()
Daidl_test_client_ndk_versioned_interface.cpp41 android::ProcessState::self()->setThreadPoolMaxThreadCount(1); in SetUp()
42 android::ProcessState::self()->startThreadPool(); in SetUp()
Daidl_test_client_ndk_loggable_interface.cpp45 android::ProcessState::self()->setThreadPoolMaxThreadCount(1); in getService()
46 android::ProcessState::self()->startThreadPool(); in getService()
Daidl_test_client_ndk_primitives_test.cpp32 android::ProcessState::self()->setThreadPoolMaxThreadCount(1); in getService()
33 android::ProcessState::self()->startThreadPool(); in getService()
/system/security/provisioner/support/
Dtest.cpp66 android::ProcessState::self()->setThreadPoolMaxThreadCount(2); in main()
67 android::ProcessState::self()->startThreadPool(); in main()
/system/memory/libmemunreachable/tests/
DBinder_test.cpp99 sp<ProcessState> proc{ProcessState::self()}; in Service()
/system/libprocinfo/include/procinfo/
Dprocess.h41 enum ProcessState { enum
52 ProcessState state;
/system/extras/profcollectd/libprofcollectd/
Dlib.rs65 binder::ProcessState::start_thread_pool(); in init_service()
83 binder::ProcessState::join_thread_pool(); in init_service()
/system/core/trusty/secretkeeper/src/
Dhal_main.rs115 binder::ProcessState::start_thread_pool(); in inner_main()
146 binder::ProcessState::join_thread_pool(); in inner_main()
/system/core/trusty/keymint/src/
Dkeymint_hal_main.rs106 binder::ProcessState::start_thread_pool(); in inner_main()
161 binder::ProcessState::join_thread_pool(); in inner_main()
/system/logging/logd/
DLogReader.cpp44 using android::ProcessState;
64 sp<ProcessState> proc(ProcessState::self()); in InitLogdBinderServiceStatus()
/system/security/keystore2/src/
Dkeystore2_main.rs100 binder::ProcessState::start_thread_pool(); in main()
157 binder::ProcessState::join_thread_pool(); in main()
/system/netd/tests/
DTestUnsolService.cpp50 sp<ProcessState> ps(ProcessState::self()); in start()

123