Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:instance_
(Results
1 - 25
of
25
) sorted by relevance
/drivers/peripheral/location/gnss/hdi_service/
H
A
D
location_vendor_interface.cpp
31
LocationVendorInterface* LocationVendorInterface::
instance_
= nullptr;
member in OHOS::HDI::Location::LocationVendorInterface
47
if (
instance_
== nullptr) {
in GetInstance()
49
if (
instance_
== nullptr) {
in GetInstance()
50
instance_
= new LocationVendorInterface();
in GetInstance()
53
return
instance_
;
in GetInstance()
59
if (
instance_
!= nullptr) {
in DestroyInstance()
60
delete
instance_
;
in DestroyInstance()
61
instance_
= nullptr;
in DestroyInstance()
H
A
D
location_vendor_interface.h
38
static LocationVendorInterface*
instance_
;
member in OHOS::HDI::Location::LocationVendorInterface
/drivers/peripheral/user_auth/test/unittest/mocks/inc/
H
A
D
c_mocker.h
34
EXPECT_EQ(
instance_
, nullptr);
in CMocker()
35
instance_
= static_cast<T *>(this);
in CMocker()
41
EXPECT_EQ(
instance_
, this);
in ~CMocker()
42
instance_
= nullptr;
in ~CMocker()
46
return
instance_
;
in GetInstance()
55
static T *
instance_
;
member in OHOS::UserIam::UserAuth::CMocker
60
T *CMocker<T>::
instance_
= nullptr;
member in OHOS::UserIam::UserAuth::CMocker
/drivers/peripheral/display/composer/hdi_service/include/
H
A
D
display_dump_disp.h
43
static DisplayDumper
instance_
;
in GetInstance()
local
44
return
instance_
;
in GetInstance()
H
A
D
display_dump_vdi.h
51
static VdiDumper
instance_
;
in GetInstance()
local
52
return
instance_
;
in GetInstance()
/drivers/peripheral/camera/vdi_base/v4l2/include/camera_host/
H
A
D
camera_host_config.h
62
if (CameraHostConfig::
instance_
!= nullptr) {
in ~AutoRelease()
63
delete CameraHostConfig::
instance_
;
in ~AutoRelease()
member in OHOS::Camera::CameraHostConfig::AutoRelease::CameraHostConfig
64
CameraHostConfig::
instance_
= nullptr;
in ~AutoRelease()
member in OHOS::Camera::CameraHostConfig::AutoRelease::CameraHostConfig
68
static CameraHostConfig *
instance_
;
member in OHOS::Camera::CameraHostConfig
/drivers/peripheral/camera/vdi_base/v4l2/src/camera_host/
H
A
D
camera_host_config.cpp
36
CameraHostConfig *CameraHostConfig::
instance_
= nullptr;
member in OHOS::Camera::CameraHostConfig
41
if (
instance_
== nullptr) {
in GetInstance()
42
instance_
= new (std::nothrow) CameraHostConfig();
in GetInstance()
43
if (
instance_
!= nullptr) {
in GetInstance()
44
instance_
->ReadConfigFile();
in GetInstance()
47
return
instance_
;
in GetInstance()
/drivers/peripheral/camera/vdi_base/usb_camera/vdi_impl/src/camera_host/
H
A
D
camera_host_usb_config.cpp
27
CameraHostConfig *CameraHostConfig::
instance_
= nullptr;
member in OHOS::Camera::CameraHostConfig
32
if (
instance_
== nullptr) {
in GetInstance()
33
instance_
= new (std::nothrow) CameraHostConfig();
in GetInstance()
35
return
instance_
;
in GetInstance()
/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/
H
A
D
pkg_database.cpp
21
std::shared_ptr<PkgDataBase> PkgDataBase::
instance_
= nullptr;
member in OHOS::ExternalDeviceManager::PkgDataBase
46
if (
instance_
== nullptr) {
in GetInstance()
48
instance_
.reset(new PkgDataBase());
in GetInstance()
49
return
instance_
;
in GetInstance()
51
return
instance_
;
in GetInstance()
H
A
D
pkg_db_helper.cpp
25
std::shared_ptr<PkgDbHelper> PkgDbHelper::
instance_
;
member in OHOS::ExternalDeviceManager::PkgDbHelper
38
if (
instance_
== nullptr || !g_dbInitSucc) {
in GetInstance()
40
instance_
.reset(new PkgDbHelper());
in GetInstance()
42
return
instance_
;
in GetInstance()
/drivers/peripheral/power/interfaces/hdi_service/src/
H
A
D
power_config.cpp
35
std::shared_ptr<PowerConfig> PowerConfig::
instance_
= nullptr;
41
if (
instance_
== nullptr) {
in GetInstance()
42
instance_
= std::make_shared<PowerConfig>();
in GetInstance()
44
return *(
instance_
.get());
in GetInstance()
50
instance_
= nullptr;
in DestroyInstance()
H
A
D
power_config.h
51
static std::shared_ptr<PowerConfig>
instance_
;
member in OHOS::HDI::Power::V1_2::PowerConfig
/drivers/peripheral/distributed_camera/hdi_service/include/dcamera_provider/
H
A
D
dcamera_provider.h
70
if (DCameraProvider::
instance_
!= nullptr) {
in ~AutoRelease()
71
DCameraProvider::
instance_
= nullptr;
in ~AutoRelease()
member in OHOS::DistributedHardware::DCameraProvider::AutoRelease::DCameraProvider
76
static OHOS::sptr<DCameraProvider>
instance_
;
member in OHOS::DistributedHardware::DCameraProvider
/drivers/hdf_core/adapter/uhdf2/hdi/src/
H
A
D
object_collector.cpp
25
ObjectCollector *ObjectCollector::
instance_
= new ObjectCollector();
29
return *
instance_
;
in GetInstance()
/drivers/peripheral/distributed_camera/hdi_service/include/dcamera_host/
H
A
D
dcamera_host.h
106
if (DCameraHost::
instance_
!= nullptr) {
in ~AutoRelease()
107
DCameraHost::
instance_
= nullptr;
in ~AutoRelease()
member in OHOS::DistributedHardware::DCameraHost::AutoRelease::DCameraHost
117
static OHOS::sptr<DCameraHost>
instance_
;
member in OHOS::DistributedHardware::DCameraHost
/drivers/peripheral/battery/interfaces/hdi_service/src/
H
A
D
battery_config.cpp
48
std::shared_ptr<BatteryConfig> BatteryConfig::
instance_
= nullptr;
54
if (
instance_
== nullptr) {
in GetInstance()
55
instance_
= std::make_shared<BatteryConfig>();
in GetInstance()
57
return *(
instance_
.get());
in GetInstance()
127
instance_
= nullptr;
in DestroyInstance()
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_host/
H
A
D
dcamera_host.cpp
30
OHOS::sptr<DCameraHost> DCameraHost::
instance_
= nullptr;
member in OHOS::DistributedHardware::DCameraHost
40
if (
instance_
== nullptr) {
in GetInstance()
41
instance_
= sptr<DCameraHost>(new DCameraHost());
in GetInstance()
42
if (
instance_
== nullptr) {
in GetInstance()
47
return
instance_
;
in GetInstance()
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_provider/
H
A
D
dcamera_provider.cpp
26
OHOS::sptr<DCameraProvider> DCameraProvider::
instance_
= nullptr;
member in OHOS::DistributedHardware::DCameraProvider
36
if (
instance_
== nullptr) {
in GetInstance()
37
instance_
= sptr<DCameraProvider>(new DCameraProvider());
in GetInstance()
38
if (
instance_
== nullptr) {
in GetInstance()
43
return
instance_
;
in GetInstance()
/drivers/peripheral/thermal/interfaces/hdi_service/src/
H
A
D
thermal_dfx.cpp
65
std::shared_ptr<ThermalDfx> ThermalDfx::
instance_
= nullptr;
71
if (
instance_
== nullptr) {
in GetInstance()
72
instance_
= std::make_shared<ThermalDfx>();
in GetInstance()
74
return *(
instance_
.get());
in GetInstance()
80
instance_
= nullptr;
in DestroyInstance()
/drivers/external_device_manager/services/native/driver_extension_manager/include/drivers_pkg_manager/
H
A
D
pkg_db_helper.h
63
static std::shared_ptr<PkgDbHelper>
instance_
;
member in OHOS::ExternalDeviceManager::PkgDbHelper
H
A
D
pkg_database.h
68
static std::shared_ptr<PkgDataBase>
instance_
;
member in OHOS::ExternalDeviceManager::PkgDataBase
/drivers/hdf_core/interfaces/inner_api/hdi/
H
A
D
object_collector.h
78
static ObjectCollector *
instance_
;
member in OHOS::HDI::ObjectCollector
/drivers/peripheral/thermal/interfaces/hdi_service/include/
H
A
D
thermal_dfx.h
65
static std::shared_ptr<ThermalDfx>
instance_
;
member in OHOS::HDI::Thermal::V1_1::ThermalDfx
/drivers/peripheral/battery/interfaces/hdi_service/include/
H
A
D
battery_config.h
83
static std::shared_ptr<BatteryConfig>
instance_
;
member in OHOS::HDI::Battery::V2_0::BatteryConfig
/drivers/peripheral/camera/vdi_base/common/dump/src/
H
A
D
camera_dump.cpp
414
static CameraDumper
instance_
;
in GetInstance()
local
415
return
instance_
;
in GetInstance()
Completed in 13 milliseconds