/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/minikin/include/minikin/ |
D | Hasher.h | 33 IGNORE_INTEGER_OVERFLOW inline Hasher& update(uint32_t data) { in update() function 40 inline Hasher& update(int32_t data) { in update() function 41 update(static_cast<uint32_t>(data)); in update() 45 inline Hasher& update(uint64_t data) { in update() function 46 update(static_cast<uint32_t>(data)); in update() 47 update(static_cast<uint32_t>(data >> 32)); in update() 51 inline Hasher& update(float data) { in update() function 57 return update(bits.i); in update() 61 update(length); in updateShorts() 64 update((uint32_t)data[i] | ((uint32_t)data[i + 1] << 16)); in updateShorts() [all …]
|
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 | 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/core/tests/coretests/src/android/widget/ |
D | EditorTouchStateTest.java | 65 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 …]
|
/frameworks/base/core/tests/coretests/src/android/app/usage/ |
D | UsageStatsTest.java | 160 left.update("com.test.activity1", 200000, Event.ACTIVITY_RESUMED, 1); in testActivity() 168 left.update("com.test.activity1", 350000, ACTIVITY_PAUSED, 1); in testActivity() 175 left.update("com.test.activity1", 400000, ACTIVITY_STOPPED, 1); in testActivity() 182 left.update("com.test.activity1", 500000, ACTIVITY_DESTROYED, 1); in testActivity() 195 left.update("com.test.activity1", 100000, Event.ACTIVITY_RESUMED, 1); 201 left.update(null, 350000, END_OF_DAY, 0); 214 left.update("com.test.activity1", 100000, ACTIVITY_PAUSED, 1); 219 left.update("com.test.activity1", 200000, Event.ACTIVITY_RESUMED, 1); 226 left.update("com.test.activity1", 300000, ACTIVITY_PAUSED, 1); 233 left.update("com.test.activity1", 400000, ACTIVITY_STOPPED, 1); [all …]
|
/frameworks/base/core/java/android/appwidget/ |
D | PendingHostUpdate.java | 40 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()
|
/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() 40 EXPECT_NE(Hasher().update(x).hash(), Hasher().update(1).hash()); in TEST()
|
/frameworks/av/camera/include/camera/ |
D | CameraMetadata.h | 145 status_t update(uint32_t tag, 147 status_t update(uint32_t tag, 149 status_t update(uint32_t tag, 151 status_t update(uint32_t tag, 153 status_t update(uint32_t tag, 155 status_t update(uint32_t tag, 157 status_t update(uint32_t tag, 159 status_t update(const camera_metadata_ro_entry &entry); 163 status_t update(uint32_t tag, Vector<T> data) { in update() function 164 return update(tag, data.array(), data.size()); in update()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/ |
D | BubbleDataTest.java | 213 BubbleData.Update update = mUpdateCaptor.getValue(); in ifSuppress_hideFlyout() local 214 assertThat(update.addedBubble.showFlyout()).isFalse(); in ifSuppress_hideFlyout() 228 BubbleData.Update update = mUpdateCaptor.getValue(); in ifInterruptiveAndNotSuppressed_thenShowFlyout() local 229 assertThat(update.addedBubble.showFlyout()).isTrue(); in ifInterruptiveAndNotSuppressed_thenShowFlyout() 247 BubbleData.Update update = mUpdateCaptor.getValue(); in sameUpdate_InShade_thenHideFlyout() local 248 assertThat(update.updatedBubble.showFlyout()).isFalse(); in sameUpdate_InShade_thenHideFlyout() 269 BubbleData.Update update = mUpdateCaptor.getValue(); in sameUpdate_NotInShade_NotVisuallyInterruptive_dontShowFlyout() local 270 assertThat(update.updatedBubble.showFlyout()).isFalse(); in sameUpdate_NotInShade_NotVisuallyInterruptive_dontShowFlyout() 833 BubbleData.Update update = mUpdateCaptor.getValue(); in test_onMaxBubblesChanged_notExpanded() local 834 assertThat(update.removedBubbles.get(0)).isEqualTo( in test_onMaxBubblesChanged_notExpanded() [all …]
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | RotateAndCropMapperTest.cpp | 57 deviceInfo.update(ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE, in setupDeviceInfo() 60 deviceInfo.update(ANDROID_SCALER_AVAILABLE_ROTATE_AND_CROP_MODES, in setupDeviceInfo() 72 deviceInfo.update(ANDROID_SCALER_AVAILABLE_ROTATE_AND_CROP_MODES, in TEST() 90 request.update(ANDROID_SCALER_ROTATE_AND_CROP, in TEST() 92 request.update(ANDROID_SCALER_CROP_REGION, in TEST() 94 request.update(ANDROID_CONTROL_AE_REGIONS, in TEST() 113 result.update(ANDROID_STATISTICS_FACE_RECTANGLES, in TEST() 143 request.update(ANDROID_SCALER_ROTATE_AND_CROP, in TEST() 145 request.update(ANDROID_SCALER_CROP_REGION, in TEST() 147 request.update(ANDROID_CONTROL_AE_REGIONS, in TEST() [all …]
|
D | ZoomRatioTest.cpp | 56 deviceInfo.update(ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE, activeArray, 4); in setupTestMapper() 57 deviceInfo.update(ANDROID_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE, preCorrectArray, 4); in setupTestMapper() 58 deviceInfo.update(ANDROID_SCALER_AVAILABLE_MAX_DIGITAL_ZOOM, &maxDigitalZoom, 1); in setupTestMapper() 60 deviceInfo.update(ANDROID_CONTROL_ZOOM_RATIO_RANGE, zoomRatioRange, 2); in setupTestMapper() 78 deviceInfo.update(ANDROID_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE, in TEST() 80 deviceInfo.update(ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE, testActiveArraySize, 4); in TEST() 85 deviceInfo.update(ANDROID_SCALER_AVAILABLE_MAX_DIGITAL_ZOOM, &maxDigitalZoom, 1); in TEST() 119 deviceInfo.update(ANDROID_CONTROL_ZOOM_RATIO_RANGE, ratioRange, 2); in TEST() 145 res = requestTemplate.update(ANDROID_CONTROL_ZOOM_RATIO, &customRatio, 1); in TEST() 278 metadata.update(ANDROID_SCALER_CROP_REGION, testDefaultCropSize[index], 4); in subCropOverMaxDigitalZoomTest() [all …]
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraMetadata.h | 67 camera_status_t update(uint32_t tag, uint32_t count, const uint8_t* data); 68 camera_status_t update(uint32_t tag, uint32_t count, const int32_t* data); 69 camera_status_t update(uint32_t tag, uint32_t count, const float* data); 70 camera_status_t update(uint32_t tag, uint32_t count, const double* data); 71 camera_status_t update(uint32_t tag, uint32_t count, const int64_t* data); 72 camera_status_t update(uint32_t tag, uint32_t count, const ACameraMetadata_rational* data); 114 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccSlotTest.java | 69 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, 0 /* phoneId */, in onLooperPrepared() 123 mUiccSlot.update(null, iss, 0 /* slotIndex */); in testUpdateInactiveSlotStatus() 150 mUiccSlot.update(mSimulatedCommands, iss, 0 /* slotIndex */); in testUpdateActiveSlotStatus() 161 mUiccSlot.update(mSimulatedCommands, iss, 0 /* slotIndex */); in testUpdateActiveSlotStatus() 184 mUiccSlot.update(null, iss, 0 /* slotIndex */); in testUpdateSlotStatusEuiccIsSupported() 195 mUiccSlot.update(mSimulatedCommands, iss, 0 /* slotIndex */); in testUpdateSlotStatusEuiccIsSupported() 219 mUiccSlot.update(null, iss, 0 /* slotIndex */); in testUpdateSlotStatusEuiccIsNotSupported() 230 mUiccSlot.update(mSimulatedCommands, iss, 0 /* slotIndex */); in testUpdateSlotStatusEuiccIsNotSupported() 244 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUpdateAbsentState() 266 mUiccSlot.update(null, activeIss, 0 /* slotIndex */); in testUpdateAbsentStateInactiveSlotStatus() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | INotificationListener.aidl | 34 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 62 …void onNotificationFeedbackReceived(String key, in NotificationRankingUpdate update, in Bundle fee… in onNotificationFeedbackReceived() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyguardStateControllerImpl.java | 112 update(true /* updateAlways */); in KeyguardStateControllerImpl() 122 update(true /* updateAlways */); in KeyguardStateControllerImpl() 215 void update(boolean updateAlways) { in update() method in KeyguardStateControllerImpl 371 update(false /* updateAlways */); in onUserSwitchComplete() 376 update(false /* updateAlways */); in onTrustChanged() 382 update(false /* updateAlways */); in onTrustManagedChanged() 387 update(false /* updateAlways */); in onStartedWakingUp() 395 update(false /* updateAlways */); in onBiometricAuthenticated() 402 update(false /* updateAlways */); in onFaceUnlockStateChanged() 407 update(false /* updateAlways */); in onStrongAuthStateChanged() [all …]
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | KeyStoreCryptoOperationChunkedStreamer.java | 64 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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | KeyguardStateControllerTest.java | 80 ((KeyguardStateControllerImpl) mKeyguardStateController).update(false /* alwaysUpdate */); in testIsMethodSecure() 98 ((KeyguardStateControllerImpl) mKeyguardStateController).update(false /* alwaysUpdate */); in testCanSkipLockScreen() 103 ((KeyguardStateControllerImpl) mKeyguardStateController).update(false /* alwaysUpdate */); in testCanSkipLockScreen() 119 ((KeyguardStateControllerImpl) mKeyguardStateController).update(false /* alwaysUpdate */); in testIsUnlocked() 124 ((KeyguardStateControllerImpl) mKeyguardStateController).update(false /* alwaysUpdate */); in testIsUnlocked() 133 ((KeyguardStateControllerImpl) mKeyguardStateController).update(false /* alwaysUpdate */); in testIsTrusted() 144 ((KeyguardStateControllerImpl) mKeyguardStateController).update(false /* alwaysUpdate */); in testCallbacksAreInvoked()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/ |
D | UpdatableFontDirTest.java | 185 dirForPreparation.update(Arrays.asList( in construct() 238 dirForPreparation.update(Arrays.asList( in construct_missingFsverity() 268 dirForPreparation.update(Arrays.asList( in construct_fontNameMismatch() 314 dirForPreparation.update(Arrays.asList( in construct_olderThanPreinstalledFont() 363 dirForPreparation.update(Arrays.asList( in construct_afterBatchFailure() 369 dirForPreparation.update(Arrays.asList( in construct_afterBatchFailure() 401 dir.update(Collections.singletonList(newFontUpdateRequest("test.ttf,1,test", in loadFontFileMap_twice() 416 dir.update(Collections.singletonList(newFontUpdateRequest("test.ttf,1,test", in installFontFile() 433 dir.update(Collections.singletonList(newFontUpdateRequest("test.ttf,1,test", in installFontFile_upgrade() 436 dir.update(Collections.singletonList(newFontUpdateRequest("test.ttf,2,test", in installFontFile_upgrade() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaConnectionTest.java | 143 connection.update(mDC); in testConnectionStateUpdate() 147 connection.update(mDC); in testConnectionStateUpdate() 163 connection.update(mDC); in testCDMAPostDialPause() 165 connection.update(mDC); in testCDMAPostDialPause() 181 connection.update(mDC); in testGSMPostDialPause() 183 connection.update(mDC); in testGSMPostDialPause() 201 connection.update(mDC); in testPostDialWait() 203 connection.update(mDC); in testPostDialWait() 217 connection.update(mDC); in testHangUpConnection() 244 connection.update(mDC); in testAddressUpdate() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | MemoryPowerCalculatorTest.java | 44 stats.getKernelMemoryTimerLocked(0).update(0, 1, 0); in testTimerBasedModel() 45 stats.getKernelMemoryTimerLocked(2).update(0, 1, 0); in testTimerBasedModel() 47 stats.getKernelMemoryTimerLocked(0).update(1000000, 1, 4000000); in testTimerBasedModel() 48 stats.getKernelMemoryTimerLocked(2).update(2000000, 1, 8000000); in testTimerBasedModel()
|
D | BatteryStatsSamplingTimerTest.java | 40 timer.update(10, 1, SystemClock.elapsedRealtime() * 1000); in testSettingStalePreservesData() 42 timer.update(20, 2, SystemClock.elapsedRealtime() * 1000); in testSettingStalePreservesData() 67 timer.update(10, 1, SystemClock.elapsedRealtime() * 1000); in testEndSampleAndContinueWhenTimeOrCountDecreases() 76 timer.update(0, 0, SystemClock.elapsedRealtime() * 1000); in testEndSampleAndContinueWhenTimeOrCountDecreases() 91 timer.update(50, 5, SystemClock.elapsedRealtime() * 1000); in testEndSampleAndContinueWhenTimeOrCountDecreases() 111 timer.update(10, 1, SystemClock.elapsedRealtime() * 1000); in testFirstUpdateIsAbsorbed() 120 timer.update(10, 1, SystemClock.elapsedRealtime() * 1000); in testFirstUpdateIsAbsorbed() 211 unparceledOnBatteryTimer.update(10, 10, SystemClock.elapsedRealtime() * 1000); in testSampleTimerSummaryParceling() 217 unparceledOffBatteryTimer.update(10, 10, SystemClock.elapsedRealtime() * 1000); in testSampleTimerSummaryParceling()
|
/frameworks/av/services/camera/libcameraservice/fuzzer/ |
D | DistortionMapperFuzzer.cpp | 37 deviceInfo.update(ANDROID_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE, in setupTestMapper() 40 deviceInfo.update(ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE, in setupTestMapper() 43 deviceInfo.update(ANDROID_LENS_INTRINSIC_CALIBRATION, in setupTestMapper() 46 deviceInfo.update(ANDROID_LENS_DISTORTION, in setupTestMapper()
|