/system/libhidl/base/ |
D | HidlSupport.cpp | 139 hidl_string::hidl_string() : mBuffer(kEmptyString), mSize(0), mOwnsBuffer(false) { in hidl_string() function in android::hardware::hidl_string 143 hidl_string::~hidl_string() { in ~hidl_string() 147 hidl_string::hidl_string(const char *s) : hidl_string() { in hidl_string() function in android::hardware::hidl_string 155 hidl_string::hidl_string(const char *s, size_t length) : hidl_string() { in hidl_string() function in android::hardware::hidl_string 159 hidl_string::hidl_string(const hidl_string &other): hidl_string() { in hidl_string() function in android::hardware::hidl_string 163 hidl_string::hidl_string(const std::string &s) : hidl_string() { in hidl_string() function in android::hardware::hidl_string 167 hidl_string::hidl_string(hidl_string&& other) noexcept : hidl_string() { in hidl_string() function in android::hardware::hidl_string 168 moveFrom(std::forward<hidl_string>(other)); in hidl_string() 171 hidl_string& hidl_string::operator=(hidl_string&& other) noexcept { in operator =() 174 moveFrom(std::forward<hidl_string>(other)); in operator =() [all …]
|
/system/hwservicemanager/ |
D | ServiceManager.h | 34 using ::android::hardware::hidl_string; 45 Return<sp<IBase>> get(const hidl_string& fqName, 46 const hidl_string& name) override; 47 Return<bool> add(const hidl_string& name, 50 Return<Transport> getTransport(const hidl_string& fqName, 51 const hidl_string& name); 54 Return<void> listByInterface(const hidl_string& fqInstanceName, 57 Return<bool> registerForNotifications(const hidl_string& fqName, 58 const hidl_string& name, 62 Return<void> registerPassthroughClient(const hidl_string &fqName, [all …]
|
D | ServiceManager.cpp | 183 const hidl_string &fqName, in sendPackageRegistrationNotification() 184 const hidl_string &instanceName) { in sendPackageRegistrationNotification() 269 Return<sp<IBase>> ServiceManager::get(const hidl_string& hidlFqName, in get() 270 const hidl_string& hidlName) { in get() 312 Return<bool> ServiceManager::add(const hidl_string& name, const sp<IBase>& service) { in add() 340 const hidl_vec<hidl_string>& interfaceChain, in addImpl() 457 Return<ServiceManager::Transport> ServiceManager::getTransport(const hidl_string& fqName, in getTransport() 458 const hidl_string& name) { in getTransport() 482 hidl_vec<hidl_string> list; in list() 496 Return<void> ServiceManager::listByInterface(const hidl_string& fqName, in listByInterface() [all …]
|
D | HidlService.cpp | 211 hidl_string iface = mInterfaceName; in sendRegistrationNotifications() 212 hidl_string name = mInstanceName; in sendRegistrationNotifications()
|
/system/netd/server/ |
D | NetdHwService.h | 26 using android::hardware::hidl_string; 39 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination, 40 const hidl_string& nexthop) override; 42 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination, 43 const hidl_string& nexthop) override; 45 const hidl_string& ifname) override; 47 const hidl_string& ifname) override; 49 Return <StatusCode> setForwardingBetweenInterfaces(const hidl_string& inputIfName, 50 const hidl_string& outputIfName,
|
D | NetdHwService.cpp | 90 const char* maybeNullString(const hidl_string& nexthop) { in maybeNullString() 100 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination, in addRouteToOemNetwork() 101 const hidl_string& nexthop) { in addRouteToOemNetwork() 111 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination, in removeRouteFromOemNetwork() 112 const hidl_string& nexthop) { in removeRouteFromOemNetwork() 121 const hidl_string& ifname) { in addInterfaceToOemNetwork() 129 const hidl_string& ifname) { in removeInterfaceFromOemNetwork() 146 const hidl_string& inputIfName, const hidl_string& outputIfName, bool enable) { in setForwardingBetweenInterfaces()
|
/system/libhidl/ |
D | test_main.cpp | 81 using android::hardware::hidl_string; in TEST_F() 82 hidl_string s; // empty constructor in TEST_F() 84 hidl_string s1 = "s1"; // copy = from cstr in TEST_F() 86 hidl_string s2("s2"); // copy constructor from cstr in TEST_F() 88 hidl_string s2a(nullptr); // copy constructor from null cstr in TEST_F() 92 hidl_string s3 = hidl_string("s3"); // move = in TEST_F() 94 hidl_string s4 = hidl_string("12345", 3); // copy constructor from cstr w/ length in TEST_F() 96 hidl_string s5(hidl_string(hidl_string("s5"))); // move constructor in TEST_F() 98 hidl_string s6(std::string("s6")); // copy constructor from std::string in TEST_F() 100 hidl_string s7 = std::string("s7"); // copy = from std::string in TEST_F() [all …]
|
/system/libhidl/fuzzer/ |
D | libHidlBase_fuzzer_helper.h | 31 hidl_string createHidlString(FuzzedDataProvider& fdp) { in createHidlString() 32 auto invokeHidlString = fdp.PickValueInArray<const std::function<hidl_string()>>({ in createHidlString() 33 [&]() { return hidl_string(fdp.ConsumeRandomLengthString(kMaxBytes)); }, in createHidlString() 34 [&]() { return hidl_string((fdp.ConsumeRandomLengthString(kMaxBytes)).c_str()); }, in createHidlString() 37 return hidl_string(testString.c_str(), in createHidlString()
|
D | libHidlBase_parcel_fuzzer.cpp | 50 hidl_string hidlString = createHidlString(mFdp); in createRandomParcel() 144 hidl_string hidlString = createHidlString(mFdp); in process()
|
/system/libhidl/transport/ |
D | ServiceManagement.cpp | 199 static bool isServiceManager(const hidl_string& fqName) { in isServiceManager() 214 Return<sp<IBase>> get(const hidl_string& fqName, const hidl_string&) override { in get() 223 Return<bool> add(const hidl_string& name, const sp<IBase>& /* service */) override { in add() 228 Return<Transport> getTransport(const hidl_string& fqName, const hidl_string& name) { in getTransport() 245 Return<void> listByInterface(const hidl_string& fqName, listByInterface_cb _hidl_cb) override { in listByInterface() 270 Return<bool> registerForNotifications(const hidl_string& fqName, const hidl_string& name, in registerForNotifications() 301 Return<void> registerPassthroughClient(const hidl_string& fqName, in registerPassthroughClient() 302 const hidl_string& name) override { in registerPassthroughClient() 309 Return<bool> unregisterForNotifications(const hidl_string& fqName, const hidl_string& name, in unregisterForNotifications() 322 Return<bool> registerClientCallback(const hidl_string& fqName, const hidl_string& name, in registerClientCallback() [all …]
|
D | HidlBinderSupport.cpp | 132 const size_t hidl_string::kOffsetOfBuffer = offsetof(hidl_string, mBuffer); 133 static_assert(hidl_string::kOffsetOfBuffer == 0, "wrong offset"); 135 status_t readEmbeddedFromParcel(const hidl_string &string , in readEmbeddedFromParcel() 143 parentOffset + hidl_string::kOffsetOfBuffer, in readEmbeddedFromParcel() 159 status_t writeEmbeddedToParcel(const hidl_string &string, in writeEmbeddedToParcel() 166 parentOffset + hidl_string::kOffsetOfBuffer); in writeEmbeddedToParcel()
|
D | HidlTransportUtils.cpp | 39 auto chainRet = interface->interfaceChain([&](const hidl_vec<hidl_string> &types) { in canCastInterface() 64 auto ret = interface->interfaceDescriptor([&](const hidl_string &types) { in getDescriptor()
|
/system/hardware/interfaces/wifi/keystore/1.0/default/include/wifikeystorehal/ |
D | keystore.h | 21 using ::android::hardware::hidl_string; 31 Return<void> getBlob(const hidl_string& key, getBlob_cb _hidl_cb) override; 33 const hidl_string& keyId, getPublicKey_cb _hidl_cb) override; 35 const hidl_string& keyId, const hidl_vec<uint8_t>& dataToSign,
|
/system/libhidl/base/include/hidl/ |
D | HidlSupport.h | 137 struct hidl_string { struct 138 hidl_string(); 139 ~hidl_string(); 142 hidl_string(const hidl_string &); 144 hidl_string(const char *); 146 hidl_string(const char *, size_t length); 148 hidl_string(const std::string &); 151 hidl_string(hidl_string &&) noexcept; 158 hidl_string &operator=(const hidl_string &); argument 160 hidl_string &operator=(const char *s); argument [all …]
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | SystemSuspendHidl.h | 30 using ::android::hardware::hidl_string; 52 Return<sp<IWakeLock>> acquireWakeLock(WakeLockType type, const hidl_string& name) override;
|
D | SystemSuspendHidl.cpp | 58 const hidl_string& name) { in acquireWakeLock()
|
/system/security/keystore/ |
D | keystore_get_wifi_hidl.cpp | 30 using android::hardware::hidl_string; 58 Return<void> ret = service->getBlob(hidl_string(key, keyLength), cb); in keystore_get()
|
/system/hardware/interfaces/wifi/keystore/1.0/default/ |
D | keystore.cpp | 62 using android::hardware::hidl_string; 105 std::optional<std::vector<uint8_t>> keyStore2GetCert(const hidl_string& key) { in keyStore2GetCert() 162 std::optional<std::vector<uint8_t>> keyStore2GetPubKey(const hidl_string& key) { in keyStore2GetPubKey() 201 std::optional<std::vector<uint8_t>> keyStore2Sign(const hidl_string& key, in keyStore2Sign() 301 std::optional<std::vector<uint8_t>> getLegacyKeystoreBlob(const hidl_string& key) { in getLegacyKeystoreBlob() 329 Return<void> Keystore::getBlob(const hidl_string& key, getBlob_cb _hidl_cb) { in getBlob() 350 Return<void> Keystore::getPublicKey(const hidl_string& keyId, getPublicKey_cb _hidl_cb) { in getPublicKey() 360 Return<void> Keystore::sign(const hidl_string& keyId, const hidl_vec<uint8_t>& dataToSign, in sign()
|
/system/chre/host/hal_generic/common/ |
D | generic_context_hub_base.h | 47 using ::android::hardware::hidl_string; 80 inline hidl_vec<hidl_string> stringVectorToHidl( in stringVectorToHidl() 82 std::vector<hidl_string> outList; in stringVectorToHidl() 112 const hidl_vec<hidl_string> & /* options */) override { in debug() argument 288 hidl_vec<hidl_string> msgContentPerms = stringVectorToHidl( in onNanoappMessage()
|
/system/libhidl/transport/memory/1.0/default/ |
D | AshmemMapper.h | 34 using ::android::hardware::hidl_string;
|
D | AshmemMemory.h | 33 using ::android::hardware::hidl_string;
|
/system/libhidl/transport/allocator/1.0/default/ |
D | AshmemAllocator.h | 33 using ::android::hardware::hidl_string;
|
/system/tools/hidl/test/lazy_test/ |
D | hidl_lazy_test.cpp | 45 using ::android::hardware::hidl_string; 82 [&](const hidl_vec<hidl_string>& instanceNames) { in isServiceRunning() 83 for (const hidl_string& name : instanceNames) { in isServiceRunning()
|
/system/tools/hidl/test/hidl_test/ |
D | FooCallback.h | 20 using ::android::hardware::hidl_string;
|
D | hidl_test_client.cpp | 111 using ::android::hardware::hidl_string; 233 hidl_vec<hidl_string> vec; in customVecStr() 240 _cb(hidl_string()); in mystr() 290 hidl_vec<hidl_string> vec; in customVecStr() 297 _cb(hidl_string()); in mystr() 316 Return<void> onRegistration(const hidl_string &fqName, in onRegistration() 317 const hidl_string &name, in onRegistration() 493 .multidimArray = hidl_vec<hidl_string>{"hello", "great", "awesome", "nice"}.data(), in TEST_F() 494 .sArray = hidl_vec<hidl_string>{"awesome", "thanks", "you're welcome"}.data(), in TEST_F() 672 EXPECT_OK(manager->list([&activeSet](const hidl_vec<hidl_string> ®istered){ in TEST_F() [all …]
|