Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/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 …]
/packages/apps/TV/libs/
DAndroid.bp21 jars: ["m2/auto-common-0.10.jar"],
28 jars: ["m2/auto-factory-1.0-beta6.jar"],
51 jars: ["m2/auto-value-1.5.3.jar"],
67 jars: ["m2/error_prone_annotations-2.3.2.jar"],
80 jars: ["m2/guava-28.0-android.jar"],
86 jars: ["m2/guava-28.0-jre.jar"],
93 jars: ["m2/failureaccess-1.0.1.jar"],
100 jars: ["m2/javapoet-1.11.1.jar"],
131 "m2/dagger-compiler-2.23.jar",
132 "m2/dagger-producers-2.23.jar",
[all …]
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/junit/
DMethodSorter.java34 public int compare(Method m1, Method m2) {
36 int i2 = m2.getName().hashCode();
40 return NAME_ASCENDING.compare(m1, m2);
48 public int compare(Method m1, Method m2) {
49 final int comparison = m1.getName().compareTo(m2.getName());
53 return m1.toString().compareTo(m2.toString());
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiLinkLayerStatsTest.java102 int m2 = ~a & b; in bumpCounters() local
104 assertEquals(-1, m0 + m1 + m2 + m3); in bumpCounters()
116 s.rxmpdu_vi += rxg & m2; in bumpCounters()
117 s.txmpdu_vi += txg & m2; in bumpCounters()
118 s.lostmpdu_vi += txb & m2; in bumpCounters()
119 s.retries_vi += txr & m2; in bumpCounters()
139 l.rxmpdu_vi += rxg & m2; in bumpCounters()
140 l.txmpdu_vi += txg & m2; in bumpCounters()
141 l.lostmpdu_vi += txb & m2; in bumpCounters()
142 l.retries_vi += txr & m2; in bumpCounters()
/packages/apps/Gallery/src/com/android/camera/gallery/
DImageListUber.java243 public int compare(MergeSlot m1, MergeSlot m2) { in compare() argument
244 if (m1.mDateTaken != m2.mDateTaken) { in compare()
245 return m1.mDateTaken < m2.mDateTaken ? 1 : -1; in compare()
247 return m1.mListIndex - m2.mListIndex; in compare()
253 public int compare(MergeSlot m1, MergeSlot m2) { in compare() argument
254 if (m1.mDateTaken != m2.mDateTaken) { in compare()
255 return m1.mDateTaken < m2.mDateTaken ? -1 : 1; in compare()
257 return m1.mListIndex - m2.mListIndex; in compare()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/
DBipPixel.java128 Matcher m2 = modifiedRatio.matcher(pixel); in BipPixel() local
129 if (m2.matches()) { in BipPixel()
131 minWidth = Integer.parseInt(m2.group(1)); in BipPixel()
132 minHeight = Integer.parseInt(m2.group(2)); in BipPixel()
133 maxWidth = Integer.parseInt(m2.group(3)); in BipPixel()
134 maxHeight = Integer.parseInt(m2.group(4)); in BipPixel()
/packages/modules/Connectivity/netd/
DBpfHandler.cpp250 const char * const m2 = BPF_NETD_PATH "map_netd_lock_hash_test_map"; in mapLockTest() local
254 unique_fd fd1(bpf::mapRetrieveExclusiveRW(m2)); if (!fd1.ok()) abort(); // no conflict with fd0 in mapLockTest()
255 unique_fd fd2(bpf::mapRetrieveExclusiveRW(m2)); if ( fd2.ok()) abort(); // busy due to fd1 in mapLockTest()
256 unique_fd fd3(bpf::mapRetrieveRO(m2)); if (!fd3.ok()) abort(); // no lock taken in mapLockTest()
257 unique_fd fd4(bpf::mapRetrieveRW(m2)); if ( fd4.ok()) abort(); // busy due to fd1 in mapLockTest()
259 unique_fd fd5(bpf::mapRetrieveRO(m2)); if (!fd5.ok()) abort(); // no lock taken in mapLockTest()
260 unique_fd fd6(bpf::mapRetrieveRW(m2)); if (!fd6.ok()) abort(); // now ok in mapLockTest()
261 unique_fd fd7(bpf::mapRetrieveRO(m2)); if (!fd7.ok()) abort(); // no lock taken in mapLockTest()
262 unique_fd fd8(bpf::mapRetrieveExclusiveRW(m2)); if ( fd8.ok()) abort(); // busy due to fd6 in mapLockTest()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/collect/
DImmutableHelpers.java45 (m1, m2) -> m1.putAll(m2.build()), in toImmutableMap()
55 (m1, m2) -> m1.putAll(m2.build()), in toImmutableListMultimap()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DSmoothingUtils.java57 final float[][] m2 = new float[N][1]; in get3DParameters() local
84 m2[i][0] = ys[i]; in get3DParameters()
95 MatrixUtils.dump("a3", m2); in get3DParameters()
97 MatrixUtils.multiply(m0Invxm1, m2, retval); in get3DParameters()
DGestureStrokeDrawingPoints.java144 final double m2 = Math.atan2(mInterpolator.mSlope2Y, mInterpolator.mSlope2X); in interpolateStrokeAndReturnStartIndexOfLastSegment() local
145 final double deltaAngle = Math.abs(angularDiff(m2, m1)); in interpolateStrokeAndReturnStartIndexOfLastSegment()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DGeometry.h111 double m2 = 1.0 / m1; in FindTriangleCentroid() local
112 double b2 = y1 - m2 * x1; in FindTriangleCentroid()
114 if (fabs( m1 - m2 ) > 1.e-6) in FindTriangleCentroid()
116 double x = (b2 - b1) / (m1 - m2); in FindTriangleCentroid()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DSecurityFeatureProviderImplTest.java49 final TrustAgentManager m2 = mImpl.getTrustAgentManager(); in getTrustAgentManager_shouldReturnCache() local
51 assertThat(m1).isSameInstanceAs(m2); in getTrustAgentManager_shouldReturnCache()
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dbroadcaster_types.cc329 std::map<uint8_t, std::vector<uint8_t>> m2) { in isMetadataSame() argument
330 if (m1.size() != m2.size()) return false; in isMetadataSame()
333 if (m2.count(m1pair.first) == 0) return false; in isMetadataSame()
335 auto& m2val = m2.at(m1pair.first); in isMetadataSame()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertServiceTest.java165 private static void compareCellBroadCastMessage(SmsCbMessage m1, SmsCbMessage m2) { in compareCellBroadCastMessage() argument
166 if (m1 == m2) return; in compareCellBroadCastMessage()
168 m2.getCmasWarningInfo().getMessageClass()); in compareCellBroadCastMessage()
169 compareCmasWarningInfo(m1.getCmasWarningInfo(), m2.getCmasWarningInfo()); in compareCellBroadCastMessage()
170 compareEtwsWarningInfo(m1.getEtwsWarningInfo(), m2.getEtwsWarningInfo()); in compareCellBroadCastMessage()
171 assertEquals(m1.getLanguageCode(), m2.getLanguageCode()); in compareCellBroadCastMessage()
172 assertEquals(m1.getMessageBody(), m2.getMessageBody()); in compareCellBroadCastMessage()
173 assertEquals(m1.getServiceCategory(), m2.getServiceCategory()); in compareCellBroadCastMessage()
174 assertEquals(m1.getSerialNumber(), m2.getSerialNumber()); in compareCellBroadCastMessage()
/packages/modules/Bluetooth/system/gd/common/
Dlist_map_test.cc109 ListMap<int, int> m2; in TEST() local
110 m2.insert_or_assign(2, 200); in TEST()
111 list_map.insert_or_assign(1, std::move(m2)); in TEST()
Dlru_cache_test.cc130 LruCache<int, int> m2(2); in TEST() local
131 m2.insert_or_assign(2, 200); in TEST()
132 cache.insert_or_assign(1, std::move(m2)); in TEST()
/packages/modules/AdServices/adservices/apk/
Dbuild.gradle109 …implementation files('../../../../../prebuilts/tools/common/m2/repository/com/google/truth/truth/1…
/packages/apps/Dialer/
DAndroid.bp29 // $ protoc --plugin=protoc-gen-grpc-java=prebuilts/tools/common/m2/repository/io/grpc/protoc-…
307 "dialer-common-m2-target-deps",
360 "dialer-common-m2-host-deps",
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h634 DimensionsPair(DimensionsValue m1, google::protobuf::RepeatedPtrField<StateValue> m2) in DimensionsPair()
635 : dimInWhat(m1), stateValues(m2){}; in DimensionsPair()
/packages/apps/TV/libs/m2/
Dchecker-qual-2.8.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/checkerframework/ org/ ...
Ddagger-compiler-2.23.jarjava/dagger/internal/codegen/META-INF/gradle/incremental.annotation.processors ...
Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar377 V�9,� u���`]���8��ά��<=i�W�9�YK—�X��ڼ��5���[m2��u4ƽ�<v��l.�~��C���z����dM�gBm@y#V�X@ #��
811 �R�9����B *�K�ya�=3�ǰ���T���!@�wq���q�f��8H���L��/ʖ�r[#/W�m2�$���.={Vޢ�Z�����?�����Z(��"�;��…
1363 �1'o���1�U�9B��&۸pzc�����m2�q���Xm��ƌ`�����i��l9f?�z~dž0��=*��s�`�
1784 �6�o��oՇ�Q��qw,Qm���p��>���A��Q�+/Ǻ��4���� ����B��z�=�>m2�H�޹E&?C�W��[F��8�T�2��+���u/ Y�…
4016m2 y�2G5�m��FV���6yϷҺ
4812 ��A�4�g�E�Ox"Vm2�ɑ���q�>��Q��� ��di�T�j�ґ���~��Z�h�eI$�;�Gzu�����,�,A
5516 �Q�k ��m2%�o�qFC־��V<��|̣v��@�ԋ��rN�4�<^hU*�y�J̀���Ǩ<���DO�G �9�4�dH��� ���4��"1"q�1�}�…
5747 ��a�]��7�2� LfB����}��ZZ��#C|�p��� �|����ǯZ,M�jx����Nw��Y"�%y�'�2z{�Տ���X�&��72m2�Krc±9f]Ǹ�…
6242 ������>�V�m2�`�27�s�����9lV�Q徟nP �?7�s��_�� ����i[�%�����fY,�q��;�s]?���g�p�׉?�|`�S����, ��빏…
6754 …��~����Y5 -�c���;}�z���"g�_�l�����]z(o�Xw�A.�W8�?^(�V<Z=�2oX�'fUTF�q��Z�u}���%�8tnN3ۑڽ6m2
[all …]