/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2TestProperties.h | 86 const std::vector<T>& completeList, const std::vector<T>& basicList, in Hwc2TestProperty() 87 const std::vector<T>& defaultList, in Hwc2TestProperty() 93 Hwc2TestProperty(const std::vector<T>& list, in Hwc2TestProperty() 129 const std::vector<T>& mList; 153 const std::vector<float>& mScalars; 154 static const std::vector<float> mDefaultScalars; 155 static const std::vector<float> mBasicScalars; 156 static const std::vector<float> mCompleteScalars; 164 std::vector<Area> mBufferAreas; 185 static const std::vector<hwc2_blend_mode_t> mDefaultBlendModes; [all …]
|
/frameworks/minikin/tests/unittest/ |
D | CmapCoverageTest.cpp | 66 static std::vector<uint8_t> buildCmapFormat4Table(const std::vector<uint16_t>& ranges) { in buildCmapFormat4Table() 75 std::vector<uint8_t> out(finalLength); in buildCmapFormat4Table() 118 static std::vector<uint8_t> buildCmapFormat12Table(const std::vector<uint32_t>& ranges) { in buildCmapFormat12Table() 125 std::vector<uint8_t> out(finalLength); in buildCmapFormat12Table() 151 std::vector<uint32_t> defaultUVSRanges; 152 std::vector<uint32_t> nonDefaultUVS; 154 std::vector<uint8_t> getDefaultUVSAsBinary() const { in getDefaultUVSAsBinary() 156 return std::vector<uint8_t>(); in getDefaultUVSAsBinary() 162 std::vector<uint8_t> out(length); in getDefaultUVSAsBinary() 175 std::vector<uint8_t> getNonDefaultUVSAsBinary() const { in getNonDefaultUVSAsBinary() [all …]
|
/frameworks/base/cmds/statsd/tests/ |
D | MetricsManager_test.cpp | 37 using std::vector; 277 vector<sp<LogMatchingTracker>> allAtomMatchers; in TEST() 278 vector<sp<ConditionTracker>> allConditionTrackers; in TEST() 279 vector<sp<MetricProducer>> allMetricProducers; in TEST() 280 std::vector<sp<AnomalyTracker>> allAnomalyTrackers; in TEST() 281 std::vector<sp<AlarmTracker>> allAlarmTrackers; in TEST() 282 unordered_map<int, std::vector<int>> conditionToMetricMap; in TEST() 283 unordered_map<int, std::vector<int>> trackerToMetricMap; in TEST() 284 unordered_map<int, std::vector<int>> trackerToConditionMap; in TEST() 285 unordered_map<int, std::vector<int>> activationAtomTrackerToMetricMap; in TEST() [all …]
|
D | UidMap_test.cpp | 50 [](const int&, const vector<int64_t>&) {return true;}); in TEST() 73 vector<int32_t> uids; in TEST() 74 vector<int64_t> versions; in TEST() 75 vector<String16> apps; in TEST() 76 vector<String16> versionStrings; in TEST() 77 vector<String16> installers; in TEST() 105 vector<int32_t> uids; in TEST() 106 vector<int64_t> versions; in TEST() 107 vector<String16> apps; in TEST() 108 vector<String16> versionStrings; in TEST() [all …]
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | metrics_manager_util.h | 50 std::vector<sp<LogMatchingTracker>>& allAtomMatchers, 66 std::vector<sp<ConditionTracker>>& allConditionTrackers, 67 std::unordered_map<int, std::vector<int>>& trackerToConditionMap, 68 std::unordered_map<int, std::vector<MetricConditionLink>>& eventConditionLinks); 87 const std::unordered_map<int, std::vector<MetricConditionLink>>& eventConditionLinks, 88 const vector<sp<LogMatchingTracker>>& allAtomMatchers, 89 vector<sp<ConditionTracker>>& allConditionTrackers, 90 std::vector<sp<MetricProducer>>& allMetricProducers, 91 std::unordered_map<int, std::vector<int>>& conditionToMetricMap, 92 std::unordered_map<int, std::vector<int>>& trackerToMetricMap, [all …]
|
/frameworks/ml/nn/common/operations/ |
D | QuantizedLSTMTest.cpp | 33 std::vector<uint32_t> shape; 37 OperandTypeParams(Type type, std::vector<uint32_t> shape, float scale, int32_t zeroPoint) in OperandTypeParams() 50 QuantizedLSTMOpModel(const std::vector<OperandTypeParams>& inputOperandTypeParams) { in QuantizedLSTMOpModel() 51 std::vector<uint32_t> inputs; in QuantizedLSTMOpModel() 65 std::vector<uint32_t> outputs; in QuantizedLSTMOpModel() 156 void setInput(const std::vector<uint8_t>& input) { input_ = input; } in setInput() 158 void setWeightsAndBiases(std::vector<uint8_t> inputToInputWeights, in setWeightsAndBiases() 159 std::vector<uint8_t> inputToForgetWeights, in setWeightsAndBiases() 160 std::vector<uint8_t> inputToCellWeights, in setWeightsAndBiases() 161 std::vector<uint8_t> inputToOutputWeights, in setWeightsAndBiases() [all …]
|
/frameworks/base/cmds/statsd/src/condition/ |
D | CombinationConditionTracker.h | 33 bool init(const std::vector<Predicate>& allConditionConfig, 34 const std::vector<sp<ConditionTracker>>& allConditionTrackers, 36 std::vector<bool>& stack) override; 39 const std::vector<MatchingState>& eventMatcherValues, 40 const std::vector<sp<ConditionTracker>>& mAllConditions, 41 std::vector<ConditionState>& conditionCache, 42 std::vector<bool>& changedCache) override; 45 const std::vector<sp<ConditionTracker>>& allConditions, 46 const vector<Matcher>& dimensionFields, 49 std::vector<ConditionState>& conditionCache, [all …]
|
D | StateTracker.h | 33 const vector<Matcher> primaryKeys); 37 bool init(const std::vector<Predicate>& allConditionConfig, 38 const std::vector<sp<ConditionTracker>>& allConditionTrackers, 40 std::vector<bool>& stack) override; 43 const std::vector<MatchingState>& eventMatcherValues, 44 const std::vector<sp<ConditionTracker>>& mAllConditions, 45 std::vector<ConditionState>& conditionCache, 46 std::vector<bool>& changedCache) override; 57 const std::vector<sp<ConditionTracker>>& allConditions, 58 const vector<Matcher>& dimensionFields, [all …]
|
D | SimpleConditionTracker.h | 38 bool init(const std::vector<Predicate>& allConditionConfig, 39 const std::vector<sp<ConditionTracker>>& allConditionTrackers, 41 std::vector<bool>& stack) override; 44 const std::vector<MatchingState>& eventMatcherValues, 45 const std::vector<sp<ConditionTracker>>& mAllConditions, 46 std::vector<ConditionState>& conditionCache, 47 std::vector<bool>& changedCache) override; 50 const std::vector<sp<ConditionTracker>>& allConditions, 51 const vector<Matcher>& dimensionFields, 54 std::vector<ConditionState>& conditionCache, [all …]
|
D | ConditionTracker.h | 54 virtual bool init(const std::vector<Predicate>& allConditionConfig, 55 const std::vector<sp<ConditionTracker>>& allConditionTrackers, 57 std::vector<bool>& stack) = 0; 70 const std::vector<MatchingState>& eventMatcherValues, 71 const std::vector<sp<ConditionTracker>>& mAllConditions, 72 std::vector<ConditionState>& conditionCache, 73 std::vector<bool>& conditionChanged) = 0; 96 const std::vector<sp<ConditionTracker>>& allConditions, 97 const vector<Matcher>& dimensionFields, 100 std::vector<ConditionState>& conditionCache, [all …]
|
/frameworks/native/libs/binder/ndk/include_cpp/android/ |
D | binder_parcel_utils.h | 45 std::vector<T>* vec = static_cast<std::vector<T>*>(vectorData); in AParcel_stdVectorAllocator() 59 std::optional<std::vector<T>>* vec = static_cast<std::optional<std::vector<T>>*>(vectorData); in AParcel_nullableStdVectorAllocator() 66 *vec = std::optional<std::vector<T>>(std::vector<T>{}); in AParcel_nullableStdVectorAllocator() 90 std::vector<T>* vec = static_cast<std::vector<T>*>(vectorData); in AParcel_stdVectorExternalAllocator() 110 std::optional<std::vector<T>>* vec = static_cast<std::optional<std::vector<T>>*>(vectorData); in AParcel_nullableStdVectorExternalAllocator() 117 *vec = std::optional<std::vector<T>>(std::vector<T>{}); in AParcel_nullableStdVectorExternalAllocator() 131 const std::vector<T>* vec = static_cast<const std::vector<T>*>(vectorData); in AParcel_stdVectorGetter() 141 std::vector<T>* vec = static_cast<std::vector<T>*>(vectorData); in AParcel_stdVectorSetter() 151 std::optional<std::vector<T>>* vec = static_cast<std::optional<std::vector<T>>*>(vectorData); in AParcel_nullableStdVectorSetter() 292 std::vector<std::string>* vec = static_cast<std::vector<std::string>*>(vectorData); in AParcel_stdVectorStringElementAllocator() [all …]
|
/frameworks/native/include/binder/ |
D | Parcel.h | 138 status_t writeByteVector(const std::optional<std::vector<int8_t>>& val); 139 status_t writeByteVector(const std::unique_ptr<std::vector<int8_t>>& val); 140 status_t writeByteVector(const std::vector<int8_t>& val); 141 status_t writeByteVector(const std::optional<std::vector<uint8_t>>& val); 142 status_t writeByteVector(const std::unique_ptr<std::vector<uint8_t>>& val); 143 status_t writeByteVector(const std::vector<uint8_t>& val); 144 status_t writeInt32Vector(const std::optional<std::vector<int32_t>>& val); 145 status_t writeInt32Vector(const std::unique_ptr<std::vector<int32_t>>& val); 146 status_t writeInt32Vector(const std::vector<int32_t>& val); 147 status_t writeInt64Vector(const std::optional<std::vector<int64_t>>& val); [all …]
|
/frameworks/native/libs/binder/include/binder/ |
D | Parcel.h | 138 status_t writeByteVector(const std::optional<std::vector<int8_t>>& val); 139 status_t writeByteVector(const std::unique_ptr<std::vector<int8_t>>& val); 140 status_t writeByteVector(const std::vector<int8_t>& val); 141 status_t writeByteVector(const std::optional<std::vector<uint8_t>>& val); 142 status_t writeByteVector(const std::unique_ptr<std::vector<uint8_t>>& val); 143 status_t writeByteVector(const std::vector<uint8_t>& val); 144 status_t writeInt32Vector(const std::optional<std::vector<int32_t>>& val); 145 status_t writeInt32Vector(const std::unique_ptr<std::vector<int32_t>>& val); 146 status_t writeInt32Vector(const std::vector<int32_t>& val); 147 status_t writeInt64Vector(const std::optional<std::vector<int64_t>>& val); [all …]
|
/frameworks/rs/script_api/ |
D | rs_vector_math.spec | 48 test: vector 59 test: vector 75 test: vector 86 test: vector 100 test: vector 111 test: vector 130 test: vector 140 summary: Approximate length of a vector 142 Computes the approximate length of a vector. 148 test: vector [all …]
|
D | Specification.h | 163 std::vector<std::string> mDescription; // The comments to be included in the header 176 const std::vector<std::string>& getDescription() const { return mDescription; } in getDescription() 190 std::vector<ConstantSpecification*> mSpecifications; // Owned 196 const std::vector<ConstantSpecification*> getSpecifications() const { return mSpecifications; } in getSpecifications() 206 std::vector<TypeSpecification*> mSpecifications; // Owned 212 const std::vector<TypeSpecification*> getSpecifications() const { return mSpecifications; } in getSpecifications() 226 std::vector<ParameterEntry*> mParameters; 229 std::vector<FunctionSpecification*> mSpecifications; // Owned 236 const std::vector<ParameterEntry*>& getParameters() const { return mParameters; } in getParameters() 238 const std::vector<FunctionSpecification*> getSpecifications() const { return mSpecifications; } in getSpecifications() [all …]
|
/frameworks/base/cmds/statsd/tests/external/ |
D | puller_util_test.cpp | 32 using std::vector; 48 void extractIntoVector(vector<shared_ptr<LogEvent>> events, in extractIntoVector() 49 vector<vector<int>>& ret) { in extractIntoVector() 53 vector<int> vec; in extractIntoVector() 62 vector<shared_ptr<LogEvent>> inputData; in TEST() 86 vector<vector<int>> actual; in TEST() 88 vector<int> expectedV1 = {20, 22, 52}; in TEST() 94 vector<shared_ptr<LogEvent>> inputData; in TEST() 126 vector<vector<int>> actual; in TEST() 128 vector<int> expectedV1 = {20, 22, 21}; in TEST() [all …]
|
/frameworks/ml/nn/tools/test_generator/test_harness/include_legacy/ |
D | TestHarness.h | 39 inline void convertFloat16ToFloat32(const _Float16* input, std::vector<float>* output) { in convertFloat16ToFloat32() 60 typedef std::map<int, std::vector<uint32_t>> OperandDimensions; 61 typedef std::map<int, std::vector<float>> Float32Operands; 62 typedef std::map<int, std::vector<int32_t>> Int32Operands; 63 typedef std::map<int, std::vector<uint8_t>> Quant8AsymmOperands; 64 typedef std::map<int, std::vector<int16_t>> Quant16SymmOperands; 65 typedef std::map<int, std::vector<_Float16>> Float16Operands; 66 typedef std::map<int, std::vector<bool8>> Bool8Operands; 67 typedef std::map<int, std::vector<int8_t>> Quant8ChannelOperands; 68 typedef std::map<int, std::vector<uint16_t>> Quant16AsymmOperands; [all …]
|
/frameworks/native/libs/cputimeinstate/ |
D | cputimeinstate.h | 26 std::optional<std::vector<std::vector<uint64_t>>> getUidCpuFreqTimes(uint32_t uid); 27 std::optional<std::unordered_map<uint32_t, std::vector<std::vector<uint64_t>>>> 29 std::optional<std::unordered_map<uint32_t, std::vector<std::vector<uint64_t>>>> 31 std::optional<std::vector<std::vector<uint32_t>>> getCpuFreqs(); 34 std::vector<uint64_t> active; 35 std::vector<std::vector<uint64_t>> policy;
|
/frameworks/compile/slang/tests/F_vector_cast/ |
D | stderr.txt.expect | 1 …: error: cannot convert between vector values of different size ('float2' (vector of 2 'float' val… 2 …1: error: cannot convert between vector values of different size ('int3' (vector of 3 'int' values… 3 vector_cast.rscript:7:9: error: invalid vector cast 4 vector_cast.rscript:14:9: error: invalid vector cast 5 vector_cast.rscript:21:9: error: invalid vector cast 6 vector_cast.rscript:31:13: error: invalid vector cast
|
/frameworks/av/media/mtp/ |
D | MtpTypes.h | 53 typedef std::vector<MtpStorage *> MtpStorageList; 54 typedef std::vector<MtpDevice*> MtpDeviceList; 55 typedef std::vector<MtpProperty*> MtpPropertyList; 57 typedef std::vector<uint8_t> UInt8List; 58 typedef std::vector<uint16_t> UInt16List; 59 typedef std::vector<uint32_t> UInt32List; 60 typedef std::vector<uint64_t> UInt64List; 61 typedef std::vector<int8_t> Int8List; 62 typedef std::vector<int16_t> Int16List; 63 typedef std::vector<int32_t> Int32List; [all …]
|
/frameworks/ml/nn/runtime/test/android_fuzzing/ |
D | Converter.cpp | 48 std::vector<float> convert(const Scales& scales) { in convert() 50 return std::vector<float>(repeatedScale.begin(), repeatedScale.end()); in convert() 54 std::vector<float> scales = convert(params.scales()); in convert() 59 std::vector<uint32_t> convert(const Dimensions& dimensions) { in convert() 61 return std::vector<uint32_t>(repeatedDimension.begin(), repeatedDimension.end()); in convert() 75 std::vector<uint32_t> dimensions = convert(operand.dimensions()); in convert() 100 std::vector<TestOperand> convert(const Operands& operands) { in convert() 101 std::vector<TestOperand> testOperands; in convert() 109 std::vector<uint32_t> convert(const Indexes& indexes) { in convert() 111 return std::vector<uint32_t>(repeatedIndex.begin(), repeatedIndex.end()); in convert() [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | ComposerHal.h | 75 virtual std::vector<IComposer::Capability> getCapabilities() = 0; 105 Display display, std::vector<Layer>* outLayers, 106 std::vector<IComposerClient::Composition>* outTypes) = 0; 107 virtual Error getColorModes(Display display, std::vector<ColorMode>* outModes) = 0; 110 virtual Error getDisplayConfigs(Display display, std::vector<Config>* outConfigs) = 0; 114 std::vector<Layer>* outLayers, 115 std::vector<uint32_t>* outLayerRequestMasks) = 0; 119 virtual Error getHdrCapabilities(Display display, std::vector<Hdr>* outTypes, 123 virtual Error getReleaseFences(Display display, std::vector<Layer>* outLayers, 124 std::vector<int>* outReleaseFences) = 0; [all …]
|
/frameworks/av/media/codec2/core/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; 341 std::vector<std::shared_ptr<C2SettingResult>> settingResult) = 0; 418 std::vector<C2String> aliases; ///< name aliases for backward compatibility 463 virtual c2_status_t announce_nb(const std::vector<C2WorkOutline> &items) = 0; [all …]
|
/frameworks/native/libs/input/tests/ |
D | VelocityTracker_test.cpp | 87 std::vector<Position> positions; 90 static BitSet32 getValidPointers(const std::vector<Position>& positions) { in getValidPointers() 107 static int32_t resolveAction(const std::vector<Position>& lastPositions, in resolveAction() 108 const std::vector<Position>& currentPositions, in resolveAction() 109 const std::vector<Position>& nextPositions) { in resolveAction() 134 static std::vector<MotionEvent> createMotionEventStream( in createMotionEventStream() 135 const std::vector<MotionEventEntry>& motions) { in createMotionEventStream() 140 std::vector<MotionEvent> events; in createMotionEventStream() 193 const std::vector<MotionEventEntry>& motions, int32_t axis, float targetVelocity) { in computeAndCheckVelocity() 197 std::vector<MotionEvent> events = createMotionEventStream(motions); in computeAndCheckVelocity() [all …]
|
/frameworks/ml/nn/runtime/ |
D | Manager.cpp | 69 const std::vector<Extension>& getSupportedExtensions() const override { in getSupportedExtensions() 72 std::vector<bool> getSupportedOperations(const MetaModel& metaModel) const override; 134 std::tuple<int, std::vector<OutputShape>, Timing> execute( 135 const std::vector<ModelArgumentInfo>& inputs, 136 const std::vector<ModelArgumentInfo>& outputs, 137 const std::vector<const Memory*>& memories, 143 const std::vector<ModelArgumentInfo>& inputs, 144 const std::vector<ModelArgumentInfo>& outputs, 145 const std::vector<const Memory*>& memories, const std::vector<int>& waitFor, 184 std::vector<bool> DriverDevice::getSupportedOperations(const MetaModel& metaModel) const { in getSupportedOperations() [all …]
|