Home
last modified time | relevance | path

Searched refs:Update (Results 1 – 21 of 21) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/
DModel.java69 private List<EventListener<Update>> mUpdateListeners = new ArrayList<>();
78 public void addUpdateListener(EventListener<Update> listener) { in addUpdateListener()
82 public void removeUpdateListener(EventListener<Update> listener) { in removeUpdateListener()
87 for (EventListener<Update> handler: mUpdateListeners) { in notifyUpdateListeners()
88 handler.accept(Update.UPDATE); in notifyUpdateListeners()
93 Update error = new Update(e, mFeatures.isRemoteActionsEnabled()); in notifyUpdateListeners()
94 for (EventListener<Update> handler: mUpdateListeners) { in notifyUpdateListeners()
256 public static class Update { class in Model
258 public static final Update UPDATE = new Update();
273 private Update() { in Update() method in Model.Update
[all …]
DFocusManager.java47 import com.android.documentsui.Model.Update;
601 private EventListener<Model.Update> mModelListener = new EventListener<Model.Update>() {
603 public void accept(Update event) {
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java374 public static class Update { class in MockContentProvider
391 public Update(Uri uri, in Update() method in MockContentProvider.Update
407 public Update anyNumberOfTimes() { in anyNumberOfTimes()
418 public Update returnRowsAffected(int rowsAffected) { in returnRowsAffected()
440 Update update = (Update) o; in equals()
472 private List<Update> mExpectedUpdates = new ArrayList<>();
500 public Update expectUpdate(Uri contentUri, in expectUpdate()
504 Update update = new Update(contentUri, contentValues, selection, selectionArgs); in expectUpdate()
588 for (Iterator<Update> iterator = mExpectedUpdates.iterator(); iterator.hasNext(); ) { in update()
589 Update update = iterator.next(); in update()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java33 import com.android.documentsui.Model.Update;
60 private EventListener<Model.Update> mModelUpdateListener;
68 mModelUpdateListener = new EventListener<Model.Update>() { in ModelBackedDocumentsAdapter()
70 public void accept(Update event) { in ModelBackedDocumentsAdapter()
81 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener()
DMessage.java32 import com.android.documentsui.Model.Update;
63 abstract void update(Update Event); in update()
133 void update(Update event) { in update()
157 private void updateToAuthenticationExceptionHeader(Update event) { in updateToAuthenticationExceptionHeader()
194 void update(Update event) { in update()
DDirectoryAddonsAdapter.java25 import com.android.documentsui.Model.Update;
43 private final EventListener<Update> mModelUpdateListener;
67 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener()
173 private void onModelUpdate(Update event) {
DDocumentsAdapter.java59 abstract EventListener<Model.Update> getModelUpdateListener(); in getModelUpdateListener()
DDirectoryFragment.java152 private final EventListener<Model.Update> mModelUpdateListener = new ModelUpdateListener();
1369 private final class ModelUpdateListener implements EventListener<Model.Update> {
1372 public void accept(Model.Update update) { in accept()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DMessageTest.java73 Model.Update error = new Model.Update( in testInflateMessage_updateToCrossProfileNoPermission()
90 Model.Update error = new Model.Update( in testInflateMessage_updateToCrossProfileQuietMode()
DInflateMessageDocumentHolderTest.java65 Model.Update error = new Model.Update( in testClickingButtonShouldShowProgressBar()
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DFavoriteNumberDao.java24 import androidx.room.Update;
46 @Update
50 @Update
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DImageSavingTask.java44 static class UpdateBitmap implements Update {
48 static class UpdateProgress implements Update {
53 static class UpdatePreviewSaved implements Update {
132 public void onUpdate(Update message) { in onUpdate()
DProcessingTask.java31 static interface Update {} interface in ProcessingTask
53 public void postUpdate(Update message) { in postUpdate()
85 public void onUpdate(Update message) {} in onUpdate()
DProcessingTaskController.java47 task.onUpdate((ProcessingTask.Update) msg.obj);
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestDocumentsAdapter.java26 import com.android.documentsui.Model.Update;
38 final TestEventListener<Update> mModelListener = new TestEventListener<>();
88 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java318 TestEventHandler<Model.Update> listener = new TestEventHandler<>(); in testLoadCrossProfileDoc_failsWithQuietModeException()
339 TestEventHandler<Model.Update> listener = new TestEventHandler<>(); in testLoadCrossProfileDoc_failsWithNoPermissionException()
363 TestEventHandler<Model.Update> listener = new TestEventHandler<>(); in testLoadCrossProfileDoc_bothError_showNoPermissionException()
394 TestEventHandler<Model.Update> listener = new TestEventHandler<>(); in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
399 EventListener<Model.Update> updateEventListener1 = update -> latch1.countDown(); in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
427 TestEventHandler<Model.Update> listener = new TestEventHandler<>(); in testLoadChildrenDocuments_failsWithNonRecentsAndEmptyStack()
/packages/modules/StatsD/statsd/tests/state/
DStateTracker_test.cpp45 struct Update { struct in android::os::statsd::TestStateListener
46 Update(const HashableDimensionKey& key, int state) : mKey(key), mState(state){}; in Update() argument
51 std::vector<Update> updates;
325 for (const TestStateListener::Update& update : listener->updates) { in TEST()
/packages/modules/SdkExtensions/
DREADME.md57 - Update `derive_sdk.cpp` by:
64 - Update `RollbackManagerServiceImpl#getExtensionVersions` to account for the
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapterTest.java52 mAdapter.getModelUpdateListener().accept(Model.Update.UPDATE); in setUp()
/packages/apps/Launcher3/
Dbuglist_with_title.txt2 149934536 twickham P2 FIXED Update gesture nav pullback logic ----
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java269 private class Update implements Command { class in CalendarProvider2Test
273 public Update(String eventName, KeyValue[] pairs) { in Update() method in CalendarProvider2Test.Update
888 new Update("cancel0", new KeyValue[] {
935 new Update("daily0", new KeyValue[] {
945 new Update("daily0", new KeyValue[] {
951 new Update("except1", new KeyValue[] {