Searched refs:set_policy (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/update_manager/ |
D | fake_update_manager.h | 35 set_policy(new DefaultPolicy(clock)); in FakeUpdateManager() 39 using UpdateManager::set_policy;
|
D | update_manager_unittest.cc | 227 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()
|
D | update_manager.h | 113 void set_policy(const Policy* policy) { policy_.reset(policy); } in set_policy() function
|
D | chromeos_policy_unittest.cc | 133 bool TestRollbackAllowed(bool set_policy, in TestRollbackAllowed() argument 139 if (set_policy) { in TestRollbackAllowed()
|
/system/bt/bta/av/ |
D | bta_av_aact.cc | 1938 uint8_t set_policy = HCI_ENABLE_SNIFF_MODE; in bta_av_str_stopped() local 1948 set_policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH; in bta_av_str_stopped() 1950 bta_sys_set_policy(BTA_ID_AV, set_policy, p_scb->PeerAddress()); in bta_av_str_stopped() 2438 uint8_t set_policy = (HCI_ENABLE_SNIFF_MODE | HCI_ENABLE_MASTER_SLAVE_SWITCH); in bta_av_start_failed() local 2451 bta_sys_set_policy(BTA_ID_AV, set_policy, p_scb->PeerAddress()); in bta_av_start_failed() 2467 uint8_t set_policy = HCI_ENABLE_SNIFF_MODE; in bta_av_str_closed() local 2476 set_policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH; in bta_av_str_closed() 2478 bta_sys_set_policy(BTA_ID_AV, set_policy, p_scb->PeerAddress()); in bta_av_str_closed() 2549 uint8_t set_policy = HCI_ENABLE_SNIFF_MODE; in bta_av_suspend_cfm() local 2590 set_policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH; in bta_av_suspend_cfm() [all …]
|
D | bta_av_main.cc | 917 uint8_t set_policy = (HCI_ENABLE_SNIFF_MODE | HCI_ENABLE_MASTER_SLAVE_SWITCH); in bta_av_restore_switch() local 924 bta_sys_set_policy(BTA_ID_AV, set_policy, in bta_av_restore_switch() 948 uint8_t set_policy = (HCI_ENABLE_SNIFF_MODE | HCI_ENABLE_MASTER_SLAVE_SWITCH); in bta_av_sys_rs_cback() local 985 bta_sys_set_policy(BTA_ID_AV, set_policy, peer_addr); in bta_av_sys_rs_cback()
|
/system/update_engine/ |
D | p2p_manager_unittest.cc | 84 fake_um_.set_policy(mock_policy_); in SetUp()
|
D | omaha_response_handler_action_unittest.cc | 828 fake_update_manager->set_policy(mock_policy); in TEST_F()
|