Home
last modified time | relevance | path

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

12345

/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DDrmPlugin.h60 using ::android::hardware::hidl_string;
86 const hidl_string& mimeType,
94 const hidl_string& mimeType,
102 const hidl_string& mimeType,
128 const hidl_string& certificateType, in getProvisionRequest()
129 const hidl_string& certificateAuthority, in getProvisionRequest()
134 hidl_string defaultUrl; in getProvisionRequest()
140 const hidl_string& certificateType, in getProvisionRequest_1_2()
141 const hidl_string& certificateAuthority, in getProvisionRequest_1_2()
146 hidl_string defaultUrl; in getProvisionRequest_1_2()
[all …]
DDrmFactory.h34 using ::android::hardware::hidl_string;
45 const hidl_string& mimeType,
48 Return<bool> isContentTypeSupported(const hidl_string &mimeType)
53 const hidl_string& appPackageName,
59 Return<void> debug(const hidl_handle& fd, const hidl_vec<hidl_string>& args);
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp44 std::vector<hardware::hidl_string> mDeviceNames;
47 TestDeviceInterface(std::vector<hardware::hidl_string> deviceNames, in TestDeviceInterface()
51 TestDeviceInterface(std::vector<hardware::hidl_string> deviceNames) : in TestDeviceInterface()
101 std::vector<hardware::hidl_string> mDeviceNames;
105 TestICameraProvider(const std::vector<hardware::hidl_string> &devices, in TestICameraProvider()
111 TestICameraProvider(const std::vector<hardware::hidl_string> &devices, in TestICameraProvider()
144 const hardware::hidl_vec<hardware::hidl_string>& cameraDeviceNames)>;
154 const hardware::hidl_string& cameraDeviceName, in getCameraDeviceInterface_V1_x()
165 const hardware::hidl_string&, in getCameraDeviceInterface_V3_x()
259 virtual hardware::hidl_vec<hardware::hidl_string> listServices() override { in listServices()
[all …]
/frameworks/base/core/jni/hwbinder/
DEphemeralStorage.cpp24 using ::android::hardware::hidl_string;
37 hidl_string *EphemeralStorage::allocStringArray(size_t size) { in allocStringArray()
41 item.mPtr = new hidl_string[size]; in allocStringArray()
44 return static_cast<hidl_string *>(item.mPtr); in allocStringArray()
57 const hidl_string *EphemeralStorage::allocTemporaryString( in allocTemporaryString()
68 hidl_string *s = allocStringArray(1 /* size */); in allocTemporaryString()
133 delete[] static_cast<hidl_string *>(item.mPtr);
DEphemeralStorage.h39 hardware::hidl_string *allocStringArray(size_t size);
43 const ::android::hardware::hidl_string *allocTemporaryString(
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.h51 using android::hardware::hidl_string;
79 void getCameraIdList(std::vector<hidl_string> *cameraIds);
203 bool operator()(const hidl_string& a, const hidl_string& b) const { in operator()
225 std::set<hidl_string> unavailablePhysicalIds;
230 bool addUnavailablePhysicalId(const hidl_string& physicalCameraId);
231 bool removeUnavailablePhysicalId(const hidl_string& physicalCameraId);
234 std::set<hidl_string> getUnavailablePhysicalIds();
241 std::map<hidl_string, CameraStatus, CameraIdComparator> mDeviceStatusMap;
DACameraManager.cpp366 const hidl_string& cameraId = pair.first; in registerAvailCallback()
380 std::set<hidl_string> unavailPhysicalIds = pair.second.getUnavailablePhysicalIds(); in registerAvailCallback()
396 void CameraManagerGlobal::getCameraIdList(std::vector<hidl_string>* cameraIds) { in getCameraIdList()
528 hidl_string cameraId = statusAndId.cameraId; in onStatusChangedLocked()
582 hidl_string cameraId = statusAndId.cameraId; in onStatusChangedLocked()
583 hidl_string physicalCameraId = statusAndId.physicalCameraId; in onStatusChangedLocked()
638 const hidl_string& physicalCameraId) { in addUnavailablePhysicalId()
645 const hidl_string& physicalCameraId) { in removeUnavailablePhysicalId()
651 std::set<hidl_string> CameraManagerGlobal::CameraStatus::getUnavailablePhysicalIds() { in getUnavailablePhysicalIds()
666 std::vector<hidl_string> idList; in getCameraIdList()
/frameworks/av/media/codec2/hidl/1.2/utils/include/codec2/hidl/1.2/
DComponentStore.h52 using ::android::hardware::hidl_string;
84 const hidl_string& name,
89 const hidl_string& name,
105 const hidl_string& name,
112 const hidl_string& name,
122 const hidl_vec<hidl_string>& args) override;
/frameworks/native/services/sensorservice/
DSensorDeviceUtils.h28 using ::android::hardware::hidl_string;
58 Return<void> onRegistration(const hidl_string &fqName,
59 const hidl_string &name,
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DDrmFactory.cpp49 const hidl_string &mimeType, in isCryptoSchemeSupported_1_2()
55 Return<bool> DrmFactory::isContentTypeSupported(const hidl_string &mimeType) { in isContentTypeSupported()
67 const hidl_string& appPackageName, in createPlugin()
94 Return<void> DrmFactory::debug(const hidl_handle& fd, const hidl_vec<hidl_string>& /*args*/) { in debug() argument
DDrmPlugin.cpp174 const hidl_string& mimeType, in getKeyRequestCommon()
248 const hidl_string& mimeType, in getKeyRequest()
263 hidl_string(defaultUrl)); in getKeyRequest()
270 const hidl_string& mimeType, in getKeyRequest_1_1()
284 keyRequestType, hidl_string(defaultUrl)); in getKeyRequest_1_1()
291 const hidl_string& mimeType, in getKeyRequest_1_2()
304 _hidl_cb(status, toHidlVec(request), keyRequestType, hidl_string(defaultUrl)); in getKeyRequest_1_2()
488 const hidl_string& propertyName, getPropertyString_cb _hidl_cb) { in getPropertyString()
514 const hidl_string& propertyName, getPropertyByteArray_cb _hidl_cb) { in getPropertyByteArray()
528 const hidl_string& name, const hidl_string& value) { in setPropertyString()
[all …]
/frameworks/av/media/codec2/hidl/1.1/utils/include/codec2/hidl/1.1/
DComponentStore.h52 using ::android::hardware::hidl_string;
84 const hidl_string& name,
89 const hidl_string& name,
105 const hidl_string& name,
115 const hidl_vec<hidl_string>& args) override;
/frameworks/av/media/libaudiohal/impl/
DParameterUtils.h26 using ::android::hardware::hidl_string;
35 hidl_vec<hidl_string> keys, Callback callback) { in getParameters()
47 hidl_vec<hidl_string> keys, Callback callback) {
DConversionHelperHidl.h29 using ::android::hardware::hidl_string;
37 static status_t keysFromHal(const String8& keys, hidl_vec<hidl_string> *hidlKeys);
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DOmxStore.h38 using ::android::hardware::hidl_string;
62 Return<sp<IOmx>> getOmx(hidl_string const&) override;
66 hidl_string mPrefix;
DOmx.h47 using ::android::hardware::hidl_string;
64 const hidl_string& name,
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DComponentStore.h51 using ::android::hardware::hidl_string;
83 const hidl_string& name,
88 const hidl_string& name,
107 const hidl_vec<hidl_string>& args) override;
/frameworks/av/media/libstagefright/
DOmxInfoBuilder.cpp49 using ::android::hardware::hidl_string;
55 bool hasPrefix(const hidl_string& s, const char* prefix) { in hasPrefix()
139 std::map<hidl_string, std::unique_ptr<MediaCodecInfoWriter>> codecName2Info; in buildMediaCodecList()
149 const hidl_string& typeName = role.type; in buildMediaCodecList()
155 const hidl_string& nodeName = node.name; in buildMediaCodecList()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerService.cpp49 hidl_cb(hidl_string()); in dumpDebugInfo()
78 hidl_cb(hidl_string()); in dumpDebugInfo()
107 hidl_cb(hidl_string()); in dumpDebugInfo()
145 hidl_cb(hidl_string()); in dumpDebugInfo()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h121 virtual hardware::hidl_vec<hardware::hidl_string> listServices() = 0;
144 virtual hardware::hidl_vec<hardware::hidl_string> listServices() override;
301 virtual hardware::Return<void> onRegistration(const hardware::hidl_string& fqName,
302 const hardware::hidl_string& name,
408 const hardware::hidl_string& cameraDeviceName,
411 const hardware::hidl_string& cameraDeviceName,
414 const hardware::hidl_string& cameraDeviceName,
415 const hardware::hidl_string& physicalCameraDeviceName,
419 std::string* id, const hardware::hidl_string& cameraDeviceName,
423 const hardware::hidl_string& cameraDeviceName,
[all …]
/frameworks/native/services/sensorservice/hidl/
Dutils.cpp28 using ::android::hardware::hidl_string;
35 dst.name = hidl_string{name.string(), name.size()}; in convertSensor()
36 dst.vendor = hidl_string{vendor.string(), vendor.size()}; in convertSensor()
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraService.h39 using hardware::hidl_string;
58 const hidl_string& cameraId, connectDevice_cb _hidl_cb) override;
65 Return<void> getCameraCharacteristics(const hidl_string& cameraId,
/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp47 using ::android::hardware::hidl_string;
79 static String8 toString8(hidl_string hString) { in toString8()
99 [&factories](const hidl_vec<hidl_string> &registered) { in makeCryptoFactories()
110 [&factories](const hidl_vec<hidl_string> &registered) { in makeCryptoFactories()
211 Return<bool> hResult = mPlugin->requiresSecureDecoderComponent(hidl_string(mime)); in requiresSecureDecoderComponent()
350 [&](Status_V1_2 status, uint32_t hBytesWritten, hidl_string hDetailedError) { in decrypt()
361 [&](Status status, uint32_t hBytesWritten, hidl_string hDetailedError) { in decrypt()
/frameworks/base/core/jni/
Dandroid_os_HwParcel.cpp42 using ::android::hardware::hidl_string;
429 const hidl_string *s = in JHwParcel_native_writeString()
583 void *vecPtr = storage->allocTemporaryStorage(sizeof(hidl_vec<hidl_string>)); in JHwParcel_native_writeStringVector()
584 hidl_vec<hidl_string> *vec = new (vecPtr) hidl_vec<hidl_string>(); in JHwParcel_native_writeStringVector()
587 hidl_string *strings = storage->allocStringArray(len); in JHwParcel_native_writeStringVector()
593 const hidl_string *s = storage->allocTemporaryString(env, stringObj.get()); in JHwParcel_native_writeStringVector()
687 static jstring MakeStringObjFromHidlString(JNIEnv *env, const hidl_string &s) { in MakeStringObjFromHidlString()
701 const hidl_string *s; in JHwParcel_native_readString()
711 const_cast<hidl_string &>(*s), in JHwParcel_native_readString()
835 JNIEnv *env, const hidl_string *array, size_t size) { in MakeStringArray()
[all …]
/frameworks/native/cmds/lshal/
Dtest.cpp45 using ::android::hardware::hidl_string;
69 …::android::hardware::Return<void> debug(const hidl_handle& hh, const hidl_vec<hidl_string>& option… in debug()
101 using String = const hidl_string&;
115 MOCK_METHOD2(debug, R<void>(const hidl_handle&, const hidl_vec<hidl_string>&));
313 static pid_t getIdFromInstanceName(const hidl_string& instance) { in getIdFromInstanceName()
399 [&](const hidl_string&, const hidl_string& instance) { in initMockServiceManager() argument
868 std::vector<hidl_string> ret; in interfaceChain()
886 const hidl_vec<hidl_string>&) override { in debug() argument
911 std::vector<hidl_string> ret; in TEST_F()
920 Invoke([&](const hidl_string&, const hidl_string& instance) -> sp<IBase> { in TEST_F() argument

12345