Home
last modified time | relevance | path

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

12

/system/libhidl/base/
DHidlSupport.cpp139 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/
DServiceManager.h34 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 …]
DServiceManager.cpp183 const hidl_string &fqName, in sendPackageRegistrationNotification()
184 const hidl_string &instanceName) { in sendPackageRegistrationNotification()
268 Return<sp<IBase>> ServiceManager::get(const hidl_string& hidlFqName, in get()
269 const hidl_string& hidlName) { in get()
311 Return<bool> ServiceManager::add(const hidl_string& name, const sp<IBase>& service) { in add()
339 const hidl_vec<hidl_string>& interfaceChain, in addImpl()
456 Return<ServiceManager::Transport> ServiceManager::getTransport(const hidl_string& fqName, in getTransport()
457 const hidl_string& name) { in getTransport()
481 hidl_vec<hidl_string> list; in list()
495 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()
/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()
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/chre/host/hal_generic/common/
Dpermissions_util.h29 const hidl_string kBackgroundLocationPerm =
31 const hidl_string kFineLocationPerm = "android.permission.ACCESS_FINE_LOCATION";
32 const hidl_string kRecordAudioPerm = "android.permission.RECORD_AUDIO";
33 const hidl_vec<hidl_string> kSupportedPermissions = {
37 hidl_vec<hidl_string> chreToAndroidPermissions(uint32_t chrePermissions);
Dpermissions_util.cc28 hidl_vec<hidl_string> chreToAndroidPermissions(uint32_t chrePermissions) { in chreToAndroidPermissions()
29 std::vector<hidl_string> androidPermissions; in chreToAndroidPermissions()
/system/libhidl/
Dtest_main.cpp83 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/
Dkeystore.h21 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/
DHidlSupport.h137 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/
DTrustyConfirmationUI.h41 using ::android::hardware::hidl_string;
55 const hidl_string& promptText,
57 const hidl_string& locale,
DTrustyConfirmationUI.cpp122 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/
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()
DHidlBinderSupport.cpp132 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()
DServiceManagement.cpp275 static void registerReference(const hidl_string &interfaceName, const hidl_string &instanceName) { in registerReference()
410 Return<sp<IBase>> get(const hidl_string& fqName, in get()
411 const hidl_string& name) override { in get()
454 Return<bool> add(const hidl_string& /* name */, in add()
460 Return<Transport> getTransport(const hidl_string& /* fqName */, in getTransport()
461 const hidl_string& /* name */) { in getTransport()
470 Return<void> listByInterface(const hidl_string& /* fqInstanceName */, in listByInterface()
477 Return<bool> registerForNotifications(const hidl_string& /* fqName */, in registerForNotifications()
478 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()
/system/hardware/interfaces/wifi/keystore/1.0/default/
Dkeystore.cpp62 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/tools/hidl/test/lazy_test/
Dhidl_lazy_test.cpp37 using ::android::hardware::hidl_string;
84 [&](const hidl_vec<hidl_string>& instanceNames) { in isServiceRunning()
85 for (const hidl_string& name : instanceNames) { in isServiceRunning()
/system/libhidl/transport/memory/1.0/default/
DAshmemMapper.h34 using ::android::hardware::hidl_string;
DAshmemMemory.h33 using ::android::hardware::hidl_string;
/system/hardware/interfaces/suspend/1.0/default/
DSystemSuspend.h42 using ::android::hardware::hidl_string;
104 Return<sp<IWakeLock>> acquireWakeLock(WakeLockType type, const hidl_string& name) override;
/system/libhidl/transport/allocator/1.0/default/
DAshmemAllocator.h33 using ::android::hardware::hidl_string;
/system/tools/hidl/test/hidl_test/
DFooCallback.h20 using ::android::hardware::hidl_string;
/system/core/fastboot/device/
Dfastboot_device.cpp37 using ::android::hardware::hidl_string;
107 auto cb = [&suffix](hidl_string s) { suffix = s; }; in GetCurrentSlot()

12