Home
last modified time | relevance | path

Searched refs:updates (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DAppWidgetServiceImplTest.java173 List<PendingHostUpdate> updates = mService.startListening( in testNoUpdatesReceived_queueEmpty() local
175 assertTrue(updates.isEmpty()); in testNoUpdatesReceived_queueEmpty()
204 List<PendingHostUpdate> updates = mService.startListening( in testNoUpdatesReceived_queueNonEmpty_noWidgetId() local
206 assertTrue(updates.isEmpty()); in testNoUpdatesReceived_queueNonEmpty_noWidgetId()
217 List<PendingHostUpdate> updates = mService.startListening( in testUpdatesReceived_queueNotEmpty_widgetIdProvided() local
220 assertEquals(3, updates.size()); in testUpdatesReceived_queueNotEmpty_widgetIdProvided()
231 List<PendingHostUpdate> updates = mService.startListening( in testUpdatesReceived_queueNotEmpty_widgetIdProvided2() local
234 assertEquals(4, updates.size()); in testUpdatesReceived_queueNotEmpty_widgetIdProvided2()
245 List<PendingHostUpdate> updates = mService.startListening( in testUpdatesReceived_queueNotEmpty_multipleWidgetIdProvided() local
248 assertEquals(7, updates.size()); in testUpdatesReceived_queueNotEmpty_multipleWidgetIdProvided()
[all …]
/frameworks/base/core/java/android/service/autofill/
DCustomDescription.java275 public Builder batchUpdate(@NonNull Validator condition, @NonNull BatchUpdates updates) { in batchUpdate() argument
279 Preconditions.checkNotNull(updates); in batchUpdate()
283 mUpdates.add(new Pair<>((InternalValidator) condition, updates)); in batchUpdate()
408 final BatchUpdates[] updates = new BatchUpdates[size]; in writeToParcel() local
413 updates[i] = pair.second; in writeToParcel()
416 dest.writeParcelableArray(updates, flags); in writeToParcel()
455 final BatchUpdates[] updates = parcel.readParcelableArray(null, BatchUpdates.class);
458 builder.batchUpdate(conditions[i], updates[i]);
DBatchUpdates.java95 public Builder updateTemplate(@NonNull RemoteViews updates) { in updateTemplate() argument
97 mUpdates = Preconditions.checkNotNull(updates); in updateTemplate()
207 final RemoteViews updates = parcel.readParcelable(null);
208 if (updates != null) {
209 builder.updateTemplate(updates);
/frameworks/base/libs/input/
DSpriteController.cpp107 Vector<SpriteUpdate> updates; in doUpdateSprites() local
116 updates.push(SpriteUpdate(sprite, sprite->getStateLocked())); in doUpdateSprites()
125 SpriteUpdate& update = updates.editItemAt(i); in doUpdateSprites()
144 SpriteUpdate& update = updates.editItemAt(i); in doUpdateSprites()
182 SpriteUpdate& update = updates.editItemAt(i); in doUpdateSprites()
201 SpriteUpdate& update = updates.editItemAt(i); in doUpdateSprites()
287 const SpriteUpdate& update = updates.itemAt(i); in doUpdateSprites()
302 updates.clear(); in doUpdateSprites()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.cpp90 std::vector<std::unique_ptr<C2Param>> updates = in workDone() local
94 for (size_t i = 0; i < updates.size(); ++i) { in workDone()
95 C2Param* param = updates[i].get(); in workDone()
/frameworks/base/core/java/android/appwidget/
DAppWidgetHost.java206 List<PendingHostUpdate> updates; in startListening() local
208 updates = sService.startListening( in startListening()
215 int N = updates.size(); in startListening()
217 PendingHostUpdate update = updates.get(i); in startListening()
/frameworks/base/services/core/java/com/android/server/updates/
DSmsShortCodesInstallReceiver.java17 package com.android.server.updates;
DCertPinInstallReceiver.java17 package com.android.server.updates;
DCarrierProvisioningUrlsInstallReceiver.java17 package com.android.server.updates;
DConversationActionsInstallReceiver.java17 package com.android.server.updates;
DSmartSelectionInstallReceiver.java17 package com.android.server.updates;
DLangIdInstallReceiver.java17 package com.android.server.updates;
DIntentFirewallInstallReceiver.java17 package com.android.server.updates;
DNetworkWatchlistInstallReceiver.java17 package com.android.server.updates;
DEmergencyNumberDbInstallReceiver.java17 package com.android.server.updates;
DCarrierIdInstallReceiver.java17 package com.android.server.updates;
DApnDbInstallReceiver.java17 package com.android.server.updates;
DCertificateTransparencyLogInstallReceiver.java17 package com.android.server.updates;
DConfigUpdateInstallReceiver.java17 package com.android.server.updates;
/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp523 std::vector<C2Param *> updates; in processQueue() local
526 updates.emplace_back(param.get()); in processQueue()
529 if (!updates.empty()) { in processQueue()
531 c2_status_t err = intf()->config_vb(updates, C2_MAY_BLOCK, &failures); in processQueue()
532 ALOGD("applied %zu configUpdates => %s (%d)", updates.size(), asString(err), err); in processQueue()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DSaveUi.java349 final ArrayList<Pair<InternalValidator, BatchUpdates>> updates = in applyCustomDescription() local
353 + " updates=" + updates); in applyCustomDescription()
355 if (updates != null) { in applyCustomDescription()
356 final int size = updates.size(); in applyCustomDescription()
359 final Pair<InternalValidator, BatchUpdates> pair = updates.get(i); in applyCustomDescription()
/frameworks/base/core/java/com/android/internal/notification/
DSystemNotificationChannels.java101 final NotificationChannel updates = new NotificationChannel( in createAll() local
105 channelsList.add(updates); in createAll()
/frameworks/base/cmds/statsd/src/
Duid_data.proto33 // mapping updates.
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbTest.java437 int updates = mRecoverableKeyStoreDb.setRecoveryStatus(uid, alias, status2); in getStatusForAllKeys_with3Keys() local
438 assertThat(updates).isEqualTo(1); in getStatusForAllKeys_with3Keys()
439 updates = mRecoverableKeyStoreDb.setRecoveryStatus(uid, alias3, status2); in getStatusForAllKeys_with3Keys()
440 assertThat(updates).isEqualTo(1); in getStatusForAllKeys_with3Keys()
454 int updates = mRecoverableKeyStoreDb.setRecoveryStatus(uid, alias, status); in setRecoveryStatus_withEmptyDatabase() local
455 assertThat(updates).isEqualTo(0); // database was empty in setRecoveryStatus_withEmptyDatabase()
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp1752 std::vector<std::unique_ptr<C2Param>> updates; in onMessageReceived() local
1755 updates.push_back(C2Param::Copy(*param)); in onMessageReceived()
1761updates.emplace_back(C2Param::CopyAsStream(*info, true /* output */, stream)); in onMessageReceived()
1772updates.emplace_back(new C2StreamCropRectInfo::output(stream, block.crop())); in onMessageReceived()
1773 updates.emplace_back(new C2StreamPictureSizeInfo::output( in onMessageReceived()
1779 if (config->updateConfiguration(updates, config->mOutputDomain)) { in onMessageReceived()

12