/system/core/demangle/ |
D | Demangler.h | 107 const char* Fail(const char*) { return nullptr; } in Fail() 123 nullptr, // k 128 nullptr, // p 129 nullptr, // q 130 nullptr, // r 133 nullptr, // u 143 nullptr, // b 144 nullptr, // c 148 nullptr, // g 151 nullptr, // j [all …]
|
/system/core/libunwindstack/ |
D | DwarfCfa.h | 104 const dwarf_loc_regs_t* cie_loc_regs_ = nullptr; 181 nullptr, 183 nullptr, 185 nullptr, 187 nullptr, 189 nullptr, 191 nullptr, 193 nullptr, 195 nullptr, 197 nullptr, [all …]
|
/system/bt/service/hal/ |
D | fake_bluetooth_interface.cc | 44 nullptr, /* init */ 47 nullptr, /* cleanup */ 49 nullptr, /* get_adapter_property */ 51 nullptr, /* get_remote_device_properties */ 52 nullptr, /* get_remote_device_property */ 53 nullptr, /* set_remote_device_property */ 54 nullptr, /* get_remote_service_record */ 55 nullptr, /* get_remote_services */ 56 nullptr, /* start_discovery */ 57 nullptr, /* cancel_discovery */ [all …]
|
D | fake_bluetooth_gatt_interface.cc | 109 nullptr, // refresh 110 nullptr, // search_service 111 nullptr, // discover_service_by_uuid 112 nullptr, // read_characteristic 113 nullptr, // read_using_characteristic_uuid 114 nullptr, // write_characteristic 115 nullptr, // read_descriptor 116 nullptr, // write_descriptor 117 nullptr, // execute_write 118 nullptr, // register_for_notification [all …]
|
/system/core/libkeyutils/ |
D | keyutils_test.cpp | 40 ASSERT_TRUE(dlsym(nullptr, "add_key") != nullptr); in TEST() 41 ASSERT_TRUE(dlsym(nullptr, "keyctl_get_keyring_ID") != nullptr); in TEST() 42 ASSERT_TRUE(dlsym(nullptr, "keyctl_revoke") != nullptr); in TEST() 43 ASSERT_TRUE(dlsym(nullptr, "keyctl_search") != nullptr); in TEST() 44 ASSERT_TRUE(dlsym(nullptr, "keyctl_setperm") != nullptr); in TEST() 45 ASSERT_TRUE(dlsym(nullptr, "keyctl_unlink") != nullptr); in TEST()
|
/system/core/fastboot/ |
D | fastboot_driver.h | 75 RetCode Boot(std::string* response = nullptr, std::vector<std::string>* info = nullptr); 76 RetCode Continue(std::string* response = nullptr, std::vector<std::string>* info = nullptr); 79 RetCode Download(const std::string& name, int fd, size_t size, std::string* response = nullptr, 80 std::vector<std::string>* info = nullptr); 81 RetCode Download(int fd, size_t size, std::string* response = nullptr, 82 std::vector<std::string>* info = nullptr); 84 std::string* response = nullptr, std::vector<std::string>* info = nullptr); 85 RetCode Download(const std::vector<char>& buf, std::string* response = nullptr, 86 std::vector<std::string>* info = nullptr); 88 size_t current, size_t total, bool use_crc, std::string* response = nullptr, [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()
|
D | NativeBridge3CreateNamespace_test.cpp | 25 ASSERT_TRUE(LoadNativeBridge(kNativeBridgeLibrary3, nullptr)); in TEST_F() 29 ASSERT_TRUE(InitializeNativeBridge(nullptr, nullptr)); in TEST_F() 33 ASSERT_EQ(nullptr, NativeBridgeCreateNamespace(nullptr, nullptr, nullptr, in TEST_F() 34 0, nullptr, nullptr)); in TEST_F()
|
/system/security/keystore-engine/ |
D | android_engine.cpp | 62 if (key_id != nullptr) { in key_id_dup() 97 if (key_id == nullptr) { in rsa_private_transform() 102 uint8_t* reply = nullptr; in rsa_private_transform() 111 } else if (reply_len == 0 || reply == nullptr) { in rsa_private_transform() 151 if (key_id == nullptr) { in ecdsa_sign() 158 uint8_t* reply = nullptr; in ecdsa_sign() 165 } else if (reply_len == 0 || reply == nullptr) { in ecdsa_sign() 188 nullptr /* argp */, in KeystoreEngine() 189 nullptr /* new_func */, in KeystoreEngine() 193 nullptr /* argp */, in KeystoreEngine() [all …]
|
/system/core/base/ |
D | mapped_file.cpp | 42 CreateFileMapping(reinterpret_cast<HANDLE>(_get_osfhandle(fd)), nullptr, in FromFd() 43 (prot & PROT_WRITE) ? PAGE_READWRITE : PAGE_READONLY, 0, 0, nullptr); in FromFd() 44 if (handle == nullptr) { in FromFd() 48 return std::unique_ptr<MappedFile>(new MappedFile{nullptr, 0, 0, nullptr}); in FromFd() 50 return nullptr; in FromFd() 54 if (base == nullptr) { in FromFd() 56 return nullptr; in FromFd() 61 void* base = mmap(nullptr, file_length, prot, MAP_SHARED, fd, file_offset); in FromFd() 66 return std::unique_ptr<MappedFile>(new MappedFile{nullptr, 0, 0}); in FromFd() 68 return nullptr; in FromFd() [all …]
|
/system/core/libunwindstack/tests/ |
D | MapsTest.cpp | 31 if (info == nullptr) { in VerifyLine() 36 ASSERT_TRUE(element != nullptr) << "Failed on: " + line; in VerifyLine() 85 MapInfo info(nullptr, 0, 0, 0, 0, ""); in TEST() 108 VerifyLine("-00 rwxp 00 00:00 0\n", nullptr); in TEST() 109 VerifyLine("00- rwxp 00 00:00 0\n", nullptr); in TEST() 110 VerifyLine("00-00 rwxp 00 :00 0\n", nullptr); in TEST() 111 VerifyLine("00-00 rwxp 00 00:00 \n", nullptr); in TEST() 112 VerifyLine("x-00 rwxp 00 00:00 0\n", nullptr); in TEST() 113 VerifyLine("00 -00 rwxp 00 00:00 0\n", nullptr); in TEST() 114 VerifyLine("00-x rwxp 00 00:00 0\n", nullptr); in TEST() [all …]
|
D | DexFileTest.cpp | 35 EXPECT_TRUE(DexFileFromFile::Create(0, "/file/does/not/exist") == nullptr); in TEST() 45 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) == nullptr); in TEST() 51 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) == nullptr); in TEST() 61 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) != nullptr); in TEST() 72 EXPECT_TRUE(DexFileFromFile::Create(0x100, tf.path) != nullptr); in TEST() 80 EXPECT_TRUE(DexFileFromMemory::Create(0x1000, &memory, "") == nullptr); in TEST() 88 EXPECT_TRUE(DexFileFromMemory::Create(0x1000, &memory, "") == nullptr); in TEST() 96 EXPECT_TRUE(DexFileFromMemory::Create(0x1000, &memory, "") != nullptr); in TEST() 108 MapInfo info(nullptr, 0, 0x10000, 0, 0x5, tf.path); in TEST() 109 EXPECT_TRUE(DexFile::Create(0x500, &memory, &info) != nullptr); in TEST() [all …]
|
/system/core/libnativebridge/ |
D | native_bridge.cc | 112 static void* native_bridge_handle = nullptr; 115 static const NativeBridgeCallbacks* callbacks = nullptr; 117 static const NativeBridgeRuntimeCallbacks* runtime_callbacks = nullptr; 120 static char* app_code_cache_dir = nullptr; 140 if (app_code_cache_dir != nullptr) { in ReleaseAppCodeCacheDir() 142 app_code_cache_dir = nullptr; in ReleaseAppCodeCacheDir() 183 if (callbacks == nullptr || callbacks->version == 0 || version == 0) { in isCompatibleWith() 208 if (nb_library_filename != nullptr) { // Avoids some log-spam for dalvikvm. in LoadNativeBridge() 217 if (nb_library_filename == nullptr || *nb_library_filename == 0) { in LoadNativeBridge() 226 if (handle != nullptr) { in LoadNativeBridge() [all …]
|
/system/core/debuggerd/include/debuggerd/ |
D | handler.h | 43 sigaction(SIGABRT, action, nullptr); in debuggerd_register_handlers() 44 sigaction(SIGBUS, action, nullptr); in debuggerd_register_handlers() 45 sigaction(SIGFPE, action, nullptr); in debuggerd_register_handlers() 46 sigaction(SIGILL, action, nullptr); in debuggerd_register_handlers() 47 sigaction(SIGSEGV, action, nullptr); in debuggerd_register_handlers() 49 sigaction(SIGSTKFLT, action, nullptr); in debuggerd_register_handlers() 51 sigaction(SIGSYS, action, nullptr); in debuggerd_register_handlers() 52 sigaction(SIGTRAP, action, nullptr); in debuggerd_register_handlers() 53 sigaction(DEBUGGER_SIGNAL, action, nullptr); in debuggerd_register_handlers()
|
/system/netd/server/ |
D | NetlinkManager.cpp | 51 NetlinkManager *NetlinkManager::sInstance = nullptr; 60 mBroadcaster = nullptr; in NetlinkManager() 81 return nullptr; in setupSocket() 91 return nullptr; in setupSocket() 97 return nullptr; in setupSocket() 103 return nullptr; in setupSocket() 109 return nullptr; in setupSocket() 113 return nullptr; in setupSocket() 117 return nullptr; in setupSocket() 125 return nullptr; in setupSocket() [all …]
|
/system/core/fs_mgr/liblp/ |
D | builder_test.cpp | 48 ASSERT_NE(builder, nullptr); in TEST_F() 51 ASSERT_NE(partition, nullptr); in TEST_F() 58 EXPECT_EQ(builder->FindPartition("system"), nullptr); in TEST_F() 63 ASSERT_NE(builder, nullptr); in TEST_F() 66 ASSERT_NE(system, nullptr); in TEST_F() 72 ASSERT_NE(extent, nullptr); in TEST_F() 105 ASSERT_NE(extent, nullptr); in TEST_F() 117 ASSERT_NE(builder, nullptr); in TEST_F() 121 ASSERT_NE(system, nullptr); in TEST_F() 138 ASSERT_EQ(builder, nullptr); in TEST_F() [all …]
|
/system/core/libnativeloader/ |
D | native_loader.cpp | 58 : android_ns_(nullptr), native_bridge_ns_(nullptr) { } in NativeLoaderNamespace() 61 : android_ns_(ns), native_bridge_ns_(nullptr) { } in NativeLoaderNamespace() 64 : android_ns_(nullptr), native_bridge_ns_(ns) { } in NativeLoaderNamespace() 72 CHECK(native_bridge_ns_ == nullptr); in get_android_ns() 77 CHECK(android_ns_ == nullptr); in get_native_bridge_ns() 82 return native_bridge_ns_ == nullptr; in is_android_namespace() 181 CHECK(file_name != nullptr); in insert_vndk_version_str() 201 if (java_library_path != nullptr) { in Create() 216 if (java_permitted_path != nullptr) { in Create() 218 if (path.c_str() != nullptr && path.size() > 0) { in Create() [all …]
|
/system/chre/platform/slpi/ |
D | platform_nanoapp.cc | 123 if (mAppBinary != nullptr) { in ~PlatformNanoapp() 153 if (eventData != nullptr && !isUimgApp() && isBiasEventType(eventType)) { in handleEvent() 182 if (mAppFilename == nullptr) { in setAppInfo() 202 if (mAppBinary == nullptr) { in reserveBuffer() 241 return (mIsStatic || (mAppBinary != nullptr && mBytesLoaded == mAppBinaryLen) in isLoaded() 242 || mDsoHandle != nullptr || mAppFilename != nullptr); in isLoaded() 250 if (mDsoHandle != nullptr) { in closeNanoapp() 251 mAppInfo = nullptr; in closeNanoapp() 255 mDsoHandle = nullptr; in closeNanoapp() 264 } else if (mAppBinary != nullptr) { in openNanoapp() [all …]
|
/system/extras/simpleperf/ |
D | IOEventLoop.cpp | 32 : loop(loop), e(nullptr), timeout({}), callback(callback), enabled(false) { in IOEvent() 36 if (e != nullptr) { in ~IOEvent() 43 : ebase_(nullptr), has_error_(false), use_precise_timer_(false), in_loop_(false) {} in IOEventLoop() 47 if (ebase_ != nullptr) { in ~IOEventLoop() 53 if (ebase_ != nullptr) { in UsePreciseTimer() 61 if (ebase_ == nullptr) { in EnsureInit() 63 if (cfg != nullptr) { in EnsureInit() 87 if (ebase_ == nullptr) { in EnsureInit() 115 return nullptr; in AddReadEvent() 117 return AddEvent(fd, EV_READ | EV_PERSIST, nullptr, callback); in AddReadEvent() [all …]
|
/system/netd/resolv/ |
D | libnetd_resolv_test.cpp | 56 if (he == nullptr) return "<null>"; in ToString() 66 for (const auto* aip = ai; aip != nullptr; aip = aip->ai_next) { in ToString() 68 int rv = getnameinfo(aip->ai_addr, aip->ai_addrlen, host, sizeof(host), nullptr, 0, in ToString() 114 struct addrinfo* result = nullptr; in TEST_F() 115 int rv = android_getaddrinfofornetcontext(nullptr /*hostname*/, nullptr /*servname*/, in TEST_F() 116 nullptr /*hints*/, &mNetcontext, &result); in TEST_F() 120 result = nullptr; in TEST_F() 144 {0, sizeof(struct in_addr) /*bad*/, nullptr, nullptr, nullptr, EAI_BADHINTS}, in TEST_F() 145 {0, 0, placeholder_cname /*bad*/, nullptr, nullptr, EAI_BADHINTS}, in TEST_F() 146 {0, 0, nullptr, &placeholder_addr /*bad*/, nullptr, EAI_BADHINTS}, in TEST_F() [all …]
|
/system/core/libprocessgroup/cgrouprc/ |
D | cgroup_file.cpp | 42 return nullptr; in LoadRcFile() 47 return nullptr; in LoadRcFile() 53 return nullptr; in LoadRcFile() 56 CgroupFile* file_data = (CgroupFile*)mmap(nullptr, file_size, PROT_READ, MAP_SHARED, fd, 0); in LoadRcFile() 59 return nullptr; in LoadRcFile() 65 return nullptr; in LoadRcFile() 73 return nullptr; in LoadRcFile() 88 if (file == nullptr) return 0; in ACgroupFile_getVersion() 94 if (file == nullptr) return 0; in ACgroupFile_getControllerCount() 100 if (file == nullptr) return nullptr; in ACgroupFile_getController()
|
/system/core/libbacktrace/ |
D | BacktraceTest.h | 55 ASSERT_TRUE(dl_handle_ != nullptr); in SetUp() 56 ASSERT_TRUE(test_level_one_ != nullptr); in SetUp() 57 ASSERT_TRUE(test_level_two_ != nullptr); in SetUp() 58 ASSERT_TRUE(test_level_three_ != nullptr); in SetUp() 59 ASSERT_TRUE(test_level_four_ != nullptr); in SetUp() 60 ASSERT_TRUE(test_recursive_call_ != nullptr); in SetUp() 61 ASSERT_TRUE(test_get_context_and_wait_ != nullptr); in SetUp() 62 ASSERT_TRUE(test_signal_action_ != nullptr); in SetUp() 63 ASSERT_TRUE(test_signal_handler_ != nullptr); in SetUp()
|
/system/core/property_service/libpropertyinfoserializer/ |
D | trie_builder_test.cpp | 43 ASSERT_NE(nullptr, builder_root.context()); in TEST() 45 ASSERT_NE(nullptr, builder_root.type()); in TEST() 56 ASSERT_NE(nullptr, test_node->context()); in TEST() 58 ASSERT_NE(nullptr, test_node->type()); in TEST() 66 ASSERT_NE(nullptr, property_entry.context); in TEST() 68 ASSERT_NE(nullptr, property_entry.type); in TEST() 76 ASSERT_NE(nullptr, test_node->exact_matches()[0].context); in TEST() 77 ASSERT_NE(nullptr, test_node->exact_matches()[1].context); in TEST() 78 ASSERT_NE(nullptr, test_node->exact_matches()[2].context); in TEST() 83 ASSERT_NE(nullptr, test_node->exact_matches()[0].type); in TEST() [all …]
|
/system/core/adb/client/ |
D | usb_windows.cpp | 129 if (nullptr != dev_name) { in known_device_locked() 133 if ((nullptr != usb->interface_name) && (0 == wcsicmp(usb->interface_name, dev_name))) { in known_device_locked() 145 if (nullptr != dev_name) { in known_device() 154 if (nullptr == handle) return 0; in register_new_device() 212 const HINSTANCE instance = GetModuleHandleW(nullptr); in _power_notification_thread() 231 L"ADB Power Notification Window", WS_POPUP, 0, 0, 0, 0, nullptr, nullptr, in _power_notification_thread() 232 instance, nullptr)) { in _power_notification_thread() 238 while (GetMessageW(&msg, nullptr, 0, 0)) { in _power_notification_thread() 262 if (nullptr == ret) { in do_usb_open() 269 if (nullptr == ret->adb_interface) { in do_usb_open() [all …]
|
/system/update_engine/client_library/ |
D | client_dbus.cc | 57 nullptr); in AttemptUpdate() 71 return proxy_->AttemptInstall(dlc_request, nullptr /* brillo::ErrorPtr* */); in AttemptInstall() 89 nullptr); in GetStatus() 98 return proxy_->SetCohortHint(cohort_hint, nullptr); in SetCohortHint() 102 return proxy_->GetCohortHint(cohort_hint, nullptr); in GetCohortHint() 106 return proxy_->SetUpdateOverCellularPermission(allowed, nullptr); in SetUpdateOverCellularPermission() 111 return proxy_->GetUpdateOverCellularPermission(allowed, nullptr); in GetUpdateOverCellularPermission() 115 return proxy_->SetP2PUpdatePermission(enabled, nullptr); in SetP2PUpdatePermission() 119 return proxy_->GetP2PUpdatePermission(enabled, nullptr); in GetP2PUpdatePermission() 123 return proxy_->AttemptRollback(powerwash, nullptr); in Rollback() [all …]
|