Home
last modified time | relevance | path

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

12

/system/libhwbinder/
DProcessState.cpp67 sp<ProcessState> ProcessState::self() in self()
73 gProcess = new ProcessState(DEFAULT_BINDER_VM_SIZE); in self()
77 sp<ProcessState> ProcessState::selfOrNull() { in selfOrNull()
82 sp<ProcessState> ProcessState::initWithMmapSize(size_t mmap_size) { in initWithMmapSize()
90 gProcess = new ProcessState(mmap_size); in initWithMmapSize()
94 void ProcessState::setContextObject(const sp<IBinder>& object) in setContextObject()
99 sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& /*caller*/) in getContextObject()
104 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) in setContextObject()
110 sp<IBinder> ProcessState::getContextObject(const String16& name, const sp<IBinder>& caller) in getContextObject()
146 void ProcessState::startThreadPool() in startThreadPool()
[all …]
DStatic.cpp55 sp<ProcessState> gProcess;
DParcel.cpp83 void acquire_binder_object(const sp<ProcessState>& proc, in acquire_binder_object()
115 void acquire_object(const sp<ProcessState>& proc, const binder_object_header& obj, in acquire_object()
129 void release_object(const sp<ProcessState>& proc, in release_object()
181 status_t flatten_binder(const sp<ProcessState>& /*proc*/, in flatten_binder() argument
230 status_t unflatten_binder(const sp<ProcessState>& proc, in unflatten_binder()
621 return flatten_binder(ProcessState::self(), val, this); in writeStrongBinder()
642 acquire_binder_object(ProcessState::self(), *fbo, this); in writeObject()
1204 return unflatten_binder(ProcessState::self(), *this, val); in readNullableStrongBinder()
1691 const sp<ProcessState> proc(ProcessState::self()); in releaseObjects()
1705 const sp<ProcessState> proc(ProcessState::self()); in acquireObjects()
[all …]
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);
DParcel.h47 class ProcessState; variable
311 void acquire_object(const sp<ProcessState>& proc,
313 void release_object(const sp<ProcessState>& proc,
316 void flatten_binder(const sp<ProcessState>& proc,
318 void flatten_binder(const sp<ProcessState>& proc,
320 status_t unflatten_binder(const sp<ProcessState>& proc,
322 status_t unflatten_binder(const sp<ProcessState>& proc,
DIPCThreadState.h42 sp<ProcessState> process();
138 const sp<ProcessState> mProcess;
157 ProcessState::CallRestriction mCallRestriction;
DStatic.h33 extern sp<ProcessState> gProcess;
/system/gsid/
Ddaemon.cpp31 using android::ProcessState;
67 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/memory/libmemunreachable/tests/
DBinder_test.cpp99 sp<ProcessState> proc{ProcessState::self()}; in Service()
/system/hardware/interfaces/suspend/1.0/default/
Dmain.cpp90 sp<android::ProcessState> ps{android::ProcessState::self()}; in main()
/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/security/identity/
Dmain.cpp57 android::ProcessState::self()->startThreadPool(); 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.cc74 ProcessState::self()->startThreadPool(); in main()
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp91 sp<ProcessState> proc(ProcessState::self()); in server()
/system/core/storaged/
Dmain.cpp138 android::ProcessState::self()->startThreadPool(); in main()
/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/libprocinfo/
Dprocess.cpp49 static ProcessState parse_state(const char* state) { in parse_state()
/system/bt/test/suite/adapter/
Dbluetooth_test.cc36 android::ProcessState::self()->startThreadPool(); in SetUp()

12