/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/libunwindstack/ |
D | DwarfCfa.h | 109 const dwarf_loc_regs_t* cie_loc_regs_ = nullptr; 187 nullptr, 189 nullptr, 191 nullptr, 193 nullptr, 195 nullptr, 197 nullptr, 199 nullptr, 201 nullptr, 203 nullptr, [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/bt/osi/test/fuzzers/list/ |
D | fuzz_list.cc | 42 return list_new(nullptr); in createList() 49 return nullptr; in getArbitraryElement() 58 if (list == nullptr || list_is_empty(list)) { in getArbitraryNode() 59 return nullptr; in getArbitraryNode() 74 list_t* list = nullptr; in callArbitraryFunction() 97 if (list != nullptr) { in callArbitraryFunction() 105 if (list != nullptr) { in callArbitraryFunction() 112 if (list != nullptr) { in callArbitraryFunction() 114 if (search_buf != nullptr) { in callArbitraryFunction() 122 if (list != nullptr) { in callArbitraryFunction() [all …]
|
/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/libunwindstack/tests/ |
D | DexFileTest.cpp | 37 EXPECT_TRUE(DexFileFromFile::Create(0, "/file/does/not/exist") == nullptr); in TEST() 47 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) == nullptr); in TEST() 53 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) == nullptr); in TEST() 63 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) != nullptr); in TEST() 74 EXPECT_TRUE(DexFileFromFile::Create(0x100, tf.path) != nullptr); in TEST() 103 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) != nullptr); in TEST() 113 EXPECT_TRUE(DexFileFromMemory::Create(0x1000, &memory, "", sizeof(kDexData)) == nullptr); in TEST() 121 EXPECT_TRUE(DexFileFromMemory::Create(0x1000, &memory, "", sizeof(kDexData)) == nullptr); in TEST() 129 EXPECT_TRUE(DexFileFromMemory::Create(0x1000, &memory, "", sizeof(kDexData)) != nullptr); in TEST() 140 EXPECT_TRUE(DexFileFromMemory::Create(0x1000, &memory, "", sizeof(kDexData)) != nullptr); in TEST() [all …]
|
D | MapsTest.cpp | 31 if (info == nullptr) { in VerifyLine() 36 ASSERT_TRUE(element != nullptr) << "Failed on: " + line; in VerifyLine() 85 MapInfo info(nullptr, 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 | MapInfoGetElfTest.cpp | 71 MapInfo info(nullptr, nullptr, 0x1000, 0x2000, 0, PROT_READ, ""); in TEST_F() 75 ASSERT_TRUE(elf != nullptr); in TEST_F() 80 MapInfo info(nullptr, nullptr, 0x3000, 0x4000, 0, PROT_READ, ""); in TEST_F() 87 ASSERT_TRUE(elf != nullptr); in TEST_F() 95 ASSERT_TRUE(elf != nullptr); in TEST_F() 100 MapInfo info(nullptr, nullptr, 0x8000, 0x9000, 0, PROT_READ, ""); in TEST_F() 107 ASSERT_TRUE(elf != nullptr); in TEST_F() 114 MapInfo info(nullptr, nullptr, 0x3000, 0x4000, 0, PROT_READ, ""); in TEST_F() 121 ASSERT_TRUE(elf != nullptr); in TEST_F() 126 MapInfo info(nullptr, nullptr, 0x2000, 0x3000, 0, PROT_READ, ""); in TEST_F() [all …]
|
D | DwarfDebugFrameTest.cpp | 45 DwarfDebugFrame<TypeParam>* debug_frame_ = nullptr; 75 std::vector<uint8_t>* data = nullptr) { in SetFde32() 83 if (data != nullptr) { in SetFde32() 91 std::vector<uint8_t>* data = nullptr) { in SetFde64() 101 if (data != nullptr) { in SetFde64() 137 EXPECT_TRUE(fdes[0]->cie != nullptr); in TYPED_TEST_P() 145 EXPECT_TRUE(fdes[1]->cie != nullptr); in TYPED_TEST_P() 153 EXPECT_TRUE(fdes[2]->cie != nullptr); in TYPED_TEST_P() 161 EXPECT_TRUE(fdes[3]->cie != nullptr); in TYPED_TEST_P() 169 ASSERT_TRUE(fde != nullptr); in TYPED_TEST_P() [all …]
|
D | ElfCacheTest.cpp | 81 MapInfo info1(nullptr, nullptr, start, end, 0, 0x5, tf.path); in VerifySameMap() 82 MapInfo info2(nullptr, nullptr, start, end, 0, 0x5, tf.path); in VerifySameMap() 122 MapInfo info0_1(nullptr, nullptr, start, end, 0, 0x5, tf.path); in VerifyWithinSameMap() 123 MapInfo info0_2(nullptr, nullptr, start, end, 0, 0x5, tf.path); in VerifyWithinSameMap() 125 MapInfo info100_1(nullptr, nullptr, start, end, 0x100, 0x5, tf.path); in VerifyWithinSameMap() 126 MapInfo info100_2(nullptr, nullptr, start, end, 0x100, 0x5, tf.path); in VerifyWithinSameMap() 128 MapInfo info200_1(nullptr, nullptr, start, end, 0x200, 0x5, tf.path); in VerifyWithinSameMap() 129 MapInfo info200_2(nullptr, nullptr, start, end, 0x200, 0x5, tf.path); in VerifyWithinSameMap() 131 MapInfo info300_1(nullptr, nullptr, start, end, 0x300, 0x5, tf.path); in VerifyWithinSameMap() 132 MapInfo info300_2(nullptr, nullptr, start, end, 0x300, 0x5, tf.path); in VerifyWithinSameMap() [all …]
|
D | MapInfoTest.cpp | 29 MapInfo prev_map(nullptr, nullptr, 0, 0, 0, 0, ""); in TEST() 40 EXPECT_TRUE(map_info.elf.get() == nullptr); in TEST() 45 MapInfo prev_map(nullptr, nullptr, 0, 0, 0, 0, ""); in TEST() 56 EXPECT_TRUE(map_info.elf.get() == nullptr); in TEST() 60 ElfFake* elf = new ElfFake(nullptr); in TEST() 61 ElfInterfaceFake* interface = new ElfInterfaceFake(nullptr); in TEST() 65 MapInfo map_info(nullptr, nullptr, 1, 2, 3, 4, ""); in TEST()
|
/system/libbase/ |
D | mapped_file.cpp | 56 h, nullptr, (prot & PROT_WRITE) ? PAGE_READWRITE : PAGE_READONLY, 0, 0, nullptr); in FromOsHandle() 57 if (handle == nullptr) { in FromOsHandle() 62 new MappedFile(const_cast<char*>(kEmptyBuffer), 0, 0, nullptr)); in FromOsHandle() 64 return nullptr; in FromOsHandle() 68 if (base == nullptr) { in FromOsHandle() 70 return nullptr; in FromOsHandle() 75 void* base = mmap(nullptr, file_length, prot, MAP_SHARED, h, file_offset); in FromOsHandle() 82 return nullptr; in FromOsHandle() 89 : base_(std::exchange(other.base_, nullptr)), in MappedFile() 94 handle_(std::exchange(other.handle_, nullptr)) in MappedFile() [all …]
|
/system/core/adb/client/pairing/tests/ |
D | pairing_connection_test.cpp | 140 EXPECT_EQ(nullptr, server); in TEST_F() 143 EXPECT_EQ(nullptr, server); in TEST_F() 146 EXPECT_EQ(nullptr, server); in TEST_F() 149 EXPECT_EQ(nullptr, server); in TEST_F() 152 EXPECT_EQ(nullptr, server); in TEST_F() 155 EXPECT_EQ(nullptr, server); in TEST_F() 158 EXPECT_NE(nullptr, server); in TEST_F() 164 EXPECT_EQ(nullptr, client); in TEST_F() 167 EXPECT_EQ(nullptr, client); in TEST_F() 170 EXPECT_EQ(nullptr, client); in TEST_F() [all …]
|
/system/netd/server/ |
D | NetlinkManager.cpp | 52 NetlinkManager *NetlinkManager::sInstance = nullptr; 61 mBroadcaster = nullptr; in NetlinkManager() 82 return nullptr; in setupSocket() 92 return nullptr; in setupSocket() 98 return nullptr; in setupSocket() 104 return nullptr; in setupSocket() 110 return nullptr; in setupSocket() 114 return nullptr; in setupSocket() 118 return nullptr; in setupSocket() 126 return nullptr; in setupSocket() [all …]
|
/system/core/fs_mgr/liblp/ |
D | builder_test.cpp | 49 ASSERT_NE(builder, nullptr); in TEST_F() 52 ASSERT_NE(partition, nullptr); in TEST_F() 59 EXPECT_EQ(builder->FindPartition("system"), nullptr); in TEST_F() 64 ASSERT_NE(builder, nullptr); in TEST_F() 67 ASSERT_NE(system, nullptr); in TEST_F() 73 ASSERT_NE(extent, nullptr); in TEST_F() 106 ASSERT_NE(extent, nullptr); in TEST_F() 111 ASSERT_NE(exported, nullptr); in TEST_F() 112 ASSERT_EQ(FindPartition(*exported.get(), "not found"), nullptr); in TEST_F() 114 ASSERT_NE(entry, nullptr); in TEST_F() [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/core/debuggerd/include/debuggerd/ |
D | handler.h | 69 sigaction(SIGABRT, action, nullptr); in debuggerd_register_handlers() 70 sigaction(SIGBUS, action, nullptr); in debuggerd_register_handlers() 71 sigaction(SIGFPE, action, nullptr); in debuggerd_register_handlers() 72 sigaction(SIGILL, action, nullptr); in debuggerd_register_handlers() 73 sigaction(SIGSEGV, action, nullptr); in debuggerd_register_handlers() 74 sigaction(SIGSTKFLT, action, nullptr); in debuggerd_register_handlers() 75 sigaction(SIGSYS, action, nullptr); in debuggerd_register_handlers() 76 sigaction(SIGTRAP, action, nullptr); in debuggerd_register_handlers() 79 sigaction(BIONIC_SIGNAL_DEBUGGER, action, nullptr); in debuggerd_register_handlers()
|
/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 | 131 if (nullptr != dev_name) { in known_device_locked() 135 if ((nullptr != usb->interface_name) && (0 == wcsicmp(usb->interface_name, dev_name))) { in known_device_locked() 147 if (nullptr != dev_name) { in known_device() 156 if (nullptr == handle) return 0; in register_new_device() 215 const HINSTANCE instance = GetModuleHandleW(nullptr); in _power_notification_thread() 234 L"ADB Power Notification Window", WS_POPUP, 0, 0, 0, 0, nullptr, nullptr, in _power_notification_thread() 235 instance, nullptr)) { in _power_notification_thread() 241 while (GetMessageW(&msg, nullptr, 0, 0)) { in _power_notification_thread() 265 if (nullptr == ret) { in do_usb_open() 272 if (nullptr == ret->adb_interface) { in do_usb_open() [all …]
|
/system/update_engine/client_library/ |
D | client_dbus.cc | 85 nullptr); in AttemptUpdate() 90 return proxy_->AttemptInstall(omaha_url, dlc_ids, nullptr); in AttemptInstall() 95 return proxy_->SetDlcActiveValue(is_active, dlc_id, /*error=*/nullptr); in SetDlcActiveValue() 100 if (!proxy_->GetStatusAdvanced(&status, nullptr)) { in GetStatus() 109 return proxy_->SetCohortHint(cohort_hint, nullptr); in SetCohortHint() 113 return proxy_->GetCohortHint(cohort_hint, nullptr); in GetCohortHint() 117 return proxy_->SetUpdateOverCellularPermission(allowed, nullptr); in SetUpdateOverCellularPermission() 122 return proxy_->GetUpdateOverCellularPermission(allowed, nullptr); in GetUpdateOverCellularPermission() 126 return proxy_->SetP2PUpdatePermission(enabled, nullptr); in SetP2PUpdatePermission() 130 return proxy_->GetP2PUpdatePermission(enabled, nullptr); in GetP2PUpdatePermission() [all …]
|