Searched refs:async (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/wilhelm/src/android/
H A DOutputMix_to_android.h20 extern SLresult android_outputMix_realize(COutputMix *om, SLboolean async);
H A DAudioRecorder_to_android.h46 extern SLresult android_audioRecorder_realize(CAudioRecorder* ar, SLboolean async);
H A DMediaPlayer_to_android.h26 extern XAresult android_Player_realize(CMediaPlayer *mp, SLboolean async);
H A DOutputMix_to_android.cpp29 SLresult android_outputMix_realize(COutputMix *om, SLboolean async) { argument
H A Dandroid_GenericPlayer.h127 virtual void notify(const char* event, int data1, bool async);
128 virtual void notify(const char* event, int data1, int data2, bool async);
150 // for async notifications of prefetch status and cache fill level, needs to be called
154 // for internal async notification to update state that the player is no longer seeking
H A DAudioPlayer_to_android.h43 extern SLresult android_audioPlayer_realize(CAudioPlayer *pAudioPlayer, SLboolean async);
/frameworks/wilhelm/src/objects/
H A DCAudioRecorder.c24 SLresult CAudioRecorder_Realize(void *self, SLboolean async) argument
30 result = android_audioRecorder_realize(thiz, async);
39 SLresult CAudioRecorder_Resume(void *self, SLboolean async) argument
H A DCMediaPlayer.c27 XAresult CMediaPlayer_Realize(void *self, XAboolean async) argument
35 result = android_Player_realize(thiz, async);
41 XAresult CMediaPlayer_Resume(void *self, XAboolean async) argument
H A DCOutputMix.c24 SLresult COutputMix_Realize(void *self, SLboolean async) argument
30 result = android_outputMix_realize(thiz, async);
39 SLresult COutputMix_Resume(void *self, SLboolean async) argument
H A DCAudioPlayer.c24 SLresult CAudioPlayer_Realize(void *self, SLboolean async) argument
30 result = android_audioPlayer_realize(thiz, async);
47 SLresult CAudioPlayer_Resume(void *self, SLboolean async) argument
H A DCEngine.c52 SLresult CEngine_Realize(void *self, SLboolean async) argument
79 SLresult CEngine_Resume(void *self, SLboolean async) argument
/frameworks/wilhelm/src/
H A Dsles_allinclusive.h115 typedef SLresult (*AsyncHook)(void *self, SLboolean async);
215 AsyncHook mRealize; // called with mutex locked; can temporarily unlock mutex (for async)
216 AsyncHook mResume; // called with mutex locked; can temporarily unlock mutex (for async)
336 extern SLresult CAudioPlayer_Realize(void *self, SLboolean async);
337 extern SLresult CAudioPlayer_Resume(void *self, SLboolean async);
341 extern SLresult CAudioRecorder_Realize(void *self, SLboolean async);
342 extern SLresult CAudioRecorder_Resume(void *self, SLboolean async);
346 extern SLresult CEngine_Realize(void *self, SLboolean async);
347 extern SLresult CEngine_Resume(void *self, SLboolean async);
352 extern SLresult COutputMix_Realize(void *self, SLboolean async);
[all...]
/frameworks/native/include/gui/
H A DIGraphicBufferProducer.h129 // The async parameter sets whether we're in asynchronous mode for this
154 // * BAD_VALUE - both in async mode and buffer count was less than the
168 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, bool async,
222 // async mode and buffer count override, or the generation
258 // * both in async mode and buffer count was less than the
274 // async - if the buffer is queued in asynchronous mode
281 uint32_t transform, bool async, const sp<Fence>& fence,
286 async(async), fence(fence), surfaceDamage() { }
298 *outAsync = bool(async);
279 QueueBufferInput(int64_t timestamp, bool isAutoTimestamp, android_dataspace dataSpace, const Rect& crop, int scalingMode, uint32_t transform, bool async, const sp<Fence>& fence, uint32_t sticky = 0) argument
322 int async; member in struct:android::IGraphicBufferProducer::QueueBufferInput
[all...]
H A DBufferQueueCore.h86 // that must remain in a state other than DEQUEUED. The async parameter
88 int getMinUndequeuedBufferCountLocked(bool async) const;
91 // given the current BufferQueue state. The async parameter tells whether
93 int getMinMaxBufferCountLocked(bool async) const;
102 // async parameter
106 int getMaxBufferCountLocked(bool async) const;
206 // mUseAsyncBuffer indicates whether an extra buffer is used in async mode
H A DBufferQueueProducer.h95 bool async, uint32_t width, uint32_t height, PixelFormat format,
172 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height,
193 status_t waitForFreeSlotThenRelock(const char* caller, bool async,
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp64 bool async, uint32_t w, uint32_t h, PixelFormat format, uint32_t usage) {
65 return mProducer->dequeueBuffer(slot, fence, async, w, h, format, usage);
108 void MonitoredProducer::allocateBuffers(bool async, uint32_t width, argument
110 mProducer->allocateBuffers(async, width, height, format, usage);
63 dequeueBuffer(int* slot, sp<Fence>* fence, bool async, uint32_t w, uint32_t h, PixelFormat format, uint32_t usage) argument
H A 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/native/libs/gui/
H A DBufferQueueCore.cpp142 int BufferQueueCore::getMinUndequeuedBufferCountLocked(bool async) const {
149 if (mDequeueBufferCannotBlock || async) {
156 int BufferQueueCore::getMinMaxBufferCountLocked(bool async) const {
157 return getMinUndequeuedBufferCountLocked(async) + 1;
160 int BufferQueueCore::getMaxBufferCountLocked(bool async) const {
161 int minMaxBufferCount = getMinMaxBufferCountLocked(async);
H A DIGraphicBufferProducer.cpp98 virtual status_t dequeueBuffer(int *buf, sp<Fence>* fence, bool async, argument
103 data.writeInt32(static_cast<int32_t>(async));
263 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height, argument
267 data.writeInt32(static_cast<int32_t>(async));
346 bool async = static_cast<bool>(data.readInt32()); local
353 int result = dequeueBuffer(&buf, &fence, async, width, height,
460 bool async = static_cast<bool>(data.readInt32()); local
465 allocateBuffers(async, width, height, format, usage);
505 + sizeof(async)
527 FlattenableUtils::write(buffer, size, async);
[all...]
H A DBufferQueueProducer.cpp135 bool async, int* found, status_t* returnFlags) const {
143 const int maxBufferCount = mCore->getMaxBufferCountLocked(async);
144 if (async && mCore->mOverrideMaxBufferCount) {
149 BQ_LOGE("%s: async mode is invalid with buffer count override",
196 mCore->getMinUndequeuedBufferCountLocked(async);
256 sp<android::Fence> *outFence, bool async,
264 BQ_LOGV("dequeueBuffer: async=%s w=%u h=%u format=%#x, usage=%#x",
265 async ? "true" : "false", width, height, format, usage);
296 status_t status = waitForFreeSlotThenRelock("dequeueBuffer", async,
511 // TODO: Should we provide an async fla
134 waitForFreeSlotThenRelock(const char* caller, bool async, int* found, status_t* returnFlags) const argument
255 dequeueBuffer(int *outSlot, sp<android::Fence> *outFence, bool async, uint32_t width, uint32_t height, PixelFormat format, uint32_t usage) argument
554 bool async; local
960 allocateBuffers(bool async, uint32_t width, uint32_t height, PixelFormat format, uint32_t usage) argument
[all...]
/frameworks/base/core/java/android/os/
H A DHandler.java162 * @param async If true, the handler calls {@link Message#setAsynchronous(boolean)} for
167 public Handler(boolean async) { argument
168 this(null, async);
183 * @param async If true, the handler calls {@link Message#setAsynchronous(boolean)} for
188 public Handler(Callback callback, boolean async) { argument
205 mAsynchronous = async;
222 * @param async If true, the handler calls {@link Message#setAsynchronous(boolean)} for
227 public Handler(Looper looper, Callback callback, boolean async) { argument
231 mAsynchronous = async;
/frameworks/native/libs/gui/tests/
H A DIGraphicBufferProducer_test.cpp134 async = QUEUE_BUFFER_INPUT_ASYNC;
146 async,
180 QueueBufferInputBuilder& setAsync(bool async) { argument
181 this->async = async;
197 int async; member in struct:android::IGraphicBufferProducerTest::QueueBufferInputBuilder
207 status_t dequeueBuffer(bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage, DequeueBufferResult* result) { argument
208 return mProducer->dequeueBuffer(&result->slot, &result->fence, async, w, h, format, usage);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A 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/itf/
H A DIObject.c46 // but the hook is permitted to temporarily unlock the mutex (e.g. for async).
84 static SLresult IObject_Realize(SLObjectItf self, SLboolean async) argument
114 if (async && (SL_OBJECTID_ENGINE != clazz->mSLObjectID)) {
124 assert(async);
137 // but the hook is permitted to temporarily unlock the mutex (e.g. for async).
138 result = (NULL != realize) ? (*realize)(thiz, async) : SL_RESULT_SUCCESS;
148 if (async && (NULL != callback)) {
189 // but the hook is permitted to temporarily unlock the mutex (e.g. for async).
227 static SLresult IObject_Resume(SLObjectItf self, SLboolean async) argument
242 if (async) {
[all...]
H A DIDynamicInterfaceManagement.c106 const SLInterfaceID iid, SLboolean async)
132 if (async) {
354 const SLInterfaceID iid, SLboolean async)
380 if (async) {
105 IDynamicInterfaceManagement_AddInterface(SLDynamicInterfaceManagementItf self, const SLInterfaceID iid, SLboolean async) argument
353 IDynamicInterfaceManagement_ResumeInterface(SLDynamicInterfaceManagementItf self, const SLInterfaceID iid, SLboolean async) argument

Completed in 990 milliseconds

12