/system/core/include/utils/ |
H A D | Singleton.h | 48 TYPE* instance = sInstance; local 49 if (instance == 0) { 50 instance = new TYPE(); 51 sInstance = instance; 53 return *instance; 78 * (eg: <TYPE>.cpp) to create the static instance of Singleton<>'s attributes,
|
/system/core/libutils/include/utils/ |
H A D | Singleton.h | 48 TYPE* instance = sInstance; local 49 if (instance == 0) { 50 instance = new TYPE(); 51 sInstance = instance; 53 return *instance; 78 * (eg: <TYPE>.cpp) to create the static instance of Singleton<>'s attributes,
|
/system/nvram/core/tests/ |
H A D | gtest_stubs.cpp | 29 TestInstanceBase* instance = decl->create_function(); local 32 instance->Run(); 36 delete instance; 53 testing::detail::TestRegistry::instance()->RunAllTests();
|
H A D | gtest_stubs.h | 64 // Test-specific subclass that holds an instance of the test. 88 static TestRegistry* instance() { return &g_instance; } function in class:testing::detail::TestRegistry 103 TestRegistry::instance()->Register(this);
|
/system/bt/service/ipc/binder/ |
H A D | bluetooth_gatt_client_binder_server.cc | 77 bluetooth::BluetoothInstance* instance) { 78 VLOG(1) << __func__ << " client ID: " << instance->GetInstanceId() 84 ? instance->GetInstanceId() 75 OnRegisterInstanceImpl( bluetooth::BLEStatus status, android::sp<IInterface> callback, bluetooth::BluetoothInstance* instance) argument
|
H A D | interface_with_instances_base.cc | 50 std::unique_ptr<bluetooth::BluetoothInstance> instance) { 55 VLOG(2) << "InterfaceWithInstancesBase was deleted while instance was" 61 std::move(instance)); 66 LOG(ERROR) << "Failed to register instance"; 103 std::unique_ptr<bluetooth::BluetoothInstance> instance) { 114 << "returned; unregistering instance"; 120 LOG(ERROR) << "Failed to register instance: " << status; 126 int instance_id = instance->GetInstanceId(); 136 std::shared_ptr<bluetooth::BluetoothInstance>(instance.release()); 101 OnRegisterInstance( bluetooth::BLEStatus status, const bluetooth::UUID& uuid, std::unique_ptr<bluetooth::BluetoothInstance> instance) argument
|
H A D | bluetooth_le_advertiser_binder_server.cc | 173 bluetooth::BluetoothInstance* instance) { 179 ? instance->GetInstanceId() 171 OnRegisterInstanceImpl( bluetooth::BLEStatus status, android::sp<IInterface> callback, bluetooth::BluetoothInstance* instance) argument
|
H A D | bluetooth_le_scanner_binder_server.cc | 134 bluetooth::BluetoothInstance* instance) { 137 static_cast<bluetooth::LowEnergyScanner*>(instance); 143 ? instance->GetInstanceId() 132 OnRegisterInstanceImpl( bluetooth::BLEStatus status, android::sp<IInterface> callback, bluetooth::BluetoothInstance* instance) argument
|
H A D | bluetooth_low_energy_binder_server.cc | 167 bluetooth::BluetoothInstance* instance) { 170 static_cast<bluetooth::LowEnergyClient*>(instance); 176 ? instance->GetInstanceId() 165 OnRegisterInstanceImpl( bluetooth::BLEStatus status, android::sp<IInterface> callback, bluetooth::BluetoothInstance* instance) argument
|
H A D | bluetooth_gatt_server_binder_server.cc | 225 bluetooth::BluetoothInstance* instance) { 226 VLOG(1) << __func__ << " instance ID: " << instance->GetInstanceId() 229 static_cast<bluetooth::GattServer*>(instance); 235 ? instance->GetInstanceId() 223 OnRegisterInstanceImpl( bluetooth::BLEStatus status, android::sp<IInterface> callback, bluetooth::BluetoothInstance* instance) argument
|
/system/core/init/ |
H A D | init_parser.cpp | 34 static Parser instance; local 35 return instance;
|
H A D | action.cpp | 309 static ActionManager instance; local 310 return instance;
|
H A D | service.cpp | 873 static ServiceManager instance; local 874 return instance;
|
/system/bt/osi/include/ |
H A D | metrics.h | 112 static BluetoothMetricsLogger* instance = new BluetoothMetricsLogger(); local 113 return instance;
|
/system/bt/stack/btm/ |
H A D | ble_advertiser_hci_interface.cc | 52 BleAdvertiserHciInterface* instance = nullptr; member in namespace:__anon860 687 LOG_ASSERT(instance == nullptr) << "Was already initialized."; 691 instance = new BleAdvertiserHciExtendedImpl(); 694 instance = new BleAdvertiserVscHciInterfaceImpl(); 699 instance = new BleAdvertiserLegacyHciInterfaceImpl(); 703 BleAdvertiserHciInterface* BleAdvertiserHciInterface::Get() { return instance; } 713 delete instance; 714 instance = nullptr;
|
H A D | btm_ble_multi_adv.cc | 170 /* Initialize adv instance indices and IDs. */ 295 LOG(INFO) << "no free advertiser instance"; 549 LOG(ERROR) << "bad instance id " << +inst_id; 556 LOG(ERROR) << "Invalid or no active instance"; 608 LOG(ERROR) << "bad instance id " << +inst_id; 614 LOG(ERROR) << "adv instance not in use" << +inst_id; 646 LOG(ERROR) << "bad instance id " << +inst_id; 769 LOG(ERROR) << "bad instance id " << +inst_id; 834 BleAdvertisingManager* instance; member in namespace:__anon873 843 instance [all...] |
/system/core/adb/client/ |
H A D | usb_windows.cpp | 222 const HINSTANCE instance = GetModuleHandleW(NULL); local 223 if (!instance) { 233 wndclass.hInstance = instance; 242 NULL, NULL, instance, NULL)) {
|
/system/keymaster/include/keymaster/ |
H A D | authorization_set.h | 218 * Returns true if the set contains at least one instance of \p tag 263 * If the specified instance of the specified integer-typed \p tag exists, places its value 268 bool GetTagValue(TypedTag<KM_UINT_REP, Tag> tag, size_t instance, uint32_t* val) const { argument 269 return GetTagValueIntRep(tag, instance, val); 282 * If the specified instance of the specified integer-typed \p tag exists, places its value 287 bool GetTagValue(TypedTag<KM_ULONG_REP, Tag> tag, size_t instance, uint64_t* val) const { argument 288 return GetTagValueLongRep(tag, instance, val); 301 * If the specified instance of the specified enumeration-typed \p tag exists, places its value 306 bool GetTagValue(TypedEnumTag<KM_ENUM_REP, Tag, T> tag, size_t instance, T* val) const { argument 307 return GetTagValueEnumRep(tag, instance, reinterpret_cas 327 GetTagValue(TypedTag<KM_UINT_REP, Tag> tag, size_t instance, typename TypedTag<KM_UINT_REP, Tag>::value_type* val) const argument [all...] |
/system/keymaster/ |
H A D | authorization_set.cpp | 562 bool AuthorizationSet::GetTagValueEnumRep(keymaster_tag_t tag, size_t instance, argument 566 while (count <= instance) { 586 bool AuthorizationSet::GetTagValueIntRep(keymaster_tag_t tag, size_t instance, argument 590 while (count <= instance) { 610 bool AuthorizationSet::GetTagValueLongRep(keymaster_tag_t tag, size_t instance, argument 614 while (count <= instance) {
|