Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/systemupdate/
DSystemUpdatePolicyTest.java367 SystemUpdatePolicy newPolicy = mDevicePolicyManager.getSystemUpdatePolicy(); in testPolicy() local
369 assertNull(newPolicy); in testPolicy()
371 assertNotNull(newPolicy); in testPolicy()
372 assertEquals(policy.toString(), newPolicy.toString()); in testPolicy()
373 assertEquals(policy.getPolicyType(), newPolicy.getPolicyType()); in testPolicy()
375 assertEquals(policy.getInstallWindowStart(), newPolicy.getInstallWindowStart()); in testPolicy()
376 assertEquals(policy.getInstallWindowEnd(), newPolicy.getInstallWindowEnd()); in testPolicy()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothDeviceTest.java526 BluetoothSinkAudioPolicy newPolicy = new BluetoothSinkAudioPolicy.Builder(demoAudioPolicy) in setGetAudioPolicy() local
533 mFakeDevice.requestAudioPolicyAsSink(newPolicy)); in setGetAudioPolicy()
536 assertEquals(BluetoothSinkAudioPolicy.POLICY_ALLOWED, newPolicy.getCallEstablishPolicy()); in setGetAudioPolicy()
538 newPolicy.getActiveDevicePolicyAfterConnection()); in setGetAudioPolicy()
539 assertEquals(BluetoothSinkAudioPolicy.POLICY_ALLOWED, newPolicy.getInBandRingtonePolicy()); in setGetAudioPolicy()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerZenTest.java1827 NotificationManager.Policy newPolicy = new NotificationManager.Policy( in testMatchesCallFilter_allCallers() local
1833 mNotificationManager.setNotificationPolicy(newPolicy); in testMatchesCallFilter_allCallers()