/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherModel.java | 243 public void initialize(Callbacks callbacks) { in initialize() argument 245 mCallbacks = new WeakReference<Callbacks>(callbacks); in initialize() 334 final Callbacks callbacks = mCallbacks != null ? mCallbacks.get() : null; in onReceive() local 335 if (callbacks == null) { in onReceive() 344 callbacks.bindPackageAdded(addedFinal); in onReceive() 352 callbacks.bindPackageUpdated(packageName, modifiedFinal); in onReceive() 360 callbacks.bindPackageRemoved(packageName, removedFinal); in onReceive() 594 final Callbacks callbacks = mCallbacks.get(); in tryGetCallbacks() local 595 if (callbacks == null) { in tryGetCallbacks() 600 return callbacks; in tryGetCallbacks() [all …]
|
/packages/apps/Email/src/com/android/email/mail/ |
D | Store.java | 65 public static Store newInstance(String uri, Context context, PersistentDataCallbacks callbacks) in newInstance() argument 71 PersistentDataCallbacks callbacks) in instantiateStore() argument 80 o = m.invoke(null, uri, context, callbacks); in instantiateStore() 170 PersistentDataCallbacks callbacks) in getInstance() argument 176 store = instantiateStore(info.mClassName, uri, context, callbacks); in getInstance() 184 store.setPersistentDataCallbacks(callbacks); in getInstance() 263 protected void setPersistentDataCallbacks(PersistentDataCallbacks callbacks) { in setPersistentDataCallbacks() argument
|
D | Folder.java | 52 public abstract void open(OpenMode mode, PersistentDataCallbacks callbacks) in open() argument 139 MessageUpdateCallbacks callbacks) throws MessagingException; in copyMessages() argument
|
/packages/apps/Email/tests/src/com/android/email/mail/ |
D | MockFolder.java | 31 MessageUpdateCallbacks callbacks) { in copyMessages() argument 113 public void open(OpenMode mode, PersistentDataCallbacks callbacks) { in open() argument
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | LocalStoreUnitTests.java | 312 Store.PersistentDataCallbacks callbacks = mStore.getPersistentCallbacks(); in testStorePersistentCallbacks() local 315 assertEquals("the-default", callbacks.getPersistentString(TEST_KEY, "the-default")); in testStorePersistentCallbacks() 318 callbacks.setPersistentString(TEST_KEY, TEST_STRING); in testStorePersistentCallbacks() 319 callbacks.setPersistentString(TEST_KEY_2, TEST_STRING_2); in testStorePersistentCallbacks() 337 Folder.PersistentDataCallbacks callbacks = mFolder.getPersistentCallbacks(); in testFolderPersistentStorage() local 341 callbacks.setPersistentString("key1", "value-1-1"); in testFolderPersistentStorage() 342 callbacks.setPersistentString("key2", "value-1-2"); in testFolderPersistentStorage() 347 assertEquals("value-1-1", callbacks.getPersistentString("key1", null)); in testFolderPersistentStorage() 348 assertEquals("value-1-2", callbacks.getPersistentString("key2", null)); in testFolderPersistentStorage() 353 assertEquals("value-1-3", callbacks.getPersistentString("key3", "value-1-3")); in testFolderPersistentStorage() [all …]
|
/packages/apps/Email/src/com/android/email/mail/store/ |
D | ExchangeStore.java | 55 public static Store newInstance(String uri, Context context, PersistentDataCallbacks callbacks) in newInstance() argument 57 return new ExchangeStore(uri, context, callbacks); in newInstance() 66 private ExchangeStore(String _uri, Context context, PersistentDataCallbacks callbacks) in ExchangeStore() argument
|
D | Pop3Store.java | 88 public static Store newInstance(String uri, Context context, PersistentDataCallbacks callbacks) in newInstance() argument 226 public synchronized void open(OpenMode mode, PersistentDataCallbacks callbacks) in open() argument 834 public void copyMessages(Message[] msgs, Folder folder, MessageUpdateCallbacks callbacks) in copyMessages() argument
|
D | ImapStore.java | 109 public static Store newInstance(String uri, Context context, PersistentDataCallbacks callbacks) in newInstance() argument 317 public void open(OpenMode mode, PersistentDataCallbacks callbacks) in open() argument 479 MessageUpdateCallbacks callbacks) throws MessagingException { in copyMessages() argument
|
D | LocalStore.java | 99 public static Store newInstance(String uri, Context context, PersistentDataCallbacks callbacks) in newInstance() argument 581 public void open(OpenMode mode, PersistentDataCallbacks callbacks) in open() argument 1102 public void copyMessages(Message[] msgs, Folder folder, MessageUpdateCallbacks callbacks) in copyMessages() argument
|