Searched refs:originalPolicy (Results 1 – 7 of 7) sorted by relevance
91 int originalPolicy = dpm.getNearbyAppStreamingPolicy(); in setNearbyAppStreamingPolicy_policyApplied_works() local99 dpm.setNearbyAppStreamingPolicy(originalPolicy); in setNearbyAppStreamingPolicy_policyApplied_works()108 int originalPolicy = dpm.getNearbyAppStreamingPolicy(); in setNearbyAppStreamingPolicy_policyApplied_otherUsersUnaffected() local116 dpm.setNearbyAppStreamingPolicy(originalPolicy); in setNearbyAppStreamingPolicy_policyApplied_otherUsersUnaffected()133 int originalPolicy = dpm.getNearbyAppStreamingPolicy(); in setNearbyAppStreamingPolicy_setEnabled_doesNotApply() local141 dpm.setNearbyAppStreamingPolicy(originalPolicy); in setNearbyAppStreamingPolicy_setEnabled_doesNotApply()
89 int originalPolicy = dpm.getNearbyNotificationStreamingPolicy(); in setNearbyNotificationStreamingPolicy_policyApplied_works() local97 dpm.setNearbyNotificationStreamingPolicy(originalPolicy); in setNearbyNotificationStreamingPolicy_policyApplied_works()106 int originalPolicy = dpm.getNearbyNotificationStreamingPolicy(); in setNearbyNotificationStreamingPolicy_policyApplied_otherUsersUnaffected() local114 dpm.setNearbyNotificationStreamingPolicy(originalPolicy); in setNearbyNotificationStreamingPolicy_policyApplied_otherUsersUnaffected()132 int originalPolicy = dpm.getNearbyNotificationStreamingPolicy(); in setNearbyNotificationStreamingPolicy_setEnabled_doesNotApply() local141 dpm.setNearbyNotificationStreamingPolicy(originalPolicy); in setNearbyNotificationStreamingPolicy_setEnabled_doesNotApply()
69 SystemUpdatePolicy originalPolicy = sDeviceState.dpc() in setSystemUpdatePolicy_policyIsSet() local81 sDeviceState.dpc().componentName(), originalPolicy); in setSystemUpdatePolicy_policyIsSet() local90 SystemUpdatePolicy originalPolicy = in setSystemUpdatePolicy_doesNotApply_policyIsNotSet() local101 sDeviceState.dpc().componentName(), originalPolicy); in setSystemUpdatePolicy_doesNotApply_policyIsNotSet() local
81 val originalPolicy = remoteDpm.getContentProtectionPolicy(componentName) in setContentProtectionPolicy_enabled_policySet() constant90 remoteDpm.setContentProtectionPolicy(componentName, originalPolicy) in setContentProtectionPolicy_enabled_policySet()106 val originalPolicy = remoteDpm.getContentProtectionPolicy(componentName) in setContentProtectionPolicy_disabled_policySet() constant115 remoteDpm.setContentProtectionPolicy(componentName, originalPolicy) in setContentProtectionPolicy_disabled_policySet()
65 aaudio_policy_t originalPolicy = AAudioExtensions::getInstance().getMMapPolicy(); in TEST_F() local68 AAudioExtensions::getInstance().setMMapPolicy(originalPolicy); in TEST_F()
162 aaudio_policy_t originalPolicy = AAUDIO_POLICY_AUTO; in createAndVerifyHonoringMMap() local167 originalPolicy = AAudioExtensions::getInstance().getMMapPolicy(); in createAndVerifyHonoringMMap()175 AAudioExtensions::getInstance().setMMapPolicy(originalPolicy); in createAndVerifyHonoringMMap()
2832 StrictMode.ThreadPolicy originalPolicy = StrictMode.getThreadPolicy(); in strictModeTest() local2841 StrictMode.setThreadPolicy(originalPolicy); in strictModeTest()