Home
last modified time | relevance | path

Searched refs:instance_ (Results 1 – 12 of 12) sorted by relevance

/system/core/libbinderwrapper/
Dbinder_wrapper.cc26 BinderWrapper* BinderWrapper::instance_ = nullptr; member in android::BinderWrapper
30 CHECK(!instance_) << "Already initialized; missing call to Destroy()?"; in Create()
31 instance_ = new RealBinderWrapper(); in Create()
36 CHECK(!instance_) << "Already initialized; missing call to Destroy()?"; in InitForTesting()
37 instance_ = wrapper; in InitForTesting()
42 CHECK(instance_) << "Not initialized; missing call to Create()?"; in Destroy()
43 delete instance_; in Destroy()
44 instance_ = nullptr; in Destroy()
49 CHECK(instance_) << "Not initialized; missing call to Create()?"; in Get()
50 return instance_; in Get()
[all …]
/system/bt/profile/avrcp/
Dconnection_handler.cc38 ConnectionHandler* ConnectionHandler::instance_ = nullptr; member in bluetooth::avrcp::ConnectionHandler
41 CHECK(instance_); in Get()
43 return instance_; in Get()
63 CHECK(instance_ == nullptr); in Initialize()
69 instance_ = new ConnectionHandler(); in Initialize()
70 instance_->connection_cb_ = callback; in Initialize()
71 instance_->avrc_ = avrcp; in Initialize()
72 instance_->sdp_ = sdp; in Initialize()
73 instance_->vol_ = vol; in Initialize()
76 if (!instance_->AvrcpConnect(false, RawAddress::kAny)) { in Initialize()
[all …]
Dconnection_handler.h134 static ConnectionHandler* instance_; variable
/system/bt/btif/avrcp/
Davrcp_service.cc34 AvrcpService* AvrcpService::instance_ = nullptr; member in bluetooth::avrcp::AvrcpService
294 media_interface->RegisterUpdateCallback(instance_); in Init()
304 base::Bind(&AvrcpService::DeviceCallback, base::Unretained(instance_)), in Init()
321 CHECK(instance_); in Get()
322 return instance_; in Get()
354 instance_->connection_handler_->GetListOfDevices()) { in SendMediaUpdate()
369 instance_->connection_handler_->GetListOfDevices()) { in SendFolderUpdate()
398 CHECK(instance_ == nullptr); in Init()
399 instance_ = new AvrcpService(); in Init()
407 base::Bind(&AvrcpService::Init, base::Unretained(instance_), in Init()
[all …]
Davrcp_service.h87 static AvrcpService* instance_;
/system/keymaster/android_keymaster/
Dlogger.cpp21 Logger* Logger::instance_ = nullptr; member in keymaster::Logger
25 if (!instance_) in Log()
27 return instance_->log_msg(level, fmt, args); in Log()
/system/keymaster/legacy_support/
Dkeymaster1_engine.cpp40 Keymaster1Engine* Keymaster1Engine::instance_ = nullptr; member in keymaster::Keymaster1Engine
54 assert(!instance_); in Keymaster1Engine()
56 instance_ = this; in Keymaster1Engine()
65 instance_ = nullptr; in ~Keymaster1Engine()
286 KeyData* key_data = instance_->GetData(rsa); in rsa_sign_raw()
298 key_data->error = instance_->Keymaster1Finish(key_data, input, &output); in rsa_sign_raw()
311 KeyData* key_data = instance_->GetData(rsa); in rsa_decrypt()
323 key_data->error = instance_->Keymaster1Finish(key_data, input, &output); in rsa_decrypt()
336 KeyData* key_data = instance_->GetData(ec_key); in ecdsa_sign()
347 key_data->error = instance_->Keymaster1Finish(key_data, input, &output); in ecdsa_sign()
Dkeymaster0_engine.cpp40 Keymaster0Engine* Keymaster0Engine::instance_ = nullptr; member in keymaster::Keymaster0Engine
44 assert(!instance_); in Keymaster0Engine()
45 instance_ = this; in Keymaster0Engine()
76 instance_ = nullptr; in ~Keymaster0Engine()
248 assert(instance_); in rsa_private_transform()
249 return instance_->RsaPrivateTransform(rsa, out, in, len); in rsa_private_transform()
256 assert(instance_); in ecdsa_sign()
257 return instance_->EcdsaSign(digest, digest_len, sig, sig_len, ec_key); in ecdsa_sign()
/system/keymaster/include/keymaster/
Dlogger.h48 static void set_instance(Logger* logger) { instance_ = logger; } in set_instance()
55 static Logger* instance_; variable
/system/core/libbinderwrapper/include/binderwrapper/
Dbinder_wrapper.h83 static BinderWrapper* instance_;
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster0_engine.h99 static Keymaster0Engine* instance_; variable
Dkeymaster1_engine.h118 static Keymaster1Engine* instance_; variable