Home
last modified time | relevance | path

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

12

/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/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/optics/
DTraversal.kt104 Action.Update(it as B) in compose()
154 return Action.Update( in list()
158 is Action.Update -> res.newValue in list()
197 return Action.Update( in listMap()
201 is Action.Update -> res.newValue in listMap()
DLens.kt139 is Action.Update -> Action.Update(set(entity, res.newValue)) in modify()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java34 import com.android.documentsui.Model.Update;
63 private EventListener<Model.Update> mModelUpdateListener;
73 mModelUpdateListener = new EventListener<Model.Update>() { in ModelBackedDocumentsAdapter()
75 public void accept(Update event) { in ModelBackedDocumentsAdapter()
86 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener()
DDirectoryAddonsAdapter.java28 import com.android.documentsui.Model.Update;
48 private final EventListener<Update> mModelUpdateListener;
88 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener()
194 private void onModelUpdate(Update event) {
DMessage.java55 import com.android.documentsui.Model.Update;
95 abstract void update(Update event); in update()
166 void update(Update event) { in update()
190 private void updateToAuthenticationExceptionHeader(Update event) { in updateToAuthenticationExceptionHeader()
264 void update(Update event) { in update()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DProcessingTask.java31 static interface Update {} interface in ProcessingTask
53 public void postUpdate(Update message) { in postUpdate()
85 public void onUpdate(Update message) {} in onUpdate()
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()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DMessageTest.java141 Model.Update error = new Model.Update( in testInflateMessage_updateToCrossProfileNoPermission()
171 Model.Update error = new Model.Update( in testInflateMessage_updateToCrossProfileQuietMode()
203 Model.Update error = new Model.Update( in testInflateMessage_updateToCrossProfileQuietMode_PostV()
DInflateMessageDocumentHolderTest.java130 Model.Update error = new Model.Update( in testClickingButtonShouldShowProgressBar()
/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/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DAuctionServerAdSelectionDao.java24 import androidx.room.Update;
43 @Update
/packages/services/Telecomm/flags/
Dtelecom_callaudioroutestatemachine_flags.aconfig72 description: "Update supported route mask when Bluetooth devices audio connected."
88 …description: "Update switching bt devices based on arbitrary device chosen if no device is specifi…
96 description: "Update internal call audio state before sending updated state to ICS"
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/model/
DAppShareabilityDatabase.java24 import androidx.room.Update;
51 @Update
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/
DProvisionedKeyDao.java23 import androidx.room.Update;
44 @Update
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java351 TestEventHandler<Model.Update> listener = new TestEventHandler<>(); in testLoadCrossProfileDoc_failsWithQuietModeException()
372 TestEventHandler<Model.Update> listener = new TestEventHandler<>(); in testLoadCrossProfileDoc_failsWithNoPermissionException()
396 TestEventHandler<Model.Update> listener = new TestEventHandler<>(); in testLoadCrossProfileDoc_bothError_showNoPermissionException()
431 TestEventHandler<Model.Update> listener = new TestEventHandler<>(); in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
436 EventListener<Model.Update> updateEventListener1 = update -> latch1.countDown(); in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
468 TestEventHandler<Model.Update> listener = new TestEventHandler<>(); in testLoadChildrenDocuments_failsWithNonRecentsAndEmptyStack()
/packages/modules/HealthFitness/testapps/toolbox/
DREADME.md36 ### Update Data
39 * Users can goto the page to insert data, enter the updated values and click Update Data.
/packages/modules/Uwb/generic_ranging/tests/multidevices/
DREADME.md1 //TODO: Update this.
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/operation/
DAction.kt28 data class Update<B>(val newValue: B) : Action<B>() class in com.android.libraries.pcc.chronicle.api.operation.Action
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/
DDaoBuildingBlocks.java25 import androidx.room.Update;
137 @Update(entity = ReportEntity.class)
/packages/services/Car/car-lib/generated-prop-config/
DREADME.md6 Do not manually update the file. Update
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/cantrip/
DOpticalCantrip.kt38 is Action.Update -> result.newValue in invoke()
/packages/modules/StatsD/statsd/tests/state/
DStateTracker_test.cpp46 struct Update { struct in android::os::statsd::TestStateListener
47 Update(const HashableDimensionKey& key, int state) : mKey(key), mState(state){}; in Update() argument
52 std::vector<Update> updates;
327 for (const TestStateListener::Update& update : listener->updates) { in TEST()

12