Home
last modified time | relevance | path

Searched refs:m2 (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DMatrixTest.java52 Matrix m2 = new Matrix(20, 0); in testDegenerate() local
53 assertEquals(m1, m2.transpose()); in testDegenerate()
62 Matrix m2 = new Matrix(2, new double[]{10, 20, 30, 40}); in testAddition() local
64 assertEquals(m3, m1.plus(m2)); in testAddition()
73 Matrix m2 = new Matrix(2, new double[]{10, 20, 30, 40}); in testSubtraction() local
75 assertEquals(m1, m3.minus(m2)); in testSubtraction()
85 Matrix m2 = new Matrix(2, new double[]{x * 1, x * 2, x * 3, x * 4}); in testScalarMultiplication() local
86 assertEquals(m2, m1.times(x)); in testScalarMultiplication()
95 Matrix m2 = new Matrix(2, new double[]{-3, 3, 7, 1}); in testMultiplication() local
97 assertEquals(m3, m1.dot(m2)); in testMultiplication()
[all …]
/frameworks/native/libs/math/tests/
Dmat_test.cpp71 mat4 m2(vec4(2)); in TEST_F() local
72 mat4 m3(m2); in TEST_F()
74 EXPECT_EQ(m1, m2); in TEST_F()
75 EXPECT_EQ(m2, m3); in TEST_F()
85 mat4 m2(vec4(2)); in TEST_F() local
87 m1 += m2; in TEST_F()
90 m2 -= m1; in TEST_F()
91 EXPECT_EQ(mat4(-2), m2); in TEST_F()
123 mat4 m2(vec4(1, 5, 9, 13), vec4(2, 6, 10, 14), vec4(3, 7, 11, 15), vec4(4, 8, 12, 16)); in TEST_F() local
124 EXPECT_EQ(m1, transpose(m2)); in TEST_F()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLinkLayerStatsTest.java61 int m2 = ~a & b; in bumpCounters() local
63 assertEquals(-1, m0 + m1 + m2 + m3); in bumpCounters()
75 s.rxmpdu_vi += rxg & m2; in bumpCounters()
76 s.txmpdu_vi += txg & m2; in bumpCounters()
77 s.lostmpdu_vi += txb & m2; in bumpCounters()
78 s.retries_vi += txr & m2; in bumpCounters()
/frameworks/base/tests/JankBench/app/src/main/jni/
Dtest.cpp117 uint8_t * m2 = (uint8_t *)malloc(1024*1024*64); in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest() local
120 memset(m2, 0, 1024*1024*16); in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
128 memcpy(m1, m2, subtest); in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
138 memcpy(m1, m2, subtest); in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
152 free (m2); in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
/frameworks/base/rs/java/android/renderscript/
DMatrix4f.java329 Matrix4f m2 = new Matrix4f(); in loadProjectionNormalized() local
339 m2.loadRotate(180, 0, 1, 0); in loadProjectionNormalized()
340 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
342 m2.loadScale(-2, 2, 1); in loadProjectionNormalized()
343 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
345 m2.loadTranslate(0, 0, 2); in loadProjectionNormalized()
346 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
/frameworks/rs/support/java/src/androidx/renderscript/
DMatrix4f.java330 Matrix4f m2 = new Matrix4f(); in loadProjectionNormalized() local
340 m2.loadRotate(180, 0, 1, 0); in loadProjectionNormalized()
341 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
343 m2.loadScale(-2, 2, 1); in loadProjectionNormalized()
344 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
346 m2.loadTranslate(0, 0, 2); in loadProjectionNormalized()
347 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
/frameworks/layoutlib/bridge/tests/src/android/graphics/
DMatrix_DelegateTest.java39 Matrix m2 = new Matrix(m1); in testCopyConstructor() local
44 m2.getValues(v2); in testCopyConstructor()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DAdvancedBlendActivity.java71 Matrix m2 = new Matrix(); in ShadersView() local
72 m2.setScale(0.5f, 0.5f); in ShadersView()
73 mScaledShader.setLocalMatrix(m2); in ShadersView()
DMoreShadersActivity.java73 Matrix m2 = new Matrix(); in ShadersView() local
74 m2.setScale(0.1f, 0.1f); in ShadersView()
75 mScaledShader.setLocalMatrix(m2); in ShadersView()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java172 … boolean m2 = (ai.getSuggestActionMsg() != null) && (ai.getSuggestActionMsg().length() > 0); in checkSearchable()
175 assertTrue(m1 || m2 || m3); in checkSearchable()
/frameworks/layoutlib/bridge/tests/
Drun_tests.sh20 …api/layoutlib_api-prebuilt.jar:${OUT_INTERMEDIATES}/prebuilts/tools/common/m2/trove-prebuilt/linux…
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DModuleInfoProviderTest.java52 Collections.sort(mi, (ModuleInfo m1, ModuleInfo m2) -> in testSuccessfulParse()
/frameworks/opt/setupwizard/library/
Dself.gradle12 maven { url "$rootDir/prebuilts/tools/common/m2/repository" }
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub-test.cpp522 Metadata m2 = {}; in TEST_F() local
523 EXPECT_EQ(0, c->Acquire(&fence, &m2, sizeof(m2))); in TEST_F()
524 EXPECT_EQ(m.field1, m2.field1); in TEST_F()
525 EXPECT_EQ(m.field2, m2.field2); in TEST_F()
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.h348 DimensionsPair(DimensionsValue m1, google::protobuf::RepeatedPtrField<StateValue> m2) in DimensionsPair()
349 : dimInWhat(m1), stateValues(m2){}; in DimensionsPair()
/frameworks/base/packages/SystemUI/docs/
Ddagger.md211 [/prebuilts/tools/common/m2/repository/com/google/dagger/](http://cs/android/prebuilts/tools/common…
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java740 Matrix m2 = new Matrix(); local
741 m2.setRotate(mRotation);
748 c1.setConcat(m2, m1);
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java740 MonitoredPackage m2 = wd.newMonitoredPackage(APP_B, LONG_DURATION, false); in testPackageHealthCheckStateTransitions() local
757 assertThat(m2.getHealthCheckStateLocked()).isEqualTo(HealthCheckState.INACTIVE); in testPackageHealthCheckStateTransitions()
759 assertThat(m2.setHealthCheckActiveLocked(SHORT_DURATION)).isEqualTo( in testPackageHealthCheckStateTransitions()
762 assertThat(m2.handleElapsedTimeLocked(SHORT_DURATION)).isEqualTo(HealthCheckState.FAILED); in testPackageHealthCheckStateTransitions()
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_with_password161 …,]kE/h��X��thD��'��Zӑ6���镰yּj��RNL�?4��Ή'p��� 8���B.���T���+�����e��Z�! ���A�z�W*mˬ�m2�t…
Dbackup_telephony_no_password83 …9_n��en���!i�3͌j�Ӧ_����o>my�L�5�+�J��f6�Dx6#B��H��Hǎ!��f�#����h���m2�6��k�Fvk������l�"�…