Home
last modified time | relevance | path

Searched refs:async (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/native/include/gui/
DIGraphicBufferProducer.h169 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, bool async,
279 const Rect& crop, int scalingMode, uint32_t transform, bool async,
283 async(async), fence(fence) { } in timestamp()
293 *outAsync = bool(async);
313 int async; member
450 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height,
DBufferQueueProducer.h96 virtual status_t dequeueBuffer(int *outSlot, sp<Fence>* outFence, bool async,
173 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height,
185 status_t waitForFreeSlotThenRelock(const char* caller, bool async,
DBufferQueueCore.h85 int getMinUndequeuedBufferCountLocked(bool async) const;
90 int getMinMaxBufferCountLocked(bool async) const;
103 int getMaxBufferCountLocked(bool async) const;
/frameworks/wilhelm/src/
Dsles_allinclusive.h116 typedef SLresult (*AsyncHook)(void *self, SLboolean async);
337 extern SLresult CAudioPlayer_Realize(void *self, SLboolean async);
338 extern SLresult CAudioPlayer_Resume(void *self, SLboolean async);
342 extern SLresult CAudioRecorder_Realize(void *self, SLboolean async);
343 extern SLresult CAudioRecorder_Resume(void *self, SLboolean async);
347 extern SLresult CEngine_Realize(void *self, SLboolean async);
348 extern SLresult CEngine_Resume(void *self, SLboolean async);
353 extern SLresult COutputMix_Realize(void *self, SLboolean async);
354 extern SLresult COutputMix_Resume(void *self, SLboolean async);
358 extern SLresult CMediaPlayer_Realize(void *self, SLboolean async);
[all …]
/frameworks/wilhelm/src/objects/
DCAudioRecorder.c24 SLresult CAudioRecorder_Realize(void *self, SLboolean async) in CAudioRecorder_Realize() argument
30 result = android_audioRecorder_realize(thiz, async); in CAudioRecorder_Realize()
39 SLresult CAudioRecorder_Resume(void *self, SLboolean async) in CAudioRecorder_Resume() argument
DCMediaPlayer.c27 XAresult CMediaPlayer_Realize(void *self, XAboolean async) in CMediaPlayer_Realize() argument
35 result = android_Player_realize(thiz, async); in CMediaPlayer_Realize()
41 XAresult CMediaPlayer_Resume(void *self, XAboolean async) in CMediaPlayer_Resume() argument
DCOutputMix.c24 SLresult COutputMix_Realize(void *self, SLboolean async) in COutputMix_Realize() argument
30 result = android_outputMix_realize(thiz, async); in COutputMix_Realize()
39 SLresult COutputMix_Resume(void *self, SLboolean async) in COutputMix_Resume() argument
DCAudioPlayer.c24 SLresult CAudioPlayer_Realize(void *self, SLboolean async) in CAudioPlayer_Realize() argument
30 result = android_audioPlayer_realize(thiz, async); in CAudioPlayer_Realize()
47 SLresult CAudioPlayer_Resume(void *self, SLboolean async) in CAudioPlayer_Resume() argument
DCEngine.c52 SLresult CEngine_Realize(void *self, SLboolean async) in CEngine_Realize() argument
79 SLresult CEngine_Resume(void *self, SLboolean async) in CEngine_Resume() argument
/frameworks/native/libs/gui/
DBufferQueueCore.cpp133 int BufferQueueCore::getMinUndequeuedBufferCountLocked(bool async) const { in getMinUndequeuedBufferCountLocked()
140 if (mDequeueBufferCannotBlock || async) { in getMinUndequeuedBufferCountLocked()
147 int BufferQueueCore::getMinMaxBufferCountLocked(bool async) const { in getMinMaxBufferCountLocked()
148 return getMinUndequeuedBufferCountLocked(async) + 1; in getMinMaxBufferCountLocked()
151 int BufferQueueCore::getMaxBufferCountLocked(bool async) const { in getMaxBufferCountLocked()
152 int minMaxBufferCount = getMinMaxBufferCountLocked(async); in getMaxBufferCountLocked()
DIGraphicBufferProducer.cpp93 virtual status_t dequeueBuffer(int *buf, sp<Fence>* fence, bool async, in dequeueBuffer() argument
97 data.writeInt32(async); in dequeueBuffer()
257 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height, in allocateBuffers() argument
261 data.writeInt32(static_cast<int32_t>(async)); in allocateBuffers()
302 bool async = data.readInt32(); in onTransact() local
309 int result = dequeueBuffer(&buf, &fence, async, w, h, format, usage); in onTransact()
415 bool async = static_cast<bool>(data.readInt32()); in onTransact() local
420 allocateBuffers(async, width, height, format, usage); in onTransact()
439 + sizeof(async) in getFlattenedSize()
459 FlattenableUtils::write(buffer, size, async); in flatten()
[all …]
DBufferQueueProducer.cpp130 bool async, int* found, status_t* returnFlags) const { in waitForFreeSlotThenRelock() argument
138 const int maxBufferCount = mCore->getMaxBufferCountLocked(async); in waitForFreeSlotThenRelock()
139 if (async && mCore->mOverrideMaxBufferCount) { in waitForFreeSlotThenRelock()
202 mCore->getMinUndequeuedBufferCountLocked(async); in waitForFreeSlotThenRelock()
247 sp<android::Fence> *outFence, bool async, in dequeueBuffer() argument
256 async ? "true" : "false", width, height, format, usage); in dequeueBuffer()
280 status_t status = waitForFreeSlotThenRelock("dequeueBuffer", async, in dequeueBuffer()
518 bool async; in queueBuffer() local
521 &async, &fence, &stickyTransform); in queueBuffer()
553 const int maxBufferCount = mCore->getMaxBufferCountLocked(async); in queueBuffer()
[all …]
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp64 bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) { in dequeueBuffer() argument
65 return mProducer->dequeueBuffer(slot, fence, async, w, h, format, usage); in dequeueBuffer()
108 void MonitoredProducer::allocateBuffers(bool async, uint32_t width, in allocateBuffers() argument
110 mProducer->allocateBuffers(async, width, height, format, usage); in allocateBuffers()
DMonitoredProducer.h39 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, bool async,
54 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height,
/frameworks/base/core/java/android/os/
DHandler.java167 public Handler(boolean async) { in Handler() argument
168 this(null, async); in Handler()
188 public Handler(Callback callback, boolean async) { in Handler() argument
205 mAsynchronous = async; in Handler()
227 public Handler(Looper looper, Callback callback, boolean async) { in Handler() argument
231 mAsynchronous = async; in Handler()
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp132 async = QUEUE_BUFFER_INPUT_ASYNC; in QueueBufferInputBuilder()
143 async, in build()
172 QueueBufferInputBuilder& setAsync(bool async) { in setAsync()
173 this->async = async; in setAsync()
188 int async; member
198 …status_t dequeueBuffer(bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage, Dequeu… in dequeueBuffer() argument
199 return mProducer->dequeueBuffer(&result->slot, &result->fence, async, w, h, format, usage); in dequeueBuffer()
/frameworks/wilhelm/src/itf/
DIObject.c84 static SLresult IObject_Realize(SLObjectItf self, SLboolean async) in IObject_Realize() argument
114 if (async && (SL_OBJECTID_ENGINE != clazz->mSLObjectID)) { in IObject_Realize()
124 assert(async); in IObject_Realize()
138 result = (NULL != realize) ? (*realize)(thiz, async) : SL_RESULT_SUCCESS; in IObject_Realize()
148 if (async && (NULL != callback)) { in IObject_Realize()
227 static SLresult IObject_Resume(SLObjectItf self, SLboolean async) in IObject_Resume() argument
242 if (async) { in IObject_Resume()
252 assert(async); in IObject_Resume()
DIDynamicInterfaceManagement.c106 const SLInterfaceID iid, SLboolean async) in IDynamicInterfaceManagement_AddInterface() argument
132 if (async) { in IDynamicInterfaceManagement_AddInterface()
354 const SLInterfaceID iid, SLboolean async) in IDynamicInterfaceManagement_ResumeInterface() argument
380 if (async) { in IDynamicInterfaceManagement_ResumeInterface()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp290 bool async = (source == SOURCE_SINK); in dequeueBuffer() local
292 status_t result = mSource[source]->dequeueBuffer(sslot, fence, async, in dequeueBuffer()
331 status_t VirtualDisplaySurface::dequeueBuffer(int* pslot, sp<Fence>* fence, bool async, in dequeueBuffer() argument
334 return mSource[SOURCE_SINK]->dequeueBuffer(pslot, fence, async, w, h, format, usage); in dequeueBuffer()
340 VDS_LOGW_IF(!async, "EGL called dequeueBuffer with !async despite eglSwapInterval(0)"); in dequeueBuffer()
459 bool async; in queueBuffer() local
461 &transform, &async, &mFbFence); in queueBuffer()
DVirtualDisplaySurface.h102 virtual status_t dequeueBuffer(int* pslot, sp<Fence>* fence, bool async,
116 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height,
/frameworks/wilhelm/src/android/
DOutputMix_to_android.h20 extern SLresult android_outputMix_realize(COutputMix *om, SLboolean async);
Dandroid_GenericPlayer.cpp285 void GenericPlayer::notify(const char* event, int data, bool async) { in notify() argument
287 async ? "true" : "false"); in notify()
290 if (async) { in notify()
298 void GenericPlayer::notify(const char* event, int data1, int data2, bool async) { in notify() argument
300 async ? "true" : "false"); in notify()
303 if (async) { in notify()
Dandroid_GenericPlayer.h126 virtual void notify(const char* event, int data1, bool async);
127 virtual void notify(const char* event, int data1, int data2, bool async);
DAudioRecorder_to_android.h46 extern SLresult android_audioRecorder_realize(CAudioRecorder* ar, SLboolean async);
/frameworks/native/cmds/atrace/
Datrace.cpp811 bool async = false; in main() local
880 async = true; in main()
885 async = true; in main()
888 async = true; in main()
926 if (ok && !async) { in main()

12