/system/libvintf/libaidlvintf_test_helper/ |
D | Vintf.cpp | 24 std::vector<std::string> getAidlHalInstanceNames(const std::string& descriptor) { in getAidlHalInstanceNames() argument 25 size_t lastDot = descriptor.rfind('.'); in getAidlHalInstanceNames() 26 CHECK(lastDot != std::string::npos) << "Invalid descriptor: " << descriptor; in getAidlHalInstanceNames() 27 const std::string package = descriptor.substr(0, lastDot); in getAidlHalInstanceNames() 28 const std::string iface = descriptor.substr(lastDot + 1); in getAidlHalInstanceNames() 34 ret.push_back(descriptor + "/" + instance); in getAidlHalInstanceNames() 39 ret.push_back(descriptor + "/" + instance); in getAidlHalInstanceNames() 45 std::vector<std::string> getAidlHalInstanceNames(const String16& descriptor) { in getAidlHalInstanceNames() argument 46 return getAidlHalInstanceNames(String8(descriptor).c_str()); in getAidlHalInstanceNames()
|
/system/libhidl/transport/ |
D | HidlPassthroughSupport.cpp | 30 static sp<IBase> tryWrap(const std::string& descriptor, sp<IBase> iface) { in tryWrap() argument 31 auto func = getBsConstructorMap().get(descriptor, nullptr); in tryWrap() 34 func = gBsConstructorMap->get(descriptor, nullptr); in tryWrap() 59 for (const std::string& descriptor : types) { in wrapPassthroughInternal() local 60 base = tryWrap(descriptor, iface); in wrapPassthroughInternal()
|
D | ServiceManagement.cpp | 109 __attribute__((noinline)) static void tryShortenProcessName(const std::string& descriptor) { in tryShortenProcessName() argument 116 if (!base::StartsWith(packageWithoutVersion(processName), packageWithoutVersion(descriptor))) { in tryShortenProcessName() 121 size_t lastDot = descriptor.rfind('.'); in tryShortenProcessName() 123 size_t secondDot = descriptor.rfind('.', lastDot - 1); in tryShortenProcessName() 147 if (base::StartsWith(descriptor, oldComm)) { in tryShortenProcessName() 185 static void onRegistrationImpl(const std::string& descriptor, const std::string& instanceName) { in onRegistrationImpl() argument 186 LOG(INFO) << "Registered " << descriptor << "/" << instanceName; in onRegistrationImpl() 187 tryShortenProcessName(descriptor); in onRegistrationImpl() 562 std::vector<std::string> getAllHalInstanceNames(const std::string& descriptor) { in getAllHalInstanceNames() argument 565 sm->listManifestByInterface(descriptor, [&](const auto& instances) { in getAllHalInstanceNames() [all …]
|
D | HidlBinderSupport.cpp | 243 std::string descriptor = details::getDescriptor(ifacePtr); in getOrCreateCachedBinder() local 244 if (descriptor.empty()) { in getOrCreateCachedBinder() 256 auto func = details::getBnConstructorMap().get(descriptor, nullptr); in getOrCreateCachedBinder() 259 func = details::gBnConstructorMap->get(descriptor, nullptr); in getOrCreateCachedBinder() 262 descriptor.c_str()); in getOrCreateCachedBinder() 266 __func__, descriptor.c_str()); in getOrCreateCachedBinder()
|
D | HidlLazyUtils.cpp | 136 const std::string descriptor = getDescriptor(service.get()); in registerServiceLocked() local 138 LOG(INFO) << "Registering HAL: " << descriptor << " with name: " << name; in registerServiceLocked() 198 const std::string descriptor = getDescriptor(entry.service.get()); in tryUnregisterLocked() local 199 bool success = manager->tryUnregister(descriptor, entry.name, entry.service); in tryUnregisterLocked() 202 LOG(INFO) << "Failed to unregister HAL " << descriptor << "/" << entry.name; in tryUnregisterLocked()
|
D | LegacySupport.cpp | 49 [&actualName](const hidl_string& descriptor) { actualName = descriptor; }); in registerPassthroughServiceImplementation() argument
|
/system/core/libprocessgroup/setup/ |
D | cgroup_map_write.cpp | 168 CgroupDescriptor descriptor( in MergeCgroupToDescriptors() local 174 descriptors->emplace(name, descriptor); in MergeCgroupToDescriptors() 176 iter->second = descriptor; in MergeCgroupToDescriptors() 252 static bool SetupCgroup(const CgroupDescriptor& descriptor) { in SetupCgroup() argument 253 const format::CgroupController* controller = descriptor.controller(); in SetupCgroup() 270 if (!ChangeDirModeAndOwner(controller->path(), descriptor.mode(), descriptor.uid(), in SetupCgroup() 271 descriptor.gid())) { in SetupCgroup() 276 if (!Mkdir(controller->path(), descriptor.mode(), descriptor.uid(), descriptor.gid())) { in SetupCgroup() 293 if (!Mkdir(controller->path(), descriptor.mode(), descriptor.uid(), descriptor.gid())) { in SetupCgroup() 355 for (const auto& [name, descriptor] : descriptors) { in WriteRcFile() [all …]
|
/system/bt/bta/hh/ |
D | bta_hh_api.cc | 312 size_t len = sizeof(tBTA_HH_MAINT_DEV) + dscp_info.descriptor.dl_len; in BTA_HhAddDev() 325 if (dscp_info.descriptor.dl_len != 0 && dscp_info.descriptor.dsc_list) { in BTA_HhAddDev() 326 p_buf->dscp_info.descriptor.dl_len = dscp_info.descriptor.dl_len; in BTA_HhAddDev() 327 p_buf->dscp_info.descriptor.dsc_list = (uint8_t*)(p_buf + 1); in BTA_HhAddDev() 328 memcpy(p_buf->dscp_info.descriptor.dsc_list, dscp_info.descriptor.dsc_list, in BTA_HhAddDev() 329 dscp_info.descriptor.dl_len); in BTA_HhAddDev() 331 p_buf->dscp_info.descriptor.dsc_list = NULL; in BTA_HhAddDev() 332 p_buf->dscp_info.descriptor.dl_len = 0; in BTA_HhAddDev()
|
D | bta_hh_utils.cc | 129 osi_free_and_reset((void**)&p_cb->dscp_info.descriptor.dsc_list); in bta_hh_clean_up_kdev() 189 osi_free_and_reset((void**)&p_cb->dscp_info.descriptor.dsc_list); in bta_hh_add_device_to_list() 192 p_cb->dscp_info.descriptor.dsc_list = in bta_hh_add_device_to_list() 194 p_cb->dscp_info.descriptor.dl_len = p_dscp_info->dl_len; in bta_hh_add_device_to_list() 195 memcpy(p_cb->dscp_info.descriptor.dsc_list, p_dscp_info->dsc_list, in bta_hh_add_device_to_list() 306 (void**)&bta_hh_cb.kdev[xx].dscp_info.descriptor.dsc_list); in bta_hh_cleanup_disable()
|
/system/core/fs_mgr/libvbmeta/ |
D | reader.cpp | 47 InternalVBMetaDescriptor descriptor; in LoadVBMetaDescriptors() local 48 memcpy(&descriptor, (char*)buffer + p, SUPER_VBMETA_DESCRIPTOR_SIZE); in LoadVBMetaDescriptors() 51 descriptor.vbmeta_name = std::string((char*)buffer + p, descriptor.vbmeta_name_length); in LoadVBMetaDescriptors() 52 p += descriptor.vbmeta_name_length; in LoadVBMetaDescriptors() 54 descriptors->emplace_back(std::move(descriptor)); in LoadVBMetaDescriptors()
|
/system/libhidl/transport/include/hidl/ |
D | ServiceManagement.h | 54 void preloadPassthroughService(const std::string &descriptor); 65 sp<::android::hidl::base::V1_0::IBase> getRawServiceInternal(const std::string& descriptor, 87 std::vector<std::string> getAllHalInstanceNames(const std::string& descriptor); 97 details::preloadPassthroughService(I::descriptor); in preloadPassthroughService()
|
D | LegacySupport.h | 56 return registerPassthroughServiceImplementation(Interface::descriptor, 57 ExpectInterface::descriptor, name); 97 Interface::descriptor, ExpectInterface::descriptor,
|
/system/libvintf/libaidlvintf_test_helper/include/aidl/ |
D | Vintf.h | 24 std::vector<std::string> getAidlHalInstanceNames(const std::string& descriptor); 25 std::vector<std::string> getAidlHalInstanceNames(const String16& descriptor);
|
/system/chre/chpp/ |
D | services.c | 104 chppUuidToStr(newService->descriptor.uuid, uuidText); in chppRegisterService() 111 newService->descriptor.name, uuidText, in chppRegisterService() 112 newService->descriptor.version.major, in chppRegisterService() 113 newService->descriptor.version.minor, in chppRegisterService() 114 newService->descriptor.version.patch, newService->minLength); in chppRegisterService()
|
/system/bt/bta/hd/ |
D | bta_hd_api.cc | 127 if (p_app_info->descriptor.dl_len > BTA_HD_APP_DESCRIPTOR_LEN) { in BTA_HdRegisterApp() 128 p_app_info->descriptor.dl_len = BTA_HD_APP_DESCRIPTOR_LEN; in BTA_HdRegisterApp() 131 p_buf->d_len = p_app_info->descriptor.dl_len; in BTA_HdRegisterApp() 132 memcpy(p_buf->d_data, p_app_info->descriptor.dsc_list, in BTA_HdRegisterApp() 133 p_app_info->descriptor.dl_len); in BTA_HdRegisterApp()
|
/system/chre/chpp/clients/ |
D | discovery.c | 83 &context->registeredClients[i]->descriptor, service)) { in chppFindMatchingClient() 158 ->descriptor.version.major, in chppDiscoveryProcessDiscoverAll() 160 ->descriptor.version.minor, in chppDiscoveryProcessDiscoverAll() 162 ->descriptor.version.patch, in chppDiscoveryProcessDiscoverAll() 177 ->descriptor.version.major, in chppDiscoveryProcessDiscoverAll() 179 ->descriptor.version.minor, in chppDiscoveryProcessDiscoverAll() 181 ->descriptor.version.patch, in chppDiscoveryProcessDiscoverAll()
|
/system/hardware/interfaces/wifi/keystore/1.0/default/ |
D | keystore.cpp | 123 ks2::KeyDescriptor descriptor = mkKeyDescriptor(alias); in keyStore2GetCert() local 134 descriptor.nspace = static_cast<int64_t>(tmp); in keyStore2GetCert() 135 descriptor.domain = ks2::Domain::GRANT; in keyStore2GetCert() 136 descriptor.alias = std::nullopt; in keyStore2GetCert() 140 auto rc = keystore2->getKeyEntry(descriptor, &response); in keyStore2GetCert() 176 ks2::KeyDescriptor descriptor = mkKeyDescriptor(alias); in keyStore2GetPubKey() local 179 auto rc = keystore2->getKeyEntry(descriptor, &response); in keyStore2GetPubKey() 216 ks2::KeyDescriptor descriptor = mkKeyDescriptor(alias); in keyStore2Sign() local 219 auto rc = keystore2->getKeyEntry(descriptor, &response); in keyStore2Sign() 265 rc = sec_level->createOperation(descriptor, op_params, false /* forced */, &op_response); in keyStore2Sign()
|
/system/extras/simpleperf/ |
D | JITDebugReader.cpp | 569 bool JITDebugReader::LoadDescriptor(bool is_64bit, const char* data, Descriptor* descriptor) { in LoadDescriptor() argument 571 return LoadDescriptorImpl<JITDescriptor64>(data, descriptor); in LoadDescriptor() 573 return LoadDescriptorImpl<JITDescriptor32>(data, descriptor); in LoadDescriptor() 577 bool JITDebugReader::LoadDescriptorImpl(const char* data, Descriptor* descriptor) { in LoadDescriptorImpl() argument 583 descriptor->action_seqlock = raw_descriptor.action_seqlock; in LoadDescriptorImpl() 584 descriptor->action_timestamp = raw_descriptor.action_timestamp; in LoadDescriptorImpl() 585 descriptor->first_entry_addr = raw_descriptor.first_entry_addr; in LoadDescriptorImpl() 586 descriptor->version = raw_descriptor.AndroidVersion(); in LoadDescriptorImpl() 593 bool JITDebugReader::ReadNewCodeEntries(Process& process, const Descriptor& descriptor, in ReadNewCodeEntries() argument 596 if (descriptor.version == 1) { in ReadNewCodeEntries() [all …]
|
/system/extras/libfec/ |
D | avb_utils.cpp | 71 auto parse_descriptor = [](const AvbDescriptor *descriptor, in parse_avb_image() 73 if (descriptor && in parse_avb_image() 74 avb_be64toh(descriptor->tag) == AVB_DESCRIPTOR_TAG_HASHTREE) { in parse_avb_image() 76 *desp = descriptor; in parse_avb_image()
|
/system/chre/chpp/services/ |
D | wwan.c | 49 .descriptor.uuid = CHPP_UUID_WWAN_STANDARD, 52 .descriptor.name = "WWAN", 55 .descriptor.version.major = 1, 56 .descriptor.version.minor = 0, 57 .descriptor.version.patch = 0,
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/ |
D | ITestService.java | 267 java.lang.String descriptor = DESCRIPTOR; in onTransact() local 272 reply.writeString(descriptor); in onTransact() 280 data.enforceInterface(descriptor); in onTransact() 290 data.enforceInterface(descriptor); in onTransact() 297 data.enforceInterface(descriptor); in onTransact() 303 data.enforceInterface(descriptor); in onTransact() 313 data.enforceInterface(descriptor); in onTransact() 323 data.enforceInterface(descriptor); in onTransact() 333 data.enforceInterface(descriptor); in onTransact() 343 data.enforceInterface(descriptor); in onTransact() [all …]
|
D | INewName.java | 48 java.lang.String descriptor = DESCRIPTOR; in onTransact() local 53 reply.writeString(descriptor); in onTransact() 61 data.enforceInterface(descriptor); in onTransact()
|
D | INamedCallback.java | 48 java.lang.String descriptor = DESCRIPTOR; in onTransact() local 53 reply.writeString(descriptor); in onTransact() 61 data.enforceInterface(descriptor); in onTransact()
|
/system/bt/btif/src/ |
D | btif_hh.cc | 479 dest->descriptor.dl_len = 0; in btif_hh_copy_hid_info() 480 if (src->descriptor.dl_len > 0) { in btif_hh_copy_hid_info() 481 dest->descriptor.dsc_list = (uint8_t*)osi_malloc(src->descriptor.dl_len); in btif_hh_copy_hid_info() 483 memcpy(dest->descriptor.dsc_list, src->descriptor.dsc_list, in btif_hh_copy_hid_info() 484 src->descriptor.dl_len); in btif_hh_copy_hid_info() 485 dest->descriptor.dl_len = src->descriptor.dl_len; in btif_hh_copy_hid_info() 952 len = p_data->dscp_info.descriptor.dl_len; in btif_hh_upstreams_evt() 984 p_data->dscp_info.descriptor.dsc_list); in btif_hh_upstreams_evt() 999 p_data->dscp_info.descriptor.dsc_list); in btif_hh_upstreams_evt() 1005 if (dscp_info.descriptor.dl_len > 0 && in btif_hh_upstreams_evt() [all …]
|
/system/libhidl/transport/base/1.0/vts/functional/ |
D | vts_ibase_test.cpp | 85 if (instance.getFqName().string() == IBase::descriptor) { in GetHal() 160 if (fqInstance.getFqName().string() != IBase::descriptor) { in GetPidInterfacesMap() 196 EXPECT_OK(base.service->interfaceDescriptor([&](const auto& descriptor) { in TEST_F() argument 198 EXPECT_GT(descriptor.size(), 0u) << base.name; in TEST_F() 199 EXPECT_NE(IBase::descriptor, descriptor) << base.name; in TEST_F()
|