Home
last modified time | relevance | path

Searched refs:std (Results 1 – 25 of 1170) sorted by relevance

12345678910>>...47

/hardware/interfaces/wifi/1.2/default/
Dwifi_legacy_hal.h56 std::vector<uint32_t> tx_time_per_levels;
61 std::vector<LinkLayerRadioStats> radios;
72 std::vector<uint32_t> cmd_event_wake_cnt;
73 std::vector<uint32_t> driver_fw_local_wake_cnt;
79 std::function<void(transaction_id, const NanResponseMsg&)>
82 std::function<void(const NanPublishTerminatedInd&)>
84 std::function<void(const NanMatchInd&)> on_event_match;
85 std::function<void(const NanMatchExpiredInd&)> on_event_match_expired;
86 std::function<void(const NanSubscribeTerminatedInd&)>
88 std::function<void(const NanFollowupInd&)> on_event_followup;
[all …]
Dwifi_chip.h53 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal,
54 const std::weak_ptr<mode_controller::WifiModeController>
56 const std::weak_ptr<feature_flags::WifiFeatureFlags> feature_flags);
72 std::set<sp<IWifiChipEventCallback>> getEventCallbacks();
151 std::pair<WifiStatus, ChipId> getIdInternal();
154 std::pair<WifiStatus, uint32_t> getCapabilitiesInternal();
155 std::pair<WifiStatus, std::vector<ChipMode>> getAvailableModesInternal();
157 std::unique_lock<std::recursive_mutex>* lock, ChipModeId mode_id);
158 std::pair<WifiStatus, uint32_t> getModeInternal();
159 std::pair<WifiStatus, IWifiChip::ChipDebugInfo>
[all …]
/hardware/google/av/codec2/vndk/util/
DC2Debug.cpp68 static std::string attribParamCoreIndex(const C2Param::CoreIndex &i) { in attribParamCoreIndex()
75 static std::string attribParamIndex( in attribParamIndex()
77 std::string v = StringPrintf("%c%c", in attribParamIndex()
98 std::ostream& operator<<(std::ostream& os, const C2Param::CoreIndex &i) { in operator <<()
102 std::ostream& operator<<(std::ostream& os, const C2Param::Type &i) { in operator <<()
107 std::ostream& operator<<(std::ostream& os, const C2Param::Index &i) { in operator <<()
112 static std::string attribFieldId(const _C2FieldId &i) { in attribFieldId()
119 std::ostream& operator<<(std::ostream& os, const _C2FieldId &i) { in operator <<()
124 std::ostream& operator<<(std::ostream& os, const C2FieldDescriptor &i) { in operator <<()
134 std::ostream& operator<<(std::ostream& os, const C2ParamField &i) { in operator <<()
[all …]
/hardware/google/av/codec2/vndk/
DC2Store.cpp43 std::shared_ptr<C2ComponentStore> GetPreferredCodec2ComponentStore();
58 id_t id, std::shared_ptr<C2Allocator> *const allocator) override;
60 virtual std::vector<std::shared_ptr<const C2Allocator::Traits>> listAllocators_nb() in listAllocators_nb()
62 return std::vector<std::shared_ptr<const C2Allocator::Traits>>(); /// \todo in listAllocators_nb()
69 void setComponentStore(std::shared_ptr<C2ComponentStore> store);
75 std::shared_ptr<C2Allocator> fetchIonAllocator();
78 std::shared_ptr<C2Allocator> fetchGrallocAllocator();
81 std::shared_ptr<C2Allocator> fetchBufferQueueAllocator();
84 std::mutex _mComponentStoreSetLock; // protects the entire updating _mComponentStore and its
86 std::mutex _mComponentStoreReadLock; // must protect only read/write of _mComponentStore
[all …]
/hardware/google/av/media/codecs/base/include/
DSimpleC2Interface.h35 SimpleC2Interface(const char *name, c2_node_id_t id, const std::shared_ptr<T> &impl) in SimpleC2Interface()
47 const std::vector<C2Param*> &stackParams, in query_vb()
48 const std::vector<C2Param::Index> &heapParamIndices, in query_vb()
50 std::vector<std::unique_ptr<C2Param>>* const heapParams) const override { in query_vb()
54 const std::vector<C2Param*> &params, in config_vb()
56 std::vector<std::unique_ptr<C2SettingResult>>* const failures) override { in config_vb()
62 std::vector<std::shared_ptr<C2ParamDescriptor>> * const params) const override { in querySupportedParams_nb()
66 std::vector<C2FieldSupportedValuesQuery> &fields, in querySupportedValues_vb()
74 const std::shared_ptr<T> mImpl;
88 const std::shared_ptr<C2ReflectorHelper> &helper,
[all …]
DSimpleC2Component.h31 : public C2Component, public std::enable_shared_from_this<SimpleC2Component> {
34 const std::shared_ptr<C2ComponentInterface> &intf);
40 const std::shared_ptr<Listener> &listener, c2_blocking_t mayBlock) override;
41 virtual c2_status_t queue_nb(std::list<std::unique_ptr<C2Work>>* const items) override;
42 virtual c2_status_t announce_nb(const std::vector<C2WorkOutline> &items) override;
44 flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) override;
50 virtual std::shared_ptr<C2ComponentInterface> intf() override;
94 const std::unique_ptr<C2Work> &work,
95 const std::shared_ptr<C2BlockPool> &pool) = 0;
109 const std::shared_ptr<C2BlockPool> &pool) = 0;
[all …]
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dkey_param_output.h28 inline ::std::ostream& operator<<(::std::ostream& os, Algorithm value) {
32 inline ::std::ostream& operator<<(::std::ostream& os, BlockMode value) {
36 inline ::std::ostream& operator<<(::std::ostream& os, Digest value) {
40 inline ::std::ostream& operator<<(::std::ostream& os, EcCurve value) {
44 inline ::std::ostream& operator<<(::std::ostream& os, ErrorCode value) {
48 inline ::std::ostream& operator<<(::std::ostream& os, KeyOrigin value) {
52 inline ::std::ostream& operator<<(::std::ostream& os, PaddingMode value) {
57 ::std::ostream& operator<<(::std::ostream& os, const NullOr<ValueT>& value) {
66 ::std::ostream& operator<<(::std::ostream& os, const hidl_vec<KeyParameter>& set);
67 ::std::ostream& operator<<(::std::ostream& os, const KeyParameter& value);
[all …]
/hardware/google/av/media/v4l2store/
DC2VDAComponentStore.cpp34 std::shared_ptr<C2Component>* const component) override;
36 std::shared_ptr<C2ComponentInterface>* const interface) override;
37 std::vector<std::shared_ptr<const C2Component::Traits>> listComponents() override;
38 c2_status_t copyBuffer(std::shared_ptr<C2GraphicBuffer> src,
39 std::shared_ptr<C2GraphicBuffer> dst) override;
40 c2_status_t query_sm(const std::vector<C2Param*>& stackParams,
41 const std::vector<C2Param::Index>& heapParamIndices,
42 std::vector<std::unique_ptr<C2Param>>* const heapParams) const override;
43 c2_status_t config_sm(const std::vector<C2Param*>& params,
44 std::vector<std::unique_ptr<C2SettingResult>>* const failures) override;
[all …]
/hardware/google/av/codec2/hidl/client/include/codec2/hidl/
Dclient.h127 const std::vector<C2Param*>& stackParams,
128 const std::vector<C2Param::Index> &heapParamIndices,
130 std::vector<std::unique_ptr<C2Param>>* const heapParams) const;
133 const std::vector<C2Param*> &params,
135 std::vector<std::unique_ptr<C2SettingResult>>* const failures);
138 std::vector<std::shared_ptr<C2ParamDescriptor>>* const params
142 std::vector<C2FieldSupportedValuesQuery>& fields,
175 std::string getInstanceName() const { return mInstanceName; } in getInstanceName()
179 const std::shared_ptr<Listener>& listener,
180 std::shared_ptr<Component>* const component);
[all …]
/hardware/google/av/media/sfplugin/
DReflectedParamUpdater.h67 struct Dict : public std::map<std::string, Value> {
69 std::string debugString(size_t indent = 0) const;
83 const std::shared_ptr<C2ParamReflector> &reflector,
84 const std::vector<std::shared_ptr<C2ParamDescriptor>> &paramDescs);
95 void addStandardParam(const std::string &name, C2ParamDescriptor::attrib_t attrib =
97 addParamDesc(std::make_shared<C2ParamDescriptor>(
114 std::shared_ptr<C2ParamDescriptor> paramDesc, C2String path, size_t offset,
116 const std::shared_ptr<C2ParamReflector> &reflector);
129 std::shared_ptr<C2ParamDescriptor> paramDesc, const C2StructDescriptor &structDesc,
130 const std::shared_ptr<C2ParamReflector> &reflector,
[all …]
DCCodecConfig.h97 std::vector<std::shared_ptr<C2ParamDescriptor>> mParamDescs;
98 std::shared_ptr<C2ParamReflector> mReflector;
100 std::shared_ptr<ReflectedParamUpdater> mParamUpdater;
107 std::shared_ptr<StandardParams> mStandardParams;
109 std::set<C2Param::Index> mSupportedIndices; ///< indices supported by the component
110 std::set<C2Param::Index> mSubscribedIndices; ///< indices to subscribe to
116 std::shared_ptr<InputSurfaceWrapper> mInputSurface;
117 std::unique_ptr<InputSurfaceWrapper::Config> mISConfig;
121 std::map<C2Param::Index, std::unique_ptr<C2Param>> mCurrentConfig;
123 typedef std::function<c2_status_t(std::unique_ptr<C2Param>&)> LocalParamValidator;
[all …]
DCodec2Buffer.h61 virtual std::shared_ptr<C2Buffer> asC2Buffer() = 0;
70 virtual bool canCopy(const std::shared_ptr<C2Buffer> &buffer) const { in canCopy()
83 virtual bool copy(const std::shared_ptr<C2Buffer> &buffer) { in copy()
92 bool canCopyLinear(const std::shared_ptr<C2Buffer> &buffer) const;
97 bool copyLinear(const std::shared_ptr<C2Buffer> &buffer);
113 std::shared_ptr<C2Buffer> asC2Buffer() override { return nullptr; } in asC2Buffer()
114 bool canCopy(const std::shared_ptr<C2Buffer> &buffer) const override;
115 bool copy(const std::shared_ptr<C2Buffer> &buffer) override;
126 const std::shared_ptr<C2Buffer> &buffer = nullptr);
128 std::shared_ptr<C2Buffer> asC2Buffer() override;
[all …]
/hardware/google/av/codec2/hidl/1.0/utils/
DComponentStore.cpp64 StoreIntf(const std::shared_ptr<C2ComponentStore>& store) : in StoreIntf()
70 const std::vector<C2Param*> &params, in config()
72 std::vector<std::unique_ptr<C2SettingResult>> *const failures in config()
83 const std::vector<C2Param::Index> &indices, in query()
85 std::vector<std::unique_ptr<C2Param>> *const params) const override { in query()
95 std::vector<std::shared_ptr<C2ParamDescriptor>> *const params in querySupportedParams()
101 std::vector<C2FieldSupportedValuesQuery> &fields, in querySupportedValues()
112 std::shared_ptr<C2ComponentStore> mStore;
117 ComponentStore::ComponentStore(const std::shared_ptr<C2ComponentStore>& store) : in ComponentStore()
118 Configurable(new CachedConfigurable(std::make_unique<StoreIntf>(store))), in ComponentStore()
[all …]
/hardware/google/av/codec2/vndk/include/util/
DC2InterfaceHelper.h33 template<typename T, bool E=std::is_enum<T>::value>
40 typedef typename std::underlying_type<T>::type type;
51 virtual std::unique_ptr<C2StructDescriptor> describe(
61 std::vector<C2StructDescriptor> structs;
82 std::vector<C2StructDescriptor> &structs, _Tuple<> *);
94 std::vector<C2StructDescriptor> &structs, _Tuple<T, Params...> *) {
99 mutable std::mutex _mMutex;
100 std::map<C2Param::CoreIndex, const C2StructDescriptor> _mStructs; ///< descriptors
119 size_t GetBaseOffset(const std::shared_ptr<C2ParamReflector> &reflector,
130 typename std::enable_if<std::is_convertible<T, C2Param>::value>::type>
[all …]
/hardware/google/av/codec2/include/
DC2Component.h156 const std::vector<C2Param*> &stackParams,
157 const std::vector<C2Param::Index> &heapParamIndices,
159 std::vector<std::unique_ptr<C2Param>>* const heapParams) const = 0;
217 const std::vector<C2Param*> &params,
219 std::vector<std::unique_ptr<C2SettingResult>>* const failures) = 0;
293 std::vector<std::shared_ptr<C2ParamDescriptor>> * const params) const = 0;
328 std::vector<C2FieldSupportedValuesQuery> &fields, c2_blocking_t mayBlock) const = 0;
337 virtual void onWorkDone_nb(std::weak_ptr<C2Component> component,
338 std::list<std::unique_ptr<C2Work>> workItems) = 0;
340 virtual void onTripped_nb(std::weak_ptr<C2Component> component,
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidTree.h29 friend std::ostream& operator<<(std::ostream& os, const HidTreeNode& n);
37 HidTreeNode(std::shared_ptr<HidTreeNode> parent, uint32_t data, uint32_t fullUsage);
42 virtual std::shared_ptr<HidTreeNode> deepCopy(
43 std::shared_ptr<HidTreeNode> parent = nullptr) const;
46 std::shared_ptr<HidTreeNode> addChild(std::shared_ptr<HidTreeNode> child);
49 std::vector<std::shared_ptr<HidTreeNode>>& getChildren();
50 const std::vector<std::shared_ptr<HidTreeNode>>& getChildren() const;
53 std::shared_ptr<HidTreeNode> getParent() const;
63 HidTreeNode(std::shared_ptr<HidTreeNode> parent,
67 void insertIndentation(std::ostream &os, int level) const;
[all …]
DStreamIoUtil.h29 class charvectorbuf : public std::streambuf { // class name is consistent with std lib
30 static_assert(std::is_const<CharT>::value == false, "cannot use const type");
33 charvectorbuf(std::vector<CharT> &vec) { in charvectorbuf()
47 charvectorbuf(const std::vector<CharT> &vec) { in charvectorbuf()
60 virtual std::streampos seekpos(
61 std::streampos sp, std::ios_base::openmode which =
62 std::ios_base::in | std::ios_base::out) override {
63 return seekoff(std::streamoff(sp), std::ios_base::beg, which);
67 virtual std::streampos seekoff(
68 std::streamoff off, std::ios_base::seekdir way,
[all …]
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkey_param_output.h29 ::std::ostream& operator<<(::std::ostream& os, const NullOr<ValueT>& value) {
38 ::std::ostream& operator<<(::std::ostream& os, const hidl_vec<KeyParameter>& set);
39 ::std::ostream& operator<<(::std::ostream& os, BlockMode value);
40 ::std::ostream& operator<<(::std::ostream& os, Digest value);
41 ::std::ostream& operator<<(::std::ostream& os, EcCurve value);
42 ::std::ostream& operator<<(::std::ostream& os, ErrorCode value);
43 ::std::ostream& operator<<(::std::ostream& os, PaddingMode value);
44 ::std::ostream& operator<<(::std::ostream& os, const KeyCharacteristics& value);
45 ::std::ostream& operator<<(::std::ostream& os, const KeyParameter& value);
Dkey_param_output.cpp27 ::std::ostream& operator<<(::std::ostream& os, const hidl_vec<KeyParameter>& set) { in operator <<()
29 os << "(Empty)" << ::std::endl; in operator <<()
33 os << set[i] << ::std::endl; in operator <<()
38 ::std::ostream& operator<<(::std::ostream& os, ErrorCode value) { in operator <<()
42 ::std::ostream& operator<<(::std::ostream& os, Digest value) { in operator <<()
46 ::std::ostream& operator<<(::std::ostream& os, Algorithm value) { in operator <<()
50 ::std::ostream& operator<<(::std::ostream& os, BlockMode value) { in operator <<()
54 ::std::ostream& operator<<(::std::ostream& os, PaddingMode value) { in operator <<()
58 ::std::ostream& operator<<(::std::ostream& os, KeyOrigin value) { in operator <<()
62 ::std::ostream& operator<<(::std::ostream& os, KeyPurpose value) { in operator <<()
[all …]
/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonUtils.cpp109 std::vector<uint32_t> getAlignedDimensions(const std::vector<uint32_t>& dims, uint32_t N) { in getAlignedDimensions()
113 std::vector<uint32_t> dimensions(N - dims.size(), 1); in getAlignedDimensions()
118 std::vector<RunTimePoolInfo> mapPools(const hidl_vec<hidl_memory>& pools) { in mapPools()
119 std::vector<RunTimePoolInfo> poolInfos; in mapPools()
129 std::unordered_set<uint32_t> getPoolIndexes(const std::vector<RequestArgument>& inputsOutputs) { in getPoolIndexes()
130 std::unordered_set<uint32_t> indexes; in getPoolIndexes()
153 const std::vector<RunTimePoolInfo>& pools) { in getData()
192 hexagon_nn_output make_hexagon_nn_output(const std::vector<uint32_t>& dims, uint32_t size) { in make_hexagon_nn_output()
193 std::vector<uint32_t> alignedDims = getAlignedDimensions(dims, 4); in make_hexagon_nn_output()
195 .rank = std::min(8u, static_cast<uint32_t>(alignedDims.size())), in make_hexagon_nn_output()
[all …]
/hardware/libhardware/modules/camera/3_4/metadata/
Dpartial_metadata_factory.h39 static std::unique_ptr<State<T>> FixedState(int32_t tag, T value);
44 static std::unique_ptr<Control<T>> NoEffectOptionlessControl(
49 static std::unique_ptr<Control<T>> NoEffectMenuControl(
52 const std::vector<T>& options,
53 std::map<int, T> default_values = {});
57 static std::unique_ptr<Control<T>> NoEffectSliderControl(
62 std::map<int, T> default_values = {});
67 static std::unique_ptr<Control<T>> NoEffectControl(
72 std::map<int, T> default_values = {});
76 static std::unique_ptr<Control<T>> V4L2Control(
[all …]
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_vendor_module_api.h83 virtual std::vector<uint8_t> getUUID() const = 0;
90 virtual std::string getServiceName() const = 0;
129 virtual std::vector<uint8_t> handleProvisioningRequest(
130 const std::vector<uint8_t>& provisioningRequest,
131 const std::string& url) = 0;
143 const std::string name;
150 const std::string serverUrl;
156 const std::vector<uint8_t> initData;
161 const std::string mimeType;
166 const std::map<std::string, std::string> optionalParameters;
[all …]
/hardware/nxp/secure_element/libese-spi/p73/utils/
Dconfig.h27 std::string getString() const;
29 std::vector<uint8_t> getBytes() const;
31 bool parseFromString(std::string in);
35 std::string value_string_;
37 std::vector<uint8_t> value_bytes_;
42 void parseFromFile(const std::string& file_name);
43 void parseFromString(const std::string& config);
45 bool hasKey(const std::string& key);
46 std::string getString(const std::string& key);
47 unsigned getUnsigned(const std::string& key);
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HdrPlusListenerThread.cpp36 void QCamera3HdrPlusListenerThread::onOpened(std::unique_ptr<HdrPlusClient> client) in onOpened()
38 std::unique_lock<std::mutex> l(mCallbackLock); in onOpened()
42 mClient = std::move(client); in onOpened()
49 std::unique_lock<std::mutex> l(mCallbackLock); in onOpenFailed()
61 std::unique_lock<std::mutex> l(mCallbackLock); in onFatalError()
73 std::unique_lock<std::mutex> l(mCallbackLock); in onCaptureResult()
87 std::unique_lock<std::mutex> l(mCallbackLock); in onFailedCaptureResult()
101 std::unique_lock<std::mutex> l(mCallbackLock); in onShutter()
103 std::pair<uint32_t, int64_t> shutter(requestId, apSensorTimestampNs); in onShutter()
112 std::unique_lock<std::mutex> l(mCallbackLock); in onNextCaptureReady()
[all …]
/hardware/google/av/codec2/tests/
DC2ComponentInterface_test.cpp40 template <class T> std::unique_ptr<T> alloc_unique_cstr(const char *cstr) { in alloc_unique_cstr()
42 std::unique_ptr<T> ptr = T::AllocUnique(len); in alloc_unique_cstr()
52 void setComponent(std::shared_ptr<C2ComponentInterface> intf) { in setComponent()
84 const std::vector<TField> &validValues,
85 const std::vector<TField> &invalidValues);
88 void testMain(std::shared_ptr<C2ComponentInterface> intf,
89 const std::string &componentName);
97 const std::vector<std::shared_ptr<C2ParamDescriptor>> &supportedParams);
107 std::string name;
122 std::vector<std::unique_ptr<C2Param>> *const heapParams);
[all …]

12345678910>>...47