Home
last modified time | relevance | path

Searched refs:ipc (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/com/android/internal/infra/
DRemoteStream.java97 ThrowingConsumer<ParcelFileDescriptor> ipc, ThrowingFunction<InputStream, R> read) { in receiveBytes() argument
99 ipc, read, AsyncTask.THREAD_POOL_EXECUTOR, true /* read */) { in receiveBytes()
114 public static AndroidFuture<byte[]> receiveBytes(ThrowingConsumer<ParcelFileDescriptor> ipc) {
115 return receiveBytes(ipc, RemoteStream::readAll);
148 ThrowingConsumer<ParcelFileDescriptor> ipc, ThrowingFunction<OutputStream, R> write) {
150 ipc, write, AsyncTask.THREAD_POOL_EXECUTOR, false /* read */) {
163 ThrowingConsumer<ParcelFileDescriptor> ipc, ThrowingConsumer<OutputStream> write) {
164 return sendBytes(ipc, os -> {
175 ThrowingConsumer<ParcelFileDescriptor> ipc, byte[] data) {
176 return sendBytes(ipc, os -> {
[all …]
/frameworks/native/services/vr/virtual_touchpad/
DVirtualTouchpadService.cpp103 const android::IPCThreadState* ipc = android::IPCThreadState::self(); in dump() local
104 const pid_t pid = ipc->getCallingPid(); in dump()
105 const uid_t uid = ipc->getCallingUid(); in dump()
133 const android::IPCThreadState* ipc = android::IPCThreadState::self(); in CheckTouchPermission() local
134 *out_pid = ipc->getCallingPid(); in CheckTouchPermission()
135 const uid_t uid = ipc->getCallingUid(); in CheckTouchPermission()
/frameworks/native/services/gpuservice/
DGpuService.cpp110 IPCThreadState* ipc = IPCThreadState::self(); in toggleAngleAsSystemDriver() local
111 const int pid = ipc->getCallingPid(); in toggleAngleAsSystemDriver()
112 const int uid = ipc->getCallingUid(); in toggleAngleAsSystemDriver()
133 IPCThreadState* ipc = IPCThreadState::self(); in setUpdatableDriverPath() local
134 const int pid = ipc->getCallingPid(); in setUpdatableDriverPath()
135 const int uid = ipc->getCallingUid(); in setUpdatableDriverPath()
172 IPCThreadState* ipc = IPCThreadState::self(); in doDump() local
173 const int pid = ipc->getCallingPid(); in doDump()
174 const int uid = ipc->getCallingUid(); in doDump()
/frameworks/av/services/tuner/
DTunerFilter.cpp64 IPCThreadState* ipc = IPCThreadState::self(); in getQueueDesc() local
65 int32_t callingPid = ipc->getCallingPid(); in getQueueDesc()
194 IPCThreadState* ipc = IPCThreadState::self(); in start() local
195 int32_t callingPid = ipc->getCallingPid(); in start()
213 IPCThreadState* ipc = IPCThreadState::self(); in stop() local
214 int32_t callingPid = ipc->getCallingPid(); in stop()
231 IPCThreadState* ipc = IPCThreadState::self(); in flush() local
232 int32_t callingPid = ipc->getCallingPid(); in flush()
246 IPCThreadState* ipc = IPCThreadState::self(); in close() local
247 int32_t callingPid = ipc->getCallingPid(); in close()
[all …]
DTunerService.cpp242 IPCThreadState* ipc = IPCThreadState::self(); in openSharedFilter() local
243 const int pid = ipc->getCallingPid(); in openSharedFilter()
/frameworks/native/libs/binder/
DBpBinder.cpp615 IPCThreadState* ipc = IPCThreadState::self(); in ~BpBinder() local
639 if (ipc) { in ~BpBinder()
640 ipc->expungeHandle(binderHandle(), this); in ~BpBinder()
641 ipc->decWeakHandle(binderHandle()); in ~BpBinder()
656 IPCThreadState* ipc = IPCThreadState::self(); in onFirstRef() local
657 if (ipc) ipc->incStrongHandle(binderHandle(), this); in onFirstRef()
675 IPCThreadState* ipc = IPCThreadState::self(); in onLastStrongRef() local
676 if (ipc) ipc->decStrongHandle(binderHandle()); in onLastStrongRef()
686 if (ipc) ipc->clearDeathNotification(binderHandle(), this); in onLastStrongRef()
712 IPCThreadState* ipc = IPCThreadState::self(); in onIncStrongAttempted() local
[all …]
DProcessState.cpp347 IPCThreadState* ipc = IPCThreadState::self(); in getStrongProxyForHandle() local
349 CallRestriction originalCallRestriction = ipc->getCallRestriction(); in getStrongProxyForHandle()
350 ipc->setCallRestriction(CallRestriction::NONE); in getStrongProxyForHandle()
353 status_t status = ipc->transact( in getStrongProxyForHandle()
356 ipc->setCallRestriction(originalCallRestriction); in getStrongProxyForHandle()
/frameworks/native/cmds/servicemanager/
DAccess.cpp113 IPCThreadState* ipc = IPCThreadState::self(); in getCallingContext() local
115 const char* callingSid = ipc->getCallingSid(); in getCallingContext()
116 pid_t callingPid = ipc->getCallingPid(); in getCallingContext()
120 .uid = ipc->getCallingUid(), in getCallingContext()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerCreationArgs.cpp40 IPCThreadState* ipc = IPCThreadState::self(); in LayerCreationArgs() local
41 ownerPid = ipc->getCallingPid(); in LayerCreationArgs()
42 uid_t callingUid = ipc->getCallingUid(); in LayerCreationArgs()
/frameworks/av/services/tuner/hidl/
DTunerHidlFilter.cpp122 IPCThreadState* ipc = IPCThreadState::self(); in getQueueDesc() local
123 int32_t callingPid = ipc->getCallingPid(); in getQueueDesc()
393 IPCThreadState* ipc = IPCThreadState::self(); in start() local
394 int32_t callingPid = ipc->getCallingPid(); in start()
414 IPCThreadState* ipc = IPCThreadState::self(); in stop() local
415 int32_t callingPid = ipc->getCallingPid(); in stop()
435 IPCThreadState* ipc = IPCThreadState::self(); in flush() local
436 int32_t callingPid = ipc->getCallingPid(); in flush()
455 IPCThreadState* ipc = IPCThreadState::self(); in close() local
456 int32_t callingPid = ipc->getCallingPid(); in close()
[all …]
DTunerHidlService.cpp304 IPCThreadState* ipc = IPCThreadState::self(); in openSharedFilter() local
305 const int pid = ipc->getCallingPid(); in openSharedFilter()
/frameworks/av/media/libstagefright/
DMediaExtractorFactory.cpp355 const IPCThreadState* ipc = IPCThreadState::self(); in dump() local
356 const int pid = ipc->getCallingPid(); in dump()
357 const int uid = ipc->getCallingUid(); in dump()
/frameworks/native/services/inputflinger/
DInputManager.cpp260 IPCThreadState* ipc = IPCThreadState::self(); in createInputChannel() local
261 const uid_t uid = ipc->getCallingUid(); in createInputChannel()
/frameworks/av/media/libmedia/
DIMediaExtractor.cpp372 const IPCThreadState* ipc = IPCThreadState::self(); in dumpExtractors() local
373 const int pid = ipc->getCallingPid(); in dumpExtractors()
374 const int uid = ipc->getCallingUid(); in dumpExtractors()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp408 IPCThreadState* ipc = IPCThreadState::self(); in callingThreadHasPermission() local
409 const int pid = ipc->getCallingPid(); in callingThreadHasPermission()
410 const int uid = ipc->getCallingUid(); in callingThreadHasPermission()
5192 IPCThreadState* ipc = IPCThreadState::self(); in setTransactionState() local
5193 const int originPid = ipc->getCallingPid(); in setTransactionState()
5194 const int originUid = ipc->getCallingUid(); in setTransactionState()
5477 IPCThreadState* ipc = IPCThreadState::self(); in callingThreadHasUnscopedSurfaceFlingerAccess() local
5478 const int pid = ipc->getCallingPid(); in callingThreadHasUnscopedSurfaceFlingerAccess()
5479 const int uid = ipc->getCallingUid(); in callingThreadHasUnscopedSurfaceFlingerAccess()
6009 IPCThreadState* ipc = IPCThreadState::self(); in mirrorDisplay() local
[all …]
/frameworks/proto_logging/stats/
Datoms.proto20628 // Time taken to execute from runtime, including runtime/ipc overhead
20635 // Time taken to execute in the driver, excluding runtime/ipc overhead