Home
last modified time | relevance | path

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

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DNearbyNotificationStreamingPolicyTest.java72 …assertThat(TestApis.devicePolicy().getNearbyNotificationStreamingPolicy()).isEqualTo(SameManagedAc… in getNearbyNotificationStreamingPolicy_defaultToSameManagedAccountOnly()
77 … assertThat(TestApis.devicePolicy().getNearbyNotificationStreamingPolicy()).isEqualTo(NotManaged); in getNearbyNotificationStreamingPolicy_defaultToUnmanaged()
83 …tion.class, () -> sDeviceState.dpc().devicePolicyManager().getNearbyNotificationStreamingPolicy()); in getNearbyNotificationStreamingPolicy_policyIsNotAllowedToBeSet_throwsException()
89 int originalPolicy = dpm.getNearbyNotificationStreamingPolicy(); in setNearbyNotificationStreamingPolicy_policyApplied_works()
94 assertThat(dpm.getNearbyNotificationStreamingPolicy()) in setNearbyNotificationStreamingPolicy_policyApplied_works()
105 var originalLocalPolicy = TestApis.devicePolicy().getNearbyNotificationStreamingPolicy(); in setNearbyNotificationStreamingPolicy_policyApplied_otherUsersUnaffected()
106 int originalPolicy = dpm.getNearbyNotificationStreamingPolicy(); in setNearbyNotificationStreamingPolicy_policyApplied_otherUsersUnaffected()
111 assertThat(TestApis.devicePolicy().getNearbyNotificationStreamingPolicy()) in setNearbyNotificationStreamingPolicy_policyApplied_otherUsersUnaffected()
132 int originalPolicy = dpm.getNearbyNotificationStreamingPolicy(); in setNearbyNotificationStreamingPolicy_setEnabled_doesNotApply()
138 TestApis.devicePolicy().getNearbyNotificationStreamingPolicy()).isNotEqualTo( in setNearbyNotificationStreamingPolicy_setEnabled_doesNotApply()
[all …]
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicy.kt856 fun getNearbyNotificationStreamingPolicy( in <lambda>() method
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt8047 ….READ_NEARBY_STREAMING_POLICY, conditional=true) public int getNearbyNotificationStreamingPolicy();