Searched refs:isPrimary (Results 1 – 3 of 3) sorted by relevance
102 if (!volume.isPrimary()) { in testUserRejects()124 if (!volume.isPrimary()) { in testUserAccepts()166 if (volume.isPrimary()) continue; in testNotAskedAgainOnRoot()196 if (volume.isPrimary() && dir == DIRECTORY_ROOT) continue; in testDeniesOnceButAllowsAskingAgain()221 if (volume.isPrimary() && dir == DIRECTORY_ROOT) continue; in testDeniesOnceForAll()273 if (volume.isPrimary()) { in userAcceptsTest()
194 assertTrue("Should be primary", volume.isPrimary()); in testGetPrimaryVolume()233 if (volume.isPrimary()) { in testGetStorageVolumes()
3158 int isPrimary; in testCalendarIsPrimary() local3168 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()