/system/bt/service/hal/ |
D | fake_bluetooth_interface.cpp | 46 nullptr, /* init */ 49 nullptr, /* cleanup */ 51 nullptr, /* get_adapter_property */ 53 nullptr, /* get_remote_device_properties */ 54 nullptr, /* get_remote_device_property */ 55 nullptr, /* set_remote_device_property */ 56 nullptr, /* get_remote_service_record */ 57 nullptr, /* get_remote_services */ 58 nullptr, /* start_discovery */ 59 nullptr, /* cancel_discovery */ [all …]
|
D | fake_bluetooth_gatt_interface.cpp | 181 nullptr, // listen 182 nullptr, // refresh 183 nullptr, // search_service 184 nullptr, // read_characteristic 185 nullptr, // write_characteristic 186 nullptr, // read_descriptor 187 nullptr, // write_descriptor 188 nullptr, // execute_write 189 nullptr, // register_for_notification 190 nullptr, // deregister_for_notification [all …]
|
/system/core/libnativebridge/tests/ |
D | CompleteFlow_test.cpp | 25 ASSERT_TRUE(LoadNativeBridge(kNativeBridgeLibrary, nullptr)); in TEST_F() 29 ASSERT_TRUE(InitializeNativeBridge(nullptr, nullptr)); in TEST_F() 33 ASSERT_FALSE(NativeBridgeIsSupported(nullptr)); in TEST_F() 34 ASSERT_EQ(nullptr, NativeBridgeLoadLibrary(nullptr, 0)); in TEST_F() 35 ASSERT_EQ(nullptr, NativeBridgeGetTrampoline(nullptr, nullptr, nullptr, 0)); in TEST_F()
|
/system/core/libnativebridge/ |
D | native_bridge.cc | 83 static void* native_bridge_handle = nullptr; 86 static const NativeBridgeCallbacks* callbacks = nullptr; 88 static const NativeBridgeRuntimeCallbacks* runtime_callbacks = nullptr; 91 static char* app_code_cache_dir = nullptr; 113 if (app_code_cache_dir != nullptr) { in ReleaseAppCodeCacheDir() 115 app_code_cache_dir = nullptr; in ReleaseAppCodeCacheDir() 154 if (cb == nullptr || cb->version == 0) { in VersionCheck() 182 if (nb_library_filename != nullptr) { // Avoids some log-spam for dalvikvm. in LoadNativeBridge() 191 if (nb_library_filename == nullptr || *nb_library_filename == 0) { in LoadNativeBridge() 200 if (handle != nullptr) { in LoadNativeBridge() [all …]
|
/system/connectivity/shill/cellular/ |
D | mock_modem_info.cc | 22 ModemInfo(nullptr, nullptr, nullptr, nullptr), in MockModemInfo() 23 mock_pending_activation_store_(nullptr) {} in MockModemInfo() 30 mock_pending_activation_store_(nullptr) { in MockModemInfo() 43 if (control_interface() == nullptr) { in SetMockMembers() 47 if (dispatcher() == nullptr) { in SetMockMembers() 51 if (metrics() == nullptr) { in SetMockMembers() 55 if (manager() == nullptr) { in SetMockMembers()
|
/system/keymaster/ |
D | keymaster1_engine.cpp | 41 Keymaster1Engine* Keymaster1Engine::instance_ = nullptr; 66 instance_ = nullptr; in ~Keymaster1Engine() 143 return nullptr; in BuildRsaKey() 150 return nullptr; in BuildRsaKey() 158 return nullptr; in BuildRsaKey() 164 return nullptr; in BuildRsaKey() 171 return nullptr; in BuildRsaKey() 185 return nullptr; in BuildEcKey() 192 return nullptr; in BuildEcKey() 200 return nullptr; in BuildEcKey() [all …]
|
D | keymaster0_engine.cpp | 39 Keymaster0Engine* Keymaster0Engine::instance_ = nullptr; 53 rsa_method_.app_data = nullptr; in Keymaster0Engine() 54 rsa_method_.init = nullptr; in Keymaster0Engine() 55 rsa_method_.finish = nullptr; in Keymaster0Engine() 56 rsa_method_.size = nullptr; in Keymaster0Engine() 57 rsa_method_.sign = nullptr; in Keymaster0Engine() 58 rsa_method_.verify = nullptr; in Keymaster0Engine() 59 rsa_method_.encrypt = nullptr; in Keymaster0Engine() 60 rsa_method_.sign_raw = nullptr; in Keymaster0Engine() 61 rsa_method_.decrypt = nullptr; in Keymaster0Engine() [all …]
|
/system/connectivity/shill/vpn/ |
D | vpn_provider_unittest.cc | 55 : metrics_(nullptr), in VPNProviderTest() 56 manager_(&control_, nullptr, &metrics_), in VPNProviderTest() 57 device_info_(&control_, nullptr, &metrics_, &manager_), in VPNProviderTest() 58 provider_(&control_, nullptr, &metrics_, &manager_) {} in VPNProviderTest() 129 EXPECT_EQ(nullptr, service.get()); in TEST_F() 201 provider_.services_.push_back(new VPNService(&control_, nullptr, &metrics_, in TEST_F() 202 nullptr, bad_driver.release())); in TEST_F() 210 provider_.services_.push_back(new VPNService(&control_, nullptr, &metrics_, in TEST_F() 211 nullptr, good_driver.release())); in TEST_F() 216 provider_.services_.push_back(new VPNService(&control_, nullptr, &metrics_, in TEST_F() [all …]
|
D | mock_openvpn_driver.cc | 23 nullptr, nullptr, nullptr, nullptr, nullptr, nullptr) {} in MockOpenVPNDriver()
|
/system/tools/aidl/ |
D | aidl_unittest.cpp | 92 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { }", &java_types_)); in TEST_F() 103 EXPECT_EQ(nullptr, Parse(path, contents, &java_types_)); in TEST_F() 104 EXPECT_EQ(nullptr, Parse(path, contents, &cpp_types_)); in TEST_F() 108 EXPECT_EQ(nullptr, Parse("IFoo.aidl", "interface IFoo { }", &cpp_types_)); in TEST_F() 109 EXPECT_NE(nullptr, in TEST_F() 118 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_interface, &cpp_types_)); in TEST_F() 119 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_interface, &java_types_)); in TEST_F() 120 EXPECT_EQ(nullptr, Parse("a/IBar.aidl", oneway_method, &cpp_types_)); in TEST_F() 121 EXPECT_EQ(nullptr, Parse("a/IBar.aidl", oneway_method, &java_types_)); in TEST_F() 126 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_method, &cpp_types_)); in TEST_F() [all …]
|
/system/update_engine/client_library/ |
D | client_dbus.cc | 53 nullptr); in AttemptUpdate() 67 nullptr); in GetStatus() 76 return proxy_->SetUpdateOverCellularPermission(allowed, nullptr); in SetUpdateOverCellularPermission() 81 return proxy_->GetUpdateOverCellularPermission(allowed, nullptr); in GetUpdateOverCellularPermission() 85 return proxy_->SetP2PUpdatePermission(enabled, nullptr); in SetP2PUpdatePermission() 89 return proxy_->GetP2PUpdatePermission(enabled, nullptr); in GetP2PUpdatePermission() 93 return proxy_->AttemptRollback(powerwash, nullptr); in Rollback() 98 return proxy_->GetRollbackPartition(rollback_partition, nullptr); in GetRollbackPartition() 102 return proxy_->GetPrevVersion(prev_version, nullptr); in GetPrevVersion() 106 bool ret = proxy_->RebootIfNeeded(nullptr); in RebootIfNeeded() [all …]
|
/system/extras/simpleperf/ |
D | read_apk.cpp | 54 return nullptr; in FindElfInApkByOffsetWithoutCache() 59 return nullptr; in FindElfInApkByOffsetWithoutCache() 64 return nullptr; in FindElfInApkByOffsetWithoutCache() 72 if (StartIteration(handle, &iteration_cookie, nullptr, nullptr) < 0) { in FindElfInApkByOffsetWithoutCache() 73 return nullptr; in FindElfInApkByOffsetWithoutCache() 90 return nullptr; in FindElfInApkByOffsetWithoutCache() 96 return nullptr; in FindElfInApkByOffsetWithoutCache() 104 return nullptr; in FindElfInApkByOffsetWithoutCache() 115 return nullptr; in FindElfInApkByName() 119 return nullptr; in FindElfInApkByName() [all …]
|
/system/connectivity/shill/ |
D | json_store_unittest.cc | 198 EXPECT_FALSE(store_->GetString("group_a", "string_knob", nullptr)); in TEST_F() 199 EXPECT_FALSE(store_->GetBool("group_a", "bool_knob", nullptr)); in TEST_F() 200 EXPECT_FALSE(store_->GetInt("group_a", "int_knob", nullptr)); in TEST_F() 201 EXPECT_FALSE(store_->GetUint64("group_a", "uint64_knob", nullptr)); in TEST_F() 202 EXPECT_FALSE(store_->GetStringList("group_a", "string_list_knob", nullptr)); in TEST_F() 204 store_->GetCryptedString("group_a", "crypted_string_knob", nullptr)); in TEST_F() 208 EXPECT_FALSE(store_->GetString("group_a", "string_knob", nullptr)); in TEST_F() 209 EXPECT_FALSE(store_->GetBool("group_a", "bool_knob", nullptr)); in TEST_F() 210 EXPECT_FALSE(store_->GetInt("group_a", "int_knob", nullptr)); in TEST_F() 211 EXPECT_FALSE(store_->GetUint64("group_a", "uint64_knob", nullptr)); in TEST_F() [all …]
|
/system/core/libnativeloader/ |
D | native_loader.cpp | 65 if (java_library_path != nullptr) { in Create() 78 if (java_permitted_path != nullptr) { in Create() 80 if (path.c_str() != nullptr && path.size() > 0) { in Create() 86 return nullptr; in Create() 91 LOG_ALWAYS_FATAL_IF(ns != nullptr, in Create() 102 nullptr, in Create() 108 if (ns != nullptr) { in Create() 120 return it != namespaces_.end() ? it->second : nullptr; in FindNamespaceByClassLoader() 126 std::string root_dir = android_root_env != nullptr ? android_root_env : "/system"; in Initialize() 139 if (additional_libs != nullptr && additional_libs[0] != '\0') { in Initialize() [all …]
|
/system/core/adb/ |
D | transport.h | 60 int (*read_from_remote)(apacket* p, atransport* t) = nullptr; 61 int (*write_to_remote)(apacket* p, atransport* t) = nullptr; 62 void (*close)(atransport* t) = nullptr; 81 usb_handle* usb = nullptr; 85 char* serial = nullptr; 86 char* product = nullptr; 87 char* model = nullptr; 88 char* device = nullptr; 89 char* devpath = nullptr; 92 void* key = nullptr; [all …]
|
/system/netd/tests/dns_responder/ |
D | dns_responder.cpp | 60 int rv = getnameinfo(sa, sa_len, host_str, sizeof(host_str), nullptr, 0, in addr2str() 161 if (cur == nullptr) { in read() 163 return nullptr; in read() 176 return nullptr; in write() 182 return nullptr; in write() 186 return nullptr; in write() 203 return nullptr; in parseField() 216 return nullptr; in parseField() 223 return nullptr; in parseField() 226 return nullptr; in parseField() [all …]
|
/system/vold/ |
D | Keymaster.cpp | 59 return mDevice->generate_key(mDevice, params, key_blob, nullptr); in generate_key() 62 if (mDevice->delete_key == nullptr) return KM_ERROR_OK; in delete_key() 109 return mDevice->finish(mDevice, operation_handle, in_params, nullptr, signature, out_params, in finish() 127 mDevice->update(mOpHandle, nullptr, &inputBlob, &inputConsumed, nullptr, &outputBlob); in updateCompletely() 130 mDevice = nullptr; in updateCompletely() 137 mDevice = nullptr; in updateCompletely() 146 auto error = mDevice->finish(mOpHandle, nullptr, nullptr, nullptr, nullptr); in finish() 147 mDevice = nullptr; in finish() 157 auto error = mDevice->finish(mOpHandle, nullptr, nullptr, nullptr, &outputBlob); in finishWithOutput() 158 mDevice = nullptr; in finishWithOutput() [all …]
|
/system/webservd/webservd/ |
D | utils.cc | 92 nullptr)); in GenerateRSAKeyPair() 100 CHECK(PEM_write_bio_RSAPrivateKey(bio.get(), rsa_key_pair, nullptr, nullptr, in StoreRSAPrivateKey() 101 0, nullptr, nullptr)); in StoreRSAPrivateKey() 102 uint8_t* buffer = nullptr; in StoreRSAPrivateKey() 115 PEM_read_bio_RSAPrivateKey(bio.get(), nullptr, nullptr, nullptr), in ValidateRSAPrivateKey() 117 return rsa_key.get() != nullptr; in ValidateRSAPrivateKey() 125 uint8_t* buffer = nullptr; in StoreCertificate() 139 X509Ptr cert{nullptr, X509_free}; in LoadAndValidateCertificate() 145 cert.reset(PEM_read_bio_X509(bio.get(), nullptr, nullptr, nullptr)); in LoadAndValidateCertificate()
|
/system/core/libbacktrace/ |
D | backtrace_test.cpp | 163 ASSERT_TRUE(backtrace.get() != nullptr); in VerifyLevelBacktrace() 185 ASSERT_TRUE(backtrace.get() != nullptr); in VerifyMaxBacktrace() 203 ASSERT_TRUE(backtrace.get() != nullptr); in VerifyThreadTest() 224 ASSERT_TRUE(backtrace.get() != nullptr); in TEST() 240 ASSERT_NE(test_level_one(1, 2, 3, 4, VerifyLevelBacktrace, nullptr), 0); in TEST() 252 bool check = (cur_proc == nullptr); in VerifyIgnoreFrames() 272 ASSERT_TRUE(all.get() != nullptr); in VerifyLevelIgnoreFrames() 278 ASSERT_TRUE(ign1.get() != nullptr); in VerifyLevelIgnoreFrames() 284 ASSERT_TRUE(ign2.get() != nullptr); in VerifyLevelIgnoreFrames() 292 ASSERT_NE(test_level_one(1, 2, 3, 4, VerifyLevelIgnoreFrames, nullptr), 0); in TEST() [all …]
|
/system/connectivity/shill/wifi/ |
D | wifi_endpoint_unittest.cc | 291 MakeOpenEndpoint(nullptr, nullptr, kSSID, kBSSID); in TEST_F() 298 MakeOpenEndpoint(nullptr, nullptr, string(1, 0), "00:00:00:00:00:01"); in TEST_F() 337 &vendor_information, nullptr, nullptr)); in TEST_F() 346 &vendor_information, nullptr, nullptr)); in TEST_F() 355 &vendor_information, nullptr, nullptr)); in TEST_F() 364 &vendor_information, nullptr, nullptr)); in TEST_F() 374 &vendor_information, nullptr, nullptr)); in TEST_F() 383 &vendor_information, nullptr, nullptr)); in TEST_F() 392 &vendor_information, nullptr, nullptr)); in TEST_F() 403 &vendor_information, nullptr, nullptr)); in TEST_F() [all …]
|
/system/core/libmemunreachable/tests/ |
D | DisableMalloc_test.cpp | 42 ASSERT_NE(ptr1, nullptr); in TEST_F() 48 ASSERT_NE(ptr2, nullptr); in TEST_F() 57 ASSERT_NE(ptr, nullptr); in TEST_F() 63 ASSERT_NE(ptr, nullptr); in TEST_F() 72 ASSERT_NE(ptr, nullptr); in TEST_F() 78 ASSERT_NE(ptr, nullptr); in TEST_F() 87 ASSERT_NE(ptr, nullptr); in TEST_F() 99 ASSERT_NE(ptr, nullptr); in TEST_F()
|
/system/update_engine/update_manager/ |
D | real_random_provider_unittest.cc | 34 ASSERT_NE(nullptr, provider_.get()); in SetUp() 45 EXPECT_NE(nullptr, provider_->var_seed()); in TEST_F() 51 provider_->var_seed()->GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F() 52 ASSERT_NE(nullptr, value.get()); in TEST_F() 60 nullptr)); in TEST_F() 61 ASSERT_NE(nullptr, other_value.get()); in TEST_F()
|
D | umtest_utils.h | 42 ASSERT_NE(nullptr, variable); in ExpectVariableHasValue() 44 variable->GetValue(DefaultTimeout(), nullptr)); in ExpectVariableHasValue() 45 ASSERT_NE(nullptr, value.get()) << "Variable: " << variable->GetName(); in ExpectVariableHasValue() 52 ASSERT_NE(nullptr, variable); in ExpectVariableNotSet() 54 variable->GetValue(DefaultTimeout(), nullptr)); in ExpectVariableNotSet() 55 EXPECT_EQ(nullptr, value.get()) << "Variable: " << variable->GetName(); in ExpectVariableNotSet()
|
/system/netd/tests/ |
D | netd_test.cpp | 87 AddrInfo() : ai_(nullptr), error_(0) {} in AddrInfo() 89 AddrInfo(const char* node, const char* service, const addrinfo& hints) : ai_(nullptr) { in AddrInfo() 93 AddrInfo(const char* node, const char* service) : ai_(nullptr) { in AddrInfo() 107 error_ = getaddrinfo(node, service, nullptr, &ai_); in init() 112 if (ai_ != nullptr) { in clear() 114 ai_ = nullptr; in clear() 179 if (he == nullptr) return "<null>"; in ToString() 190 for (const auto* aip = ai ; aip != nullptr ; aip = aip->ai_next) { in ToString() 192 int rv = getnameinfo(aip->ai_addr, aip->ai_addrlen, host, sizeof(host), nullptr, 0, in ToString() 242 addrinfo* result = nullptr; in RunGetAddrInfoStressTest_Binder() [all …]
|
/system/update_engine/ |
D | common_service_unittest.cc | 42 fake_system_state_.set_device_policy(nullptr); in SetUp() 63 EXPECT_EQ(nullptr, error_); in TEST_F() 75 ASSERT_EQ(nullptr, error_); in TEST_F() 89 ASSERT_EQ(nullptr, error_); in TEST_F() 100 ASSERT_NE(nullptr, error_); in TEST_F() 111 EXPECT_EQ(nullptr, error_); in TEST_F() 116 EXPECT_EQ(nullptr, error_); in TEST_F() 123 EXPECT_EQ(nullptr, error_); in TEST_F() 129 ASSERT_NE(nullptr, error_); in TEST_F()
|