Home
last modified time | relevance | path

Searched refs:hidl_string (Results 1 – 25 of 39) sorted by relevance

12

/system/libhidl/base/
DHidlSupport.cpp141 hidl_string::hidl_string() { in hidl_string() function in android::hardware::hidl_string
148 hidl_string::~hidl_string() { in ~hidl_string()
152 hidl_string::hidl_string(const char *s) : hidl_string() { in hidl_string() function in android::hardware::hidl_string
160 hidl_string::hidl_string(const char *s, size_t length) : hidl_string() { in hidl_string() function in android::hardware::hidl_string
164 hidl_string::hidl_string(const hidl_string &other): hidl_string() { in hidl_string() function in android::hardware::hidl_string
168 hidl_string::hidl_string(const std::string &s) : hidl_string() { in hidl_string() function in android::hardware::hidl_string
172 hidl_string::hidl_string(hidl_string&& other) noexcept : hidl_string() { in hidl_string() function in android::hardware::hidl_string
173 moveFrom(std::forward<hidl_string>(other)); in hidl_string()
176 hidl_string& hidl_string::operator=(hidl_string&& other) noexcept { in operator =()
179 moveFrom(std::forward<hidl_string>(other)); in operator =()
[all …]
/system/hwservicemanager/
DServiceManager.h35 using ::android::hardware::hidl_string;
46 Return<sp<IBase>> get(const hidl_string& fqName,
47 const hidl_string& name) override;
48 Return<bool> add(const hidl_string& name,
51 Return<Transport> getTransport(const hidl_string& fqName,
52 const hidl_string& name);
55 Return<void> listByInterface(const hidl_string& fqInstanceName,
58 Return<bool> registerForNotifications(const hidl_string& fqName,
59 const hidl_string& name,
63 Return<void> registerPassthroughClient(const hidl_string &fqName,
[all …]
DServiceManager.cpp183 const hidl_string &fqName, in sendPackageRegistrationNotification()
184 const hidl_string &instanceName) { in sendPackageRegistrationNotification()
259 Return<sp<IBase>> ServiceManager::get(const hidl_string& hidlFqName, in get()
260 const hidl_string& hidlName) { in get()
296 Return<bool> ServiceManager::add(const hidl_string& name, const sp<IBase>& service) { in add()
319 const hidl_vec<hidl_string>& interfaceChain, in addImpl()
399 Return<ServiceManager::Transport> ServiceManager::getTransport(const hidl_string& fqName, in getTransport()
400 const hidl_string& name) { in getTransport()
424 hidl_vec<hidl_string> list; in list()
438 Return<void> ServiceManager::listByInterface(const hidl_string& fqName, in listByInterface()
[all …]
DHidlService.cpp211 hidl_string iface = mInterfaceName; in sendRegistrationNotifications()
212 hidl_string name = mInstanceName; in sendRegistrationNotifications()
DTokenManager.h36 using ::android::hardware::hidl_string;
/system/netd/server/
DNetdHwService.h26 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,
DNetdHwService.cpp95 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()
115 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination, in removeRouteFromOemNetwork()
116 const hidl_string& nexthop) { in removeRouteFromOemNetwork()
125 const hidl_string& ifname) { in addInterfaceToOemNetwork()
133 const hidl_string& ifname) { in removeInterfaceFromOemNetwork()
150 const hidl_string& inputIfName, const hidl_string& outputIfName, bool enable) { in setForwardingBetweenInterfaces()
/system/libhidl/
Dtest_main.cpp72 using android::hardware::hidl_string; in TEST_F()
73 hidl_string s; // empty constructor in TEST_F()
75 hidl_string s1 = "s1"; // copy = from cstr in TEST_F()
77 hidl_string s2("s2"); // copy constructor from cstr in TEST_F()
79 hidl_string s2a(nullptr); // copy constructor from null cstr in TEST_F()
83 hidl_string s3 = hidl_string("s3"); // move = in TEST_F()
85 hidl_string s4 = hidl_string("12345", 3); // copy constructor from cstr w/ length in TEST_F()
87 hidl_string s5(hidl_string(hidl_string("s5"))); // move constructor in TEST_F()
89 hidl_string s6(std::string("s6")); // copy constructor from std::string in TEST_F()
91 hidl_string s7 = std::string("s7"); // copy = from std::string in TEST_F()
[all …]
/system/hardware/interfaces/wifi/keystore/1.0/default/include/wifikeystorehal/
Dkeystore.h22 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/
DHidlSupport.h130 struct hidl_string { struct
131 hidl_string();
132 ~hidl_string();
135 hidl_string(const hidl_string &);
137 hidl_string(const char *);
139 hidl_string(const char *, size_t length);
141 hidl_string(const std::string &);
144 hidl_string(hidl_string &&) noexcept;
151 hidl_string &operator=(const hidl_string &); argument
153 hidl_string &operator=(const char *s); argument
[all …]
/system/libhidl/transport/
DHidlBinderSupport.cpp129 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()
DHidlTransportUtils.cpp39 auto chainRet = interface->interfaceChain([&](const hidl_vec<hidl_string> &types) { in canCastInterface()
64 auto ret = interface->interfaceDescriptor([&](const hidl_string &types) { in getDescriptor()
DServiceManagement.cpp270 static void registerReference(const hidl_string &interfaceName, const hidl_string &instanceName) { in registerReference()
417 Return<sp<IBase>> get(const hidl_string& fqName, in get()
418 const hidl_string& name) override { in get()
452 Return<bool> add(const hidl_string& /* name */, in add()
458 Return<Transport> getTransport(const hidl_string& /* fqName */, in getTransport()
459 const hidl_string& /* name */) { in getTransport()
468 Return<void> listByInterface(const hidl_string& /* fqInstanceName */, in listByInterface()
475 Return<bool> registerForNotifications(const hidl_string& /* fqName */, in registerForNotifications()
476 const hidl_string& /* name */, in registerForNotifications()
537 Return<void> registerPassthroughClient(const hidl_string &, const hidl_string &) override { in registerPassthroughClient()
[all …]
/system/security/keystore/
Dkeystore_get_wifi_hidl.cpp30 using android::hardware::hidl_string;
58 Return<void> ret = service->getBlob(hidl_string(key, keyLength), cb); in keystore_get()
Dkeystore_main.cpp50 using ::android::hardware::hidl_string;
66 Wrapper::WrappedIKeymasterDevice::descriptor, [&](const hidl_vec<hidl_string>& names) { in enumerateKeymasterDevices()
134 using android::hardware::hidl_string; in main()
/system/hardware/interfaces/suspend/1.0/default/
DSystemSuspend.h39 using ::android::hardware::hidl_string;
75 Return<sp<IWakeLock>> acquireWakeLock(WakeLockType type, const hidl_string& name) override;
76 Return<void> debug(const hidl_handle& handle, const hidl_vec<hidl_string>& options) override;
/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp47 using ::android::hardware::hidl_string;
76 Return<void> concatTwoStrings(const hidl_string& a, const hidl_string& b, in concatTwoStrings()
78 hidl_string result = std::string(a) + std::string(b); in concatTwoStrings()
371 hidl_array<hidl_string, 5, 3> in; in TEST_F()
372 hidl_array<hidl_string, 3, 5> expectedOut; in TEST_F()
512 hidl_array<hidl_string, 3> string_params; in TEST_F()
517 hidl_array<hidl_string, 2> expected; in TEST_F()
530 hidl_vec<hidl_string> string_vec{ "Uno", "Dos", "Tres", "Cuatro" }; in TEST_F()
531 hidl_vec<hidl_string> expected{"Hello", "World"}; in TEST_F()
685 safeUnion, hidl_string(testString), [&](const LargeSafeUnion& safeUnion) { in TEST_F()
[all …]
/system/extras/bootctl/
Dbootctl.cpp22 using android::hardware::hidl_string;
145 std::function<void(hidl_string)> cb = [](hidl_string suffix){ in do_get_suffix()
/system/libhidl/transport/memory/1.0/default/
DAshmemMapper.h34 using ::android::hardware::hidl_string;
DAshmemMemory.h33 using ::android::hardware::hidl_string;
/system/libhidl/transport/allocator/1.0/default/
DAshmemAllocator.h33 using ::android::hardware::hidl_string;
/system/core/fastboot/device/
Dfastboot_device.cpp31 using ::android::hardware::hidl_string;
83 auto cb = [&suffix](hidl_string s) { suffix = s; }; in GetCurrentSlot()
/system/tools/hidl/test/hidl_test/
DFooCallback.h20 using ::android::hardware::hidl_string;
Dhidl_test_client.cpp117 using ::android::hardware::hidl_string;
242 hidl_vec<hidl_string> vec; in customVecStr()
249 _cb(hidl_string()); in mystr()
299 hidl_vec<hidl_string> vec; in customVecStr()
306 _cb(hidl_string()); in mystr()
322 Return<void> concatTwoStrings(const hidl_string& a, const hidl_string& b, in concatTwoStrings()
324 hidl_string result = std::string(a) + std::string(b); in concatTwoStrings()
335 Return<void> onRegistration(const hidl_string &fqName, in onRegistration()
336 const hidl_string &name, in onRegistration()
527 .multidimArray = hidl_vec<hidl_string>{"hello", "great", "awesome", "nice"}.data(), in TEST_F()
[all …]
/system/chre/host/hal_generic/
Dgeneric_context_hub.h48 using ::android::hardware::hidl_string;
57 Return<void> debug(const hidl_handle& fd, const hidl_vec<hidl_string>& options) override;

12