Home
last modified time | relevance | path

Searched refs:ThreadUtils (Results 1 – 25 of 100) sorted by relevance

1234

/external/chromium_org/printing/android/java/src/org/chromium/printing/
DPrintingContext.java12 import org.chromium.base.ThreadUtils;
51 ThreadUtils.assertOnUiThread(); in updatePrintingContextMap()
71 ThreadUtils.assertOnUiThread(); in create()
77 ThreadUtils.assertOnUiThread(); in getFileDescriptor()
83 ThreadUtils.assertOnUiThread(); in getDpi()
89 ThreadUtils.assertOnUiThread(); in getWidth()
95 ThreadUtils.assertOnUiThread(); in getHeight()
101 ThreadUtils.assertOnUiThread(); in pdfWritingDone()
104 ThreadUtils.assertOnUiThread(); in pdfWritingDone()
113 ThreadUtils.assertOnUiThread(); in getPages()
[all …]
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DBrowserStartupControllerTest.java11 import org.chromium.base.ThreadUtils;
46 ThreadUtils.postOnUiThread(new Runnable() { in contentStart()
103 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testSingleAsynchronousStartupRequest()
137 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testMultipleAsynchronousStartupRequests()
147 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testMultipleAsynchronousStartupRequests()
157 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testMultipleAsynchronousStartupRequests()
192 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testConsecutiveAsynchronousStartupRequests()
202 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testConsecutiveAsynchronousStartupRequests()
226 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testConsecutiveAsynchronousStartupRequests()
236 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testConsecutiveAsynchronousStartupRequests()
[all …]
DInterstitialPageTest.java9 import org.chromium.base.ThreadUtils;
37 return ThreadUtils.runOnUiThreadBlocking(new Callable<Boolean>() { in isInterstitialShowing()
69 return ThreadUtils.runOnUiThreadBlocking(new Callable<Boolean>() {
113 TestWebContentsObserverAndroid observer = ThreadUtils.runOnUiThreadBlocking(
DClipboardTest.java14 import org.chromium.base.ThreadUtils;
69 return ThreadUtils.runOnUiThreadBlockingNoException(new Callable<Boolean>() { in testCopyDocumentFragment()
93 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in copy()
102 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in selectAll()
DTracingControllerAndroidTest.java12 import org.chromium.base.ThreadUtils;
33 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testTraceFileCreation()
44 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testTraceFileCreation()
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/
DAutofillTestHelper.java7 import org.chromium.base.ThreadUtils;
27 return ThreadUtils.runOnUiThreadBlocking(new Callable<AutofillProfile>() { in getProfile()
36 return ThreadUtils.runOnUiThreadBlocking(new Callable<Integer>() {
46 String guid = ThreadUtils.runOnUiThreadBlocking(new Callable<String>() {
57 ThreadUtils.runOnUiThreadBlocking(new Runnable() {
67 return ThreadUtils.runOnUiThreadBlocking(new Callable<CreditCard>() {
76 return ThreadUtils.runOnUiThreadBlocking(new Callable<Integer>() {
85 String guid = ThreadUtils.runOnUiThreadBlocking(new Callable<String>() {
96 ThreadUtils.runOnUiThreadBlocking(new Runnable() {
107 ThreadUtils.runOnUiThreadBlocking(new Runnable() {
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/search_engines/
DTemplateUrlService.java9 import org.chromium.base.ThreadUtils;
67 ThreadUtils.assertOnUiThread(); in getInstance()
84 ThreadUtils.assertOnUiThread(); in isLoaded()
89 ThreadUtils.assertOnUiThread(); in load()
97 ThreadUtils.assertOnUiThread(); in getLocalizedSearchEngines()
115 ThreadUtils.assertOnUiThread(); in templateUrlServiceLoaded()
125 ThreadUtils.assertOnUiThread(); in getDefaultSearchEngineIndex()
147 ThreadUtils.assertOnUiThread();
159 ThreadUtils.assertOnUiThread();
175 ThreadUtils.assertOnUiThread();
[all …]
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DAwContentsStatics.java9 import org.chromium.base.ThreadUtils;
28 ThreadUtils.assertOnUiThread(); in getClientCertLookupTable()
39 ThreadUtils.assertOnUiThread(); in clearClientCertPreferences()
54 ThreadUtils.assertOnUiThread(); in setDataReductionProxyKey()
62 ThreadUtils.assertOnUiThread(); in setDataReductionProxyEnabled()
DJsResultHandler.java7 import org.chromium.base.ThreadUtils;
25 ThreadUtils.runOnUiThread(new Runnable() { in confirm()
37 ThreadUtils.runOnUiThread(new Runnable() { in cancel()
/external/chromium_org/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/
DGCMListener.java11 import org.chromium.base.ThreadUtils;
42 ThreadUtils.runOnUiThread(new Runnable() { in onRegistered()
51 ThreadUtils.runOnUiThread(new Runnable() { in onUnregistered()
60 ThreadUtils.runOnUiThread(new Runnable() { in onMessage()
70 ThreadUtils.runOnUiThread(new Runnable() { in onDeletedMessages()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/autofill/
DPersonalDataManager.java9 import org.chromium.base.ThreadUtils;
317 ThreadUtils.assertOnUiThread(); in getInstance()
339 ThreadUtils.assertOnUiThread(); in personalDataChanged()
349 ThreadUtils.assertOnUiThread(); in registerDataObserver()
358 ThreadUtils.assertOnUiThread(); in unregisterDataObserver()
365 ThreadUtils.assertOnUiThread(); in getProfiles()
375 ThreadUtils.assertOnUiThread(); in getProfile()
380 ThreadUtils.assertOnUiThread(); in deleteProfile()
385 ThreadUtils.assertOnUiThread(); in setProfile()
390 ThreadUtils.assertOnUiThread(); in getCreditCards()
[all …]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/
DProfileSyncService.java13 import org.chromium.base.ThreadUtils;
67 ThreadUtils.assertOnUiThread(); in get()
78 ThreadUtils.assertOnUiThread(); in ProfileSyncService()
141 ThreadUtils.assertOnUiThread(); in requestSyncFromNativeChrome()
147 ThreadUtils.assertOnUiThread(); in requestSyncFromNativeChromeForAllTypes()
156 ThreadUtils.assertOnUiThread(); in requestSyncCycleForTest()
161 ThreadUtils.assertOnUiThread(); in querySyncStatus()
169 ThreadUtils.assertOnUiThread(); in setSessionsId()
448 ThreadUtils.assertOnUiThread(); in addSyncStateChangedListener()
453 ThreadUtils.assertOnUiThread(); in removeSyncStateChangedListener()
[all …]
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/search_engines/
DTemplateUrlServiceTest.java9 import org.chromium.base.ThreadUtils;
38 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testLoadUrlService()
48 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testLoadUrlService()
65 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testSetAndGetSearchEngine()
74 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testSetAndGetSearchEngine()
98 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in waitForTemplateUrlServiceToLoad()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/
DOAuth2TokenService.java17 import org.chromium.base.ThreadUtils;
66 ThreadUtils.assertOnUiThread(); in getForProfile()
72 ThreadUtils.assertOnUiThread(); in create()
77 ThreadUtils.assertOnUiThread(); in addObserver()
82 ThreadUtils.assertOnUiThread(); in removeObserver()
182 assert !ThreadUtils.runningOnUiThread(); in getOAuth2AccessTokenWithTimeout()
236 ThreadUtils.assertOnUiThread(); in validateAccounts()
249 ThreadUtils.assertOnUiThread(); in fireRefreshTokenAvailable()
268 ThreadUtils.assertOnUiThread(); in fireRefreshTokenRevoked()
287 ThreadUtils.assertOnUiThread(); in fireRefreshTokensLoaded()
DAccountManagementScreenHelper.java10 import org.chromium.base.ThreadUtils;
61 ThreadUtils.assertOnUiThread(); in setManager()
68 ThreadUtils.assertOnUiThread(); in openAccountManagementScreen()
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/
DImeTest.java19 import org.chromium.base.ThreadUtils;
165 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testImePaste()
289 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in performShowImeIfNeeded()
337 return ThreadUtils.runOnUiThreadBlockingNoException(new Callable<Boolean>() { in assertClipboardContents()
361 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in copy()
370 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in cut()
379 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in paste()
388 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in selectAll()
397 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in unselect()
407 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in commitText()
[all …]
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/
DNavigationPopupTest.java11 import org.chromium.base.ThreadUtils;
88 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testFaviconFetching()
100 return ThreadUtils.runOnUiThreadBlocking(new Callable<Boolean>() { in testFaviconFetching()
116 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testFaviconFetching()
132 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testItemSelection()
139 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testItemSelection()
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
DJavaScriptUtils.java11 import org.chromium.base.ThreadUtils;
49 + " not the UI thread", ThreadUtils.runningOnUiThread()); in executeJavaScriptAndWaitForResult()
50 ThreadUtils.runOnUiThread(new Runnable() { in executeJavaScriptAndWaitForResult()
65 ThreadUtils.runOnUiThread(new Runnable() { in executeJavaScript()
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/sync/
DSyncController.java13 import org.chromium.base.ThreadUtils;
61 ThreadUtils.assertOnUiThread(); in get()
146 ThreadUtils.assertOnUiThread(); in start()
157 ThreadUtils.assertOnUiThread(); in stop()
172 ThreadUtils.assertOnUiThread(); in syncStateChanged()
186 ThreadUtils.runOnUiThread(new Runnable() { in syncSettingsChanged()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DBrowserStartupController.java15 import org.chromium.base.ThreadUtils;
122 assert ThreadUtils.runningOnUiThread() : "Tried to start the browser on the wrong thread."; in get()
123 ThreadUtils.assertOnUiThread(); in get()
148 assert ThreadUtils.runningOnUiThread() : "Tried to start the browser on the wrong thread."; in startBrowserProcessesAsync()
215 ThreadUtils.assertOnUiThread(); in addStartupCompletedObserver()
224 assert ThreadUtils.runningOnUiThread() : "Callback from browser startup from wrong thread."; in executeEnqueuedCallbacks()
DLocationProviderAdapter.java12 import org.chromium.base.ThreadUtils;
52 ThreadUtils.runOnUiThread(task); in start()
67 ThreadUtils.runOnUiThread(task); in stop()
75 assert ThreadUtils.runningOnUiThread(); in isRunning()
DContentSettings.java9 import org.chromium.base.ThreadUtils;
31 ThreadUtils.assertOnUiThread(); in ContentSettings()
53 ThreadUtils.assertOnUiThread(); in getJavaScriptEnabled()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwContentsRenderTest.java12 import org.chromium.base.ThreadUtils;
36 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in setBackgroundColorOnUiThread()
51 return ThreadUtils.runOnUiThreadBlocking(new Callable<Integer>() { in sampleBackgroundColorOnUiThread()
103 ThreadUtils.runOnUiThreadBlocking(new Runnable() {
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/profiles/
DProfileDownloader.java11 import org.chromium.base.ThreadUtils;
58 ThreadUtils.assertOnUiThread(); in startFetchingAccountInfoFor()
64 ThreadUtils.assertOnUiThread(); in onProfileDownloadSuccess()
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
DModalDialogTest.java16 import org.chromium.base.ThreadUtils;
151 boolean result = ThreadUtils.runOnUiThreadBlocking(new Callable<Boolean>() { in testPromptModalDialog()
252 String errorMessage = ThreadUtils.runOnUiThreadBlocking(new Callable<String>() { in testDisableRepeatedDialogs()
288 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in testDialogDismissedAfterClosingTab()
333 return ThreadUtils.runOnUiThreadBlocking(new Callable<Button[]>() { in getAlertDialogButtons()
350 return ThreadUtils.runOnUiThreadBlocking(new Callable<JavascriptAppModalDialog>() {
368 return ThreadUtils.runOnUiThreadBlocking(new Callable<Boolean>() {
398 ThreadUtils.runOnUiThreadBlocking(new Runnable() {

1234