Home
last modified time | relevance | path

Searched refs:arr2 (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
DArrayUtils.java49 public static byte[] concat(byte[] arr1, byte[] arr2) { in concat() argument
51 arr2, 0, (arr2 != null) ? arr2.length : 0); in concat()
54 public static byte[] concat(byte[] arr1, int offset1, int len1, byte[] arr2, int offset2, in concat() argument
57 return subarray(arr2, offset2, len2); in concat()
63 System.arraycopy(arr2, offset2, result, len1, len2); in concat()
108 public static int[] concat(int[] arr1, int[] arr2) { in concat() argument
110 return arr2; in concat()
111 } else if ((arr2 == null) || (arr2.length == 0)) { in concat()
114 int[] result = new int[arr1.length + arr2.length]; in concat()
116 System.arraycopy(arr2, 0, result, arr1.length, arr2.length); in concat()
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DDataVerify.java43 boolean arrayCompare(byte[] arr1, byte[] arr2) { in arrayCompare() argument
46 if (arr1 == null || arr2 == null) { in arrayCompare()
55 if (arr1.length != arr2.length) { in arrayCompare()
60 if (arr1[i] != arr2[i]) return false; in arrayCompare()
/frameworks/base/cmds/incident_helper/tests/
DPageTypeInfoParser_test.cpp73 int arr2[] = { 953, 773, 437, 154, 92, 26, 15, 14, 12, 7, 0}; in TEST_F() local
75 mt2->add_free_pages_count(arr2[i]); in TEST_F()
/frameworks/av/media/utils/tests/
Dstatic_string_view_tests.cpp72 constexpr std::array<char, 4> arr2 = {'d', 'e', 'f', 'g'}; in TEST() local
73 static constexpr std::array<char, 7> res = StaticStringView::concatArray(arr1, arr2); in TEST()
/frameworks/base/services/core/java/com/android/server/input/
DKeyboardLayoutManager.java1129 private static boolean haveCommonValue(int[] arr1, int[] arr2) { in haveCommonValue() argument
1131 for (int a2 : arr2) { in haveCommonValue()