Home
last modified time | relevance | path

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

12

/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);
DNativeCallbackThread.cpp84 void NativeCallbackThread::enqueue(const Task &task) { in enqueue() function in android::NativeCallbackThread
/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()
DDownloadManagerBaseTest.java290 mServer.enqueue(resp); in enqueueResponse()
931 mServer.enqueue(buildResponse(HTTP_OK, body)); in enqueueDownloadRequest()
946 mServer.enqueue(buildResponse(HTTP_OK, body)); in enqueueDownloadRequest()
961 return mDownloadManager.enqueue(request); in doEnqueue()
DDownloadManagerStressTest.java92 long requestID = mDownloadManager.enqueue(request); in testMultipleDownloads()
/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/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/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.cpp58 instance().enqueue(std::move(task)); in post()
61 void CommonPool::enqueue(Task&& task) { in enqueue() function in android::uirenderer::CommonPool
DCommonPool.h109 void enqueue(Task&&);
/frameworks/base/core/java/android/app/
DJobSchedulerImpl.java50 public int enqueue(JobInfo job, JobWorkItem work) { in enqueue() method in JobSchedulerImpl
52 return mBinder.enqueue(job, work); in enqueue()
DDownloadManager.java1079 public long enqueue(Request request) {
/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/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java367 long enqueue = mDownloadManager.enqueue(request); in startDownloadAndWait() local
374 return downloadSuccessful(enqueue); in startDownloadAndWait()
383 if (!downloadSuccessful(enqueue)) { in startDownloadAndWait()
413 private boolean downloadSuccessful(long enqueue) { in downloadSuccessful() argument
415 query.setFilterById(enqueue); in downloadSuccessful()
/frameworks/base/core/java/android/app/job/
DIJobScheduler.aidl30 int enqueue(in JobInfo job, in JobWorkItem work); in enqueue() method
DJobScheduler.java128 public abstract @Result int enqueue(@NonNull JobInfo job, @NonNull JobWorkItem work); in enqueue() method in JobScheduler
/frameworks/base/services/core/java/com/android/server/incident/
DRequestQueue.java130 public void enqueue(IBinder key, boolean value, Runnable runnable) { in enqueue() method in RequestQueue
DPendingReports.java141 mRequestQueue.enqueue(listener.asBinder(), true, () -> { in authorizeReport()
158 mRequestQueue.enqueue(listener.asBinder(), false, () -> { in cancelAuthorization()
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackHandler.java49 public void enqueue(PlaybackQueueItem item) { in enqueue() method in AudioPlaybackHandler
DPlaybackSynthesisCallback.java160 mAudioTrackHandler.enqueue(item); in start()
DTextToSpeechService.java1146 mAudioPlaybackHandler.enqueue(mItem); in playImpl()
1183 mAudioPlaybackHandler.enqueue(new SilencePlaybackQueueItem( in playImpl()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java539 Long carrierKeyDownloadRequestId = mDownloadManager.enqueue(request); in downloadKey()

12