/hardware/interfaces/wifi/1.3/default/ |
D | wifi_legacy_hal.h | 63 std::vector<uint32_t> tx_time_per_levels; 64 std::vector<wifi_channel_stat> channel_stats; 69 std::vector<LinkLayerRadioStats> radios; 80 std::vector<uint32_t> cmd_event_wake_cnt; 81 std::vector<uint32_t> driver_fw_local_wake_cnt; 87 std::function<void(transaction_id, const NanResponseMsg&)> 90 std::function<void(const NanPublishTerminatedInd&)> 92 std::function<void(const NanMatchInd&)> on_event_match; 93 std::function<void(const NanMatchExpiredInd&)> on_event_match_expired; 94 std::function<void(const NanSubscribeTerminatedInd&)> [all …]
|
D | wifi_chip.h | 53 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal, 54 const std::weak_ptr<mode_controller::WifiModeController> 56 const std::weak_ptr<iface_util::WifiIfaceUtil> iface_util, 57 const std::weak_ptr<feature_flags::WifiFeatureFlags> feature_flags); 73 std::set<sp<V1_2::IWifiChipEventCallback>> getEventCallbacks(); 160 void invalidateAndRemoveDependencies(const std::string& removed_iface_name); 163 std::pair<WifiStatus, ChipId> getIdInternal(); 167 std::pair<WifiStatus, uint32_t> getCapabilitiesInternal(); 168 std::pair<WifiStatus, std::vector<ChipMode>> getAvailableModesInternal(); 170 std::unique_lock<std::recursive_mutex>* lock, ChipModeId mode_id); [all …]
|
/hardware/google/av/codec2/vndk/util/ |
D | C2Debug.cpp | 68 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/ |
D | C2Store.cpp | 43 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/ |
D | SimpleC2Interface.h | 35 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*> ¶ms, 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 …]
|
D | SimpleC2Component.h | 32 : public C2Component, public std::enable_shared_from_this<SimpleC2Component> { 35 const std::shared_ptr<C2ComponentInterface> &intf); 41 const std::shared_ptr<Listener> &listener, c2_blocking_t mayBlock) override; 42 virtual c2_status_t queue_nb(std::list<std::unique_ptr<C2Work>>* const items) override; 43 virtual c2_status_t announce_nb(const std::vector<C2WorkOutline> &items) override; 45 flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) override; 51 virtual std::shared_ptr<C2ComponentInterface> intf() override; 93 const std::unique_ptr<C2Work> &work, 94 const std::shared_ptr<C2BlockPool> &pool) = 0; 108 const std::shared_ptr<C2BlockPool> &pool) = 0; [all …]
|
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/ |
D | key_param_output.h | 28 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) { 56 inline ::std::ostream& operator<<(::std::ostream& os, SecurityLevel value) { 61 ::std::ostream& operator<<(::std::ostream& os, const NullOr<ValueT>& value) { 70 ::std::ostream& operator<<(::std::ostream& os, const hidl_vec<KeyParameter>& set); [all …]
|
/hardware/google/pixel/powerstats/include/pixelpowerstats/ |
D | GenericStateResidencyDataProvider.h | 14 std::string name; 15 std::string header; 18 std::string entryCountPrefix; 19 std::function<uint64_t(uint64_t)> entryCountTransform; 22 std::string totalTimePrefix; 23 std::function<uint64_t(uint64_t)> totalTimeTransform; 26 std::string lastEntryPrefix; 27 std::function<uint64_t(uint64_t)> lastEntryTransform; 32 PowerEntityConfig(const std::vector<StateResidencyConfig> &stateResidencyConfigs); 33 PowerEntityConfig(const std::string &header, [all …]
|
/hardware/google/av/media/sfplugin/ |
D | ReflectedParamUpdater.h | 67 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>> ¶mDescs); 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 …]
|
D | CCodecConfig.h | 100 std::vector<std::shared_ptr<C2ParamDescriptor>> mParamDescs; 101 std::shared_ptr<C2ParamReflector> mReflector; 103 std::shared_ptr<ReflectedParamUpdater> mParamUpdater; 108 std::string mCodingMediaType; // media type of the coded stream 111 std::shared_ptr<StandardParams> mStandardParams; 113 std::set<C2Param::Index> mSupportedIndices; ///< indices supported by the component 114 std::set<C2Param::Index> mSubscribedIndices; ///< indices to subscribe to 122 std::shared_ptr<InputSurfaceWrapper> mInputSurface; 123 std::unique_ptr<InputSurfaceWrapper::Config> mISConfig; 127 std::map<C2Param::Index, std::unique_ptr<C2Param>> mCurrentConfig; [all …]
|
D | Codec2Buffer.h | 61 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/client/include/codec2/hidl/ |
D | client.h | 127 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*> ¶ms, 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/codec2/hidl/1.0/utils/ |
D | ComponentStore.cpp | 65 StoreIntf(const std::shared_ptr<C2ComponentStore>& store) : in StoreIntf() 71 const std::vector<C2Param*> ¶ms, in config() 73 std::vector<std::unique_ptr<C2SettingResult>> *const failures in config() 84 const std::vector<C2Param::Index> &indices, in query() 86 std::vector<std::unique_ptr<C2Param>> *const params) const override { in query() 96 std::vector<std::shared_ptr<C2ParamDescriptor>> *const params in querySupportedParams() 102 std::vector<C2FieldSupportedValuesQuery> &fields, in querySupportedValues() 113 std::shared_ptr<C2ComponentStore> mStore; 118 ComponentStore::ComponentStore(const std::shared_ptr<C2ComponentStore>& store) : in ComponentStore() 119 Configurable(new CachedConfigurable(std::make_unique<StoreIntf>(store))), in ComponentStore() [all …]
|
/hardware/google/av/codec2/vndk/include/util/ |
D | C2InterfaceHelper.h | 34 template<typename T, bool E=std::is_enum<T>::value> 41 typedef typename std::underlying_type<T>::type type; 52 virtual std::unique_ptr<C2StructDescriptor> describe( 62 std::vector<C2StructDescriptor> structs; 83 std::vector<C2StructDescriptor> &structs, _Tuple<> *); 95 std::vector<C2StructDescriptor> &structs, _Tuple<T, Params...> *) { 100 mutable std::mutex _mMutex; 101 std::map<C2Param::CoreIndex, const C2StructDescriptor> _mStructs; ///< descriptors 120 size_t GetBaseOffset(const std::shared_ptr<C2ParamReflector> &reflector, 131 typename std::enable_if<std::is_convertible<T, C2Param>::value>::type> [all …]
|
/hardware/google/pixel/thermal/ |
D | thermal-helper.cpp | 38 constexpr std::string_view kCpuOnlineRoot("/sys/devices/system/cpu"); 39 constexpr std::string_view kThermalSensorsRoot("/sys/devices/virtual/thermal"); 40 constexpr std::string_view kCpuUsageFile("/proc/stat"); 41 constexpr std::string_view kCpuOnlineFileSuffix("online"); 42 constexpr std::string_view kCpuPresentFile("/sys/devices/system/cpu/present"); 43 constexpr std::string_view kSensorPrefix("thermal_zone"); 44 constexpr std::string_view kCoolingDevicePrefix("cooling_device"); 45 constexpr std::string_view kThermalNameFile("type"); 46 constexpr std::string_view kSensorPolicyFile("policy"); 47 constexpr std::string_view kSensorTempSuffix("temp"); [all …]
|
/hardware/ti/am57x/bootctrl/ |
D | bootloader_message.h | 190 std::string get_bootloader_message_blk_device(std::string* err); 193 bool read_bootloader_message(bootloader_message* boot, std::string* err); 196 bool read_bootloader_message_from(bootloader_message* boot, const std::string& misc_blk_device, 197 std::string* err); 200 bool read_bootloader_control_from(bootloader_control* boot_ctrl, const std::string& misc_blk_device, 201 std::string* err); 204 bool write_bootloader_message(const bootloader_message& boot, std::string* err); 208 const std::string& misc_blk_device, std::string* err); 212 bool write_bootloader_message(const std::vector<std::string>& options, std::string* err); 215 bool write_bootloader_control_to(const bootloader_control* boot_ctrl, const std::string& misc_blk_d… [all …]
|
/hardware/google/av/codec2/include/ |
D | C2Component.h | 156 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*> ¶ms, 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/ |
D | HidTree.h | 29 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 …]
|
D | StreamIoUtil.h | 29 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/ |
D | key_param_output.cpp | 27 ::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 …]
|
D | key_param_output.h | 29 ::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);
|
/hardware/google/av/codec2/hidl/1.0/mts/common/ |
D | media_c2_hidl_test_common.cpp | 25 const std::shared_ptr<android::Codec2Client::Component>& component, in testInputBuffer() 26 std::mutex& queueLock, std::list<std::unique_ptr<C2Work>>& workQueue, in testInputBuffer() 28 std::unique_ptr<C2Work> work; in testInputBuffer() 30 typedef std::unique_lock<std::mutex> ULock; in testInputBuffer() 51 std::list<std::unique_ptr<C2Work>> items; in testInputBuffer() 52 items.push_back(std::move(work)); in testInputBuffer() 57 void waitOnInputConsumption(std::mutex& queueLock, in waitOnInputConsumption() 58 std::condition_variable& queueCondition, in waitOnInputConsumption() 59 std::list<std::unique_ptr<C2Work>>& workQueue, in waitOnInputConsumption() 61 typedef std::unique_lock<std::mutex> ULock; in waitOnInputConsumption() [all …]
|
/hardware/qcom/neuralnetworks/hvxservice/1.0/ |
D | HexagonUtils.cpp | 109 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/ |
D | partial_metadata_factory.h | 39 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/google/av/media/eco/include/eco/ |
D | ECOData.h | 77 std::variant<int32_t, int64_t, size_t, float, double, std::string, int8_t>; 78 using ECODataKeyValuePair = std::pair<std::string, ECODataValueType>; 98 ECODataStatus set(const std::string& key, const ECODataValueType& value); 99 ECODataStatus find(const std::string& key, ECODataValueType* out) const; 102 ECODataStatus setString(const std::string& key, const std::string& value); 103 ECODataStatus findString(const std::string& key, std::string* out) const; 106 ECODataStatus setInt32(const std::string& key, int32_t value); 107 ECODataStatus findInt32(const std::string& key, int32_t* out) const; 110 ECODataStatus setInt64(const std::string& key, int64_t value); 111 ECODataStatus findInt64(const std::string& key, int64_t* out) const; [all …]
|