Home
last modified time | relevance | path

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

12

/system/libhwbinder/
DProcessState.cpp68 sp<ProcessState> ProcessState::self() in self()
74 gProcess = new ProcessState(DEFAULT_BINDER_VM_SIZE); in self()
78 sp<ProcessState> ProcessState::selfOrNull() { in selfOrNull()
83 sp<ProcessState> ProcessState::initWithMmapSize(size_t mmap_size) { in initWithMmapSize()
91 gProcess = new ProcessState(mmap_size); in initWithMmapSize()
95 void ProcessState::setContextObject(const sp<IBinder>& object) in setContextObject()
100 sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& /*caller*/) in getContextObject()
105 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) in setContextObject()
111 sp<IBinder> ProcessState::getContextObject(const String16& name, const sp<IBinder>& caller) in getContextObject()
147 void ProcessState::startThreadPool() in startThreadPool()
[all …]
DParcel.cpp90 void acquire_binder_object(const sp<ProcessState>& proc, in acquire_binder_object()
122 void acquire_object(const sp<ProcessState>& proc, const binder_object_header& obj, in acquire_object()
136 void release_object(const sp<ProcessState>& proc, in release_object()
188 status_t flatten_binder(const sp<ProcessState>& /*proc*/, in flatten_binder() argument
230 status_t flatten_binder(const sp<ProcessState>& /*proc*/, in flatten_binder() argument
286 status_t unflatten_binder(const sp<ProcessState>& proc, in unflatten_binder()
305 status_t unflatten_binder(const sp<ProcessState>& proc, in unflatten_binder()
717 return flatten_binder(ProcessState::self(), val, this); in writeStrongBinder()
722 return flatten_binder(ProcessState::self(), val, this); in writeWeakBinder()
743 acquire_binder_object(ProcessState::self(), *fbo, this); in writeObject()
[all …]
DStatic.cpp77 sp<ProcessState> gProcess;
DDebug.cpp304 sp<ProcessState> proc = ProcessState::selfOrNull(); in getHWBinderKernelReferences()
/system/libhwbinder/include/hwbinder/
DProcessState.h35 class ProcessState : public virtual RefBase
38 static sp<ProcessState> self();
39 static sp<ProcessState> selfOrNull();
41 static sp<ProcessState> initWithMmapSize(size_t mmapSize); // size in bytes
95 explicit ProcessState(size_t mmap_size);
96 ~ProcessState();
98 ProcessState(const ProcessState& o);
99 ProcessState& operator=(const ProcessState& o);
DIPCThreadState.h44 sp<ProcessState> process();
164 const sp<ProcessState> mProcess;
184 ProcessState::CallRestriction mCallRestriction;
DParcel.h40 class ProcessState; variable
322 void acquire_object(const sp<ProcessState>& proc,
324 void release_object(const sp<ProcessState>& proc,
327 void flatten_binder(const sp<ProcessState>& proc,
329 void flatten_binder(const sp<ProcessState>& proc,
331 status_t unflatten_binder(const sp<ProcessState>& proc,
333 status_t unflatten_binder(const sp<ProcessState>& proc,
DStatic.h33 extern sp<ProcessState> gProcess;
/system/gsid/
Ddaemon.cpp27 using android::ProcessState;
41 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/ashmemd/
Dashmemd.cpp48 sp<ProcessState> ps = ProcessState::self(); in JoinThreadPool()
/system/hardware/interfaces/suspend/1.0/default/
Dmain.cpp79 sp<android::ProcessState> ps{android::ProcessState::self()}; in main()
/system/core/libmemunreachable/tests/
DBinder_test.cpp99 sp<ProcessState> proc{ProcessState::self()}; in Service()
/system/core/libprocinfo/include/procinfo/
Dprocess.h38 enum ProcessState { enum
49 ProcessState state;
/system/hwservicemanager/
Dservice.cpp48 using android::hardware::ProcessState;
163 ProcessState::self()->becomeContextManager(nullptr, nullptr); in main()
/system/bt/service/ipc/binder/
Dipc_handler_binder.cc63 android::ProcessState::self()->startThreadPool(); in Run()
/system/bt/btif/test/
Dbtif_keystore_test.cc32 android::ProcessState::self()->startThreadPool(); in SetUp()
/system/netd/tests/
DTestUnsolService.cpp49 sp<ProcessState> ps(ProcessState::self()); in start()
/system/extras/partition_tools/
Dlpdumpd.cc77 ProcessState::self()->startThreadPool(); in main()
/system/connectivity/wificond/tests/integration/
Dbinder_dispatcher.cpp79 android::ProcessState::self()->setThreadPoolMaxThreadCount(0); in Init()
/system/iorap/src/binder/
Diiorap_impl.cc196 android::sp<android::ProcessState> ps = android::ProcessState::self(); in Start()
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp92 sp<ProcessState> proc(ProcessState::self()); in server()
/system/bt/service/example/heart_rate/
Dserver_main.cc123 android::ProcessState::self()->startThreadPool(); in main()
/system/security/keystore/tests/
Dconfirmationui_invocation_test.cpp55 android::ProcessState::self()->startThreadPool(); in TEST()
/system/core/storaged/
Dmain.cpp137 android::ProcessState::self()->startThreadPool(); in main()

12