/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsCbEtwsInfoTest.java | 38 assertFalse(info.isPrimary()); in testIsPrimary() 42 assertTrue(info2.isPrimary()); in testIsPrimary()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/annotations/enterprise/ |
D | EnsureHasDelegate.java | 64 boolean isPrimary() default false; in isPrimary() method
|
D | EnsureHasProfileOwner.java | 53 boolean isPrimary() default false; in isPrimary() method
|
D | EnsureHasDeviceOwner.java | 64 boolean isPrimary() default false; in isPrimary() method
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/annotations/parameterized/ |
D | IncludeRunOnNonAffiliatedDeviceOwnerSecondaryUser.java | 39 @EnsureHasDeviceOwner(isPrimary = true, affiliationIds = {})
|
D | IncludeRunOnProfileOwnerPrimaryUser.java | 41 @EnsureHasProfileOwner(isPrimary = true)
|
D | IncludeRunOnDeviceOwnerUser.java | 41 @EnsureHasDeviceOwner(isPrimary = true)
|
D | IncludeRunOnUnaffiliatedProfileOwnerSecondaryUser.java | 41 @EnsureHasProfileOwner(affiliationIds = "not-affiliated", isPrimary = true)
|
D | IncludeRunOnAffiliatedDeviceOwnerSecondaryUser.java | 40 @EnsureHasDeviceOwner(isPrimary = true, affiliationIds = "affiliated")
|
D | IncludeRunOnAffiliatedProfileOwnerSecondaryUser.java | 41 @EnsureHasProfileOwner(affiliationIds = "affiliated", isPrimary = true)
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
D | UserReference.java | 321 public Boolean isPrimary() { in isPrimary() method in UserReference 324 mIsPrimary = adbUser().isPrimary(); in isPrimary() 326 mIsPrimary = userInfo().isPrimary(); in isPrimary()
|
D | AdbUser.java | 114 public Boolean isPrimary() { in isPrimary() method in AdbUser
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/users/ |
D | UserReferenceTest.java | 232 assertThat(user.isPrimary()).isTrue(); in isPrimary_isPrimary_returnsTrue() 241 assertThat(user.isPrimary()).isFalse(); in isPrimary_isNotPrimary_returnsFalse() 248 assertThrows(NeneException.class, user::isPrimary); in isPrimary_userDoesNotExist_throwsException()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | DeviceState.java | 361 ensureHasDelegateAnnotation.isPrimary()); 370 ensureHasDeviceOwnerAnnotation.isPrimary(), 409 ensureHasProfileOwnerAnnotation.isPrimary(), 1073 .stream().filter(UserReference::isPrimary).findFirst() 1435 EnsureHasDelegate.AdminType adminType, List<String> scopes, boolean isPrimary) { 1442 if (isPrimary && mPrimaryPolicyManager != null 1459 if (isPrimary) { 1519 private void ensureHasDeviceOwner(FailureMode failureMode, boolean isPrimary, 1525 if (isPrimary && mPrimaryPolicyManager != null && !userReference.equals( 1580 if (isPrimary) { [all …]
|
D | Policy.java | 218 String[] scopes, boolean isPrimary) { in ensureHasDelegate() argument 219 return new AutoAnnotation_Policy_ensureHasDelegate(admin, scopes, isPrimary); in ensureHasDelegate() 228 Annotation annotation, boolean isPrimary) { in generateDelegateAnnotation() argument 237 isPrimary); in generateDelegateAnnotation()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | TestHelper.java | 356 assertThat(wifiInfo.isPrimary()).isTrue(); in testConnectionFlowWithConnect() 520 assertThat(wifiInfo.isPrimary()).isFalse(); in testConnectionFlowWithSuggestionInternal() 522 assertThat(wifiInfo.isPrimary()).isTrue(); in testConnectionFlowWithSuggestionInternal() 718 assertThat(wifiInfo.isPrimary()).isFalse(); in testConnectionFlowWithSpecifierWithShellIdentity() 720 assertThat(wifiInfo.isPrimary()).isTrue(); in testConnectionFlowWithSpecifierWithShellIdentity()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | ScopedDirectoryAccessClientTest.java | 88 if (!volume.isPrimary()) { in testActivityFailsForAllVolumesAndDirectories()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayClientTests.java | 219 private void testViewGetDisplay(boolean isPrimary) { in testViewGetDisplay() argument 225 final int displayId = isPrimary ? DEFAULT_DISPLAY : newDisplay.mId; in testViewGetDisplay()
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 215 assertTrue("Should be primary", volume.isPrimary()); in testGetPrimaryVolume() 258 if (volume.isPrimary()) { in testGetStorageVolumes()
|
/cts/tests/tests/calendarprovider/src/android/provider/cts/calendar/ |
D | CalendarTest.java | 3158 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()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 1720 private static void assertVolumeType(boolean isPrimary) { in assertVolumeType() argument 1724 if (isPrimary) { in assertVolumeType()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/ |
D | test-current.txt | 873 method public boolean isPrimary();
|