Home
last modified time | relevance | path

Searched refs:mController (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DBrowserStartupControllerTest.java18 private TestBrowserStartupController mController; field in BrowserStartupControllerTest
85 mController = new TestBrowserStartupController(context); in setUp()
89 BrowserStartupController.overrideInstanceForTest(mController); in setUp()
94 mController.mStartupResult = BrowserStartupController.STARTUP_SUCCESS; in testSingleAsynchronousStartupRequest()
95 mController.mLibraryLoadSucceeds = true; in testSingleAsynchronousStartupRequest()
103 mController.startBrowserProcessesAsync(callback); in testSingleAsynchronousStartupRequest()
113 mController.initializedCounter()); in testSingleAsynchronousStartupRequest()
126 mController.mStartupResult = BrowserStartupController.STARTUP_SUCCESS; in testMultipleAsynchronousStartupRequests()
127 mController.mLibraryLoadSucceeds = true; in testMultipleAsynchronousStartupRequests()
137 mController.startBrowserProcessesAsync(callback1); in testMultipleAsynchronousStartupRequests()
[all …]
/external/chromium_org/printing/android/java/src/org/chromium/printing/
DPrintingContext.java33 private final PrintingController mController; field in PrintingContext
39 mController = PrintingControllerImpl.getInstance(); in PrintingContext()
78 return mController.getFileDescriptor(); in getFileDescriptor()
84 return mController.getDpi(); in getDpi()
90 return mController.getPageWidth(); in getWidth()
96 return mController.getPageHeight(); in getHeight()
106 printingContext.mController.pdfWritingDone(success); in pdfWritingDone()
114 return mController.getPageNumbers(); in getPages()
121 if (mController.hasPrintingFinished()) { in pageCountEstimationDone()
127 mController.setPrintingContext(this); in pageCountEstimationDone()
[all …]
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/sync/
DDelayedSyncControllerTest.java31 private TestDelayedSyncController mController; field in DelayedSyncControllerTest
47 mController = new TestDelayedSyncController(); in setUp()
58 assertTrue(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testManualSyncRequestsShouldAlwaysTriggerSync()
63 assertTrue(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testManualSyncRequestsShouldAlwaysTriggerSync()
71 assertTrue(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testSyncRequestsShouldTriggerSyncWhenChromeIsInForeground()
80 assertFalse(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testSyncRequestsWhenChromeIsInBackgroundShouldBeDelayed()
87 mController.clearDelayedSyncs(getActivity()); in testDelayedSyncRequestsShouldBeTriggeredOnResume()
88 assertFalse(mController.resumeDelayedSyncs(getActivity())); in testDelayedSyncRequestsShouldBeTriggeredOnResume()
89 assertFalse(mController.mSyncRequested); in testDelayedSyncRequestsShouldBeTriggeredOnResume()
94 assertFalse(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testDelayedSyncRequestsShouldBeTriggeredOnResume()
[all …]
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/invalidation/
DInvalidationControllerTest.java43 private InvalidationController mController; field in InvalidationControllerTest
48 mController = InvalidationController.get(mContext); in setUp()
59 mController.start(); in testStart()
68 mController.stop(); in testStop()
82 mController.onActivityStateChange(ActivityStatus.RESUMED); in testResumingMainActivity()
93 mController.onActivityStateChange(ActivityStatus.RESUMED); in testResumingMainActivityWithSyncDisabled()
102 mController.onActivityStateChange(ActivityStatus.PAUSED); in testPausingMainActivity()
116 mController.onActivityStateChange(ActivityStatus.PAUSED); in testPausingMainActivityWithSyncDisabled()
186 mController.setRegisteredTypes(account, true, in testRegisterForAllTypes()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
DHandleView.java47 private final CursorController mController; field in HandleView
95 mController = controller; in HandleView()
302 mController.beforeStartUpdatingPosition(this); in onTouchEvent()
359 mController.updatePosition(this, Math.round(newPosX), Math.round(newPosY)); in updatePosition()
421 InsertionHandleController ihc = (InsertionHandleController) mController; in showPastePopupWindow()