/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() 263 Return<sp<IBase>> ServiceManager::get(const hidl_string& hidlFqName, in get() 264 const hidl_string& hidlName) { in get() 306 Return<bool> ServiceManager::add(const hidl_string& name, const sp<IBase>& service) { in add() 329 const hidl_vec<hidl_string>& interfaceChain, in addImpl() 409 Return<ServiceManager::Transport> ServiceManager::getTransport(const hidl_string& fqName, in getTransport() 410 const hidl_string& name) { in getTransport() 434 hidl_vec<hidl_string> list; in list() 448 Return<void> ServiceManager::listByInterface(const hidl_string& fqName, in listByInterface() [all …]
|
/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 | 95 const char* maybeNullString(const hidl_string& nexthop) { in maybeNullString() 105 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination, in addRouteToOemNetwork() 106 const hidl_string& nexthop) { in addRouteToOemNetwork() 116 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination, in removeRouteFromOemNetwork() 117 const hidl_string& nexthop) { in removeRouteFromOemNetwork() 126 const hidl_string& ifname) { in addInterfaceToOemNetwork() 134 const hidl_string& ifname) { in removeInterfaceFromOemNetwork() 151 const hidl_string& inputIfName, const hidl_string& outputIfName, bool enable) { in setForwardingBetweenInterfaces()
|
/system/libhidl/ |
D | test_main.cpp | 83 using android::hardware::hidl_string; in TEST_F() 84 hidl_string s; // empty constructor in TEST_F() 86 hidl_string s1 = "s1"; // copy = from cstr in TEST_F() 88 hidl_string s2("s2"); // copy constructor from cstr in TEST_F() 90 hidl_string s2a(nullptr); // copy constructor from null cstr in TEST_F() 94 hidl_string s3 = hidl_string("s3"); // move = in TEST_F() 96 hidl_string s4 = hidl_string("12345", 3); // copy constructor from cstr w/ length in TEST_F() 98 hidl_string s5(hidl_string(hidl_string("s5"))); // move constructor in TEST_F() 100 hidl_string s6(std::string("s6")); // copy constructor from std::string in TEST_F() 102 hidl_string s7 = std::string("s7"); // copy = from std::string in TEST_F() [all …]
|
/system/hardware/interfaces/wifi/keystore/1.0/default/include/wifikeystorehal/ |
D | keystore.h | 22 using ::android::hardware::hidl_string; 32 Return<void> getBlob(const hidl_string& key, getBlob_cb _hidl_cb) override; 34 const hidl_string& keyId, getPublicKey_cb _hidl_cb) override; 36 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/core/trusty/confirmationui/ |
D | TrustyConfirmationUI.h | 41 using ::android::hardware::hidl_string; 55 const hidl_string& promptText, 57 const hidl_string& locale,
|
D | TrustyConfirmationUI.cpp | 122 inline MsgString hidl2MsgString(const hidl_string& s) { in hidl2MsgString() 391 const sp<IConfirmationResultCallback>& resultCB, const hidl_string& promptText, in promptUserConfirmation() 392 const hidl_vec<uint8_t>& extraData, const hidl_string& locale, in promptUserConfirmation() 416 [this](sp<IConfirmationResultCallback> resultCB, hidl_string promptText, in promptUserConfirmation() 417 hidl_vec<uint8_t> extraData, hidl_string locale, hidl_vec<UIOption> uiOptions) { in promptUserConfirmation()
|
/system/libhidl/transport/ |
D | HidlBinderSupport.cpp | 129 const size_t hidl_string::kOffsetOfBuffer = offsetof(hidl_string, mBuffer); 130 static_assert(hidl_string::kOffsetOfBuffer == 0, "wrong offset"); 132 status_t readEmbeddedFromParcel(const hidl_string &string , in readEmbeddedFromParcel() 140 parentOffset + hidl_string::kOffsetOfBuffer, in readEmbeddedFromParcel() 156 status_t writeEmbeddedToParcel(const hidl_string &string, in writeEmbeddedToParcel() 163 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()
|
D | ServiceManagement.cpp | 310 static void registerReference(const hidl_string &interfaceName, const hidl_string &instanceName) { in registerReference() 446 Return<sp<IBase>> get(const hidl_string& fqName, in get() 447 const hidl_string& name) override { in get() 481 Return<bool> add(const hidl_string& /* name */, in add() 487 Return<Transport> getTransport(const hidl_string& /* fqName */, in getTransport() 488 const hidl_string& /* name */) { in getTransport() 497 Return<void> listByInterface(const hidl_string& /* fqInstanceName */, in listByInterface() 504 Return<bool> registerForNotifications(const hidl_string& /* fqName */, in registerForNotifications() 505 const hidl_string& /* name */, in registerForNotifications() 566 Return<void> registerPassthroughClient(const hidl_string &, const hidl_string &) override { in registerPassthroughClient() [all …]
|
/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()
|
D | keystore_main.cpp | 43 using ::android::hardware::hidl_string; 60 Wrapper::WrappedIKeymasterDevice::descriptor, [&](const hidl_vec<hidl_string>& names) { in enumerateKeymasterDevices() 128 using android::hardware::hidl_string; in main()
|
/system/tools/hidl/test/lazy_test/ |
D | hidl_lazy_test.cpp | 36 using ::android::hardware::hidl_string; 82 [&](const hidl_vec<hidl_string>& instanceNames) { in isServiceRunning() 83 for (const hidl_string& name : instanceNames) { in isServiceRunning()
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | SystemSuspend.h | 39 using ::android::hardware::hidl_string; 87 Return<sp<IWakeLock>> acquireWakeLock(WakeLockType type, const hidl_string& name) override;
|
/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/java_test/ |
D | hidl_test_java_native.cpp | 54 using ::android::hardware::hidl_string; 87 Return<void> concatTwoStrings(const hidl_string& a, const hidl_string& b, in concatTwoStrings() 89 hidl_string result = std::string(a) + std::string(b); in concatTwoStrings() 494 hidl_array<hidl_string, 5, 3> in; in TEST_F() 495 hidl_array<hidl_string, 3, 5> expectedOut; in TEST_F() 635 hidl_array<hidl_string, 3> string_params; in TEST_F() 640 hidl_array<hidl_string, 2> expected; in TEST_F() 653 hidl_vec<hidl_string> string_vec{ "Uno", "Dos", "Tres", "Cuatro" }; in TEST_F() 654 hidl_vec<hidl_string> expected{"Hello", "World"}; in TEST_F() 854 safeUnion, hidl_string(testString), [&](const LargeSafeUnion& safeUnion) { in TEST_F() [all …]
|
/system/core/fastboot/device/ |
D | fastboot_device.cpp | 37 using ::android::hardware::hidl_string; 106 auto cb = [&suffix](hidl_string s) { suffix = s; }; in GetCurrentSlot()
|
/system/tools/hidl/test/hidl_test/ |
D | FooCallback.h | 20 using ::android::hardware::hidl_string;
|
/system/extras/bootctl/ |
D | bootctl.cpp | 25 using android::hardware::hidl_string; 216 std::function<void(hidl_string)> cb = [](hidl_string suffix){ in do_get_suffix()
|
/system/chre/host/hal_generic/ |
D | generic_context_hub.h | 48 using ::android::hardware::hidl_string; 57 Return<void> debug(const hidl_handle& fd, const hidl_vec<hidl_string>& options) override;
|