Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 67) sorted by relevance

123

/cts/apps/CtsVerifier/include/colorchecker/
Dcolorcheckertest.h42 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 …]
Dautolocktest.h31 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;
Dmeteringtest.h35 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;
Dexposurecompensationtest.h38 const std::vector<Vec3f>* checkerColors) { in addDataToList()
52 std::vector<std::vector<Vec3f> > mCheckerColors;
53 std::vector<Vec3i> mReferenceColors;
54 std::vector<float> mExposureValues;
Dtestingimage.h53 const std::vector<Vec3f>* getColorChecker(
55 const std::vector<std::vector< Vec2f > >* centerAddress,
56 const std::vector<std::vector< float > >* radiusAddress) const;
Dwhitebalancetest.h33 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/
Ditest_impl.h184 const std::vector<::ndk::ScopedFileDescriptor>& in_input, in RepeatFdArray()
185 std::vector<::ndk::ScopedFileDescriptor>* out_repeated, in RepeatFdArray()
186 std::vector<::ndk::ScopedFileDescriptor>* _aidl_return) override { in RepeatFdArray()
228 const std::vector<bool>& in_value, std::vector<bool>* out_repeated, in RepeatBooleanArray()
229 std::vector<bool>* _aidl_return) override { in RepeatBooleanArray()
234 ::ndk::ScopedAStatus RepeatByteArray(const std::vector<uint8_t>& in_value, in RepeatByteArray()
235 std::vector<uint8_t>* out_repeated, in RepeatByteArray()
236 std::vector<uint8_t>* _aidl_return) override { in RepeatByteArray()
242 const std::vector<char16_t>& in_value, in RepeatCharArray()
243 std::vector<char16_t>* out_repeated, in RepeatCharArray()
[all …]
Dtest_native_aidl_client.cpp138 std::string dumpToString(std::shared_ptr<ITest> itest, std::vector<const char*> args) { in dumpToString()
392 std::vector<ScopedFileDescriptor> sfds; in TEST_P()
396 std::vector<ScopedFileDescriptor> sfds_out1; in TEST_P()
398 std::vector<ScopedFileDescriptor> sfds_out2; in TEST_P()
624 using RepeatMethod = ScopedAStatus (ITest::*)(const std::vector<T>&,
625 std::vector<T>*, std::vector<T>*);
629 std::vector<std::vector<T>> tests) { in testRepeat()
631 std::vector<T> out1; in testRepeat()
633 std::vector<T> out2; in testRepeat()
643 std::vector<std::vector<T>> tests) { in testRepeat2List()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/
DGLArrowSensorTestRenderer.java225 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/suite/audio_quality/lib/include/task/
DTaskProcess.h42 bool parseParams(std::vector<Param>& list, const char* str, bool isInput);
49 bool prepareParams(std::vector<TaskProcess::Param>& list,
86 std::vector<Param> mInput;
87 std::vector<Param> mOutput;
/cts/tests/openglperf2/jni/reference/scene/
DScene.h43 std::vector<Mesh*> mMeshes;
44 std::vector<GLuint> mTextureIds;
45 std::vector<ProgramNode*> mSceneGraphs;
/cts/hostsidetests/securitybulletin/securityPatch/Bug-137878930/
Dpoc.cpp51 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/location/location_gnss/src/android/location/cts/gnss/pseudorange/
DGpsMathOperations.java63 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/tests/sensor/jni/
Dandroid_hardware_cts_SensorNativeTest.cpp53 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/tests/rscpp/librscpptest/
Drs_jni_script.cpp146 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/
Dredefine.cpp70 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/
Dpoc.cpp42 const std::vector<uint8_t>& cmdData __unused, in commandExecuted()
43 const std::vector<uint8_t>& replyData __unused) { in commandExecuted()
76 std::vector<uint8_t> cmdData; in main()
77 std::vector<uint8_t> replyData; in main()
/cts/suite/audio_quality/lib/src/
DStringUtil.cpp24 std::vector<android::String8>* StringUtil::split(const android::String8& str, char delimiter) in split()
26 std::vector<android::String8>* tokens = new std::vector<android::String8>(); in split()
/cts/tests/tests/graphics/jni/
DVulkanPreTransformTestHelpers.h107 std::vector<VkImageView> mImageViews;
108 std::vector<VkFramebuffer> mFramebuffers;
109 std::vector<VkCommandBuffer> mCommandBuffers;
DVulkanPreTransformTestHelpers.cpp72 static bool enumerateInstanceExtensions(std::vector<VkExtensionProperties>* extensions) { in enumerateInstanceExtensions()
87 std::vector<VkExtensionProperties>* extensions) { in enumerateDeviceExtensions()
102 const std::vector<VkExtensionProperties>& extensions) { in hasExtension()
141 std::vector<VkExtensionProperties> supportedInstanceExtensions; in init()
144 std::vector<const char*> enabledInstanceExtensions; in init()
178 std::vector<VkPhysicalDevice> gpus(gpuCount, VK_NULL_HANDLE); in init()
191 std::vector<VkExtensionProperties> supportedDeviceExtensions; in init()
194 std::vector<const char*> enabledDeviceExtensions; in init()
204 std::vector<VkQueueFamilyProperties> queueFamilyProperties(queueFamilyCount); in init()
280 std::vector<VkSurfaceFormatKHR> formats(formatCount); in init()
[all …]
/cts/suite/audio_quality/lib/src/task/
DTaskSave.cpp55 std::unique_ptr<std::vector<android::String8> > list(StringUtil::split(fileValue, ',')); in handleFile()
56 std::vector<android::String8>* listp = list.get(); in handleFile()
108 std::unique_ptr<std::vector<android::String8> > list(StringUtil::split(reportValue, ',')); in handleReport()
109 std::vector<android::String8>* listp = list.get(); in handleReport()
DTaskProcess.cpp54 bool TaskProcess::prepareParams(std::vector<TaskProcess::Param>& list, in prepareParams()
245 bool TaskProcess::parseParams(std::vector<TaskProcess::Param>& list, const char* str, bool isInput) in parseParams()
249 std::unique_ptr<std::vector<android::String8>> paramTokens(StringUtil::split(paramStr, ',')); in parseParams()
254 std::vector<android::String8>& tokens = *(paramTokens.get()); in parseParams()
256 std::unique_ptr<std::vector<android::String8>> itemTokens(StringUtil::split(tokens[i], in parseParams()
266 std::vector<android::String8>& item = *(itemTokens.get()); in parseParams()
299 std::unique_ptr<std::vector<android::String8> > tokenPtr(StringUtil::split(value, ':')); in parseAttribute()
300 std::vector<android::String8>* tokens = tokenPtr.get(); in parseAttribute()
/cts/tests/tests/nativemedia/resourceobserver/src/
DResourceObserverNativeTest.cpp55 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()
/cts/tests/media/jni/
DNativeCodecTestBase.h90 std::vector<int64_t> inpPtsArray;
91 std::vector<int64_t> outPtsArray;
92 std::vector<uint8_t> memory;
/cts/suite/audio_quality/test/
DStringUtilTest.cpp56 std::vector<android::String8>* tokens = StringUtil::split(str, ':'); in TEST_F()
66 std::vector<android::String8>* tokens2 = StringUtil::split(str2, ':'); in TEST_F()

123