Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 25 of 45) sorted by relevance

12

/system/core/libutils/include/utils/
DSingleton.h48 TYPE* instance = sInstance; in getInstance() local
49 if (instance == 0) { in getInstance()
50 instance = new TYPE(); in getInstance()
51 sInstance = instance; in getInstance()
53 return *instance; in getInstance()
/system/nvram/core/tests/
Dgtest_stubs.cpp29 TestInstanceBase* instance = decl->create_function(); in RunAllTests() local
32 instance->Run(); in RunAllTests()
36 delete instance; in RunAllTests()
53 testing::detail::TestRegistry::instance()->RunAllTests(); in main()
Dgtest_stubs.h88 static TestRegistry* instance() { return &g_instance; } in instance() function
103 TestRegistry::instance()->Register(this); in TestDeclarationBase()
/system/bt/service/ipc/binder/
Dinterface_with_instances_base.cc50 std::unique_ptr<bluetooth::BluetoothInstance> instance) { in RegisterInstanceBase() argument
61 std::move(instance)); in RegisterInstanceBase()
103 std::unique_ptr<bluetooth::BluetoothInstance> instance) { in OnRegisterInstance() argument
126 int instance_id = instance->GetInstanceId(); in OnRegisterInstance()
136 std::shared_ptr<bluetooth::BluetoothInstance>(instance.release()); in OnRegisterInstance()
Dbluetooth_gatt_client_binder_server.cc77 bluetooth::BluetoothInstance* instance) { in OnRegisterInstanceImpl() argument
78 VLOG(1) << __func__ << " client ID: " << instance->GetInstanceId() in OnRegisterInstanceImpl()
84 ? instance->GetInstanceId() in OnRegisterInstanceImpl()
Dinterface_with_instances_base.h78 std::unique_ptr<bluetooth::BluetoothInstance> instance);
85 bluetooth::BluetoothInstance* instance) = 0;
Dbluetooth_le_scanner_binder_server.cc134 bluetooth::BluetoothInstance* instance) { in OnRegisterInstanceImpl() argument
137 static_cast<bluetooth::LowEnergyScanner*>(instance); in OnRegisterInstanceImpl()
143 ? instance->GetInstanceId() in OnRegisterInstanceImpl()
Dbluetooth_low_energy_binder_server.cc167 bluetooth::BluetoothInstance* instance) { in OnRegisterInstanceImpl() argument
170 static_cast<bluetooth::LowEnergyClient*>(instance); in OnRegisterInstanceImpl()
176 ? instance->GetInstanceId() in OnRegisterInstanceImpl()
Dbluetooth_gatt_server_binder_server.cc225 bluetooth::BluetoothInstance* instance) { in OnRegisterInstanceImpl() argument
226 VLOG(1) << __func__ << " instance ID: " << instance->GetInstanceId() in OnRegisterInstanceImpl()
229 static_cast<bluetooth::GattServer*>(instance); in OnRegisterInstanceImpl()
235 ? instance->GetInstanceId() in OnRegisterInstanceImpl()
Dbluetooth_le_advertiser_binder_server.cc173 bluetooth::BluetoothInstance* instance) { in OnRegisterInstanceImpl() argument
179 ? instance->GetInstanceId() in OnRegisterInstanceImpl()
Dbluetooth_gatt_client_binder_server.h67 bluetooth::BluetoothInstance* instance) override;
Dbluetooth_le_advertiser_binder_server.h77 bluetooth::BluetoothInstance* instance) override;
Dbluetooth_le_scanner_binder_server.h79 bluetooth::BluetoothInstance* instance) override;
Dbluetooth_low_energy_binder_server.h83 bluetooth::BluetoothInstance* instance) override;
/system/keymaster/include/keymaster/
Dauthorization_set.h268 bool GetTagValue(TypedTag<KM_UINT_REP, Tag> tag, size_t instance, uint32_t* val) const { in GetTagValue() argument
269 return GetTagValueIntRep(tag, instance, val); in GetTagValue()
287 bool GetTagValue(TypedTag<KM_ULONG_REP, Tag> tag, size_t instance, uint64_t* val) const { in GetTagValue() argument
288 return GetTagValueLongRep(tag, instance, val); in GetTagValue()
306 bool GetTagValue(TypedEnumTag<KM_ENUM_REP, Tag, T> tag, size_t instance, T* val) const { in GetTagValue() argument
307 return GetTagValueEnumRep(tag, instance, reinterpret_cast<uint32_t*>(val)); in GetTagValue()
327 bool GetTagValue(TypedTag<KM_UINT_REP, Tag> tag, size_t instance, in GetTagValue() argument
329 return GetTagValueIntRep(tag, instance, val); in GetTagValue()
455 bool GetTagValueEnumRep(keymaster_tag_t tag, size_t instance, uint32_t* val) const;
457 bool GetTagValueIntRep(keymaster_tag_t tag, size_t instance, uint32_t* val) const;
[all …]
/system/libhidl/transport/manager/1.0/
DIServiceManager.hal36 * Fully-qualified instance name: "android.hidl.manager@1.0::IServiceManager/manager"
59 * Each interface must have its own namespace for instance names. If you
95 * @return fqInstanceNames List of fully-qualified instance names.
104 * @return instanceNames List of instance names running the particular service.
113 * version provided in the fqName. For instance, if a client registers for
150 * Similar to list, but contains more information for each instance.
152 * instance.
DIServiceNotification.hal24 * @param fqInstanceName Fully-qualified instance name (see IServiceManager)
/system/bt/osi/include/
Dmetrics.h112 static BluetoothMetricsLogger* instance = new BluetoothMetricsLogger(); in GetInstance() local
113 return instance; in GetInstance()
/system/bt/service/doc/
DIBluetoothLowEnergy.txt23 * instance. A special client interface ID will be returned in a callback to
76 * Starts a multi-advertising instance using |advertising_data| and
92 * Stops the previously started multi-advertising instance for the given
94 * an instance.
/system/libhidl/transport/allocator/1.0/
DIAllocator.hal25 * Return memory must have instance name corresponding to this type of memory.
34 * Return memory must have instance name corresponding to this type of memory.
/system/core/init/
Dinit_parser.cpp34 static Parser instance; in GetInstance() local
35 return instance; in GetInstance()
/system/bt/stack/btm/
Dble_advertiser_hci_interface.cc52 BleAdvertiserHciInterface* instance = nullptr; variable
687 LOG_ASSERT(instance == nullptr) << "Was already initialized."; in Initialize()
691 instance = new BleAdvertiserHciExtendedImpl(); in Initialize()
694 instance = new BleAdvertiserVscHciInterfaceImpl(); in Initialize()
699 instance = new BleAdvertiserLegacyHciInterfaceImpl(); in Initialize()
703 BleAdvertiserHciInterface* BleAdvertiserHciInterface::Get() { return instance; } in Get()
713 delete instance; in CleanUp()
714 instance = nullptr; in CleanUp()
/system/bt/service/
Dbluetooth_instance.h62 std::unique_ptr<BluetoothInstance> instance)>;
/system/keymaster/
Dauthorization_set.cpp562 bool AuthorizationSet::GetTagValueEnumRep(keymaster_tag_t tag, size_t instance, in GetTagValueEnumRep() argument
566 while (count <= instance) { in GetTagValueEnumRep()
586 bool AuthorizationSet::GetTagValueIntRep(keymaster_tag_t tag, size_t instance, in GetTagValueIntRep() argument
590 while (count <= instance) { in GetTagValueIntRep()
610 bool AuthorizationSet::GetTagValueLongRep(keymaster_tag_t tag, size_t instance, in GetTagValueLongRep() argument
614 while (count <= instance) { in GetTagValueLongRep()
/system/core/adb/client/
Dusb_windows.cpp222 const HINSTANCE instance = GetModuleHandleW(NULL); in _power_notification_thread() local
223 if (!instance) { in _power_notification_thread()
233 wndclass.hInstance = instance; in _power_notification_thread()
242 NULL, NULL, instance, NULL)) { in _power_notification_thread()

12