Home
last modified time | relevance | path

Searched refs:policy2 (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/devicepolicy/app/TransferOwnerIncomingApp/src/com/android/cts/transferowner/
DTransferDeviceOwnerIncomingTest.java52 private void assertSystemPoliciesEqual(SystemUpdatePolicy policy1, SystemUpdatePolicy policy2) { in assertSystemPoliciesEqual() argument
53 assertTrue(policy1.getPolicyType() == policy2.getPolicyType() in assertSystemPoliciesEqual()
54 && policy1.getInstallWindowStart() == policy2.getInstallWindowStart() in assertSystemPoliciesEqual()
55 && policy1.getInstallWindowEnd() == policy2.getInstallWindowEnd()); in assertSystemPoliciesEqual()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/systemupdate/
DSystemUpdatePolicyTest.java276 final SystemUpdatePolicy policy2 = SystemUpdatePolicy in testWriteSystemUpdatePolicyToParcel() local
278 policy2.writeToParcel(parcel2, 0); in testWriteSystemUpdatePolicyToParcel()
282 assertSystemUpdatePoliciesEqual(policy2, copy2); in testWriteSystemUpdatePolicyToParcel()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java2534 NotificationManager.Policy policy2 = new NotificationManager.Policy(0, 0, 0, in testNotificationPolicyVisualEffectsEqual() local
2536 assertTrue(policy.equals(policy2)); in testNotificationPolicyVisualEffectsEqual()
2537 assertTrue(policy2.equals(policy)); in testNotificationPolicyVisualEffectsEqual()
2541 policy2 = new NotificationManager.Policy(0, 0, 0, in testNotificationPolicyVisualEffectsEqual()
2543 assertFalse(policy.equals(policy2)); in testNotificationPolicyVisualEffectsEqual()
2544 assertFalse(policy2.equals(policy)); in testNotificationPolicyVisualEffectsEqual()
2548 policy2 = new NotificationManager.Policy(0, 0, 0, in testNotificationPolicyVisualEffectsEqual()
2551 assertTrue(policy.equals(policy2)); in testNotificationPolicyVisualEffectsEqual()
2552 assertTrue(policy2.equals(policy)); in testNotificationPolicyVisualEffectsEqual()
2556 policy2 = new NotificationManager.Policy(0, 0, 0, in testNotificationPolicyVisualEffectsEqual()
[all …]