Home
last modified time | relevance | path

Searched refs:arr1 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
DArrayUtils.java39 public static byte[] concat(byte[] arr1, byte[] arr2) { in concat() argument
40 return concat(arr1, 0, (arr1 != null) ? arr1.length : 0, in concat()
44 public static byte[] concat(byte[] arr1, int offset1, int len1, byte[] arr2, int offset2, in concat() argument
49 return subarray(arr1, offset1, len1); in concat()
52 System.arraycopy(arr1, offset1, result, 0, len1); in concat()
98 public static int[] concat(int[] arr1, int[] arr2) { in concat() argument
99 if ((arr1 == null) || (arr1.length == 0)) { in concat()
102 return arr1; in concat()
104 int[] result = new int[arr1.length + arr2.length]; in concat()
105 System.arraycopy(arr1, 0, result, 0, arr1.length); in concat()
[all …]
/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()
47 if (arr1 == null) { in arrayCompare()
55 if (arr1.length != arr2.length) { in arrayCompare()
59 for (i = 0; i < arr1.length; i++) { in arrayCompare()
60 if (arr1[i] != arr2[i]) return false; in arrayCompare()
/frameworks/base/cmds/incident_helper/tests/
DPageTypeInfoParser_test.cpp64 int arr1[] = { 426, 279, 226, 1, 1, 1, 0, 0, 2, 2, 0}; in TEST_F() local
66 mt1->add_free_pages_count(arr1[i]); in TEST_F()