Searched refs:instance_ (Results 1 – 10 of 10) sorted by relevance
/system/core/libbinderwrapper/ |
D | binder_wrapper.cc | 26 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/connectivity/shill/ |
D | mock_log.cc | 29 ScopedMockLog* ScopedMockLog::instance_ = nullptr; member in shill::ScopedMockLog 34 instance_ = this; in ScopedMockLog() 39 instance_ = nullptr; in ~ScopedMockLog() 48 CHECK(instance_); in HandleLogMessages() 62 instance_->Log(severity, file, message); in HandleLogMessages() 65 if (instance_->previous_handler_) { in HandleLogMessages() 66 return (*instance_->previous_handler_)(severity, file, line, in HandleLogMessages()
|
D | mock_log.h | 98 static ScopedMockLog* instance_; variable
|
/system/keymaster/ |
D | logger.cpp | 21 Logger* Logger::instance_ = 0; member in keymaster::Logger 25 if (!instance_) in Log() 27 return instance_->log_msg(level, fmt, args); in Log()
|
D | keymaster1_engine.cpp | 41 Keymaster1Engine* Keymaster1Engine::instance_ = nullptr; member in keymaster::Keymaster1Engine 55 assert(!instance_); in Keymaster1Engine() 57 instance_ = this; in Keymaster1Engine() 66 instance_ = nullptr; in ~Keymaster1Engine() 291 KeyData* key_data = instance_->GetData(rsa); in rsa_sign_raw() 303 key_data->error = instance_->Keymaster1Finish(key_data, input, &output); in rsa_sign_raw() 316 KeyData* key_data = instance_->GetData(rsa); in rsa_decrypt() 328 key_data->error = instance_->Keymaster1Finish(key_data, input, &output); in rsa_decrypt() 341 KeyData* key_data = instance_->GetData(ec_key); in ecdsa_sign() 352 key_data->error = instance_->Keymaster1Finish(key_data, input, &output); in ecdsa_sign()
|
D | keymaster0_engine.cpp | 39 Keymaster0Engine* Keymaster0Engine::instance_ = nullptr; member in keymaster::Keymaster0Engine 43 assert(!instance_); in Keymaster0Engine() 44 instance_ = this; in Keymaster0Engine() 94 instance_ = nullptr; in ~Keymaster0Engine() 266 assert(instance_); in rsa_private_transform() 267 return instance_->RsaPrivateTransform(rsa, out, in, len); in rsa_private_transform() 274 assert(instance_); in ecdsa_sign() 275 return instance_->EcdsaSign(digest, digest_len, sig, sig_len, ec_key); in ecdsa_sign()
|
D | keymaster0_engine.h | 98 static Keymaster0Engine* instance_; variable
|
D | keymaster1_engine.h | 118 static Keymaster1Engine* instance_; variable
|
/system/keymaster/include/keymaster/ |
D | logger.h | 48 static void set_instance(Logger* logger) { instance_ = logger; } in set_instance() 55 static Logger* instance_; variable
|
/system/core/include/binderwrapper/ |
D | binder_wrapper.h | 83 static BinderWrapper* instance_;
|