Home
last modified time | relevance | path

Searched refs:isPrimary (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsCbEtwsInfoTest.java38 assertFalse(info.isPrimary()); in testIsPrimary()
42 assertTrue(info2.isPrimary()); in testIsPrimary()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DScopedDirectoryAccessClientTest.java88 if (!volume.isPrimary()) { in testActivityFailsForAllVolumesAndDirectories()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java202 assertTrue("Should be primary", volume.isPrimary()); in testGetPrimaryVolume()
241 if (volume.isPrimary()) { in testGetStorageVolumes()
/cts/tests/tests/provider/src/android/provider/cts/
DCalendarTest.java3158 int isPrimary; in testCalendarIsPrimary() local
3168 isPrimary = cursor.getInt(0); in testCalendarIsPrimary()
3170 assertEquals("isPrimary should be 0 if ownerAccount != account_name", 0, isPrimary); in testCalendarIsPrimary()
3178 isPrimary = cursor.getInt(0); in testCalendarIsPrimary()
3180 assertEquals("isPrimary should be 1 if ownerAccount == account_name", 1, isPrimary); in testCalendarIsPrimary()
3188 isPrimary = cursor.getInt(0); in testCalendarIsPrimary()
3190 assertEquals("isPrimary should be the value it was set to", SOME_ARBITRARY_INT, isPrimary); in testCalendarIsPrimary()