Home
last modified time | relevance | path

Searched refs:testArray (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerUtilsTest.cpp42 std::array<int64_t, 30> testArray{}; in TEST_F() local
44 EXPECT_EQ(0, calculate_mean(testArray)); in TEST_F()
46 testArray[0] = 33; in TEST_F()
47 EXPECT_EQ(1, calculate_mean(testArray)); in TEST_F()
48 testArray[1] = 33; in TEST_F()
49 testArray[2] = 33; in TEST_F()
50 EXPECT_EQ(3, calculate_mean(testArray)); in TEST_F()
51 testArray[3] = 42; in TEST_F()
52 EXPECT_EQ(4, calculate_mean(testArray)); in TEST_F()
53 testArray[4] = 33; in TEST_F()
[all …]
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
DServiceListener.java58 …TypedArray testArray = context.getResources().obtainTypedArray(R.array.known_print_plugin_vendors); in ServiceListener() local
59 for(int i = 0; i < testArray.length(); i++) { in ServiceListener()
60 int arrayID = testArray.getResourceId(i, 0); in ServiceListener()
67 testArray.recycle(); in ServiceListener()
/frameworks/av/camera/tests/
DVendorTagDescriptorTests.cpp194 uint32_t* testArray = tagArray; in TEST() local
196 EXPECT_EQ(testArray, tagArray); in TEST()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java74 public void testArray() { in testArray() method in TextViewTest