Home
last modified time | relevance | path

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

123

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsCbEtwsInfoTest.java38 assertFalse(info.isPrimary()); in testIsPrimary()
42 assertTrue(info2.isPrimary()); in testIsPrimary()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DDeviceManagementCoexistenceTest.java163 @EnsureHasDeviceOwner(isPrimary = true)
186 @EnsureHasDeviceOwner(isPrimary = true)
217 @EnsureHasDeviceOwner(isPrimary = true)
261 @EnsureHasDeviceOwner(isPrimary = true)
288 @EnsureHasDeviceOwner(isPrimary = true)
315 @EnsureHasDeviceOwner(isPrimary = true)
343 @EnsureHasDeviceOwner(isPrimary = true)
386 @EnsureHasDeviceOwner(isPrimary = true)
411 @EnsureHasDeviceOwner(isPrimary = true)
445 @EnsureHasDeviceOwner(isPrimary = true)
[all …]
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
DEnterpriseComponent.kt60 !annotation.isPrimary || primaryPolicyManager == null || in ensureHasDelegate()
77 if (annotation.isPrimary) { in ensureHasDelegate()
86 fun ensureHasDevicePolicyManagerRoleHolder(onUser: UserType, isPrimary: Boolean) { in ensureHasDevicePolicyManagerRoleHolder()
100 if (isPrimary) { in ensureHasDevicePolicyManagerRoleHolder()
DProfileOwnersComponent.kt71 isPrimary, in <lambda>()
86 isPrimary: Boolean, in <lambda>()
104 !isPrimary || enterpriseComponent.primaryPolicyManager == null || in <lambda>()
153 if (isPrimary) { in <lambda>()
DEnterpriseAnnotationExecutor.kt48 annotation.isPrimary in applyAnnotation()
54 annotation.isPrimary, in applyAnnotation()
DDeviceOwnerComponent.kt88 isPrimary: Boolean, in ensureHasDeviceOwner()
118 if (isPrimary && enterpriseComponent.primaryPolicyManager != null && in ensureHasDeviceOwner()
185 if (isPrimary) { in ensureHasDeviceOwner()
212 isPrimary = false, in ensureHasDeviceOwner()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DMultiStaConcurrencyMultiInternetWifiNetworkTest.java108 final boolean isPrimary = isPrimaryWifiNetwork(
110 Log.d(TAG, "onLinkPropertiesChanged: " + network + " primary " + isPrimary);
116 final boolean isPrimary = isPrimaryWifiNetwork(
118 Log.d(TAG, "onCapabilitiesChanged: " + network + " primary " + isPrimary
124 final boolean isPrimary = isPrimaryWifiNetwork(
264 return ((WifiInfo) transportInfo).isPrimary(); in isPrimaryWifiNetwork()
/cts/common/device-side/bedstead/modules/enterprise/src/test/kotlin/com/android/bedstead/enterprise/
DEnterpriseAnnotationExecutorTest.kt81 isPrimary = true
92 isPrimary = false
103 isPrimary = true
119 isPrimary = true
134 @EnsureHasDeviceOwner(key = EnsureHasDeviceOwner.DEFAULT_KEY, isPrimary = true)
166 @EnsureHasDeviceOwner(isPrimary = true)
173 @EnsureHasDeviceOwner(isPrimary = true)
174 @EnsureHasDelegate(admin = EnsureHasDelegate.AdminType.PRIMARY, scopes = [], isPrimary = true)
180 isPrimary = true,
192 isPrimary = true,
[all …]
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUserInfo.kt69 fun isPrimary(): Boolean = proxy.isPrimary() method
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/
DEnsureTestAppInstalled.java65 boolean isPrimary() default false; in isPrimary() method
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/
DEnsureHasDelegate.java82 boolean isPrimary() default false; in isPrimary() method
DEnsureHasDevicePolicyManagerRoleHolder.java58 boolean isPrimary() default false; in isPrimary() method
DEnsureHasProfileOwner.kt67 val isPrimary: Boolean = false, constant in com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner
DEnsureHasDeviceOwner.java112 boolean isPrimary() default false; in isPrimary() method
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/parameterized/
DIncludeRunOnUnaffiliatedDeviceOwnerSecondaryUser.java42 isPrimary = true,
DIncludeRunOnUnaffiliatedProfileOwnerAdditionalUser.java42 @EnsureHasProfileOwner(affiliationIds = "not-affiliated", isPrimary = true, key = "dpc")
DIncludeRunOnProfileOwnerPrimaryUser.java43 @EnsureHasProfileOwner(isPrimary = true, key = "dpc")
DIncludeRunOnSystemDeviceOwnerUser.java41 @EnsureHasDeviceOwner(isPrimary = true, key = "dpc")
DIncludeRunOnAffiliatedDeviceOwnerSecondaryUser.java42 @EnsureHasDeviceOwner(isPrimary = true, affiliationIds = "affiliated", key = "dpc")
DIncludeRunOnAffiliatedProfileOwnerAdditionalUser.java43 @EnsureHasProfileOwner(affiliationIds = "affiliated", isPrimary = true, key = "dpc")
DIncludeRunOnFinancedDeviceOwnerUser.java42 @EnsureHasDeviceOwner(isPrimary = true, type = DeviceOwnerType.FINANCED, key = "dpc")
DIncludeRunOnDevicePolicyManagementRoleHolderSecondaryUser.java43 @EnsureHasDevicePolicyManagerRoleHolder(onUser = SYSTEM_USER, isPrimary = true)
DIncludeRunOnDevicePolicyManagementRoleHolderUser.java43 @EnsureHasDevicePolicyManagerRoleHolder(isPrimary = true)
DIncludeRunOnDevicePolicyManagementRoleHolderProfile.java48 @EnsureHasDevicePolicyManagerRoleHolder(onUser = INITIAL_USER, isPrimary = true)
DIncludeRunOnSingleDeviceOwnerUser.java47 @EnsureHasDeviceOwner(isPrimary = true, key = "dpc", headlessDeviceOwnerType = SINGLE_USER,

123