/frameworks/base/core/tests/coretests/src/android/text/ |
D | DynamicLayoutBlocksTest.java | 72 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/ |
D | SpriteController.cpp | 125 SpriteUpdate& update = updates.editItemAt(i); in doUpdateSprites() local 127 if (update.state.surfaceControl == NULL && update.state.wantSurfaceVisible()) { in doUpdateSprites() 128 update.state.surfaceWidth = update.state.icon.width(); in doUpdateSprites() 129 update.state.surfaceHeight = update.state.icon.height(); in doUpdateSprites() 130 update.state.surfaceDrawn = false; in doUpdateSprites() 131 update.state.surfaceVisible = false; in doUpdateSprites() 132 update.state.surfaceControl = obtainSurface( in doUpdateSprites() 133 update.state.surfaceWidth, update.state.surfaceHeight); in doUpdateSprites() 134 if (update.state.surfaceControl != NULL) { in doUpdateSprites() 135 update.surfaceChanged = surfaceChanged = true; in doUpdateSprites() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/usage/ |
D | UsageStatsTest.java | 146 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScoringParamsTest.java | 112 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 …]
|
D | WakeupLockTest.java | 84 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/minikin/include/minikin/ |
D | MinikinPaint.h | 94 .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()
|
D | Hasher.h | 33 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()
|
D | LayoutCache.h | 108 .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/ |
D | UnlockMethodCache.java | 61 update(true /* updateAlways */); in UnlockMethodCache() 71 update(true /* updateAlways */); in UnlockMethodCache() 118 private void update(boolean updateAlways) { in update() method in UnlockMethodCache 160 update(false /* updateAlways */); 165 update(false /* updateAlways */); 170 update(false /* updateAlways */); 175 update(false /* updateAlways */); 185 update(false /* updateAlways */); 191 update(false /* updateAlways */); 196 update(false /* updateAlways */); [all …]
|
D | LockIcon.java | 122 update(force); 129 update(true /* force */); 141 update(); 152 update(); 157 update(); 163 update(); 168 update(); 210 update(); in onAttachedToWindow() 238 update(); in onUserInfoChanged() 246 update(); in setTransientBiometricsError() [all …]
|
/frameworks/base/core/java/android/appwidget/ |
D | PendingHostUpdate.java | 39 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/base/services/tests/wmtests/src/com/android/server/wm/ |
D | BoundsAnimationControllerTests.java | 332 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/include/camera/ |
D | CameraMetadata.h | 130 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccSlotTest.java | 69 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/av/camera/ndk/impl/ |
D | ACameraMetadata.h | 58 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/ |
D | SP800Derive.java | 54 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/ |
D | HasherTest.cpp | 25 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/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/ |
D | BubbleDataTest.java | 794 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/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsSamplingTimerTest.java | 39 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaConnectionTest.java | 135 connection.update(mDC); in testConnectionStateUpdate() 139 connection.update(mDC); in testConnectionStateUpdate() 155 connection.update(mDC); in testCDMAPostDialPause() 157 connection.update(mDC); in testCDMAPostDialPause() 173 connection.update(mDC); in testGSMPostDialPause() 175 connection.update(mDC); in testGSMPostDialPause() 193 connection.update(mDC); in testPostDialWait() 195 connection.update(mDC); in testPostDialWait() 209 connection.update(mDC); in testHangUpConnection() 235 connection.update(mDC); in testAddressUpdate() [all …]
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | DistortionMapperTest.cpp | 54 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/ |
D | FixVibrateSetting.java | 64 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/keystore/java/android/security/keystore/ |
D | KeyStoreCryptoOperationChunkedStreamer.java | 60 OperationResult update(byte[] input); in update() method 107 public byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException { in update() method in KeyStoreCryptoOperationChunkedStreamer 134 OperationResult opResult = mKeyStoreStream.update( in update() 169 byte[] output = update(input, inputOffset, inputLength); in doFinal() 216 public OperationResult update(byte[] input) { in update() method in KeyStoreCryptoOperationChunkedStreamer.MainDataStream 217 return mKeyStore.update(mOperationToken, null, input); in update()
|
/frameworks/base/core/proto/android/stats/otaupdate/ |
D | updateengine_enums.proto | 20 // The payload type of an OTA update attempt on A/B devices. 26 // The attempt result reported by the update engine for an OTA update. 43 // The error code reported by the update engine after an OTA update attempt
|
/frameworks/av/media/libaudiohal/impl/ |
D | EffectBufferHalHidl.cpp | 86 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()
|