/frameworks/base/core/tests/coretests/src/android/transition/ |
D | TransitionTest.java | 84 Fade clone = (Fade) fade.clone(); in testClone() local 85 assertFieldEquals(fade, clone, "mStartDelay"); in testClone() 86 assertFieldEquals(fade, clone, "mDuration"); in testClone() 87 assertFieldEquals(fade, clone, "mInterpolator"); in testClone() 88 assertFieldEquals(fade, clone, "mPropagation"); in testClone() 89 assertEquals(fade.getPathMotion(), clone.getPathMotion()); in testClone() 90 assertEquals(fade.getEpicenterCallback(), clone.getEpicenterCallback()); in testClone() 91 assertFieldEquals(fade, clone, "mNameOverrides"); in testClone() 92 assertFieldEquals(fade, clone, "mMatchOrder"); in testClone() 94 assertFieldEquals(fade, clone, "mTargets"); in testClone() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | StateListAnimator.java | 136 public StateListAnimator clone() { in clone() method in StateListAnimator 138 StateListAnimator clone = (StateListAnimator) super.clone(); in clone() local 139 clone.mTuples = new ArrayList<Tuple>(mTuples.size()); in clone() 140 clone.mLastMatch = null; in clone() 141 clone.mRunningAnimator = null; in clone() 142 clone.mViewRef = null; in clone() 143 clone.mAnimatorListener = null; in clone() 144 clone.initAnimatorListener(); in clone() 148 final Animator animatorClone = tuple.mAnimator.clone(); in clone() 150 clone.addState(tuple.mSpecs, animatorClone); in clone() [all …]
|
D | PathKeyframes.java | 130 public Keyframes clone() { in clone() method in PathKeyframes 131 Keyframes clone = null; in clone() local 133 clone = (Keyframes) super.clone(); in clone() 135 return clone; in clone() 218 public Keyframes clone() { 219 Keyframes clone = null; 221 clone = (Keyframes) super.clone(); 223 return clone;
|
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/ |
D | InputMethodInfoTest.java | 52 final InputMethodInfo clone = cloneViaParcel(imi); in testEqualsAndHashCode() local 54 assertThat(clone.equals(imi), is(true)); in testEqualsAndHashCode() 55 assertThat(clone.hashCode(), equalTo(imi.hashCode())); in testEqualsAndHashCode() 66 final InputMethodInfo clone = cloneViaParcel(imi); in testBooleanAttributes_DefaultValues() local 68 assertThat(clone.supportsSwitchingToNextInputMethod(), is(false)); in testBooleanAttributes_DefaultValues() 84 final InputMethodInfo clone = cloneViaParcel(imi); in testSupportsSwitchingToNextInputMethod() local 86 assertThat(clone.supportsSwitchingToNextInputMethod(), is(true)); in testSupportsSwitchingToNextInputMethod() 95 final InputMethodInfo clone = cloneViaParcel(imi); in testInlineSuggestionsEnabled() local 97 assertThat(clone.isInlineSuggestionsEnabled(), is(true)); in testInlineSuggestionsEnabled() 107 final InputMethodInfo clone = cloneViaParcel(imi); in testInlineSuggestionsEnabledWithTouchExploration() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/autofill/ |
D | AutofillIdTest.java | 41 final AutofillId clone = cloneThroughParcel(id); in testNonVirtual() local 42 assertNonVirtual(clone, 42, NO_SESSION); in testNonVirtual() 55 final AutofillId clone = cloneThroughParcel(id); in testVirtual_int() local 56 assertThat(clone.getViewId()).isEqualTo(42); in testVirtual_int() 57 assertThat(clone.isVirtualLong()).isFalse(); in testVirtual_int() 58 assertThat(clone.isVirtualInt()).isTrue(); in testVirtual_int() 59 assertThat(clone.isNonVirtual()).isFalse(); in testVirtual_int() 60 assertThat(clone.getVirtualChildIntId()).isEqualTo(108); in testVirtual_int() 61 assertThat(clone.getVirtualChildLongId()).isEqualTo(View.NO_ID); in testVirtual_int() 74 final AutofillId clone = cloneThroughParcel(id); in testVirtual_long() local [all …]
|
/frameworks/base/core/java/android/util/ |
D | SparseDoubleArray.java | 69 public SparseDoubleArray clone() { in clone() method in SparseDoubleArray 70 SparseDoubleArray clone = null; in clone() local 72 clone = (SparseDoubleArray) super.clone(); in clone() 73 clone.mValues = mValues.clone(); in clone() 77 return clone; in clone()
|
D | SparseIntArray.java | 82 public SparseIntArray clone() { in clone() method in SparseIntArray 83 SparseIntArray clone = null; in clone() local 85 clone = (SparseIntArray) super.clone(); in clone() 86 clone.mKeys = mKeys.clone(); in clone() 87 clone.mValues = mValues.clone(); in clone() 91 return clone; in clone()
|
D | SparseLongArray.java | 75 public SparseLongArray clone() { in clone() method in SparseLongArray 76 SparseLongArray clone = null; in clone() local 78 clone = (SparseLongArray) super.clone(); in clone() 79 clone.mKeys = mKeys.clone(); in clone() 80 clone.mValues = mValues.clone(); in clone() 84 return clone; in clone()
|
D | LongSparseLongArray.java | 84 public LongSparseLongArray clone() { in clone() method in LongSparseLongArray 85 LongSparseLongArray clone = null; in clone() local 87 clone = (LongSparseLongArray) super.clone(); in clone() 88 clone.mKeys = mKeys.clone(); in clone() 89 clone.mValues = mValues.clone(); in clone() 93 return clone; in clone()
|
D | SparseBooleanArray.java | 75 public SparseBooleanArray clone() { in clone() method in SparseBooleanArray 76 SparseBooleanArray clone = null; in clone() local 78 clone = (SparseBooleanArray) super.clone(); in clone() 79 clone.mKeys = mKeys.clone(); in clone() 80 clone.mValues = mValues.clone(); in clone() 84 return clone; in clone()
|
D | LongArray.java | 157 public LongArray clone() { in clone() method in LongArray 158 LongArray clone = null; in clone() local 160 clone = (LongArray) super.clone(); in clone() 161 clone.mValues = mValues.clone(); in clone() 165 return clone; in clone()
|
D | SparseArray.java | 96 public SparseArray<E> clone() { in clone() method in SparseArray 97 SparseArray<E> clone = null; in clone() local 99 clone = (SparseArray<E>) super.clone(); in clone() 100 clone.mKeys = mKeys.clone(); in clone() 101 clone.mValues = mValues.clone(); in clone() 105 return clone; in clone()
|
D | LongSparseArray.java | 94 public LongSparseArray<E> clone() { in clone() method in LongSparseArray 95 LongSparseArray<E> clone = null; in clone() local 97 clone = (LongSparseArray<E>) super.clone(); in clone() 98 clone.mKeys = mKeys.clone(); in clone() 99 clone.mValues = mValues.clone(); in clone() 103 return clone; in clone()
|
/frameworks/native/services/inputflinger/rust/ |
D | slow_keys_filter.rs | 71 input_filter_thread: input_filter_thread.clone(), in new() 73 input_filter_thread.register_thread_callback(Box::new(filter.clone())); in new() 178 slow_filter.input_filter_thread.unregister_thread_callback(Box::new(self.clone())); in destroy() 188 for event in slow_filter.pending_down_events.clone() { in notify_timeout_expired() 245 let test_thread = get_thread(test_callbacks.clone()); in test_is_notify_key_for_internal_keyboard_not_blocked() 248 Box::new(next.clone()), in test_is_notify_key_for_internal_keyboard_not_blocked() 249 test_thread.clone(), in test_is_notify_key_for_internal_keyboard_not_blocked() 262 let test_thread = get_thread(test_callbacks.clone()); in test_is_notify_key_for_external_stylus_not_blocked() 265 Box::new(next.clone()), in test_is_notify_key_for_external_stylus_not_blocked() 266 test_thread.clone(), in test_is_notify_key_for_external_stylus_not_blocked() [all …]
|
D | sticky_keys_filter.rs | 266 Box::new(test_filter.clone()), in test_notify_key_consumes_ephemeral_modifier_keys() 267 Arc::new(RwLock::new(Strong::new(Box::new(test_callbacks.clone())))), in test_notify_key_consumes_ephemeral_modifier_keys() 293 Box::new(test_filter.clone()), in test_notify_key_passes_non_ephemeral_modifier_keys() 294 Arc::new(RwLock::new(Strong::new(Box::new(test_callbacks.clone())))), in test_notify_key_passes_non_ephemeral_modifier_keys() 318 Box::new(test_filter.clone()), in test_notify_key_passes_non_modifier_keys() 319 Arc::new(RwLock::new(Strong::new(Box::new(test_callbacks.clone())))), in test_notify_key_passes_non_modifier_keys() 335 Box::new(test_filter.clone()), in test_modifier_state_updated_on_modifier_key_press() 336 Arc::new(RwLock::new(Strong::new(Box::new(test_callbacks.clone())))), in test_modifier_state_updated_on_modifier_key_press() 384 Box::new(test_filter.clone()), in test_modifier_state_cleared_on_non_modifier_key_press() 385 Arc::new(RwLock::new(Strong::new(Box::new(test_callbacks.clone())))), in test_modifier_state_cleared_on_non_modifier_key_press() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/assist/ |
D | AssistStructureTest.java | 146 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_oneSmallView() local 147 assertStructureWithManySmallViews(clone, 1); in testParcelizationForAutofill_oneSmallView() 166 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_manySmallViews() local 167 assertStructureWithManySmallViews(clone, NUMBER_SMALL_VIEWS); in testParcelizationForAutofill_manySmallViews() 220 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_oneBigView() local 221 assertStructureWithOneBigView(clone); in testParcelizationForAutofill_oneBigView() 278 ViewNodeParcelable clone = cloneThroughParcel(viewNodeParcelable); in testViewNodeParcelableForCredentialManager() local 279 assertCredentialView(clone.getViewNode()); in testViewNodeParcelableForCredentialManager() 326 ViewNodeParcelable clone = cloneThroughParcel(viewNodeParcelable); in testViewNodeParcelableForAutofill() local 327 assertBigView(clone.getViewNode()); in testViewNodeParcelableForAutofill() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | CallbackRegistry.java | 356 public synchronized CallbackRegistry<C, T, A> clone() { in clone() method in CallbackRegistry 357 CallbackRegistry<C, T, A> clone = null; in clone() local 359 clone = (CallbackRegistry<C, T, A>) super.clone(); in clone() 360 clone.mFirst64Removed = 0; in clone() 361 clone.mRemainderRemoved = null; in clone() 362 clone.mNotificationLevel = 0; in clone() 363 clone.mCallbacks = new ArrayList<C>(); in clone() 367 clone.mCallbacks.add(mCallbacks.get(i)); in clone() 373 return clone; in clone()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | Utils.java | 30 return (value != null) ? (Date) value.clone() : null; in cloneIfNotNull() 34 return (value != null) ? value.clone() : null; in cloneIfNotNull() 38 return (value != null) ? value.clone() : null; in cloneIfNotNull()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | ExpensiveObjectsPerfTest.java | 60 ((DateFormat) df.clone()).format(System.currentTimeMillis()); in timeClonedDateFormatTimeInstance() 88 c.clone(); in timeClonedCollator() 105 dfs.clone(); in timeClonedDateFormatSymbols() 122 dfs.clone(); in timeClonedDecimalFormatSymbols() 139 nf.clone(); in timeClonedNumberFormat() 181 gc.clone(); in timeClonedGregorianCalendar()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SafeActivityOptionsTest.java | 75 final SafeActivityOptions clone = new SafeActivityOptions(ActivityOptions.makeBasic() in test_selectiveCloneDisplayOptions() local 81 assertSame(clone.getOriginalOptions().getLaunchTaskDisplayArea(), token); in test_selectiveCloneDisplayOptions() 82 assertEquals(clone.getOriginalOptions().getLaunchDisplayId(), launchDisplayId); in test_selectiveCloneDisplayOptions() 83 assertEquals(clone.getOriginalOptions().getCallerDisplayId(), callerDisplayId); in test_selectiveCloneDisplayOptions() 89 final SafeActivityOptions clone = new SafeActivityOptions(ActivityOptions.makeBasic() in test_selectiveCloneLunchRootTask() local 93 assertSame(clone.getOriginalOptions().getLaunchRootTask(), token); in test_selectiveCloneLunchRootTask() 99 final SafeActivityOptions clone = new SafeActivityOptions( in test_selectiveCloneLunchRemoteTransition() local 103 assertSame(clone.getOriginalOptions().getRemoteTransition(), transition); in test_selectiveCloneLunchRemoteTransition()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | TriData.java | 57 public TriData(TriData clone) { in TriData() argument 59 mVert = Arrays.copyOf(clone.mVert, clone.mVert.length); in TriData() 60 mIndex = Arrays.copyOf(clone.mIndex, clone.mIndex.length); in TriData()
|
D | VrState.java | 41 public void clone(VrState src) { in clone() method in VrState 49 mCubeVolume.clone(src.mCubeVolume); in clone() 55 mTransform.clone(src.mTransform); in clone() 111 mCubeVolume.clone(src.mCubeVolume); in copyData() 115 mTransform.clone(src.mTransform); in copyData()
|
/frameworks/base/telephony/java/android/telephony/ |
D | RadioAccessSpecifier.java | 76 this.mBands = bands.clone(); in RadioAccessSpecifier() 81 this.mChannels = channels.clone(); in RadioAccessSpecifier() 105 return mBands == null ? null : mBands.clone(); in getBands() 110 return mChannels == null ? null : mChannels.clone(); in getChannels()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseAppStateTimeEvents.java | 46 return (LinkedList<T>) otherDurations.clone(); in add() 55 dest.add((T) l.clone()); in add() 59 dest.add((T) l.clone()); in add() 62 dest.add((T) r.clone()); in add() 125 public Object clone() { in clone() method in BaseAppStateTimeEvents.BaseTimeEvent
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsServiceControllerTest.java | 201 assertTrue(mTestImsServiceController.bind(testFeatures, slotIdToSubIdMap.clone())); in testBindService() 222 bindAndConnectService(testFeatures, slotIdToSubIdMap.clone()); in testBindFailureWhenBound() 225 assertFalse(mTestImsServiceController.bind(testFeatures, slotIdToSubIdMap.clone())); in testBindFailureWhenBound() 245 bindAndConnectService(testFeatures, slotIdToSubIdMap.clone()); in testBindServiceAndConnected() 277 bindAndConnectService(testFeatures, slotIdToSubIdMap.clone()); in testCallChangeWithNoNewFeaturesWithSubIdChanged() 296 slotIdToSubIdMap.clone()); in testCallChangeWithNoNewFeaturesWithSubIdChanged() 340 bindAndConnectService(testFeatures, slotIdToSubIdMap.clone()); in testCallChangeWithNoNewFeaturesWithAllSubIdChanged() 359 slotIdToSubIdMap.clone()); in testCallChangeWithNoNewFeaturesWithAllSubIdChanged() 410 bindAndConnectService(testFeatures, slotIdToSubIdMap.clone()); in testCallChangeWithNoNewFeaturesWithSlot1SubIdChanged() 429 slotIdToSubIdMap.clone()); in testCallChangeWithNoNewFeaturesWithSlot1SubIdChanged() [all …]
|