Home
last modified time | relevance | path

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

12

/frameworks/native/libs/binder/
DProcessState.cpp70 sp<ProcessState> ProcessState::self() in self()
76 gProcess = new ProcessState; in self()
80 void ProcessState::setContextObject(const sp<IBinder>& object) in setContextObject()
85 sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& /*caller*/) in getContextObject()
90 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) in setContextObject()
96 sp<IBinder> ProcessState::getContextObject(const String16& name, const sp<IBinder>& caller) in getContextObject()
132 void ProcessState::startThreadPool() in startThreadPool()
141 bool ProcessState::isContextManager(void) const in isContextManager()
146 bool ProcessState::becomeContextManager(context_check_func checkFunc, void* userData) in becomeContextManager()
166 ProcessState::handle_entry* ProcessState::lookupHandleLocked(int32_t handle) in lookupHandleLocked()
[all …]
DParcel.cpp98 void acquire_object(const sp<ProcessState>& proc, in acquire_object()
135 void release_object(const sp<ProcessState>& proc, in release_object()
177 status_t flatten_binder(const sp<ProcessState>& /*proc*/, in flatten_binder() argument
209 status_t flatten_binder(const sp<ProcessState>& /*proc*/, in flatten_binder() argument
265 status_t unflatten_binder(const sp<ProcessState>& proc, in unflatten_binder()
284 status_t unflatten_binder(const sp<ProcessState>& proc, in unflatten_binder()
432 const sp<ProcessState> proc(ProcessState::self()); in appendFrom()
846 return flatten_binder(ProcessState::self(), val, this); in writeStrongBinder()
851 return flatten_binder(ProcessState::self(), val, this); in writeWeakBinder()
1029 acquire_object(ProcessState::self(), val, this); in writeObject()
[all …]
DStatic.cpp76 sp<ProcessState> gProcess;
DAndroid.mk37 ProcessState.cpp \
/frameworks/native/include/binder/
DProcessState.h34 class ProcessState : public virtual RefBase
37 static sp<ProcessState> self();
70 ProcessState();
71 ~ProcessState();
73 ProcessState(const ProcessState& o);
74 ProcessState& operator=(const ProcessState& o);
DBinderService.h55 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool()
DParcel.h35 class ProcessState; variable
414 void acquire_object(const sp<ProcessState>& proc,
416 void release_object(const sp<ProcessState>& proc,
419 void flatten_binder(const sp<ProcessState>& proc,
421 void flatten_binder(const sp<ProcessState>& proc,
423 status_t unflatten_binder(const sp<ProcessState>& proc,
425 status_t unflatten_binder(const sp<ProcessState>& proc,
DIPCThreadState.h38 sp<ProcessState> process();
117 const sp<ProcessState> mProcess;
/frameworks/av/media/mediaserver/
Dmain_mediaserver.cpp60 sp<ProcessState> proc(ProcessState::self()); in main()
62 ProcessState::self()->startThreadPool(); in main()
129 sp<ProcessState> proc(ProcessState::self()); in main()
140 ProcessState::self()->startThreadPool(); in main()
/frameworks/av/drm/drmserver/
Dmain_drmserver.cpp31 sp<ProcessState> proc(ProcessState::self()); in main()
35 ProcessState::self()->startThreadPool(); in main()
/frameworks/base/cmds/bootanimation/
Dbootanimation_main.cpp43 sp<ProcessState> proc(ProcessState::self()); in main()
44 ProcessState::self()->startThreadPool(); in main()
/frameworks/native/services/surfaceflinger/
Dmain_surfaceflinger.cpp31 ProcessState::self()->setThreadPoolMaxThreadCount(4); in main()
34 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/native/services/surfaceflinger/tests/resize/
Dresize.cpp35 sp<ProcessState> proc(ProcessState::self()); in main()
36 ProcessState::self()->startThreadPool(); in main()
/frameworks/base/core/java/com/android/internal/app/
DProcessStats.java223 public final ProcessMap<ProcessState> mProcesses = new ProcessMap<ProcessState>();
278 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add()
282 ProcessState thisProc = getProcessStateLocked(pkgName, uid, vers, in add()
308 ArrayMap<String, SparseArray<ProcessState>> procMap = other.mProcesses.getMap(); in add()
310 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add()
313 ProcessState otherProc = uids.valueAt(iu); in add()
314 ProcessState thisProc = mProcesses.get(otherProc.mName, uid); in add()
318 thisProc = new ProcessState(this, otherProc.mPackage, uid, otherProc.mVersion, in add()
589 public static void computeProcessData(ProcessState proc, ProcessDataCollection data, long now) { in computeProcessData()
639 static long computeProcessTimeLocked(ProcessState proc, int[] screenStates, int[] memStates, in computeProcessTimeLocked()
[all …]
/frameworks/base/cmds/app_process/
Dapp_main.cpp81 sp<ProcessState> proc = ProcessState::self(); in onStarted()
93 sp<ProcessState> proc = ProcessState::self(); in onZygoteInit()
/frameworks/native/services/inputflinger/host/
Dmain.cpp23 ProcessState::self()->setThreadPoolMaxThreadCount(4); in main()
/frameworks/base/libs/common_time/
Dmain.cpp37 ProcessState::self()->startThreadPool(); in main()
/frameworks/native/include/private/binder/
DStatic.h35 extern sp<ProcessState> gProcess;
/frameworks/wilhelm/tests/sandbox/
Dnativewindow.cpp46 android::ProcessState::self()->startThreadPool(); in getNativeWindow_()
/frameworks/av/cmds/stagefright/
Drecord.cpp169 android::ProcessState::self()->startThreadPool();
300 android::ProcessState::self()->startThreadPool(); in main()
Daudioloop.cpp81 android::ProcessState::self()->startThreadPool(); in main()
/frameworks/base/media/tests/audiotests/
Dshared_mem_test.cpp192 ProcessState::self()->startThreadPool(); in main()
/frameworks/av/media/libstagefright/rtsp/
Drtp_test.cpp38 android::ProcessState::self()->startThreadPool(); in main()
/frameworks/av/media/libstagefright/id3/
Dtestid3.cpp155 android::ProcessState::self()->startThreadPool(); in main()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java72 ProcessStats.ProcessState baseProcessTracker;
431 final ProcessStats.ProcessState origBase = baseProcessTracker; in makeActive()
457 final ProcessStats.ProcessState origBase = baseProcessTracker; in makeInactive()
683 ProcessStats.ProcessState ps = tracker.getProcessStateLocked( in resetPackageList()

12