Home
last modified time | relevance | path

Searched refs:createCopy (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DEqualsHashCodeToStringTester.kt48 private val createCopy: ((T) -> T)? = null constant in com.android.safetycenter.testing.EqualsHashCodeToStringTester
60 val equalItemsWithCopiesIfNeeded = equalItems.toList().withCopiesIfNeeded(createCopy) in addEqualityGroup()
88 createCopy: ((T) -> T)? = null in ofParcelable()
94 createCopy in ofParcelable()
106 createCopy: ((T) -> T)? = null in ofParcelable()
112 createCopy in ofParcelable()
169 private fun <T> List<T>.withCopiesIfNeeded(createCopy: ((T) -> T)? = null): List<T> = in withCopiesIfNeeded()
170 createCopy?.let { this + this.map(it) } ?: this in withCopiesIfNeeded()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDirectoryContactUtil.java48 public static void createCopy( in createCopy() method in DirectoryContactUtil
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/
DSafetyCenterConfigTest.kt102 createCopy = createCopyFromBuilder in newTiramisuEqualsHashCodeToStringTester()
DSafetySourcesGroupTest.kt323 createCopy = in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
DSafetySourceTest.kt366 createCopy = in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterStaticEntryTest.kt104 createCopy = { SafetyCenterStaticEntry.Builder(it).build() } in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
DSafetyCenterStatusTest.kt159 createCopy = { SafetyCenterStatus.Builder(it).build() } in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
DSafetyCenterEntryGroupTest.kt178 createCopy = { SafetyCenterEntryGroup.Builder(it).build() } in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
DSafetyCenterIssueTest.kt646 createCopy = createCopyFromBuilder
688 createCopy = createCopyFromBuilder
DSafetyEventTest.kt206 createCopy = createCopyFromBuilder in newTiramisuEqualsHashCodeToStringTester()
DSafetySourceStatusTest.kt301 createCopy = createCopyFromBuilder
DSafetyCenterEntryTest.kt216 createCopy = { SafetyCenterEntry.Builder(it).build() } in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
DSafetySourceIssueTest.kt468 createCopy = { Notification.Builder(it).build() } in notification_equalsHashCodeToString_usingEqualsHashCodeToStringTester()
1892 createCopy = createCopyFromBuilder
2072 createCopy = createCopyFromBuilder
DSafetySourceDataTest.kt397 createCopy = { SafetySourceData.Builder(it).build() } in equalsHashCode_atLeastU_usingEqualsHashCodeToStringTester()
DSafetyCenterDataTest.kt553 createCopy = { SafetyCenterData.Builder(it).build() } in equalsHashCode_atLeastU_usingEqualsHashCodeToStringTester()