Home
last modified time | relevance | path

Searched refs:update (Results 1 – 25 of 503) sorted by relevance

12345678910>>...21

/aosp14/frameworks/base/core/tests/coretests/src/android/text/
H A DDynamicLayoutBlocksTest.java110 update(0, 0, 0); in testFrom0()
113 update(0, 0, 1); in testFrom0()
116 update(0, 0, 10); in testFrom0()
124 update(0, 0, 0); in testFrom1ReplaceByEmpty()
127 update(0, 10, 0); in testFrom1ReplaceByEmpty()
150 update(0, 0, 1); in testFrom1ReplaceFromFirstLine()
153 update(0, 0, 10); in testFrom1ReplaceFromFirstLine()
198 update(0, 4, 50); in testFrom2ReplaceFromFirstLine()
215 update(3, 7, 50); in testFrom2ReplaceFromFirstBlock()
274 update(0, 4, 0); in testFrom2RemoveFromFirst()
[all …]
/aosp14/frameworks/base/libs/input/
H A DSpriteController.cpp129 if (update.state.surfaceControl == NULL && update.state.wantSurfaceVisible()) { in doUpdateSprites()
130 update.state.surfaceWidth = update.state.icon.width(); in doUpdateSprites()
131 update.state.surfaceHeight = update.state.icon.height(); in doUpdateSprites()
135 obtainSurface(update.state.surfaceWidth, update.state.surfaceHeight, in doUpdateSprites()
186 if ((update.state.dirty & DIRTY_BITMAP) && update.state.surfaceDrawn) { in doUpdateSprites()
191 if (update.state.surfaceControl != NULL && !update.state.surfaceDrawn in doUpdateSprites()
227 update.state.positionX - update.state.icon.hotSpotX, in doUpdateSprites()
228 update.state.positionY - update.state.icon.hotSpotY); in doUpdateSprites()
291 update.sprite->setSurfaceLocked(update.state.surfaceControl, in doUpdateSprites()
292 update.state.surfaceWidth, update.state.surfaceHeight, in doUpdateSprites()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/
H A DEditorTouchStateTest.java65 mTouchState.update(event1, mConfig); in testUpdate_singleTap()
71 mTouchState.update(event2, mConfig); in testUpdate_singleTap()
77 mTouchState.update(event3, mConfig); in testUpdate_singleTap()
86 mTouchState.update(event1, mConfig); in testUpdate_doubleTap_sameArea()
92 mTouchState.update(event2, mConfig); in testUpdate_doubleTap_sameArea()
98 mTouchState.update(event3, mConfig); in testUpdate_doubleTap_sameArea()
108 mTouchState.update(event1, mConfig); in testUpdate_doubleTap_notSameArea()
114 mTouchState.update(event2, mConfig); in testUpdate_doubleTap_notSameArea()
120 mTouchState.update(event3, mConfig); in testUpdate_doubleTap_notSameArea()
127 mTouchState.update(event4, mConfig); in testUpdate_doubleTap_notSameArea()
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/
H A DTouchTrackerTest.kt54 linearTracker.update(touchX, 0f, velocityX, velocityY)
60 linearTracker.update(touchX, 0f, velocityX, velocityY)
66 linearTracker.update(touchX, 0f, velocityX, velocityY)
71 linearTracker.update(touchX, 0f, velocityX, velocityY)
76 linearTracker.update(touchX, 0f, velocityX, velocityY)
82 linearTracker.update(touchX, 0f, velocityX, velocityY)
88 linearTracker.update(touchX, 0f, velocityX, velocityY)
102 linearTracker.update(touchX, 0f, velocityX, velocityY)
108 linearTracker.update(touchX, 0f, velocityX, velocityY)
114 linearTracker.update(touchX, 0f, velocityX, velocityY)
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/app/usage/
H A DUsageStatsTest.java201 left.update(null, 350000, END_OF_DAY, 0);
397 left.update("com.test.service1", 100000,
414 left.update("com.test.service1", 100000,
432 left.update("com.test.service1", 100000,
462 left.update("com.test.service1", 100000,
464 left.update("com.test.service2", 100000,
495 left.update("com.test.service1", 100000,
497 left.update("com.test.service2", 100000,
535 left.update(null, 550000, END_OF_DAY, 0);
552 left.update(className, 200000, APP_COMPONENT_USED, 0);
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
H A DAppOpsUidStateTrackerTest.java127 .update(); in testNoCapability()
142 .update(); in testForegroundWithMicrophoneCapability()
158 .update(); in testBackgroundWithMicrophoneCapability()
174 .update(); in testForegroundWithCameraCapability()
190 .update(); in testBackgroundWithCameraCapability()
206 .update(); in testForegroundWithLocationCapability()
222 .update(); in testBackgroundWithLocationCapability()
237 .update(); in testForegroundNotCapabilitiesTracked()
740 .update(); in testUidStateChangedBackgroundThenForegroundImmediately()
746 .update(); in testUidStateChangedBackgroundThenForegroundImmediately()
[all …]
/aosp14/frameworks/base/core/java/android/appwidget/
H A DPendingHostUpdate.java40 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_VIEWS_UPDATE); in updateAppWidget() local
41 update.views = views; in updateAppWidget()
42 return update; in updateAppWidget()
46 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_PROVIDER_CHANGED); in providerChanged() local
47 update.widgetInfo = info; in providerChanged()
48 return update; in providerChanged()
52 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_VIEW_DATA_CHANGED); in viewDataChanged() local
53 update.viewId = viewId; in viewDataChanged()
54 return update; in viewDataChanged()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
H A DBubbleDataTest.java248 BubbleData.Update update = mUpdateCaptor.getValue(); in ifSuppress_hideFlyout() local
263 BubbleData.Update update = mUpdateCaptor.getValue(); in ifInterruptiveAndNotSuppressed_thenShowFlyout() local
264 assertThat(update.addedBubble.showFlyout()).isTrue(); in ifInterruptiveAndNotSuppressed_thenShowFlyout()
282 BubbleData.Update update = mUpdateCaptor.getValue(); in sameUpdate_InShade_thenHideFlyout() local
304 BubbleData.Update update = mUpdateCaptor.getValue(); in sameUpdate_NotInShade_NotVisuallyInterruptive_dontShowFlyout() local
884 assertThat(update.removedBubbles.get(0)).isEqualTo( in test_onMaxBubblesChanged_notExpanded()
886 assertThat(update.removedBubbles.get(1)).isEqualTo( in test_onMaxBubblesChanged_notExpanded()
913 assertThat(update.removedBubbles.get(0)).isEqualTo( in test_onMaxBubblesChanged_expanded()
915 assertThat(update.removedBubbles.get(1)).isEqualTo( in test_onMaxBubblesChanged_expanded()
1093 assertThat(update.removedBubbles.get(0)).isEqualTo( in test_removeBubblesForUser()
[all …]
H A DBubblePositionerTest.java94 mPositioner.update(); in testUpdate()
105 mPositioner.update(); in testShowBubblesVertically_phonePortrait()
113 mPositioner.update(); in testShowBubblesVertically_phoneLandscape()
122 mPositioner.update(); in testShowBubblesVertically_tablet()
131 mPositioner.update(); in testGetRestingPosition_returnsDefaultPosition()
143 mPositioner.update(); in testGetRestingPosition_returnsRestingPosition()
155 mPositioner.update(); in testGetRestingPosition_bubble_onPhone()
168 mPositioner.update(); in testGetRestingPosition_bubble_onPhone_RTL()
182 mPositioner.update(); in testGetRestingPosition_chatBubble_onTablet()
196 mPositioner.update(); in testGetRestingPosition_chatBubble_onTablet_RTL()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardMessageArea.java84 update(); in onThemeChanged()
88 update(); in reloadColor()
123 update(); in securityMessageChanged()
128 update(); in clearMessage()
131 void update() { in update() method in KeyguardMessageArea
148 update(); in setIsVisible()
161 update(); in disable()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/
H A DBatteryStatsSamplingTimerTest.java40 timer.update(10, 1, SystemClock.elapsedRealtime() * 1000); in testSettingStalePreservesData()
42 timer.update(20, 2, SystemClock.elapsedRealtime() * 1000); in testSettingStalePreservesData()
66 timer.update(10, 1, SystemClock.elapsedRealtime() * 1000); in testEndSampleAndContinueWhenTimeOrCountDecreases()
75 timer.update(0, 0, SystemClock.elapsedRealtime() * 1000); in testEndSampleAndContinueWhenTimeOrCountDecreases()
78 timer.update(0, 0, SystemClock.elapsedRealtime() * 1000); in testEndSampleAndContinueWhenTimeOrCountDecreases()
92 timer.update(30, 3, SystemClock.elapsedRealtime() * 1000); in testEndSampleAndContinueWhenTimeOrCountDecreases()
95 timer.update(30, 3, SystemClock.elapsedRealtime() * 1000); in testEndSampleAndContinueWhenTimeOrCountDecreases()
117 timer.update(10, 1, SystemClock.elapsedRealtime() * 1000); in testFirstUpdateIsAbsorbed()
126 timer.update(10, 1, SystemClock.elapsedRealtime() * 1000); in testFirstUpdateIsAbsorbed()
217 unparceledOnBatteryTimer.update(10, 10, SystemClock.elapsedRealtime() * 1000); in testSampleTimerSummaryParceling()
[all …]
H A DMemoryPowerCalculatorTest.java46 stats.getKernelMemoryTimerLocked(0).update(0, 1, 0); in testTimerBasedModel()
47 stats.getKernelMemoryTimerLocked(2).update(0, 1, 0); in testTimerBasedModel()
49 stats.getKernelMemoryTimerLocked(0).update(1000000, 1, 4000000); in testTimerBasedModel()
50 stats.getKernelMemoryTimerLocked(2).update(2000000, 1, 8000000); in testTimerBasedModel()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardStateControllerImpl.java134 update(true /* updateAlways */); in KeyguardStateControllerImpl()
251 void update(boolean updateAlways) { in update() method in KeyguardStateControllerImpl
424 update(false /* updateAlways */); in onUserSwitchComplete()
429 update(false /* updateAlways */); in onTrustChanged()
435 update(false /* updateAlways */); in onTrustManagedChanged()
443 update(false); in onBiometricEnrollmentStateChanged()
450 update(false /* updateAlways */); in onStartedWakingUp()
465 update(false /* updateAlways */); in onStrongAuthStateChanged()
470 update(false /* updateAlways */); in onLockedOutStateChanged()
475 update(false /* updateAlways */); in onKeyguardVisibilityChanged()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/
H A DSP800Derive.java54 m.update(ByteBuffer.allocate(Integer.BYTES).putInt(v).array()); in update32()
63 m.update(fixedInput); in fixedInput()
75 m.update(label); in withContext()
76 m.update((byte) 0); in withContext()
77 m.update(context); in withContext()
/aosp14/frameworks/base/core/java/android/service/notification/
H A DINotificationListener.aidl34 void onListenerConnected(in NotificationRankingUpdate update); in onListenerConnected() argument
36 in NotificationRankingUpdate update); in onNotificationPosted() argument
40 in NotificationRankingUpdate update, in NotificationStats stats, int reason); in onNotificationRemoved() argument
41 void onNotificationRankingUpdate(in NotificationRankingUpdate update); in onNotificationRankingUpdate() argument
50 …ionHolder notificationHolder, in NotificationChannel channel, in NotificationRankingUpdate update); in onNotificationEnqueuedWithChannel() argument
63 …void onNotificationFeedbackReceived(String key, in NotificationRankingUpdate update, in Bundle fee… in onNotificationFeedbackReceived() argument
/aosp14/frameworks/base/keystore/java/android/security/keystore2/
H A DKeyStoreCryptoOperationChunkedStreamer.java64 byte[] update(@NonNull byte[] input) throws KeyStoreException; in update() method
123 public byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException { in update() method in KeyStoreCryptoOperationChunkedStreamer
145 byte[] o = mKeyStoreStream.update(mChunk); in update()
156 byte[] o = mKeyStoreStream.update(ArrayUtils.subarray(input, inputOffset, in update()
179 byte[] output = update(input, inputOffset, inputLength); in doFinal()
221 public byte[] update(byte[] input) throws KeyStoreException { in update() method in KeyStoreCryptoOperationChunkedStreamer.MainDataStream
222 return mOperation.update(input); in update()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
H A DMessageDigestPerfTest.java102 digest.update(DATA, 0, DATA_SIZE); in time()
113 digest.update(LARGE_DATA, 0, LARGE_DATA_SIZE); in timeLargeArray()
124 digest.update(LARGE_DATA, LARGE_DATA_SIZE / 2, DATA_SIZE); in timeSmallChunkOfLargeArray()
137 digest.update(SMALL_BUFFER); in timeSmallByteBuffer()
150 digest.update(SMALL_DIRECT_BUFFER); in timeSmallDirectByteBuffer()
163 digest.update(LARGE_BUFFER); in timeLargeByteBuffer()
176 digest.update(LARGE_DIRECT_BUFFER); in timeLargeDirectByteBuffer()
189 digest.update(LARGE_BUFFER); in timeSmallChunkOfLargeByteBuffer()
202 digest.update(LARGE_DIRECT_BUFFER); in timeSmallChunkOfLargeDirectByteBuffer()
H A DChecksumPerfTest.java43 adler.update(bytes); in timeAdler_block()
52 adler.update(1); in timeAdler_byte()
62 crc.update(bytes); in timeCrc_block()
71 crc.update(1); in timeCrc_byte()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
H A DUpdatableFontDirTest.java184 dirForPreparation.update(Arrays.asList( in construct()
238 dirForPreparation.update(Arrays.asList( in construct_missingFsverity()
268 dirForPreparation.update(Arrays.asList( in construct_fontNameMismatch()
576 dir.update(Arrays.asList( in installFontFile_batch()
593 dir.update( in installFontFile_invalidSignature()
684 dir.update( in installFontFile_failedToWriteConfigXml()
857 dir.update(Arrays.asList( in installFontFile_batchFailure()
876 dir.update(Arrays.asList( in addFontFamily()
902 dir.update(requests); in addFontFamily_noName()
932 dir.update(Arrays.asList( in getSystemFontConfig()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DPosition.java57 update(percentageX, percentageY); in Position()
68 public void update(@NonNull Position percentagePosition) { in update() method in Position
69 update(percentagePosition.getPercentageX(), percentagePosition.getPercentageY()); in update()
78 public void update(@FloatRange(from = 0.0, to = 1.0) float percentageX, in update() method in Position
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/util/
H A DTestFoldStateProvider.kt50 fun sendFoldUpdate(@FoldUpdate update: Int) {
51 if (update == FOLD_UPDATE_FINISH_FULL_OPEN || update == FOLD_UPDATE_FINISH_HALF_OPEN) {
54 listeners.forEach { it.onFoldUpdate(update) }
/aosp14/system/core/fs_mgr/libsnapshot/
H A Dpartition_cow_creator.cpp160 if (update == nullptr || !update->has_estimate_cow_size()) { in GetCowSize()
167 auto size = update->estimate_cow_size() + 2_MiB; in GetCowSize()
186 if (update == nullptr) return sc.cow_size_bytes(); in GetCowSize()
188 for (const auto& iop : update->operations()) { in GetCowSize()
218 if (update && update->has_estimate_cow_size()) { in Run()
219 ret.snapshot_status.set_estimated_cow_size(update->estimate_cow_size()); in Run()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleController.java980 mBubblePositioner.update(); in onConfigurationChanged()
1730 + (update.removedBubbles != null && update.removedBubbles.size() > 0)
1790 if (update.addedBubble != null) {
1807 boolean collapseStack = update.expandedChanged && !update.expanded;
1811 if (update.orderChanged) {
1823 if (update.selectionChanged) {
1828 if (update.expandedChanged && update.expanded) {
1837 mImpl.mCachedState.update(update);
2164 synchronized void update(BubbleData.Update update) { in update() argument
2165 if (update.selectionChanged) { in update()
[all …]
/aosp14/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
H A DFixVibrateSetting.java64 update(); in onResume()
84 update(); in onClick()
87 update(); in onClick()
90 update(); in onClick()
94 private void update() { in update() method in FixVibrateSetting
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/pipeline/
H A DMediaDataCombineLatest.kt41 update(key, oldKey)
44 update(key, key)
67 update(key, oldKey)
70 update(key, key)
86 private fun update(key: String, oldKey: String?) { regex

12345678910>>...21