Home
last modified time | relevance | path

Searched refs:m1 (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/media/module/foundation/tests/
DAMessage_test.cpp57 sp<AMessage> m1 = new AMessage(); in TEST() local
61 EXPECT_EQ(0, m1->countEntries()); in TEST()
63 m1->setInt32("smaller", INT32_MAX - 2); in TEST()
64 m1->setInt64("big", INT64_MAX); in TEST()
65 m1->setString("bigBallOfString", "whatever"); in TEST()
66 EXPECT_EQ(3, m1->countEntries()); in TEST()
68 m1->clear(); in TEST()
69 EXPECT_EQ(0, m1->countEntries()); in TEST()
71 EXPECT_TRUE(m1->maxAllowedEntries() > 0); in TEST()
75 EXPECT_EQ(m1->maxAllowedEntries(), AMessage::maxAllowedEntries()); in TEST()
[all …]
/frameworks/native/libs/math/tests/
Dmat_test.cpp43 mat4 m1(2); in TEST_F() local
46 EXPECT_TRUE(m0 != m1); in TEST_F()
48 EXPECT_FALSE(m0 == m1); in TEST_F()
70 mat4 m1(2); in TEST_F() local
74 EXPECT_EQ(m1, m2); in TEST_F()
76 EXPECT_EQ(m3, m1); in TEST_F()
79 EXPECT_NE(m4, m1); in TEST_F()
84 mat4 m1(2); in TEST_F() local
87 m1 += m2; in TEST_F()
88 EXPECT_EQ(mat4(4), m1); in TEST_F()
[all …]
/frameworks/av/include/media/
DInterpolator.h137 S m0, m1; in findY() local
144 m1 = high2 != this->end() in findY()
150 m1 = (sec1 + sec) * 0.5f; in findY()
161 m1 = constrainSlope(m1, maxSlope); in findY()
164 m1 = constrainSlope(m1, 3 * sec1); in findY()
172 m1 *= interval; in findY()
176 const S c2 = 3 * dy - 2 * m0 - m1; in findY()
177 const S c3 = m0 + m1 - 2 * dy; in findY()
187 return h00 * low->second + (h10 * m0 + h11 * m1) * interval + h01 * high->second; in findY()
/frameworks/base/rs/java/android/renderscript/
DMatrix4f.java332 Matrix4f m1 = new Matrix4f(); in loadProjectionNormalized() local
337 m1.loadFrustum(-aspect,aspect, -1,1, 1,100); in loadProjectionNormalized()
340 m1.loadFrustum(-1,1, -aspect,aspect, 1,100); in loadProjectionNormalized()
344 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
347 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
350 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
352 load(m1); in loadProjectionNormalized()
/frameworks/rs/support/java/src/androidx/renderscript/
DMatrix4f.java333 Matrix4f m1 = new Matrix4f(); in loadProjectionNormalized() local
338 m1.loadFrustum(-aspect,aspect, -1,1, 1,100); in loadProjectionNormalized()
341 m1.loadFrustum(-1,1, -aspect,aspect, 1,100); in loadProjectionNormalized()
345 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
348 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
351 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
353 load(m1); in loadProjectionNormalized()
/frameworks/base/tests/JankBench/app/src/main/jni/
Dtest.cpp116 uint8_t * volatile m1 = (uint8_t *)malloc(1024*1024*64); in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest() local
119 memset(m1, 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()
151 free (m1); in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DModuleInfoProviderTest.java54 Collections.sort(mi, (ModuleInfo m1, ModuleInfo m2) -> in testSuccessfulParse()
55 m1.getPackageName().compareTo(m1.getPackageName())); in testSuccessfulParse()
/frameworks/native/libs/tonemap/
Dtonemap.cpp342 double m1 = (y2 - y1) / h12; in lookupTonemapGain() local
344 double m2 = (m1 + m3) / 2.0; in lookupTonemapGain()
357 targetNits = (y1 * (1.0 + 2.0 * t) + h12 * m1 * t) * (1.0 - t) * in lookupTonemapGain()
441 double m1 = (2610.0 / 4096.0) / 4.0; in OETF_ST2084() local
447 double tmp = std::pow(nits, m1); in OETF_ST2084()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java187 boolean m1 = (ai.getQueryActionMsg() != null) && (ai.getQueryActionMsg().length() > 0); in checkSearchable()
191 assertTrue(m1 || m2 || m3); in checkSearchable()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/license/
DLicenseHtmlGeneratorFromXml.java257 mapEntry.getKey(), mapEntry.getValue(), (m1, m2) -> { in parse()
259 m1.merge(entry.getKey(), entry.getValue(), (s1, s2) -> { in parse()
264 return m1; in parse()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyEventDispatcherTest.java568 Message m1 = getTimedMessage(mInputEventsHandler, 1); in assertTwoKeyEventsSentToFrameworkInOrder() local
569 assertEquals(SEND_FRAMEWORK_KEY_EVENT, m1.what); in assertTwoKeyEventsSentToFrameworkInOrder()
570 assertEquals(WindowManagerPolicy.FLAG_PASS_TO_USER, m1.arg1); in assertTwoKeyEventsSentToFrameworkInOrder()
571 assertTrue(new KeyEventMatcher(second).matches(m1.obj)); in assertTwoKeyEventsSentToFrameworkInOrder()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java738 Matrix m1 = new Matrix(); local
739 m1.setTranslate(-crop.getWidth() / 2f, -crop.getHeight() / 2f);
748 c1.setConcat(m2, m1);
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationVisitUrisTest.java568 m1 -> m1.getName().startsWith("set") in getAllSetters()
571 Class<?> param1 = m1.getParameterTypes()[0]; in getAllSetters()
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java920 MonitoredPackage m1 = wd.newMonitoredPackage(APP_A, LONG_DURATION, in testPackageHealthCheckStateTransitions() local
929 assertThat(m1.getHealthCheckStateLocked()).isEqualTo(HealthCheckState.INACTIVE); in testPackageHealthCheckStateTransitions()
931 assertThat(m1.handleElapsedTimeLocked(SHORT_DURATION)).isEqualTo(HealthCheckState.INACTIVE); in testPackageHealthCheckStateTransitions()
933 assertThat(m1.setHealthCheckActiveLocked(SHORT_DURATION)).isEqualTo( in testPackageHealthCheckStateTransitions()
936 assertThat(m1.tryPassHealthCheckLocked()).isEqualTo(HealthCheckState.PASSED); in testPackageHealthCheckStateTransitions()
/frameworks/native/libs/vr/libpdx/
Dserialization_tests.cpp1203 std::map<int, std::pair<std::string, int>> m1 = {{0, {"a", 2}}, in TEST() local
1205 Serialize(m1, &result); in TEST()
/frameworks/base/core/res/geoid_map_assets/
Dgeoid-height-disk-tile-b.textpb2 …\247K`;T\353\036\005G\"T\014\265\026\314\232\261\024\031\355S\255\236{U\230m1\332\256GfOj\267\r\25…
Dgeoid-height-disk-tile-3.textpb2 …\352&\224\261\353PI!\035\352\263MU\345\233&\241i*6\227\035\352&\234\372\324m1\246y\234\323\374\377…
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp64 float m1 = (2610.0 / 4096.0) / 4.0; in EOTF_PQ() local
72 return std::pow(tmp, 1.0 / m1); in EOTF_PQ()
/frameworks/base/services/tests/mockingservicestests/res/raw/
Dbackup_telephony_no_password157 …1��&�LM���Ā�|��ۀ|�;�M?j�Md�/��l��bw�ٲ���m1*��Mԧ��ݡ{��������;��J�s��›�ZJF�=-߽�͋�����¨��f4��|=]…
/frameworks/av/media/libstagefright/httplive/fuzzer/corpus/
Dmeta3074 …�t ����w�������������������������������������,����d]��7�I��'%���)~�c7Uٕm1�o�%�wփ�D�,��?Eյ…
3248 �sɲFG�y�����q7H�̎�M�$UgKCc�5nGI￿_�������m1��j�X�:�=�\ l�N���m�����p��t9��;I�cT���>�E\D�;…
5348 …_o}R��@���_�����L�&��>\N� ��-W������������������������&^C�Co�����g����P<��(,q�m1���w�ݠϺ�
5754 )�$m1$�5D@�8�e����(]����$�3��I�m��ꦄ� z�䱴�T��qI��|���#��T�1Z&L`oL��Ⱥ�d���� 9�# ��R�H�d��w~�էZ׭…
5937 …���{A�h�[�Y�XV��{���_���D���خ���������������,{��7�B�b�I��EK�����������m1����j��v�[�����[�سp…
7474 \ ��N =�|����pl`�&�e�2�ٺԍ�e�X69(���m1##�P��ʰ���_��Uo��]��R4.(�9lȢpr2MEG���YM.�u�HY&Y����)k�o…
8578 …�yj�j[=mI뺌c��*I�� �笾�{�:��o��V��+-�Z��O�G�{��f���OK~��5���T�N��եjH���m1]i&�O-\�Kg��=wQ�s@t…
9079 m1�-�˽jk�͉�h㌍r�o�������i�P� ?�\�&����0�L�:���p9��³�]�<P{�F�C�<̖ŵ�^-=�>Է�M�<��w�Mp ��;�q��_���…
16284 #^�.����;�~�Ʀ�2��xKD��m1�(-2�&"�DR�-��� �
16398 =��l������X#?m1���Y@Q�W��^%i �,����R,T�gR*!WGZ�G��P��ĸ��>�{����!�����=vw�W�g�����������������…
[all …]
Dmeta23116 …�t ����w�������������������������������������,����d]��7�I��'%���)~�c7Uٕm1�o�%�wփ�D�,��?Eյ…
3290 �sɲFG�y�����q7H�̎�M�$UgKCc�5nGI￿_�������m1��j�X�:�=�\ l�N���m�����p��t9��;I�cT���>�E\D�;…
5390 …_o}R��@���_�����L�&��>\N� ��-W������������������������&^C�Co�����g����P<��(,q�m1���w�ݠϺ�
5796 )�$m1$�5D@�8�e����(]����$�3��I�m��ꦄ� z�䱴�T��qI��|���#��T�1Z&L`oL��Ⱥ�d���� 9�# ��R�H�d��w~�էZ׭…
5979 …���{A�h�[�Y�XV��{���_���D���خ���������������,{��7�B�b�I��EK�����������m1����j��v�[�����[�سp…
7516 \ ��N =�|����pl`�&�e�2�ٺԍ�e�X69(���m1##�P��ʰ���_��Uo��]��R4.(�9lȢpr2MEG���YM.�u�HY&Y����)k�o…
8620 …�yj�j[=mI뺌c��*I�� �笾�{�:��o��V��+-�Z��O�G�{��f���OK~��5���T�N��եjH���m1]i&�O-\�Kg��=wQ�s@t…
9121 m1�-�˽jk�͉�h㌍r�o�������i�P� ?�\�&����0�L�:���p9��³�]�<P{�F�C�<̖ŵ�^-=�>Է�M�<��w�Mp ��;�q��_���…
16326 #^�.����;�~�Ʀ�2��xKD��m1�(-2�&"�DR�-��� �
16440 =��l������X#?m1���Y@Q�W��^%i �,����R,T�gR*!WGZ�G��P��ĸ��>�{����!�����=vw�W�g�����������������…
[all …]