Home
last modified time | relevance | path

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

12345678910>>...21

/frameworks/base/core/tests/coretests/src/android/text/
DDynamicLayoutBlocksTest.java72 private void update(int startLine, int endLine, int newLineCount) { in update() method in DynamicLayoutBlocksTest
110 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()
130 update(0, 100, 0); in testFrom1ReplaceByEmpty()
133 update(20, 30, 0); in testFrom1ReplaceByEmpty()
136 update(20, 20, 0); in testFrom1ReplaceByEmpty()
139 update(40, 100, 0); in testFrom1ReplaceByEmpty()
[all …]
/frameworks/base/libs/input/
DSpriteController.cpp132 SpriteUpdate& update = updates.editItemAt(i); in doUpdateSprites() local
134 if (update.state.surfaceControl == NULL && update.state.wantSurfaceVisible()) { in doUpdateSprites()
135 update.state.surfaceWidth = update.state.icon.bitmap.width(); in doUpdateSprites()
136 update.state.surfaceHeight = update.state.icon.bitmap.height(); in doUpdateSprites()
137 update.state.surfaceDrawn = false; in doUpdateSprites()
138 update.state.surfaceVisible = false; in doUpdateSprites()
139 update.state.surfaceControl = obtainSurface( in doUpdateSprites()
140 update.state.surfaceWidth, update.state.surfaceHeight); in doUpdateSprites()
141 if (update.state.surfaceControl != NULL) { in doUpdateSprites()
142 update.surfaceChanged = surfaceChanged = true; in doUpdateSprites()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScoringParamsTest.java112 assertTrue(mScoringParams.update(params));
125 assertTrue(mScoringParams.update(partial));
138 assertFalse(mScoringParams.update("word"));
139 assertFalse(mScoringParams.update("42"));
140 assertFalse(mScoringParams.update(" "));
141 assertFalse(mScoringParams.update("horizon=flat"));
142 assertFalse(mScoringParams.update("horizon=+"));
143 assertFalse(mScoringParams.update(",,,,,,,,,,,,,,,,,,"));
144 assertFalse(mScoringParams.update("rssi2=-86"));
145 assertFalse(mScoringParams.update("rssi2=-99:-88:-77:-66:-55"));
[all …]
DWakeupLockTest.java84 mWakeupLock.update(networks); in updateEnoughTimesToEvictWithAsserts()
96 mWakeupLock.update(networks); in updateEnoughTimesToEvictWithoutAsserts()
111 mWakeupLock.update(networks); in verifyInitializingLockByScans()
114 mWakeupLock.update(networks); in verifyInitializingLockByScans()
130 mWakeupLock.update(networks); in verifyInitializingLockByTimeout()
143 mWakeupLock.update(networks); in addToLockSavesToStore()
203 mWakeupLock.update(updateNetworks); in updateWithLockedNetworkShouldResetRequiredNumberOfScans()
205 mWakeupLock.update(lockedNetworks); in updateWithLockedNetworkShouldResetRequiredNumberOfScans()
223 mWakeupLock.update(lockedNetworks); in updateWithLockedNetworkAfterItIsRemovedDoesNotReset()
272 mWakeupLock.update(networks); in updateShouldNotSaveIfLockDoesNotChange()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java146 left.update("com.test.activity1", 200000, Event.ACTIVITY_RESUMED, 1); in testActivity()
154 left.update("com.test.activity1", 350000, ACTIVITY_PAUSED, 1); in testActivity()
161 left.update("com.test.activity1", 400000, ACTIVITY_STOPPED, 1); in testActivity()
168 left.update("com.test.activity1", 500000, ACTIVITY_DESTROYED, 1); in testActivity()
181 left.update("com.test.activity1", 100000, Event.ACTIVITY_RESUMED, 1);
187 left.update(null, 350000, END_OF_DAY, 0);
200 left.update("com.test.activity1", 100000, ACTIVITY_PAUSED, 1);
205 left.update("com.test.activity1", 200000, Event.ACTIVITY_RESUMED, 1);
212 left.update("com.test.activity1", 300000, ACTIVITY_PAUSED, 1);
219 left.update("com.test.activity1", 400000, ACTIVITY_STOPPED, 1);
[all …]
/frameworks/minikin/include/minikin/
DMinikinPaint.h94 .update(size) in hash()
95 .update(scaleX) in hash()
96 .update(skewX) in hash()
97 .update(letterSpacing) in hash()
98 .update(wordSpacing) in hash()
99 .update(fontFlags) in hash()
100 .update(localeListId) in hash()
101 .update(fontStyle.identifier()) in hash()
102 .update(static_cast<uint8_t>(familyVariant)) in hash()
104 .update(font->getId()) in hash()
DHasher.h33 IGNORE_INTEGER_OVERFLOW inline Hasher& update(uint32_t data) { in update() function
41 update(length); in updateShorts()
44 update((uint32_t)data[i] | ((uint32_t)data[i + 1] << 16)); in updateShorts()
47 update((uint32_t)data[i]); in updateShorts()
54 update(size); in updateString()
57 update((uint32_t)str[i] | ((uint32_t)str[i + 1] << 8) | ((uint32_t)str[i + 2] << 16) | in updateString()
64 update(data); in updateString()
DLayoutCache.h108 .update(mId) in computeHash()
109 .update(mStart) in computeHash()
110 .update(mCount) in computeHash()
111 .update(mStyle.identifier()) in computeHash()
112 .update(mSize) in computeHash()
113 .update(mScaleX) in computeHash()
114 .update(mSkewX) in computeHash()
115 .update(mLetterSpacing) in computeHash()
116 .update(mWordSpacing) in computeHash()
117 .update(mFontFlags) in computeHash()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUnlockMethodCache.java63 update(true /* updateAlways */); in UnlockMethodCache()
73 update(true /* updateAlways */); in UnlockMethodCache()
113 private void update(boolean updateAlways) { in update() method in UnlockMethodCache
142 update(false /* updateAlways */);
147 update(false /* updateAlways */);
152 update(false /* updateAlways */);
157 update(false /* updateAlways */);
167 update(false /* updateAlways */);
173 update(false /* updateAlways */);
178 update(false /* updateAlways */);
[all …]
DLockIcon.java101 update(false /* force */);
112 update(true /* force */);
124 update(oldSimLocked != mSimLocked);
129 update();
135 update();
140 update();
203 update(); in onUserInfoChanged()
211 update(); in setTransientBiometricsError()
220 update(); in onConfigurationChanged()
224 public void update() { in update() method in LockIcon
[all …]
/frameworks/base/core/java/android/appwidget/
DPendingHostUpdate.java39 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_VIEWS_UPDATE); in updateAppWidget() local
40 update.views = views; in updateAppWidget()
41 return update; in updateAppWidget()
45 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_PROVIDER_CHANGED); in providerChanged() local
46 update.widgetInfo = info; in providerChanged()
47 return update; in providerChanged()
51 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_VIEW_DATA_CHANGED); in viewDataChanged() local
52 update.viewId = viewId; in viewDataChanged()
53 return update; in viewDataChanged()
/frameworks/av/camera/include/camera/
DCameraMetadata.h130 status_t update(uint32_t tag,
132 status_t update(uint32_t tag,
134 status_t update(uint32_t tag,
136 status_t update(uint32_t tag,
138 status_t update(uint32_t tag,
140 status_t update(uint32_t tag,
142 status_t update(uint32_t tag,
144 status_t update(const camera_metadata_ro_entry &entry);
148 status_t update(uint32_t tag, Vector<T> data) { in update() function
149 return update(tag, data.array(), data.size()); in update()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DBoundsAnimationControllerTests.java332 BoundsAnimationDriver update(float t) { in update() method in BoundsAnimationControllerTests.BoundsAnimationDriver
443 .update(0f) in testFullscreenToFloatingTransition()
444 .update(0.5f) in testFullscreenToFloatingTransition()
445 .update(1f) in testFullscreenToFloatingTransition()
455 .update(0f) in testFloatingToFullscreenTransition()
456 .update(0.5f) in testFloatingToFullscreenTransition()
457 .update(1f) in testFloatingToFullscreenTransition()
467 .update(0f) in testFloatingToSmallerFloatingTransition()
468 .update(0.5f) in testFloatingToSmallerFloatingTransition()
469 .update(1f) in testFloatingToSmallerFloatingTransition()
[all …]
/frameworks/av/camera/ndk/impl/
DACameraMetadata.h58 camera_status_t update(uint32_t tag, uint32_t count, const uint8_t* data);
59 camera_status_t update(uint32_t tag, uint32_t count, const int32_t* data);
60 camera_status_t update(uint32_t tag, uint32_t count, const float* data);
61 camera_status_t update(uint32_t tag, uint32_t count, const double* data);
62 camera_status_t update(uint32_t tag, uint32_t count, const int64_t* data);
63 camera_status_t update(uint32_t tag, uint32_t count, const ACameraMetadata_rational* data);
102 ret = mData.update(tag, reinterpret_cast<const INTERNAL_T*>(data), count); in updateImpl()
/frameworks/base/services/core/java/com/android/server/locksettings/
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()
/frameworks/minikin/tests/unittest/
DHasherTest.cpp25 EXPECT_EQ(Hasher().update(1).hash(), Hasher().update(1).hash()); in TEST()
32 hasher.update(1); in TEST()
34 hasher.update(2); in TEST()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccSlotTest.java69 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, 0 /* phoneId */, in onLooperPrepared()
122 mUiccSlot.update(null, iss, 0 /* slotIndex */); in testUpdateInactiveSlotStatus()
149 mUiccSlot.update(mSimulatedCommands, iss, 0 /* slotIndex */); in testUpdateActiveSlotStatus()
160 mUiccSlot.update(mSimulatedCommands, iss, 0 /* slotIndex */); in testUpdateActiveSlotStatus()
183 mUiccSlot.update(null, iss, 0 /* slotIndex */); in testUpdateSlotStatusEuiccIsSupported()
194 mUiccSlot.update(mSimulatedCommands, iss, 0 /* slotIndex */); in testUpdateSlotStatusEuiccIsSupported()
218 mUiccSlot.update(null, iss, 0 /* slotIndex */); in testUpdateSlotStatusEuiccIsNotSupported()
229 mUiccSlot.update(mSimulatedCommands, iss, 0 /* slotIndex */); in testUpdateSlotStatusEuiccIsNotSupported()
243 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUpdateAbsentState()
265 mUiccSlot.update(null, activeIss, 0 /* slotIndex */); in testUpdateAbsentStateInactiveSlotStatus()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsSamplingTimerTest.java39 timer.update(10, 1); in testSettingStalePreservesData()
41 timer.update(20, 2); in testSettingStalePreservesData()
65 timer.update(10, 1); in testEndSampleAndContinueWhenTimeOrCountDecreases()
74 timer.update(0, 0); in testEndSampleAndContinueWhenTimeOrCountDecreases()
89 timer.update(50, 5); in testEndSampleAndContinueWhenTimeOrCountDecreases()
109 timer.update(10, 1); in testFirstUpdateIsAbsorbed()
118 timer.update(10, 1); in testFirstUpdateIsAbsorbed()
209 unparceledOnBatteryTimer.update(10, 10); in testSampleTimerSummaryParceling()
215 unparceledOffBatteryTimer.update(10, 10); in testSampleTimerSummaryParceling()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleDataTest.java794 BubbleData.Update update = mUpdateCaptor.getValue(); in assertBubbleAdded() local
795 assertThat(update.addedBubble).named("addedBubble").isEqualTo(expected); in assertBubbleAdded()
799 BubbleData.Update update = mUpdateCaptor.getValue(); in assertBubbleRemoved() local
800 assertThat(update.removedBubbles).named("removedBubbles") in assertBubbleRemoved()
805 BubbleData.Update update = mUpdateCaptor.getValue(); in assertOrderNotChanged() local
806 assertThat(update.orderChanged).named("orderChanged").isFalse(); in assertOrderNotChanged()
810 BubbleData.Update update = mUpdateCaptor.getValue(); in assertOrderChangedTo() local
811 assertThat(update.orderChanged).named("orderChanged").isTrue(); in assertOrderChangedTo()
812 assertThat(update.bubbles).named("bubble order").isEqualTo(ImmutableList.copyOf(order)); in assertOrderChangedTo()
816 BubbleData.Update update = mUpdateCaptor.getValue(); in assertSelectionNotChanged() local
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaConnectionTest.java128 connection.update(mDC); in testConnectionStateUpdate()
132 connection.update(mDC); in testConnectionStateUpdate()
146 connection.update(mDC); in testCDMAPostDialPause()
148 connection.update(mDC); in testCDMAPostDialPause()
163 connection.update(mDC); in testGSMPostDialPause()
165 connection.update(mDC); in testGSMPostDialPause()
182 connection.update(mDC); in testPostDialWait()
184 connection.update(mDC); in testPostDialWait()
198 connection.update(mDC); in testHangUpConnection()
224 connection.update(mDC); in testAddressUpdate()
[all …]
/frameworks/av/services/camera/libcameraservice/tests/
DDistortionMapperTest.cpp54 deviceInfo.update(ANDROID_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE, in setupTestMapper()
57 deviceInfo.update(ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE, in setupTestMapper()
60 deviceInfo.update(ANDROID_LENS_INTRINSIC_CALIBRATION, in setupTestMapper()
63 deviceInfo.update(ANDROID_LENS_DISTORTION, in setupTestMapper()
79 deviceInfo.update(ANDROID_DISTORTION_CORRECTION_AVAILABLE_MODES, in TEST()
84 deviceInfo.update(ANDROID_DISTORTION_CORRECTION_AVAILABLE_MODES, in TEST()
97 deviceInfo.update(ANDROID_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE, in TEST()
100 deviceInfo.update(ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE, in TEST()
103 deviceInfo.update(ANDROID_LENS_INTRINSIC_CALIBRATION, in TEST()
106 deviceInfo.update(ANDROID_LENS_DISTORTION, in TEST()
[all …]
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
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
/frameworks/base/core/java/android/service/notification/
DINotificationListener.aidl33 void onListenerConnected(in NotificationRankingUpdate update); in onListenerConnected() argument
35 in NotificationRankingUpdate update); in onNotificationPosted() argument
39 in NotificationRankingUpdate update, in NotificationStats stats, int reason); in onNotificationRemoved() argument
40 void onNotificationRankingUpdate(in NotificationRankingUpdate update); in onNotificationRankingUpdate() argument
/frameworks/av/media/libaudiohal/impl/
DEffectBufferHalHidl.cpp86 mMemory->update(); in init()
124 void EffectBufferHalHidl::update() { in update() function in android::effect::CPP_VERSION::EffectBufferHalHidl
125 update(mBufferSize); in update()
132 void EffectBufferHalHidl::update(size_t size) { in update() function in android::effect::CPP_VERSION::EffectBufferHalHidl
134 mMemory->update(); in update()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DEmergencyCryptkeeperText.java44 update();
49 update();
56 update();
73 update(); in onAttachedToWindow()
85 public void update() { in update() method in EmergencyCryptkeeperText

12345678910>>...21