Home
last modified time | relevance | path

Searched refs:Get (Results 1 – 25 of 174) sorted by relevance

1234567

/system/core/libunwindstack/tests/
DRegsInfoTest.cpp34 ASSERT_EQ(0x100U, info.Get(1)); in TEST()
41 ASSERT_EQ(0x100U, info.Get(1)); in TEST()
51 ASSERT_EQ(0x300U, info.Get(3)); in TEST()
58 ASSERT_EQ(0x300U, info.Get(3)); in TEST()
68 ASSERT_EQ(i * 0x100, info.Get(i)) << "Reg " + std::to_string(i) + " failed."; in TEST()
81 ASSERT_EQ(i * 0x100, info.Get(i)) << "Reg " + std::to_string(i) + " failed."; in TEST()
DDexFilesTest.cpp67 MapInfo* map_info = maps_->Get(kMapGlobalNonReadable); in Init()
72 map_info = maps_->Get(kMapGlobalSetToZero); in Init()
77 map_info = maps_->Get(kMapGlobal); in Init()
147 MapInfo* info = maps_->Get(kMapDexFileEntries); in TEST_F()
157 MapInfo* info = maps_->Get(kMapDexFiles); in TEST_F()
173 MapInfo* info = maps_->Get(kMapDexFiles); in TEST_F()
187 MapInfo* info = maps_->Get(kMapDexFiles); in TEST_F()
204 MapInfo* info = maps_->Get(kMapDexFiles); in TEST_F()
219 MapInfo* info = maps_->Get(kMapDexFiles); in TEST_F()
239 MapInfo* info = maps_->Get(kMapDexFiles); in TEST_F()
[all …]
DMapsTest.cpp35 MapInfo* element = maps.Get(0); in VerifyLine()
54 MapInfo* info = maps.Get(0); in TEST()
74 MapInfo* info = maps2.Get(0); in TEST()
185 MapInfo* info = maps.Get(0); in TEST()
193 info = maps.Get(1); in TEST()
201 info = maps.Get(2); in TEST()
209 info = maps.Get(3); in TEST()
217 info = maps.Get(4); in TEST()
225 ASSERT_TRUE(maps.Get(5) == nullptr); in TEST()
237 MapInfo* info = maps.Get(0); in TEST()
[all …]
/system/bt/service/
Da2dp_sink.cc32 hal::BluetoothAvInterface::Get()->AddA2dpSinkObserver(this); in A2dpSink()
36 hal::BluetoothAvInterface::Get()->RemoveA2dpSinkObserver(this); in ~A2dpSink()
50 return hal::BluetoothAvInterface::Get()->A2dpSinkEnable(); in Enable()
55 hal::BluetoothAvInterface::Get()->A2dpSinkDisable(); in Disable()
67 hal::BluetoothAvInterface::Get()->GetA2dpSinkHALInterface()->connect( in Connect()
86 hal::BluetoothAvInterface::Get()->GetA2dpSinkHALInterface()->disconnect( in Disconnect()
98 hal::BluetoothAvInterface::Get() in SetAudioFocusState()
105 hal::BluetoothAvInterface::Get() in SetAudioTrackGain()
Dlow_energy_scanner.cc82 hal::BluetoothGattInterface::Get()->RemoveScannerObserver(this); in ~LowEnergyScanner()
84 hal::BluetoothGattInterface::Get()->GetScannerHALInterface()->Unregister( in ~LowEnergyScanner()
108 hal::BluetoothGattInterface::Get()->StartScan(scanner_id_); in StartScan()
125 hal::BluetoothGattInterface::Get()->StopScan(scanner_id_); in StopScan()
166 hal::BluetoothGattInterface::Get()->AddScannerObserver(this); in LowEnergyScannerFactory()
170 hal::BluetoothGattInterface::Get()->RemoveScannerObserver(this); in ~LowEnergyScannerFactory()
185 hal::BluetoothGattInterface::Get()->GetScannerHALInterface(); in RegisterInstance()
216 hal::BluetoothGattInterface::Get()->AddScannerObserver(scanner.get()); in RegisterScannerCallback()
Dgatt_client.cc36 hal::BluetoothGattInterface::Get() in ~GattClient()
49 hal::BluetoothGattInterface::Get()->AddClientObserver(this); in GattClientFactory()
53 hal::BluetoothGattInterface::Get()->RemoveClientObserver(this); in ~GattClientFactory()
68 hal::BluetoothGattInterface::Get()->GetClientHALInterface(); in RegisterInstance()
Dlow_energy_client.cc46 hal::BluetoothGattInterface::Get()->RemoveClientObserver(this); in ~LowEnergyClient()
48 hal::BluetoothGattInterface::Get() in ~LowEnergyClient()
60 hal::BluetoothGattInterface::Get()->GetClientHALInterface()->connect( in Connect()
87 hal::BluetoothGattInterface::Get()->GetClientHALInterface()->disconnect( in Disconnect()
113 bt_status_t status = hal::BluetoothGattInterface::Get() in SetMtu()
200 hal::BluetoothGattInterface::Get()->AddClientObserver(this); in LowEnergyClientFactory()
204 hal::BluetoothGattInterface::Get()->RemoveClientObserver(this); in ~LowEnergyClientFactory()
219 hal::BluetoothGattInterface::Get()->GetClientHALInterface(); in RegisterInstance()
Da2dp_source.cc108 hal::BluetoothAvInterface::Get()->AddA2dpSourceObserver(this); in A2dpSource()
112 hal::BluetoothAvInterface::Get()->RemoveA2dpSourceObserver(this); in ~A2dpSource()
127 return hal::BluetoothAvInterface::Get()->A2dpSourceEnable( in Enable()
133 hal::BluetoothAvInterface::Get()->A2dpSourceDisable(); in Disable()
140 hal::BluetoothAvInterface::Get()->GetA2dpSourceHALInterface()->connect( in Connect()
148 hal::BluetoothAvInterface::Get()->GetA2dpSourceHALInterface()->disconnect( in Disconnect()
158 TRY_RET_FUNC(hal::BluetoothAvInterface::Get() in ConfigCodec()
Davrcp_target.cc100 hal::BluetoothAvrcpInterface::Get()->AddTargetObserver(this); in AvrcpTarget()
104 hal::BluetoothAvrcpInterface::Get()->RemoveTargetObserver(this); in ~AvrcpTarget()
118 return hal::BluetoothAvrcpInterface::Get()->AvrcpTargetEnable(); in Enable()
123 hal::BluetoothAvrcpInterface::Get()->AvrcpTargetDisable(); in Disable()
131 TRY_RET_FUNC(hal::BluetoothAvrcpInterface::Get() in GetPlayStatusResponse()
149 TRY_RET_FUNC(hal::BluetoothAvrcpInterface::Get() in ListPlayerAppAttrResponse()
172 TRY_RET_FUNC(hal::BluetoothAvrcpInterface::Get() in GetPlayerAppValueResponse()
183 TRY_RET_FUNC(hal::BluetoothAvrcpInterface::Get() in GetPlayerAppAttrTextResponse()
195 TRY_RET_FUNC(hal::BluetoothAvrcpInterface::Get() in GetPlayerAppValueTextResponse()
208 hal::BluetoothAvrcpInterface::Get() in GetElementAttrResponse()
[all …]
Davrcp_control.cc36 hal::BluetoothAvrcpInterface::Get()->AddControlObserver(this); in AvrcpControl()
40 hal::BluetoothAvrcpInterface::Get()->RemoveControlObserver(this); in ~AvrcpControl()
54 return hal::BluetoothAvrcpInterface::Get()->AvrcpControlEnable(); in Enable()
59 hal::BluetoothAvrcpInterface::Get()->AvrcpControlDisable(); in Disable()
74 status = hal::BluetoothAvrcpInterface::Get() in SendPassThroughCommand()
97 status = hal::BluetoothAvrcpInterface::Get() in SetAbsVolumeResponse()
121 status = hal::BluetoothAvrcpInterface::Get() in RegisterForAbsVolumeCallbackResponse()
Dadapter.cc202 hal::BluetoothInterface::Get()->AddObserver(this); in AdapterImpl()
212 hal::BluetoothInterface::Get()->GetHALInterface()->get_adapter_properties(); in AdapterImpl()
216 hal::BluetoothInterface::Get()->RemoveObserver(this); in ~AdapterImpl()
246 int status = hal::BluetoothInterface::Get()->GetHALInterface()->enable(); in Enable()
271 int status = hal::BluetoothInterface::Get()->GetHALInterface()->disable(); in Disable()
283 std::string GetName() const override { return name_.Get(); } in GetName()
309 std::string GetAddress() const override { return address_.Get(); } in GetAddress()
336 hal::BluetoothInterface::Get()->GetHALInterface()->start_discovery(); in SetScanEnable()
343 hal::BluetoothInterface::Get()->GetHALInterface()->cancel_discovery(); in SetScanEnable()
360 int status = hal::BluetoothInterface::Get()->GetHALInterface()->ssp_reply( in SspReply()
[all …]
Dmain.cc73 bluetooth::Daemon::Get()->StartMainLoop(); in main()
76 bluetooth::Daemon::Get()->ShutDown(); in main()
Dlow_energy_advertiser.cc135 hal::BluetoothGattInterface::Get()->GetAdvertiserHALInterface()->Enable( in ~LowEnergyAdvertiser()
137 hal::BluetoothGattInterface::Get()->GetAdvertiserHALInterface()->Unregister( in ~LowEnergyAdvertiser()
173 hal::BluetoothGattInterface::Get() in StartAdvertising()
203 hal::BluetoothGattInterface::Get()->GetAdvertiserHALInterface()->Enable( in StopAdvertising()
307 hal::BluetoothGattInterface::Get()->GetAdvertiserHALInterface(); in RegisterInstance()
Dgatt_server.cc41 hal::BluetoothGattInterface::Get()->RemoveServerObserver(this); in ~GattServer()
46 hal::BluetoothGattInterface::Get() in ~GattServer()
94 hal::BluetoothGattInterface::Get()->GetServerHALInterface()->add_service( in AddService()
168 hal::BluetoothGattInterface::Get() in SendResponse()
220 bt_status_t status = hal::BluetoothGattInterface::Get() in SendNotification()
572 hal::BluetoothGattInterface::Get()->AddServerObserver(this); in GattServerFactory()
576 hal::BluetoothGattInterface::Get()->RemoveServerObserver(this); in ~GattServerFactory()
591 hal::BluetoothGattInterface::Get()->GetServerHALInterface(); in RegisterInstance()
/system/bt/osi/test/
Dalarm_mock.h28 static inline AlarmMock* Get() { in Get() function
44 return AlarmMock::Get()->AlarmNewImpl(name); in alarm_new()
47 void alarm_free(alarm_t* alarm) { AlarmMock::Get()->AlarmFreeImpl(alarm); } in alarm_free()
51 AlarmMock::Get()->AlarmSetOnMloop(alarm, interval_ms, cb, data); in alarm_set_on_mloop()
/system/bt/stack/test/
Dble_advertiser_test.cc198 BleAdvertisingManager::Get()->RegisterAdvertiser(Bind( in TEST_F()
205 BleAdvertisingManager::Get()->RegisterAdvertiser( in TEST_F()
214 BleAdvertisingManager::Get()->Unregister(5); in TEST_F()
218 BleAdvertisingManager::Get()->RegisterAdvertiser( in TEST_F()
227 BleAdvertisingManager::Get()->RegisterAdvertiser( in TEST_F()
239 BleAdvertisingManager::Get()->SetParameters( in TEST_F()
253 BleAdvertisingManager::Get()->SetData( in TEST_F()
269 BleAdvertisingManager::Get()->Enable( in TEST_F()
291 BleAdvertisingManager::Get()->Unregister(advertiser_id); in TEST_F()
301 BleAdvertisingManager::Get()->RegisterAdvertiser( in TEST_F()
[all …]
Dgatt_connection_manager_test.cc146 EXPECT_CALL(*AlarmMock::Get(), AlarmNew(_)).Times(1); in TEST_F()
147 EXPECT_CALL(*AlarmMock::Get(), AlarmSetOnMloop(_, _, _, _)).Times(1); in TEST_F()
160 EXPECT_CALL(*AlarmMock::Get(), AlarmFree(_)).Times(1); in TEST_F()
176 EXPECT_CALL(*AlarmMock::Get(), AlarmNew(_)).Times(1); in TEST_F()
180 EXPECT_CALL(*AlarmMock::Get(), AlarmSetOnMloop(_, _, _, _)) in TEST_F()
192 EXPECT_CALL(*AlarmMock::Get(), AlarmFree(_)).Times(1); in TEST_F()
205 EXPECT_CALL(*AlarmMock::Get(), AlarmNew(_)).Times(1); in TEST_F()
206 EXPECT_CALL(*AlarmMock::Get(), AlarmSetOnMloop(_, _, _, _)).Times(1); in TEST_F()
215 EXPECT_CALL(*AlarmMock::Get(), AlarmFree(_)).Times(1); in TEST_F()
253 EXPECT_CALL(*AlarmMock::Get(), AlarmNew(_)).Times(1); in TEST_F()
[all …]
/system/bt/btif/src/
Dbtif_ble_advertiser.cc98 BleAdvertisingManager::Get(), in RegisterAdvertiser()
112 BleAdvertisingManager::Get()->Unregister(advertiser_id); in Unregister()
121 BleAdvertisingManager::Get(), advertiser_id, in GetOwnAddress()
134 BleAdvertisingManager::Get(), in SetParameters()
144 Bind(&BleAdvertisingManager::SetData, BleAdvertisingManager::Get(), in SetData()
158 Bind(&BleAdvertisingManager::Enable, BleAdvertisingManager::Get(), in Enable()
177 BleAdvertisingManager::Get(), advertiser_id, in StartAdvertising()
203 BleAdvertisingManager::Get(), jni_thread_wrapper(FROM_HERE, cb), in StartAdvertisingSet()
222 BleAdvertisingManager::Get(), advertiser_id, in SetPeriodicAdvertisingParameters()
234 BleAdvertisingManager::Get(), advertiser_id, in SetPeriodicAdvertisingData()
[all …]
Dbtif_hearing_aid.cc88 Unretained(HearingAid::Get()), address)); in Connect()
94 Unretained(HearingAid::Get()), address)); in Disconnect()
102 Unretained(HearingAid::Get()), address)); in AddToWhiteList()
110 Unretained(HearingAid::Get()), volume)); in SetVolume()
120 Unretained(HearingAid::Get()), address)); in RemoveDevice()
/system/nvram/messages/include/nvram/messages/
Dstruct.h131 const MemberType& Get(const Struct& object) const { in Get() function
135 MemberType& Get(Struct& object) const { in Get() function
209 static constexpr Type Get(FieldSpecList<FieldSpec, Tail...> self) {
210 return Prev::Get(self.kTail);
219 static constexpr Type Get(FieldSpecList<FieldSpec, Tail...> self) {
256 constexpr typename FieldSpecLookup<index, FieldSpec, Tail...>::Type Get()
258 return FieldSpecLookup<index, FieldSpec, Tail...>::Get(*this);
/system/core/libmemunreachable/tests/
DMemUnreachable_test.cpp37 void* Get() { return reinterpret_cast<void*>(~ptr_); } in Get() function in android::HiddenPointer
39 free(Get()); in Free()
94 void* ptr = hidden_ptr.Get(); in TEST_F()
127 g_ptr = hidden_ptr.Get(); in TEST_F()
160 pthread_setspecific(key, hidden_ptr.Get()); in TEST_F()
194 void* ptr = hidden_ptr.Get(); in TEST_F()
/system/update_engine/common/
Dsubprocess_unittest.cc124 EXPECT_EQ(&subprocess_, &Subprocess::Get()); in TEST_F()
129 EXPECT_EQ(&subprocess_, &Subprocess::Get()); in TEST_F()
131 EXPECT_EQ(&subprocess_, &Subprocess::Get()); in TEST_F()
252 uint32_t tag = Subprocess::Get().Exec(cmd, base::Bind(&CallbackBad)); in TEST_F()
269 Subprocess::Get().KillExec(tag); in TEST_F()
278 return Subprocess::Get().subprocess_records_.empty(); in TEST_F()
280 EXPECT_TRUE(Subprocess::Get().subprocess_records_.empty()); in TEST_F()
/system/bt/profile/avrcp/tests/
Davrcp_connection_handler_test.cc103 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
127 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
151 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
178 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
222 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
260 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
292 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
328 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
387 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
409 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
[all …]
/system/update_engine/
Ddbus_connection.h32 static DBusConnection* Get();
/system/bt/service/common/bluetooth/util/
Datomic_string.h32 std::string Get() const;

1234567