Home
last modified time | relevance | path

Searched refs:enqueue (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareLogging.java138 mServiceEventLogger.enqueue(ServiceEvent.createForReturn( in listModules()
143 mServiceEventLogger.enqueue(ServiceEvent.createForException( in listModules()
165 mServiceEventLogger.enqueue(ServiceEvent.createForReturn( in attach()
173 mServiceEventLogger.enqueue(ServiceEvent.createForException( in attach()
200 mEventLogger.enqueue(SessionEvent.createForReturn( in loadModel()
205 mEventLogger.enqueue(SessionEvent.createForReturn( in loadModel()
216 mEventLogger.enqueue(SessionEvent.createForReturn( in loadPhraseModel()
221 mEventLogger.enqueue(SessionEvent.createForException( in loadPhraseModel()
232 mEventLogger.enqueue(SessionEvent.createForVoid( in unloadModel()
236 mEventLogger.enqueue(SessionEvent.createForException( in unloadModel()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java408 mServiceEventLogger.enqueue(new ServiceEvent( in attachAsOriginator()
430 mServiceEventLogger.enqueue(new ServiceEvent( in attachAsMiddleman()
448 mServiceEventLogger.enqueue(new ServiceEvent( in listModuleProperties()
549 mEventLogger.enqueue(new SessionEvent(Type.START_RECOGNITION, getUuid(soundModel))); in startRecognition()
555 mEventLogger.enqueue(new SessionEvent(Type.START_RECOGNITION, in startRecognition()
576 mEventLogger.enqueue(new SessionEvent(Type.STOP_RECOGNITION, getUuid(parcelUuid))); in stopRecognition()
600 mEventLogger.enqueue(new SessionEvent(Type.UPDATE_MODEL, getUuid(soundModel))); in updateSoundModel()
609 mEventLogger.enqueue(new SessionEvent(Type.DELETE_MODEL, getUuid(soundModelId))); in deleteSoundModel()
624 mEventLogger.enqueue(new SessionEvent(Type.LOAD_MODEL, getUuid(soundModel))); in loadGenericSoundModel()
628 mEventLogger.enqueue(new SessionEvent(Type.LOAD_MODEL, in loadGenericSoundModel()
[all …]
DSoundTriggerHelper.java344 mEventLogger.enqueue(new SessionEvent(Type.PAUSE, modelData.getModelId())); in startRecognition()
348 mEventLogger.enqueue(new SessionEvent( in startRecognition()
828 mEventLogger.enqueue(new SessionEvent(Type.RECOGNITION, model.getModelId())); in onGenericRecognitionLocked()
831 mEventLogger.enqueue(new SessionEvent( in onGenericRecognitionLocked()
885 mEventLogger.enqueue(new SessionEvent(Type.RESOURCES_AVAILABLE, null)); in onResourcesAvailableLocked()
902 mEventLogger.enqueue(new SessionEvent(Type.PAUSE, modelData.getModelId())); in onRecognitionAbortLocked()
906 mEventLogger.enqueue(new SessionEvent( in onRecognitionAbortLocked()
954 mEventLogger.enqueue(new SessionEvent(Type.RECOGNITION, modelData.getModelId())); in onKeyphraseRecognitionLocked()
957 mEventLogger.enqueue(new SessionEvent( in onKeyphraseRecognitionLocked()
1011 mEventLogger.enqueue(new SessionEvent(Type.MODULE_DIED, in onServiceDiedLocked()
[all …]
DDeviceStateHandler.java82 mEventLogger.enqueue(new SoundTriggerPowerEvent(soundTriggerPowerSaveMode)); in onPowerModeChanged()
95 mEventLogger.enqueue(new PhoneCallEvent(isInPhoneCall)); in onPhoneCallStateChanged()
174 mEventLogger.enqueue(new DeviceStateEvent(mSoundTriggerDeviceState)); in evaluateStateChange()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaSampleQueueTests.cpp53 sampleQueue.enqueue(newSample(i)); in TEST_F()
76 sampleQueue.enqueue(newSample(i)); in TEST_F()
98 sampleQueue.enqueue(newSample(1)); in TEST_F()
123 bool aborted = sampleQueue.enqueue( in TEST_F()
160 bool aborted = sampleQueue.enqueue( in TEST_F()
182 bool aborted = sampleQueue.enqueue(newSample(1)); in TEST_F()
192 aborted = sampleQueue.enqueue(sample); in TEST_F()
207 aborted = sampleQueue.enqueue(sample); in TEST_F()
/frameworks/base/services/core/jni/BroadcastRadio/
DTunerCallback.cpp161 mCallbackThread.enqueue([this](JNIEnv *env) { in hardwareFailure()
171 mCallbackThread.enqueue([result, config, this](JNIEnv *env) { in configChange()
201 mCallbackThread.enqueue([this, info](JNIEnv *env) { in tuneComplete()
216 mCallbackThread.enqueue([result, this](JNIEnv *env) { in tuneComplete_1_1()
238 mCallbackThread.enqueue([this, connected](JNIEnv *env) { in antennaStateChange()
248 mCallbackThread.enqueue([this, active](JNIEnv *env) { in trafficAnnouncement()
258 mCallbackThread.enqueue([this, active](JNIEnv *env) { in emergencyAnnouncement()
286 mCallbackThread.enqueue([this, info](JNIEnv *env) { in newMetadata()
298 mCallbackThread.enqueue([this, isAvailable](JNIEnv *env) { in backgroundScanAvailable()
309 mCallbackThread.enqueue([this, result](JNIEnv *env) { in backgroundScanComplete()
[all …]
DNativeCallbackThread.h47 void enqueue(const Task &task);
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java81 long dlRequest = mDownloadManager.enqueue(request); in doErrorTest()
166 long dlRequest = mDownloadManager.enqueue(request); in testDownloadToExternal_fileExists()
204 long dlRequest = mDownloadManager.enqueue(request); in testDownloadToExternal()
236 mDownloadManager.enqueue(request); in testDownloadToProhibitedDirectory()
308 long dlRequest = mDownloadManager.enqueue(request); in testRelativeRedirect()
352 long dlRequest = mDownloadManager.enqueue(request); in testSetTitle()
381 long dlRequest = mDownloadManager.enqueue(request); in testDownloadNoWifi()
/frameworks/base/core/tests/coretests/src/android/net/http/
DAbstractProxyTest.java63 server.enqueue(new MockResponse() in testConnectToHttps()
116 server.enqueue(mockResponse); in testConnectViaProxy()
152 server.enqueue(new MockResponse() in testConnectViaHttpProxyToHttps()
155 server.enqueue(new MockResponse() in testConnectViaHttpProxyToHttps()
191 server.enqueue(new MockResponse().setBody("Via request parameter proxy!")); in testParamPreferredOverSystemProperty()
207 server.enqueue(new MockResponse().setBody("Via the origin server!")); in testExplicitNoProxyCancelsSystemProperty()
224 server.enqueue(new MockResponse() in testRetryWithProxy()
DCookiesTest.java58 server.enqueue(new MockResponse() in testCookiesAreNotLogged()
88 server.enqueue(new MockResponse() in testCookiesWithNonMatchingCase()
93 server.enqueue(new MockResponse() in testCookiesWithNonMatchingCase()
DDefaultHttpClientTest.java74 server.enqueue(new MockResponse() in testServerClosesOutput()
77 server.enqueue(new MockResponse() in testServerClosesOutput()
/frameworks/base/apct-tests/perftests/core/src/android/libcore/
DReferencePerfTest.java57 (new PhantomReference<Object>(mObject, queue)).enqueue(); in timeAllocAndEnqueue()
67 (new PhantomReference<Object>(mObject, queue)).enqueue(); in timeAllocEnqueueAndPoll()
78 (new PhantomReference<Object>(mObject, queue)).enqueue(); in timeAllocEnqueueAndRemove()
/frameworks/native/libs/renderengine/skia/debug/
DCommonPool.cpp59 instance().enqueue(std::move(task)); in post()
62 void CommonPool::enqueue(Task&& task) { in enqueue() function in android::renderengine::skia::CommonPool
DCommonPool.h58 void enqueue(Task&&);
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerTestApp.java141 dlRequest = mDownloadManager.enqueue(request); in initiateDownload()
233 dlRequest = mDownloadManager.enqueue(request); in runLargeDownloadOverWiFi()
287 dlRequest = mDownloadManager.enqueue(request); in runDownloadMultipleSwitching()
363 dlRequest = mDownloadManager.enqueue(request); in runDownloadMultipleWiFiEnableDisable()
433 dlRequest = mDownloadManager.enqueue(request); in runDownloadMultipleAirplaneModeEnableDisable()
491 dlRequest = mDownloadManager.enqueue(request); in runDownloadMultipleSimultaneously()
/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java188 sEventLogger.enqueue(new EventLogger.StringEvent("unbanning uid:" + uid)); in disableAudioForUid()
199 sEventLogger.enqueue(new EventLogger.StringEvent("banning uid:" + uid)); in disableAudioForUid()
256 sEventLogger.enqueue(new NewPlayerEvent(apc)); in trackPlayer()
276 sEventLogger.enqueue(new AudioAttrEvent(piid, attr)); in playerAttributes()
373 sEventLogger.enqueue(new PlayerEvent(piid, event, eventValue)); in playerEvent()
386 sEventLogger.enqueue(new EventLogger.StringEvent( in playerEvent()
484 sEventLogger.enqueue(new PlayerOpPlayAudioEvent(piid, hasOpPlayAudio, binderUid)); in playerHasOpPlayAudio()
492 sEventLogger.enqueue(new EventLogger.StringEvent("releasePlayer with invalid piid:" in releasePlayer()
500 sEventLogger.enqueue(new EventLogger.StringEvent( in releasePlayer()
532 sEventLogger.enqueue( in onAudioServerDied()
[all …]
DBtHelper.java257 AudioService.sVolumeLogger.enqueue(new EventLogger.StringEvent( in setAvrcpAbsoluteVolumeIndex()
263 AudioService.sVolumeLogger.enqueue(new EventLogger.StringEvent( in setAvrcpAbsoluteVolumeIndex()
270 AudioService.sVolumeLogger.enqueue(new AudioServiceEvents.VolumeEvent( in setAvrcpAbsoluteVolumeIndex()
366 AudioService.sDeviceLogger.enqueue(new EventLogger.StringEvent( in getCodecWithFallback()
386 AudioService.sDeviceLogger.enqueue((new EventLogger.StringEvent( in onReceiveBtEvent()
495 AudioService.sDeviceLogger.enqueue(new EventLogger.StringEvent(eventSource)); in startBluetoothSco()
502 AudioService.sDeviceLogger.enqueue(new EventLogger.StringEvent(eventSource)); in stopBluetoothSco()
520 AudioService.sVolumeLogger.enqueue(new AudioServiceEvents.VolumeEvent( in setLeAudioVolume()
550 AudioService.sVolumeLogger.enqueue(new AudioServiceEvents.VolumeEvent( in setHearingAidVolume()
585 AudioService.sDeviceLogger.enqueue(new EventLogger.StringEvent( in onBtProfileDisconnected()
[all …]
/frameworks/base/libs/hwui/thread/
DWorkQueue.h84 enqueue(WorkItem{time, std::function<void()>(std::forward<F>(func))}); in postAt()
89 enqueue(WorkItem{clock::now() + delay, std::function<void()>(std::forward<F>(func))}); in postDelayed()
121 void enqueue(WorkItem&& item) { in enqueue() function
DCommonPool.cpp61 instance().enqueue(std::move(task)); in post()
68 void CommonPool::enqueue(Task&& task) { in enqueue() function in android::uirenderer::CommonPool
/frameworks/base/services/core/java/com/android/server/utils/
DEventLogger.java69 public synchronized void enqueue(Event event) { in enqueue() method in EventLogger
85 enqueue(event.printLog(logType, tag)); in enqueueAndLog()
96 enqueue(event.printSlog(logType, tag)); in enqueueAndSlog()
/frameworks/wilhelm/tests/sandbox/
Dintbufq.c191 goto enqueue; in main()
195 goto enqueue; in main()
199 goto enqueue; in main()
215 enqueue: in main()
/frameworks/base/core/java/com/android/internal/infra/
DServiceConnector.java395 return enqueue(job); in run()
407 enqueue(task); in postForResult()
416 enqueue(task); in postAsync()
429 enqueue(mServiceConnectionFutureCache); in connect()
435 private void enqueue(@NonNull CompletionAwareJob<I, ?> task) { in enqueue() method in ServiceConnector.Impl
436 if (!enqueue((Job<I, ?>) task)) { in enqueue()
443 private boolean enqueue(@NonNull Job<I, ?> job) { in enqueue() method in ServiceConnector.Impl
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java370 long enqueue = mDownloadManager.enqueue(request); in startDownloadAndWait() local
377 return downloadSuccessful(enqueue); in startDownloadAndWait()
386 if (!downloadSuccessful(enqueue)) { in startDownloadAndWait()
416 private boolean downloadSuccessful(long enqueue) { in downloadSuccessful() argument
418 query.setFilterById(enqueue); in downloadSuccessful()
/frameworks/av/media/module/libmediatranscoding/transcoder/include/media/
DMediaSampleQueue.h42 bool enqueue(const std::shared_ptr<MediaSample>& sample);
/frameworks/base/services/tests/servicestests/src/com/android/server/utils/
DEventLoggerTest.java142 mEventLogger.enqueue(event); in testThatConsumerDumpsEventsAsExpected()
155 mEventLogger.enqueue(event); in testThatPrintWriterDumpsEventsAsExpected()

123