/packages/apps/Email/tests/src/com/android/email/ |
D | ControllerProviderOpsTests.java | 76 public static class TestController extends Controller { 88 assertEquals("", Controller.getMailboxServerName(mContext, -1)); in testGetMailboxServerName() 90 assertEquals("Inbox", Controller.getMailboxServerName(mContext, Mailbox.TYPE_INBOX)); in testGetMailboxServerName() 91 assertEquals("Outbox", Controller.getMailboxServerName(mContext, Mailbox.TYPE_OUTBOX)); in testGetMailboxServerName() 92 assertEquals("Trash", Controller.getMailboxServerName(mContext, Mailbox.TYPE_TRASH)); in testGetMailboxServerName() 93 assertEquals("Sent", Controller.getMailboxServerName(mContext, Mailbox.TYPE_SENT)); in testGetMailboxServerName() 94 assertEquals("Junk", Controller.getMailboxServerName(mContext, Mailbox.TYPE_JUNK)); in testGetMailboxServerName() 99 assertEquals("Inbox", Controller.getMailboxServerName(mContext, Mailbox.TYPE_INBOX)); in testGetMailboxServerName() 100 assertEquals("Outbox", Controller.getMailboxServerName(mContext, Mailbox.TYPE_OUTBOX)); in testGetMailboxServerName() 101 assertEquals("Trash", Controller.getMailboxServerName(mContext, Mailbox.TYPE_TRASH)); in testGetMailboxServerName() [all …]
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MailboxFinder.java | 19 import com.android.email.Controller; 44 private final Controller mController; 49 private Controller.Result mControllerResults; // Not final, we null it out when done. 79 mController = Controller.getInstance(context); in MailboxFinder() 126 private class ControllerResults extends Controller.Result { 261 /* package */ Controller.Result getControllerResultsForTest() { in getControllerResultsForTest()
|
D | EmailActivity.java | 33 import com.android.email.Controller; 70 private Controller mController; 71 private Controller.Result mControllerResult; 196 mController = Controller.getInstance(this); in onCreate() 362 private class ControllerResult extends Controller.Result {
|
D | ActivityHelper.java | 27 import com.android.email.Controller; 96 Controller.getInstance(context).deleteMessage(messageId); in deleteMessage() 103 Controller.getInstance(context).moveMessages(messageIds, newMailboxId); in moveMessages()
|
D | MessagesAdapter.java | 29 import com.android.email.Controller; 409 Controller controller = Controller.getInstance(mContext); in loadInBackground()
|
D | MessageViewFragmentBase.java | 59 import com.android.email.Controller; 145 private Controller mController; 267 mController = Controller.getInstance(mContext); in onCreate() 458 protected final Controller getController() { in getController() 1758 private class ControllerResults extends Controller.Result {
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
D | MailboxFinderTest.java | 24 import com.android.email.Controller; 67 Controller.injectMockControllerForTest(mMockController); in setUp() 81 Controller.injectMockControllerForTest(null); in tearDown() 87 private static void checkControllerResultRemoved(Controller controller) { in checkControllerResultRemoved() 88 for (Controller.Result callback : controller.getResultCallbacksForTest()) { in checkControllerResultRemoved() 393 private static class MockController extends Controller {
|
D | UIControllerTwoPaneRefreshTaskTest.java | 20 import com.android.email.Controller; 46 mRefreshManager = new MockRefreshManager(getContext(), Controller.getInstance(getContext()), in setUp() 162 Context context, Controller controller, Clock clock, Handler handler) { in MockRefreshManager()
|
/packages/apps/Email/src/com/android/email/service/ |
D | MailService.java | 37 import com.android.email.Controller; 90 Controller mController; 91 private final Controller.Result mControllerCallback = new ControllerResults(); 153 mController = Controller.getInstance(this); in onStartCommand() 284 Controller.getInstance(getApplication()).removeResultCallback(mControllerCallback); in onDestroy() 419 private boolean syncOneAccount(Controller controller, long checkAccountId, int startId) { in syncOneAccount() 617 class ControllerResults extends Controller.Result {
|
D | PopImapSyncAdapterService.java | 33 import com.android.email.Controller; 101 Controller.getInstance(context).updateMailbox(accountId, mailboxId, false); in performSync()
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserActivity.java | 83 private Controller createController() { in createController() 84 Controller controller = new Controller(this); in createController() 97 Controller getController() { in getController() 98 return (Controller) mController; in getController()
|
D | UploadHandler.java | 45 private Controller mController; 47 public UploadHandler(Controller controller) { in UploadHandler() 196 mController.getActivity().startActivityForResult(intent, Controller.FILE_SELECTED); in startActivity() 203 Controller.FILE_SELECTED); in startActivity()
|
D | IntentHandler.java | 55 private Controller mController; 59 public IntentHandler(Activity browser, Controller controller) { in IntentHandler() 267 Controller controller, Intent intent) { in handleWebSearchIntent() 291 Controller controller, String inUrl, Bundle appData, in handleWebSearchRequest()
|
D | NfcHandler.java | 39 final Controller mController; 45 public static void register(Activity activity, Controller controller) { in register() 64 public NfcHandler(Controller controller) { in NfcHandler()
|
D | CrashRecoveryHandler.java | 55 private Controller mController; 63 public static CrashRecoveryHandler initialize(Controller controller) { in initialize() 76 private CrashRecoveryHandler(Controller controller) { in CrashRecoveryHandler()
|
D | BreadCrumbView.java | 45 public interface Controller { interface in BreadCrumbView 50 private Controller mController; 105 public void setController(Controller ctl) { in setController()
|
D | NetworkStateHandler.java | 37 Controller mController; 44 public NetworkStateHandler(Activity activity, Controller controller) { in NetworkStateHandler()
|
/packages/apps/Email/src/com/android/email/ |
D | RefreshManager.java | 60 private final Controller mController; 61 private final Controller.Result mControllerResult; 171 sInstance = new RefreshManager(context, Controller.getInstance(context), in getInstance() 177 protected RefreshManager(Context context, Controller controller, Clock clock, in RefreshManager() 355 private class ControllerResult extends Controller.Result {
|
D | Controller.java | 75 public class Controller { class 77 private static Controller sInstance; 121 protected Controller(Context _context) { in Controller() method in Controller 150 public synchronized static Controller getInstance(Context _context) { in getInstance() 152 sInstance = new Controller(_context); in getInstance() 162 public synchronized static void injectMockControllerForTest(Controller mockController) { in injectMockControllerForTest()
|
/packages/apps/Browser/tests/src/com/android/browser/ |
D | IntentHandlerTests.java | 41 Controller controller = getActivity().getController(); in testSwitchToTabWithUrl() 61 Controller controller = getActivity().getController(); in testShortcut() 88 Controller controller = getActivity().getController(); in testApplication() 140 intent.putExtra(Controller.NO_CRASH_RECOVERY, true); in sendIntent()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
D | GroupsListFragment.java | 44 Controller mController; 48 public interface Controller { interface in GroupsListFragment 54 public void setController(Controller controller) { in setController()
|
D | ContactsListFragment.java | 49 public interface Controller { interface in ContactsListFragment 53 Controller mController; 121 public void setController(Controller controller) { in setController()
|
D | ContactFragment.java | 95 private Controller mController; 144 public ContactFragment(Uri uri, ContactFragment.Controller controller) { in ContactFragment() 233 public interface Controller { interface in ContactFragment 238 public static final class DefaultController implements Controller { 268 public void setController(Controller controller) { in setController()
|
/packages/apps/Browser/src/com/android/browser/view/ |
D | BookmarkExpandableView.java | 47 implements BreadCrumbView.Controller { 58 private BreadCrumbView.Controller mBreadcrumbController; 205 public void setBreadcrumbController(BreadCrumbView.Controller controller) { in setBreadcrumbController()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysPanel.java | 22 public interface Controller { interface 53 public void showMoreKeysPanel(View parentView, Controller controller, int pointX, in showMoreKeysPanel()
|