/cts/apps/CtsVerifier/include/colorchecker/ |
D | colorcheckertest.h | 42 const std::vector<std::vector<Vec2f> >* getCheckerCenterAdd() const { in getCheckerCenterAdd() 43 std::vector<std::vector<Vec2f> >* returnPositions = in getCheckerCenterAdd() 44 new std::vector<std::vector<Vec2f> >( in getCheckerCenterAdd() 45 4, std::vector<Vec2f>(6, Vec2f(0.f, 0.f))); in getCheckerCenterAdd() 55 const std::vector<std::vector<float> >* getCheckerRadiusAdd() const { in getCheckerRadiusAdd() 56 std::vector<std::vector<float> >* returnRadius= in getCheckerRadiusAdd() 57 new std::vector<std::vector<float> >( in getCheckerRadiusAdd() 58 4, std::vector<float>(6, 0.f)); in getCheckerRadiusAdd() 80 void findCheckerBoards(std::vector<std::vector<int> > linesDir1, 81 std::vector<std::vector<int> > linesDir2); [all …]
|
D | autolocktest.h | 31 void addDataToList(const std::vector<Vec3f>* checkerColors) { in addDataToList() 40 const std::vector<bool>* getComparisonResults() const { in getComparisonResults() 45 bool IsBrighterThan(const std::vector<Vec3f>* colorCheckers1, 46 const std::vector<Vec3f>* colorCheckers2) const; 47 bool IsEquivalentTo(const std::vector<Vec3f>* colorCheckers1, 48 const std::vector<Vec3f>* colorCheckers2) const; 50 std::vector<std::vector<Vec3f> > mCheckerColors; 51 std::vector<bool> mComparisonResults;
|
D | meteringtest.h | 35 void addDataToList(const std::vector<Vec3f>* checkerColors) { in addDataToList() 44 const std::vector<bool>* getComparisonResults() const { in getComparisonResults() 49 bool isDarkerThan(const std::vector<Vec3f>* checkerColors1, 50 const std::vector<Vec3f>* checkerColors2) const; 51 bool isEquivalentTo(const std::vector<Vec3f>* checkerColors1, 52 const std::vector<Vec3f>* checkerColors2) const; 54 std::vector<std::vector<Vec3f> > mCheckerColors; 55 std::vector<bool> mComparisonResults;
|
D | exposurecompensationtest.h | 38 const std::vector<Vec3f>* checkerColors) { in addDataToList() 52 std::vector<std::vector<Vec3f> > mCheckerColors; 53 std::vector<Vec3i> mReferenceColors; 54 std::vector<float> mExposureValues;
|
D | testingimage.h | 53 const std::vector<Vec3f>* getColorChecker( 55 const std::vector<std::vector< Vec2f > >* centerAddress, 56 const std::vector<std::vector< float > >* radiusAddress) const;
|
D | whitebalancetest.h | 33 const std::vector<Vec3f>* checkerColors) { in addDataToList() 53 std::vector<Vec3f> mCheckerColors; 54 std::vector<Vec3f> mCheckerXyzColors; 55 std::vector<Vec3f> mXyzColorsDaylight;
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | itest_impl.h | 185 const std::vector<::ndk::ScopedFileDescriptor>& in_input, in RepeatFdArray() 186 std::vector<::ndk::ScopedFileDescriptor>* out_repeated, in RepeatFdArray() 187 std::vector<::ndk::ScopedFileDescriptor>* _aidl_return) override { in RepeatFdArray() 235 const std::vector<bool>& in_value, std::vector<bool>* out_repeated, in RepeatBooleanArray() 236 std::vector<bool>* _aidl_return) override { in RepeatBooleanArray() 241 ::ndk::ScopedAStatus RepeatByteArray(const std::vector<uint8_t>& in_value, in RepeatByteArray() 242 std::vector<uint8_t>* out_repeated, in RepeatByteArray() 243 std::vector<uint8_t>* _aidl_return) override { in RepeatByteArray() 249 const std::vector<char16_t>& in_value, in RepeatCharArray() 250 std::vector<char16_t>* out_repeated, in RepeatCharArray() [all …]
|
D | test_native_aidl_client.cpp | 150 std::string dumpToString(std::shared_ptr<ITest> itest, std::vector<const char*> args) { in dumpToString() 404 std::vector<ScopedFileDescriptor> sfds; in TEST_P() 408 std::vector<ScopedFileDescriptor> sfds_out1; in TEST_P() 410 std::vector<ScopedFileDescriptor> sfds_out2; in TEST_P() 562 const std::vector<bool> kBoolVVal = {true, false, true}; 563 const std::vector<int32_t> kIntVVal = {1111, -2222, 3333}; 564 const std::vector<int64_t> kLongVVal = {11111, -22222, 33333}; 565 const std::vector<double> kDoubleVVal = {111111, -222222, 333333}; 566 const std::vector<std::string> kStringVVal = {"hello", "monkey", "!"}; 591 std::vector<bool> outBoolV = std::vector<bool>(); in TEST_P() [all …]
|
/cts/tests/videocodec/jni/ |
D | NativeVideoQualityUtils.cpp | 33 std::vector<char> buffer(size + 1); // Add 1 for terminating null byte in StringFormat() 38 double polyEval(std::vector<double>& coeffs, double x) { in polyEval() 48 std::vector<double> polyIntegrate(std::vector<double>& coeffs, double coi = 0.0) { in polyIntegrate() 49 std::vector<double> integratedCoeffs(coeffs.size() + 1); in polyIntegrate() 57 std::vector<double> polyFit(std::vector<double>& rates, std::vector<double>& qualities, int order) { in polyFit() 71 std::vector<double> coeffs(order + 1); in polyFit() 78 double getAvgImprovement(std::vector<double>& xA, std::vector<double>& yA, std::vector<double>& xB, in getAvgImprovement() 79 std::vector<double>& yB, int order) { in getAvgImprovement() 80 std::vector<double> coeffsA = polyFit(xA, yA, order); in getAvgImprovement() 81 std::vector<double> coeffsB = polyFit(xB, yB, order); in getAvgImprovement() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/ |
D | GLArrowSensorTestRenderer.java | 225 public static void normalize(float[] vector) { in normalize() argument 226 double mag = Math.sqrt(vector[0] * vector[0] + vector[1] * vector[1] + vector[2] in normalize() 227 * vector[2]); in normalize() 228 vector[0] /= mag; in normalize() 229 vector[1] /= mag; in normalize() 230 vector[2] /= mag; in normalize()
|
/cts/tests/openglperf2/jni/reference/scene/ |
D | Scene.h | 43 std::vector<Mesh*> mMeshes; 44 std::vector<GLuint> mTextureIds; 45 std::vector<ProgramNode*> mSceneGraphs;
|
/cts/hostsidetests/adpf/app/hintsession/src/cpp/ |
D | Renderer.h | 72 void startHintSession(std::vector<pid_t> &threads, int64_t target); 116 FrameStats getFrameStats(std::vector<int64_t> &durations, std::vector<int64_t> &intervals, 151 std::vector<Model> heads_;
|
D | Model.h | 61 inline Model(std::vector<Vertex> vertices, std::vector<Index> indices, in Model() 111 std::vector<Vertex> currentVertices_; 112 std::vector<Vertex> startVertices_; 113 std::vector<Index> indices_;
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0925/ |
D | poc.cpp | 25 extern void Type4_Fuzz(uint8_t SubType, const std::vector<bytes_t> &Packets); 54 static std::vector<bytes_t> UnpackPackets(const uint8_t *Data, size_t Size) { in UnpackPackets() 55 std::vector<bytes_t> result; in UnpackPackets() 89 std::vector<uint8_t> bufVector(size); in main()
|
/cts/tests/sensor/jni/ |
D | android_hardware_cts_SensorNativeTest.cpp | 53 std::vector<int32_t> sensorTypes ={ASENSOR_TYPE_ACCELEROMETER, ASENSOR_TYPE_GYROSCOPE}; in test() 54 std::vector<int32_t> rates = { in test() 56 std::vector<int32_t> channelTypes = in test()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/pseudorange/ |
D | GpsMathOperations.java | 63 public static double[] matrixByColVectMultiplication(double[][] matrix, double[] vector) in matrixByColVectMultiplication() argument 67 int vectorLength = vector.length; in matrixByColVectMultiplication() 74 result[i] += matrix[i][j] * vector[j]; in matrixByColVectMultiplication()
|
/cts/apps/CtsVerifier/jni/verifier/ |
D | com_android_cts_verifier_camera_StatsImage.cpp | 161 std::vector<float>& means, in computeSingleCellStats() 162 std::vector<float>& vars) { in computeSingleCellStats() 164 std::vector<double> sum(numOfChannels, 0); in computeSingleCellStats() 166 std::vector<double> sumSq(numOfChannels, 0); in computeSingleCellStats() 168 std::vector<int> count(numOfChannels, 0); in computeSingleCellStats() 314 std::vector<float> means(statsImageSize, 0); in com_android_cts_verifier_camera_its_computeStatsImage() 315 std::vector<float> vars(statsImageSize, 0); in com_android_cts_verifier_camera_its_computeStatsImage()
|
/cts/hostsidetests/securitybulletin/securityPatch/Bug-137878930/ |
D | poc.cpp | 51 Vector<uint8_t> vector; in toVector() local 52 vector.appendArray(vec.data(), vec.size()); in toVector() 53 return *const_cast<const Vector<uint8_t> *>(&vector); in toVector() 56 static hidl_vec<uint8_t> toHidlVec(const Vector<uint8_t> &vector) { in toHidlVec() argument 58 vec.setToExternal(const_cast<uint8_t *>(vector.array()), vector.size()); in toHidlVec()
|
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_script.cpp | 146 vector->invoke_vector_test_##L(temp_##L); \ 148 vector->invoke_vector_test_##L##2(temp_##L##2); \ 150 vector->invoke_vector_test_##L##3(temp_##L##3); \ 152 vector->invoke_vector_test_##L##4(temp_##L##4); 170 sp<ScriptC_vector> vector = new ScriptC_vector(mRS); in Java_android_cts_rscpp_RSScriptTest_testVector() local
|
/cts/hostsidetests/jvmti/base/jni/ |
D | redefine.cpp | 70 void PushRedefinition(std::string name, std::vector<unsigned char> data) { in PushRedefinition() 72 std::stack<std::vector<unsigned char>> stack; in PushRedefinition() 78 bool RetrieveRedefinition(std::string name, /*out*/std::vector<unsigned char>* data) { in RetrieveRedefinition() 100 std::unordered_map<std::string, std::stack<std::vector<unsigned char>>> redefinitions_; 118 std::vector<unsigned char> dex_data; in CommonClassFileLoadHookRetransformable() 168 std::vector<unsigned char> dex_data; in Java_android_jvmti_cts_JvmtiRedefineClassesTest_pushTransformationResult()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0479/ |
D | poc.cpp | 45 const std::vector<uint8_t>& cmdData __unused, in commandExecuted() 46 const std::vector<uint8_t>& replyData __unused) { in commandExecuted() 83 std::vector<uint8_t> cmdData; in main() 84 std::vector<uint8_t> replyData; in main()
|
/cts/apps/CtsVerifier/jni/midi/ |
D | MidiTestManager.h | 48 std::vector<uint8_t> mMatchStream; 57 std::vector<TestMessage> mTestMsgs;
|
/cts/tests/tests/graphics/jni/ |
D | VulkanPreTransformTestHelpers.h | 107 std::vector<VkImageView> mImageViews; 108 std::vector<VkFramebuffer> mFramebuffers; 109 std::vector<VkCommandBuffer> mCommandBuffers;
|
/cts/hostsidetests/gwp_asan/common/jni/ |
D | gwp_asan_cts_library.cpp | 35 const std::vector<std::pair<uintptr_t, uintptr_t>>& get_gwp_asan_ranges() { in get_gwp_asan_ranges() 37 static std::vector<std::pair<uintptr_t, uintptr_t>> gwp_asan_ranges; in get_gwp_asan_ranges() 62 static const std::vector<std::pair<uintptr_t, uintptr_t>>& ranges = get_gwp_asan_ranges(); in is_gwp_asan_pointer()
|
/cts/tests/tests/nativemedia/resourceobserver/src/ |
D | ResourceObserverNativeTest.cpp | 55 std::vector<MediaObservableParcel> observables; 63 const std::vector<MediaObservableParcel>& observables) override { in onStatusChanged() 104 std::vector<MediaObservableFilter> filters = {{MediaObservableType::kVideoSecureCodec, in testResourceObserver() 164 std::vector<MediaObservableFilter> filters = {{MediaObservableType::kVideoSecureCodec, in TEST_F() 168 std::vector<MediaObservableFilter> emptyFilters; in TEST_F()
|