Home
last modified time | relevance | path

Searched refs:TestData (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/app/src/android/app/cts/
DShareIdentityTest.java375 private static final ConcurrentHashMap<Integer, TestData> sTestIdToData =
404 TestData testData = new TestData(new CountDownLatch(1)); in testShareIdentity_explicitIdentityShared_identityAvailableToActivity()
420 TestData testData = new TestData(new CountDownLatch(1)); in testShareIdentity_defaultIdentityNotShared_identityNotAvailableToActivity()
441 TestData testData = new TestData(new CountDownLatch(1)); in testShareIdentity_explicitIdentityNotShared_identityNotAvailableToActivity()
465 TestData testData = new TestData(new CountDownLatch(1)); in testShareIdentity_identityNotSharedSameUid_identityAvailableToActivity()
495 TestData testData = new TestData(new CountDownLatch(1)); in testShareIdentity_startActivityForResult_identityNotAvailableToActivity()
519 TestData testData = new TestData(new CountDownLatch(1)); in testShareIdentity_sendBroadcastToRuntimeReceiverIdentityShared_identityAvailable()
535 TestData testData = new TestData(new CountDownLatch(1)); in testShareIdentity_sendBroadcastToManifestReceiverIdentityShared_identityAvailable()
553 TestData testData = new TestData(new CountDownLatch(1)); in testShareIdentity_sendBroadcastToRuntimeReceiverIdentityNotShared_identityNotAvailable()
576 TestData testData = new TestData(new CountDownLatch(1)); in testShareIdentity_sendBroadcastToManifestReceiverIdentityNotShared_identityNotAvailable()
[all …]
/cts/tests/tests/util/src/android/util/cts/
DSparseArrayTest.java223 SparseArray<TestData> first = new SparseArray<>(); in testContentEquals()
224 first.put(0, new TestData("0")); in testContentEquals()
225 first.put(1, new TestData("1")); in testContentEquals()
226 first.put(2, new TestData("2")); in testContentEquals()
295 SparseArray<TestData> first = new SparseArray<>(); in testContentHashCode()
296 first.put(0, new TestData("0")); in testContentHashCode()
297 first.put(1, new TestData("1")); in testContentHashCode()
298 first.put(2, new TestData("2")); in testContentHashCode()
320 private static class TestData { class in SparseArrayTest
324 private TestData(@NonNull String data) { in TestData() method in SparseArrayTest.TestData
[all …]
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_IsSuperPrimaryName.java30 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestData;
76 TestData name1 = rawContact1.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testInner_displayNameFromIsSuperPrimary()
87 TestData name2 = rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testInner_displayNameFromIsSuperPrimary()
115 TestData nonPrimaryName = !isFirstNamePrimary ? name1 : name2; in testInner_displayNameFromIsSuperPrimary()
137 TestData name1 = rawContact1.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testIsSuperPrimaryName_mergeBothSuperPrimary()
148 TestData name2 = rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testIsSuperPrimaryName_mergeBothSuperPrimary()
DContactsContract_StructuredPhoneticName.java30 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestData;
79 TestData name1 = rawContact1.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testPhoneticStructuredName()
103 TestData name1 = rawContact1.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testPhoneticStructuredName_phoneticPriority1()
113 TestData name2 = rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testPhoneticStructuredName_phoneticPriority1()
140 TestData name2 = rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testPhoneticStructuredName_phoneticPriority2()
150 TestData name1 = rawContact1.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testPhoneticStructuredName_phoneticPriority2()
DContactsContract_GroupMembershipTest.java26 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestData;
53 TestData groupMembership = rawContact.newDataRow(GroupMembership.CONTENT_ITEM_TYPE) in testAddGroupMembershipWithGroupRowId()
72 TestData groupMembership = rawContact.newDataRow(GroupMembership.CONTENT_ITEM_TYPE) in testAddGroupMembershipWithGroupSourceId()
87 TestData groupMembership = rawContact.newDataRow(GroupMembership.CONTENT_ITEM_TYPE) in testAddGroupMembershipWithUnknownGroupSourceId()
DContactsContract_TestDataBuilder.java272 public TestData newDataRow(String mimeType) { in newDataRow()
273 return new TestData(this, mimeType); in newDataRow()
322 public class TestData extends Builder<TestData> { class in ContactsContract_TestDataBuilder
325 public TestData(TestRawContact rawContact, String mimeType) { in TestData() method in ContactsContract_TestDataBuilder.TestData
336 public TestData insert() throws Exception { in insert()
DContactsContract_PhotoTest.java26 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestData;
70 TestData photoData = rawContact.newDataRow(Photo.CONTENT_ITEM_TYPE) in testAddPhoto()
91 TestData photoData = rawContact.newDataRow(Photo.CONTENT_ITEM_TYPE) in testAddEmptyPhoto()
DContactsContract_DataTest.java43 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestData;
217 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) in testGetLookupUriBySourceId()
235 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) in testDataProjection()
251 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) in testRawContactsEntityProjection()
313 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) in testEntityProjection()
416 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) in testGetLookupUriByDisplayName()