Home | History | Annotate | Download | only in email

Lines Matching full:controller

70  * New central controller/dispatcher for Email activities that may require remote operations.
75 public class Controller {
76 private static final String TAG = "Controller";
77 private static Controller sInstance;
121 protected Controller(Context _context) {
129 * Mark this controller as being in use in a unit test.
130 * This is a kludge vs having proper mocks and dependency injection; since the Controller is a
138 * Cleanup for test. Mustn't be called for the regular {@link Controller}, as it's a
148 * Gets or creates the singleton instance of Controller.
150 public synchronized static Controller getInstance(Context _context) {
152 sInstance = new Controller(_context);
158 * Inject a mock controller. Used only for testing. Affects future calls to getInstance().
162 public synchronized static void injectMockControllerForTest(Controller mockController) {
439 * @param callback the Controller callback by which results will be reported