/frameworks/base/core/tests/coretests/src/com/android/internal/statusbar/ |
D | RegisterStatusBarResultTest.java | 58 final RegisterStatusBarResult original = new RegisterStatusBarResult(iconMap, in testParcelable() local 74 final RegisterStatusBarResult copy = clone(original); in testParcelable() 76 assertThat(copy.mIcons).hasSize(original.mIcons.size()); in testParcelable() 79 .isEqualTo(original.mIcons.get(dumyIconKey).user); in testParcelable() 81 assertThat(copy.mDisabledFlags1).isEqualTo(original.mDisabledFlags1); in testParcelable() 82 assertThat(copy.mAppearance).isEqualTo(original.mAppearance); in testParcelable() 83 assertThat(copy.mAppearanceRegions).isEqualTo(original.mAppearanceRegions); in testParcelable() 84 assertThat(copy.mImeWindowVis).isEqualTo(original.mImeWindowVis); in testParcelable() 85 assertThat(copy.mImeBackDisposition).isEqualTo(original.mImeBackDisposition); in testParcelable() 86 assertThat(copy.mShowImeSwitcher).isEqualTo(original.mShowImeSwitcher); in testParcelable() [all …]
|
D | StatusBarIconTest.java | 46 final StatusBarIcon original = new StatusBarIcon(dummyIconPackageName, dummyUserHandle, in testParcelable() local 50 final StatusBarIcon copy = clone(original); in testParcelable() 52 assertThat(copy.user).isEqualTo(original.user); in testParcelable() 53 assertThat(copy.pkg).isEqualTo(original.pkg); in testParcelable() 54 assertThat(copy.icon.sameAs(original.icon)).isTrue(); in testParcelable() 55 assertThat(copy.iconLevel).isEqualTo(original.iconLevel); in testParcelable() 56 assertThat(copy.visible).isEqualTo(original.visible); in testParcelable() 57 assertThat(copy.number).isEqualTo(original.number); in testParcelable() 58 assertThat(copy.contentDescription).isEqualTo(original.contentDescription); in testParcelable() 61 private StatusBarIcon clone(StatusBarIcon original) { in clone() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | StartInputHistory.java | 102 Entry(@NonNull StartInputInfo original) { in Entry() argument 103 set(original); in Entry() 106 void set(@NonNull StartInputInfo original) { in set() argument 107 mSequenceNumber = original.mSequenceNumber; in set() 108 mTimestamp = original.mTimestamp; in set() 109 mWallTime = original.mWallTime; in set() 110 mImeUserId = original.mImeUserId; in set() 113 mImeTokenString = String.valueOf(original.mImeToken); in set() 114 mImeDisplayId = original.mImeDisplayId; in set() 115 mImeId = original.mImeId; in set() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/policy/ |
D | PolicyRequestProcessor.kt | 57 override suspend fun process(original: ScreenshotData): ScreenshotData { in <lambda>() 58 if (original.type == TAKE_SCREENSHOT_PROVIDED_IMAGE) { in <lambda>() 61 return original in <lambda>() 63 val displayContent = displayTasks.getDisplayContent(original.displayId) in <lambda>() 71 return modify(original, result.parameters) in <lambda>() 78 return captureScreenshot(original, displayContent) in <lambda>() 83 original: ScreenshotData, in <lambda>() 91 original, in <lambda>() 99 original, in <lambda>() 109 original: ScreenshotData, in <lambda>() [all …]
|
/frameworks/base/core/tests/vibrator/src/android/os/ |
D | ExternalVibrationTest.java | 32 ExternalVibration original = new ExternalVibration( in testSerialization() local 42 original.writeToParcel(p, 0); in testSerialization() 45 assertThat(restored).isEqualTo(original); in testSerialization() 47 assertThat(restored.getUid()).isEqualTo(original.getUid()); in testSerialization() 48 assertThat(restored.getPackage()).isEqualTo(original.getPackage()); in testSerialization() 49 assertThat(restored.getAudioAttributes()).isEqualTo(original.getAudioAttributes()); in testSerialization() 50 assertThat(restored.getToken()).isEqualTo(original.getToken()); in testSerialization()
|
/frameworks/base/core/java/android/text/method/ |
D | ReplacementTransformationMethod.java | 53 char[] original = getOriginal(); in getTransformation() local 65 int n = original.length; in getTransformation() 67 if (TextUtils.indexOf(source, original[i]) >= 0) { in getTransformation() 85 original, replacement)); in getTransformation() 88 original, in getTransformation() 96 original, replacement); in getTransformation() 98 return new ReplacementCharSequence(source, original, replacement); in getTransformation() 112 public ReplacementCharSequence(CharSequence source, char[] original, in ReplacementCharSequence() argument 115 mOriginal = original; in ReplacementCharSequence() 173 public SpannedReplacementCharSequence(Spanned source, char[] original, in SpannedReplacementCharSequence() argument [all …]
|
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ |
D | AdditionalSubtypeMapTest.java | 82 final AdditionalSubtypeMap original = AdditionalSubtypeMap.of( in testCloneWithRemoveOrSelfReturnsEmptyInstance() local 84 final AdditionalSubtypeMap result = original.cloneWithRemoveOrSelf(TEST_IME1_ID); in testCloneWithRemoveOrSelfReturnsEmptyInstance() 90 final AdditionalSubtypeMap original = AdditionalSubtypeMap.of( in testCloneWithRemoveOrSelfWithMultipleKeysReturnsEmptyInstance() local 92 final AdditionalSubtypeMap result = original.cloneWithRemoveOrSelf( in testCloneWithRemoveOrSelfWithMultipleKeysReturnsEmptyInstance() 99 final AdditionalSubtypeMap original = AdditionalSubtypeMap.of( in testCloneWithRemoveOrSelfReturnsNewInstance() local 101 final AdditionalSubtypeMap result = original.cloneWithRemoveOrSelf(TEST_IME1_ID); in testCloneWithRemoveOrSelfReturnsNewInstance() 108 final AdditionalSubtypeMap original = AdditionalSubtypeMap.of( in testCloneWithPutWithNewKey() local 110 final AdditionalSubtypeMap result = original.cloneWithPut(TEST_IME2_ID, TEST_SUBTYPE_LIST2); in testCloneWithPutWithNewKey() 118 final AdditionalSubtypeMap original = AdditionalSubtypeMap.of( in testCloneWithPutWithExistingKey() local 120 final AdditionalSubtypeMap result = original.cloneWithPut(TEST_IME2_ID, TEST_SUBTYPE_LIST1); in testCloneWithPutWithExistingKey()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | InsetUtilsTest.java | 51 final Rect original = new Rect(1, 2, 3, 4); in rotate() local 53 assertEquals("rot0", original, rotateCopy(original, ROTATION_0)); in rotate() 55 final Rect rot90 = rotateCopy(original, ROTATION_90); in rotate() 58 final Rect rot180 = rotateCopy(original, ROTATION_180); in rotate() 62 final Rect rot270 = rotateCopy(original, ROTATION_270); in rotate()
|
/frameworks/base/core/proto/android/app/ |
D | activitymanager.proto | 26 // report changes in process state, original value is 1 << 0 28 // report uid gone, original value is 1 << 1 30 // report uid has become idle, original value is 1 << 2 32 // report uid has become active, original value is 1 << 3 34 // report uid cached state has changed, original value is 1 << 4 36 // report uid capability has changed, original value is 1 << 5 38 // report pid oom adj has changed, original value is 1 << 6
|
/frameworks/base/core/tests/InputMethodCoreTests/src/com/android/internal/inputmethod/ |
D | InputMethodSubtypeHandleTest.java | 125 final InputMethodSubtypeHandle original = in testParcelablility() local 127 final InputMethodSubtypeHandle cloned = cloneHandle(original); in testParcelablility() 128 assertEquals(original, cloned); in testParcelablility() 129 assertEquals(original.hashCode(), cloned.hashCode()); in testParcelablility() 130 assertEquals(original.getComponentName(), cloned.getComponentName()); in testParcelablility() 131 assertEquals(original.getImeId(), cloned.getImeId()); in testParcelablility() 132 assertEquals(original.toStringHandle(), cloned.toStringHandle()); in testParcelablility() 145 @NonNull InputMethodSubtypeHandle original) { in cloneHandle() 149 original.writeToParcel(parcel, 0); in cloneHandle()
|
/frameworks/base/core/java/android/privacy/internal/longitudinalreporting/ |
D | LongitudinalReportingEncoder.java | 122 public byte[] encodeString(String original) { in encodeString() argument 127 public byte[] encodeBoolean(boolean original) { in encodeBoolean() argument 130 + original); in encodeBoolean() 134 original = mFakeValue.booleanValue(); in encodeBoolean() 135 if (DEBUG) Log.d(TAG, "Use fake value: " + original); in encodeBoolean() 137 byte[] result = mIRREncoder.encodeBoolean(original); in encodeBoolean()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/ |
D | AppWidgetServiceImplTest.java | 364 final AppWidgetProviderInfo original = new AppWidgetProviderInfo(); in testWidgetProviderInfoPersistence() local 365 original.minWidth = 40; in testWidgetProviderInfoPersistence() 366 original.minHeight = 40; in testWidgetProviderInfoPersistence() 367 original.maxResizeWidth = 250; in testWidgetProviderInfoPersistence() 368 original.maxResizeHeight = 120; in testWidgetProviderInfoPersistence() 369 original.targetCellWidth = 1; in testWidgetProviderInfoPersistence() 370 original.targetCellHeight = 1; in testWidgetProviderInfoPersistence() 371 original.updatePeriodMillis = 86400000; in testWidgetProviderInfoPersistence() 372 original.previewLayout = R.layout.widget_preview; in testWidgetProviderInfoPersistence() 373 original.label = "test"; in testWidgetProviderInfoPersistence() [all …]
|
/frameworks/base/core/java/android/privacy/ |
D | DifferentialPrivacyEncoder.java | 46 byte[] encodeString(String original); in encodeString() argument 54 byte[] encodeBoolean(boolean original); in encodeBoolean() argument 62 byte[] encodeBits(byte[] original); in encodeBits() argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationRowIconView.java | 73 final Drawable original = super.loadSizeRestrictedIcon(icon); in loadSizeRestrictedIcon() local 76 result = makeCircularDrawable(original); in loadSizeRestrictedIcon() 78 result = original; in loadSizeRestrictedIcon() 102 private Drawable makeCircularDrawable(@Nullable Drawable original) { in makeCircularDrawable() argument 103 if (original == null) { in makeCircularDrawable() 104 return original; in makeCircularDrawable() 107 final Bitmap source = drawableToBitmap(original); in makeCircularDrawable()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationChannelTest.java | 586 NotificationChannel original = new NotificationChannel("id", "name", 2); in testCopy() local 587 original.setDescription("desc"); in testCopy() 588 original.setBypassDnd(true); in testCopy() 589 original.setLockscreenVisibility(7); in testCopy() 590 original.setSound(Uri.EMPTY, new AudioAttributes.Builder().build()); in testCopy() 591 original.setLightColor(5); in testCopy() 592 original.enableLights(false); in testCopy() 593 original.setVibrationPattern(new long[] {1, 9, 3}); in testCopy() 595 original.setVibrationEffect(VibrationEffect.createOneShot(100, 5)); in testCopy() 597 original.lockFields(9999); in testCopy() [all …]
|
/frameworks/av/media/libaudioclient/tests/ |
D | track_test_output_v1.0_ref_walleye.txt | 7 sample rate(48000), original sample rate(48000), speed(1.000000) 18 sample rate(24000), original sample rate(24000), speed(1.000000) 29 sample rate(16000), original sample rate(16000), speed(1.000000) 40 sample rate(8000), original sample rate(8000), speed(1.000000) 51 sample rate(44100), original sample rate(44100), speed(1.000000) 62 sample rate(22050), original sample rate(22050), speed(1.000000) 73 sample rate(11025), original sample rate(11025), speed(1.000000) 84 sample rate(48000), original sample rate(48000), speed(1.000000) 95 sample rate(48000), original sample rate(48000), speed(1.000000) 106 sample rate(48000), original sample rate(48000), speed(1.000000) [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | CursorAnchorInfo.java | 600 public static CursorAnchorInfo createForAdditionalParentMatrix(CursorAnchorInfo original, in createForAdditionalParentMatrix() argument 602 return new CursorAnchorInfo(original.mSelectionStart, original.mSelectionEnd, in createForAdditionalParentMatrix() 603 original.mComposingTextStart, original.mComposingText, in createForAdditionalParentMatrix() 604 original.mInsertionMarkerFlags, original.mInsertionMarkerHorizontal, in createForAdditionalParentMatrix() 605 original.mInsertionMarkerTop, original.mInsertionMarkerBaseline, in createForAdditionalParentMatrix() 606 original.mInsertionMarkerBottom, original.mCharacterBoundsArray, in createForAdditionalParentMatrix() 607 original.mEditorBoundsInfo, computeMatrixValues(parentMatrix, original), in createForAdditionalParentMatrix() 608 original.mVisibleLineBounds, original.mTextAppearanceInfo); in createForAdditionalParentMatrix()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientAlternatesAdapter.java | 467 static Cursor removeUndesiredDestinations(final Cursor original, final String desiredMimeType, in removeUndesiredDestinations() argument 470 original.getColumnNames(), original.getCount()); in removeUndesiredDestinations() 478 original.moveToPosition(-1); in removeUndesiredDestinations() 479 while (original.moveToNext()) { in removeUndesiredDestinations() 480 final String mimeType = original.getString(Query.MIME_TYPE); in removeUndesiredDestinations() 485 defaultDisplayName = original.getString(Query.NAME); in removeUndesiredDestinations() 486 defaultPhotoThumbnailUri = original.getString(Query.PHOTO_THUMBNAIL_URI); in removeUndesiredDestinations() 487 defaultDisplayNameSource = original.getInt(Query.DISPLAY_NAME_SOURCE); in removeUndesiredDestinations() 492 original.moveToPosition(-1); in removeUndesiredDestinations() 493 while (original.moveToNext()) { in removeUndesiredDestinations() [all …]
|
/frameworks/base/core/java/android/app/ |
D | DirectAction.java | 72 public DirectAction(@NonNull DirectAction original) { in DirectAction() argument 73 mTaskId = original.mTaskId; in DirectAction() 74 mActivityId = original.mActivityId; in DirectAction() 75 mID = original.mID; in DirectAction() 76 mExtras = original.mExtras; in DirectAction() 77 mLocusId = original.mLocusId; in DirectAction()
|
/frameworks/wilhelm/tools/hashgen/ |
D | test.c | 31 const struct SLInterfaceID_ *original = &SL_IID_array[i]; in main() local 33 int MPH = IID_to_MPH(original); in main() 39 const struct SLInterfaceID_ copy = *original; in main()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageKeySetData.java | 40 PackageKeySetData(PackageKeySetData original) { in PackageKeySetData() argument 41 mProperSigningKeySet = original.mProperSigningKeySet; in PackageKeySetData() 42 mUpgradeKeySets = ArrayUtils.cloneOrNull(original.mUpgradeKeySets); in PackageKeySetData() 43 mKeySetAliases.putAll(original.mKeySetAliases); in PackageKeySetData()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackagePartitions.java | 175 public SystemPartition(@NonNull SystemPartition original) { in SystemPartition() argument 176 this.type = original.type; in SystemPartition() 177 this.mName = original.mName; in SystemPartition() 178 this.mFolder = new DeferredCanonicalFile(original.mFolder.getFile()); in SystemPartition() 179 this.mAppFolder = original.mAppFolder; in SystemPartition() 180 this.mPrivAppFolder = original.mPrivAppFolder; in SystemPartition() 181 this.mOverlayFolder = original.mOverlayFolder; in SystemPartition() 182 this.mNonConicalFolder = original.mNonConicalFolder; in SystemPartition()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierSignalAgent.java | 395 private static @Nullable Intent createCompatIntent(Intent original) { in createCompatIntent() argument 396 String compatAction = NEW_ACTION_TO_COMPAT_MAP.get(original.getAction()); in createCompatIntent() 398 Rlog.i(LOG_TAG, "intent action " + original.getAction() + " does not have a" in createCompatIntent() 399 + " compat alternative for component " + original.getComponent()); in createCompatIntent() 402 Intent compatIntent = new Intent(original); in createCompatIntent() 404 for (String extraKey : original.getExtras().keySet()) { in createCompatIntent() 408 original.getStringExtra(TelephonyManager.EXTRA_REDIRECTION_URL)); in createCompatIntent() 412 original.getIntExtra(TelephonyManager.EXTRA_DATA_FAIL_CAUSE, -1)); in createCompatIntent() 416 original.getIntExtra(TelephonyManager.EXTRA_PCO_ID, -1)); in createCompatIntent() 420 original.getByteArrayExtra(TelephonyManager.EXTRA_PCO_VALUE)); in createCompatIntent() [all …]
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ContentCaptureContext.java | 155 public ContentCaptureContext(@Nullable ContentCaptureContext original, int extraFlags) { in ContentCaptureContext() argument 156 mHasClientContext = original.mHasClientContext; in ContentCaptureContext() 157 mExtras = original.mExtras; in ContentCaptureContext() 158 mId = original.mId; in ContentCaptureContext() 159 mComponentName = original.mComponentName; in ContentCaptureContext() 160 mFlags = original.mFlags | extraFlags; in ContentCaptureContext() 161 mDisplayId = original.mDisplayId; in ContentCaptureContext() 162 mActivityId = original.mActivityId; in ContentCaptureContext() 163 mWindowToken = original.mWindowToken; in ContentCaptureContext()
|
/frameworks/native/opengl/tools/glgen/src/ |
D | CFunc.java | 21 String original; field in CFunc 33 public CFunc(String original) { in CFunc() argument 34 this.original = original; in CFunc() 38 return original; in getOriginal()
|