Searched refs:arr1 (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/keystore/java/android/security/keystore/ |
D | ArrayUtils.java | 49 public static byte[] concat(byte[] arr1, byte[] arr2) { in concat() argument 50 return concat(arr1, 0, (arr1 != null) ? arr1.length : 0, in concat() 54 public static byte[] concat(byte[] arr1, int offset1, int len1, byte[] arr2, int offset2, in concat() argument 59 return subarray(arr1, offset1, len1); in concat() 62 System.arraycopy(arr1, offset1, result, 0, len1); in concat() 108 public static int[] concat(int[] arr1, int[] arr2) { in concat() argument 109 if ((arr1 == null) || (arr1.length == 0)) { in concat() 112 return arr1; in concat() 114 int[] result = new int[arr1.length + arr2.length]; in concat() 115 System.arraycopy(arr1, 0, result, 0, arr1.length); in concat() [all …]
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
D | DataVerify.java | 43 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/ |
D | PageTypeInfoParser_test.cpp | 64 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()
|
/frameworks/av/media/utils/tests/ |
D | static_string_view_tests.cpp | 71 constexpr std::array<char, 3> arr1 = {'a', 'b', 'c'}; 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/ |
D | KeyboardLayoutManager.java | 1129 private static boolean haveCommonValue(int[] arr1, int[] arr2) { in haveCommonValue() argument 1130 for (int a1 : arr1) { in haveCommonValue()
|