Home
last modified time | relevance | path

Searched refs:set_policy (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/update_manager/
Dfake_update_manager.h35 set_policy(new DefaultPolicy(clock)); in FakeUpdateManager()
39 using UpdateManager::set_policy;
Dupdate_manager_unittest.cc227 umut_->set_policy(new FailingPolicy()); in TEST_F()
245 umut_->set_policy(new LazyPolicy()); in TEST_F()
255 umut_->set_policy(new FailingPolicy()); in TEST_F()
272 umut_->set_policy(new FailingPolicy(&num_called)); in TEST_F()
298 umut_->set_policy(new DelayPolicy( in TEST_F()
Dupdate_manager.h96 void set_policy(const Policy* policy) { policy_.reset(policy); } in set_policy() function
Dchromeos_policy_unittest.cc133 bool TestRollbackAllowed(bool set_policy, in TestRollbackAllowed() argument
139 if (set_policy) { in TestRollbackAllowed()
/system/bt/bta/av/
Dbta_av_aact.cc1919 uint8_t set_policy = HCI_ENABLE_SNIFF_MODE; in bta_av_str_stopped() local
1929 set_policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH; in bta_av_str_stopped()
1931 bta_sys_set_policy(BTA_ID_AV, set_policy, p_scb->PeerAddress()); in bta_av_str_stopped()
2417 uint8_t set_policy = (HCI_ENABLE_SNIFF_MODE | HCI_ENABLE_MASTER_SLAVE_SWITCH); in bta_av_start_failed() local
2430 bta_sys_set_policy(BTA_ID_AV, set_policy, p_scb->PeerAddress()); in bta_av_start_failed()
2446 uint8_t set_policy = HCI_ENABLE_SNIFF_MODE; in bta_av_str_closed() local
2455 set_policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH; in bta_av_str_closed()
2457 bta_sys_set_policy(BTA_ID_AV, set_policy, p_scb->PeerAddress()); in bta_av_str_closed()
2528 uint8_t set_policy = HCI_ENABLE_SNIFF_MODE; in bta_av_suspend_cfm() local
2569 set_policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH; in bta_av_suspend_cfm()
[all …]
Dbta_av_main.cc869 uint8_t set_policy = (HCI_ENABLE_SNIFF_MODE | HCI_ENABLE_MASTER_SLAVE_SWITCH); in bta_av_restore_switch() local
876 bta_sys_set_policy(BTA_ID_AV, set_policy, in bta_av_restore_switch()
900 uint8_t set_policy = (HCI_ENABLE_SNIFF_MODE | HCI_ENABLE_MASTER_SLAVE_SWITCH); in bta_av_sys_rs_cback() local
937 bta_sys_set_policy(BTA_ID_AV, set_policy, peer_addr); in bta_av_sys_rs_cback()
/system/update_engine/
Dp2p_manager_unittest.cc84 fake_um_.set_policy(mock_policy_); in SetUp()
Domaha_response_handler_action_unittest.cc669 fake_update_manager->set_policy(mock_policy); in TEST_F()