Home | History | Annotate | Download | only in service

Lines Matching defs:controller

20 import com.android.email.Controller;

80 private final Controller.Result mControllerCallback = new ControllerResults();
85 * Access must be synchronized, because there are accesses from the Controller callback
160 // TODO this needs to be passed through the controller and back to us
164 Controller controller = Controller.getInstance(getApplication());
165 controller.addResultCallback(mControllerCallback);
182 if (checkAccountId == -1 || !syncOneAccount(controller, checkAccountId, startId)) {
260 Controller.getInstance(getApplication()).removeResultCallback(mControllerCallback);
396 * Start a controller sync for a specific account
398 * @param controller The controller to do the sync work
403 private boolean syncOneAccount(Controller controller, long checkAccountId, int startId) {
408 controller.serviceCheckMail(checkAccountId, inboxId, startId, mControllerCallback);
587 class ControllerResults implements Controller.Result {