/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | SoftApConfigurationTest.java | 69 SoftApConfiguration original = new SoftApConfiguration.Builder() in testBasicSettings() local 73 assertThat(original.getSsid()).isEqualTo("ssid"); in testBasicSettings() 74 assertThat(original.getBssid()).isEqualTo(MacAddress.fromString("11:22:33:44:55:66")); in testBasicSettings() 75 assertThat(original.getPassphrase()).isNull(); in testBasicSettings() 76 assertThat(original.getSecurityType()).isEqualTo(SoftApConfiguration.SECURITY_TYPE_OPEN); in testBasicSettings() 77 assertThat(original.getBand()).isEqualTo(SoftApConfiguration.BAND_2GHZ); in testBasicSettings() 78 assertThat(original.getChannel()).isEqualTo(0); in testBasicSettings() 79 assertThat(original.isHiddenSsid()).isEqualTo(false); in testBasicSettings() 80 assertThat(original.getMaxNumberOfClients()).isEqualTo(0); in testBasicSettings() 82 SoftApConfiguration unparceled = parcelUnparcel(original); in testBasicSettings() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/statusbar/ |
D | RegisterStatusBarResultTest.java | 49 final RegisterStatusBarResult original = new RegisterStatusBarResult(iconMap, in testParcelable() local 63 final RegisterStatusBarResult copy = clone(original); in testParcelable() 65 assertThat(copy.mIcons).hasSize(original.mIcons.size()); in testParcelable() 68 .isEqualTo(original.mIcons.get(dumyIconKey).user); in testParcelable() 70 assertThat(copy.mDisabledFlags1).isEqualTo(original.mDisabledFlags1); in testParcelable() 71 assertThat(copy.mAppearance).isEqualTo(original.mAppearance); in testParcelable() 72 assertThat(copy.mAppearanceRegions).isEqualTo(original.mAppearanceRegions); in testParcelable() 73 assertThat(copy.mImeWindowVis).isEqualTo(original.mImeWindowVis); in testParcelable() 74 assertThat(copy.mImeBackDisposition).isEqualTo(original.mImeBackDisposition); in testParcelable() 75 assertThat(copy.mShowImeSwitcher).isEqualTo(original.mShowImeSwitcher); in testParcelable() [all …]
|
D | StatusBarIconTest.java | 46 final StatusBarIcon original = new StatusBarIcon(dummyIconPackageName, dummyUserHandle, in testParcelable() local 49 final StatusBarIcon copy = clone(original); in testParcelable() 51 assertThat(copy.user).isEqualTo(original.user); in testParcelable() 52 assertThat(copy.pkg).isEqualTo(original.pkg); in testParcelable() 53 assertThat(copy.icon.sameAs(original.icon)).isTrue(); in testParcelable() 54 assertThat(copy.iconLevel).isEqualTo(original.iconLevel); in testParcelable() 55 assertThat(copy.visible).isEqualTo(original.visible); in testParcelable() 56 assertThat(copy.number).isEqualTo(original.number); in testParcelable() 57 assertThat(copy.contentDescription).isEqualTo(original.contentDescription); in testParcelable() 60 private StatusBarIcon clone(StatusBarIcon original) { in clone() argument [all …]
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/ |
D | CryptoTestUtils.java | 126 ChunksMetadataProto.ChunkListing original) { in clone() argument 128 if (original.chunks == null) { in clone() 131 clonedChunks = new ChunksMetadataProto.Chunk[original.chunks.length]; in clone() 132 for (int i = 0; i < original.chunks.length; i++) { in clone() 133 clonedChunks[i] = clone(original.chunks[i]); in clone() 138 original.documentId, in clone() 139 original.fingerprintMixerSalt, in clone() 140 original.cipherType, in clone() 141 original.chunkOrderingType, in clone() 145 public static ChunksMetadataProto.Chunk clone(ChunksMetadataProto.Chunk original) { in clone() argument [all …]
|
/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/core/tests/coretests/src/android/widget/ |
D | RemoteViewsTest.java | 80 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_doesNotCopyBitmap() local 83 original.setImageViewBitmap(R.id.image, bitmap); in clone_doesNotCopyBitmap() 84 RemoteViews clone = original.clone(); in clone_doesNotCopyBitmap() 93 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_originalCanStillBeApplied() local 95 RemoteViews clone = original.clone(); in clone_originalCanStillBeApplied() 102 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_clones() local 104 RemoteViews clone = original.clone(); in clone_clones() 105 original.setTextViewText(R.id.text, "test"); in clone_clones() 114 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_child_fails() local 117 original.addView(R.id.layout, child); in clone_child_fails() [all …]
|
/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/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/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/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/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/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
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | CursorAnchorInfo.java | 469 public static CursorAnchorInfo createForAdditionalParentMatrix(CursorAnchorInfo original, in createForAdditionalParentMatrix() argument 471 return new CursorAnchorInfo(original.mSelectionStart, original.mSelectionEnd, in createForAdditionalParentMatrix() 472 original.mComposingTextStart, original.mComposingText, in createForAdditionalParentMatrix() 473 original.mInsertionMarkerFlags, original.mInsertionMarkerHorizontal, in createForAdditionalParentMatrix() 474 original.mInsertionMarkerTop, original.mInsertionMarkerBaseline, in createForAdditionalParentMatrix() 475 original.mInsertionMarkerBottom, original.mCharacterBoundsArray, in createForAdditionalParentMatrix() 476 computeMatrixValues(parentMatrix, original)); in createForAdditionalParentMatrix()
|
/frameworks/base/core/java/android/app/ |
D | DirectAction.java | 73 public DirectAction(@NonNull DirectAction original) { in DirectAction() argument 74 mTaskId = original.mTaskId; in DirectAction() 75 mActivityId = original.mActivityId; in DirectAction() 76 mID = original.mID; in DirectAction() 77 mExtras = original.mExtras; in DirectAction() 78 mLocusId = original.mLocusId; in DirectAction()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ProtoLogIntegrationTest.java | 62 ProtoLogImpl original = ProtoLogImpl.getSingleInstance(); in runWith() local 63 original.startProtoLog(null); in runWith() 69 ProtoLogImpl.setSingleInstance(original); in runWith() 72 original.stopProtoLog(null, false); in runWith()
|
/frameworks/base/tests/net/java/android/net/nsd/ |
D | NsdServiceInfoTest.java | 153 public void checkParcelable(NsdServiceInfo original) { in checkParcelable() argument 157 writer.putParcelable("test_info", original); in checkParcelable() 167 assertEquals(original.getServiceName(), result.getServiceName()); in checkParcelable() 168 assertEquals(original.getServiceType(), result.getServiceType()); in checkParcelable() 169 assertEquals(original.getHost(), result.getHost()); in checkParcelable() 170 assertTrue(original.getPort() == result.getPort()); in checkParcelable() 173 Map<String, byte[]> originalMap = original.getAttributes(); in checkParcelable()
|
/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/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/core/java/android/view/contentcapture/ |
D | ContentCaptureContext.java | 142 public ContentCaptureContext(@Nullable ContentCaptureContext original, int extraFlags) { in ContentCaptureContext() argument 143 mHasClientContext = original.mHasClientContext; in ContentCaptureContext() 144 mExtras = original.mExtras; in ContentCaptureContext() 145 mId = original.mId; in ContentCaptureContext() 146 mComponentName = original.mComponentName; in ContentCaptureContext() 147 mTaskId = original.mTaskId; in ContentCaptureContext() 148 mFlags = original.mFlags | extraFlags; in ContentCaptureContext() 149 mDisplayId = original.mDisplayId; 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()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | ExternalVibrationTest.java | 35 ExternalVibration original = new ExternalVibration( in testSerialization() local 41 original.writeToParcel(p, 0); in testSerialization() 44 assertEquals(original, restored); in testSerialization()
|
/frameworks/base/core/java/android/privacy/internal/rappor/ |
D | RapporEncoder.java | 116 public byte[] encodeString(String original) { in encodeString() argument 117 return mEncoder.encodeString(original); in encodeString() 121 public byte[] encodeBoolean(boolean original) { in encodeBoolean() argument 122 return mEncoder.encodeBoolean(original); in encodeBoolean()
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 256 final Pair<String, String> original = setCallingPackage( in query() local 265 setCallingPackage(original); in query() 275 final Pair<String, String> original = setCallingPackage( in query() local 284 setCallingPackage(original); in query() 324 final Pair<String, String> original = setCallingPackage( in insert() local 329 setCallingPackage(original); in insert() 333 final Pair<String, String> original = setCallingPackage( in insert() local 340 setCallingPackage(original); in insert() 355 final Pair<String, String> original = setCallingPackage( in bulkInsert() local 362 setCallingPackage(original); in bulkInsert() [all …]
|
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/ |
D | Camera2UtilsTest.java | 311 Camera2RequestSettingsSet original = new Camera2RequestSettingsSet(); in requestSettingsSetCopyConstructor() local 312 Camera2RequestSettingsSet unchanged = new Camera2RequestSettingsSet(original); in requestSettingsSetCopyConstructor() 314 requestSettingsSetAndForget(original, CaptureRequest.CONTROL_AE_LOCK, true); in requestSettingsSetCopyConstructor() 315 Camera2RequestSettingsSet changed = new Camera2RequestSettingsSet(original); in requestSettingsSetCopyConstructor() 321 Camera2RequestSettingsSet original = new Camera2RequestSettingsSet(); in requestSettingsSetCopyConstructorPreservesChangedStatus() local 322 Camera2RequestSettingsSet unchanged = new Camera2RequestSettingsSet(original); in requestSettingsSetCopyConstructorPreservesChangedStatus() 323 assertEquals(original.getRevision(), unchanged.getRevision()); in requestSettingsSetCopyConstructorPreservesChangedStatus() 325 requestSettingsSetAndAssertChanged(original, CaptureRequest.CONTROL_AE_LOCK, true, true); in requestSettingsSetCopyConstructorPreservesChangedStatus() 326 Camera2RequestSettingsSet changed = new Camera2RequestSettingsSet(original); in requestSettingsSetCopyConstructorPreservesChangedStatus() 327 assertEquals(original.getRevision(), changed.getRevision()); in requestSettingsSetCopyConstructorPreservesChangedStatus() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PackagePartitions.java | 133 public SystemPartition(@NonNull SystemPartition original) { in SystemPartition() argument 134 this.type = original.type; in SystemPartition() 135 this.mFolder = new DeferredCanonicalFile(original.mFolder.getFile()); in SystemPartition() 136 this.mAppFolder = original.mAppFolder; in SystemPartition() 137 this.mPrivAppFolder = original.mPrivAppFolder; in SystemPartition() 138 this.mOverlayFolder = original.mOverlayFolder; in SystemPartition()
|