Home
last modified time | relevance | path

Searched refs:IsEnabled (Results 1 – 22 of 22) sorted by relevance

/system/bt/service/ipc/binder/
Dbluetooth_binder_server.cc51 Status BluetoothBinderServer::IsEnabled(bool* _aidl_return) { in IsEnabled() function in ipc::binder::BluetoothBinderServer
53 *_aidl_return = adapter_->IsEnabled(); in IsEnabled()
143 if (!adapter_->IsEnabled()) { in GetLowEnergyInterface()
160 if (!adapter_->IsEnabled()) { in GetLeAdvertiserInterface()
178 if (!adapter_->IsEnabled()) { in GetLeScannerInterface()
195 if (!adapter_->IsEnabled()) { in GetGattClientInterface()
212 if (!adapter_->IsEnabled()) { in GetGattServerInterface()
Dbluetooth_binder_server.h60 Status IsEnabled(bool* _aidl_return) override;
/system/bt/service/test/
Dadapter_unittest.cc111 TEST_F(AdapterTest, IsEnabled) { in TEST_F() argument
112 EXPECT_FALSE(adapter_->IsEnabled()); in TEST_F()
115 EXPECT_TRUE(adapter_->IsEnabled()); in TEST_F()
118 EXPECT_FALSE(adapter_->IsEnabled()); in TEST_F()
124 EXPECT_FALSE(adapter_->IsEnabled()); in TEST_F()
159 EXPECT_FALSE(adapter_->IsEnabled()); in TEST_F()
Dmock_adapter.h34 MOCK_CONST_METHOD0(IsEnabled, bool());
Dlow_energy_scanner_unittest.cc271 EXPECT_CALL(mock_adapter_, IsEnabled()) in TEST_F()
320 EXPECT_CALL(mock_adapter_, IsEnabled()).Times(1).WillOnce(Return(true)); in TEST_F()
/system/tpm/trunks/
Dtpm_state_test.cc135 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsEnabled(), "Check failed"); in TEST()
186 EXPECT_TRUE(tpm_state.IsEnabled()); in TEST_F()
190 EXPECT_FALSE(tpm_state.IsEnabled()); in TEST_F()
194 EXPECT_FALSE(tpm_state.IsEnabled()); in TEST_F()
198 EXPECT_FALSE(tpm_state.IsEnabled()); in TEST_F()
202 EXPECT_FALSE(tpm_state.IsEnabled()); in TEST_F()
Dmock_tpm_state.h40 MOCK_METHOD0(IsEnabled, bool());
Dtpm_state.h63 virtual bool IsEnabled() = 0;
Dmock_tpm_state.cc33 ON_CALL(*this, IsEnabled()).WillByDefault(Return(true)); in MockTpmState()
Dtpm_state_impl.h50 bool IsEnabled() override;
Dtrunks_client.cc125 printf("Is Tpm enabled: %s\n", state->IsEnabled() ? "true" : "false"); in DumpStatus()
Dtpm_state_impl.cc114 bool TpmStateImpl::IsEnabled() { in IsEnabled() function in trunks::TpmStateImpl
Dtrunks_factory_for_test.cc78 bool IsEnabled() override { return target_->IsEnabled(); } in IsEnabled() function in trunks::TpmStateForwarder
/system/tpm/tpm_manager/server/
Dtpm2_status_test.cc52 EXPECT_CALL(mock_tpm_state_, IsEnabled()).WillRepeatedly(Return(true)); in TEST_F()
57 EXPECT_CALL(mock_tpm_state_, IsEnabled()).WillRepeatedly(Return(false)); in TEST_F()
Dtpm2_status_impl.cc37 return trunks_tpm_state_->IsEnabled(); in IsTpmEnabled()
/system/bt/service/common/android/bluetooth/
DIBluetooth.aidl29 boolean IsEnabled(); in IsEnabled() method
/system/bt/service/
Dadapter.h80 virtual bool IsEnabled() const = 0;
Dadapter.cc105 bool IsEnabled() const override { return state_.load() == ADAPTER_STATE_ON; } in IsEnabled() function in bluetooth::AdapterImpl
134 if (!IsEnabled()) { in Disable()
Dlow_energy_scanner.cc101 if (!adapter_.IsEnabled()) { in StartScan()
/system/bt/service/example/heart_rate/
Dserver_main.cc105 bluetooth->IsEnabled(&enabled); in main()
/system/bt/stack/btm/
Dbtm_ble_multi_adv.cc77 bool IsEnabled() { return enable_status; } in IsEnabled() function
212 bool restart = p_inst->IsEnabled() && p_inst->IsConnectable(); in ConfigureRpa()
227 bool restart = p_inst->IsEnabled() && p_inst->IsConnectable(); in ConfigureRpa()
773 if (adv_inst[inst_id].IsEnabled()) { in Unregister()
/system/bt/service/client/
Dmain.cc372 bt_iface->IsEnabled(&enabled); in HandleIsEnabled()