Home
last modified time | relevance | path

Searched refs:array1 (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
DSparseLongArrayTest.java47 private static boolean isSame(@NonNull SparseLongArray array1, in isSame() argument
49 if (array1.size() != array2.size()) { in isSame()
52 for (int i = 0; i < array1.size(); i++) { in isSame()
53 if (array1.keyAt(i) != array2.keyAt(i) || array1.valueAt(i) != array2.valueAt(i)) { in isSame()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBArrayTests.m186 //% GPB##NAME##Array *array1 =
189 //% XCTAssertNotNil(array1);
204 //% XCTAssertNotEqual(array1, array1prime);
205 //% XCTAssertEqualObjects(array1, array1prime);
207 //% XCTAssertEqual([array1 hash], [array1prime hash]);
210 //% XCTAssertNotEqualObjects(array1, array2);
211 //% XCTAssertNotEqualObjects(array1, array3);
214 //% [array1 release];
519 GPBInt32Array *array1 =
522 XCTAssertNotNil(array1);
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransitionController.java291 private static ArraySet<Integer> collectActivityTypes(ArraySet<AppWindowToken> array1, in collectActivityTypes() argument
294 for (int i = array1.size() - 1; i >= 0; i--) { in collectActivityTypes()
295 result.add(array1.valueAt(i).getActivityType()); in collectActivityTypes()
306 private static AppWindowToken lookForHighestTokenWithFilter(ArraySet<AppWindowToken> array1, in lookForHighestTokenWithFilter() argument
309 final int array2base = array1.size(); in lookForHighestTokenWithFilter()
316 ? array1.valueAt(i) in lookForHighestTokenWithFilter()
/frameworks/rs/
DrsType.cpp242 if (t->getArray(1) != params->array1) continue; in getTypeRef()
276 if (params->array1 > 0) nt->mHal.state.arrayCount ++; in getTypeRef()
282 if (params->array1 > 1) nt->mHal.state.arrays[1] = params->array1; in getTypeRef()
DrsInternalDefines.h222 uint32_t array1; member
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java94 public static boolean equals(byte[] array1, byte[] array2, int length) { in equals() argument
99 if (array1 == array2) { in equals()
102 if (array1 == null || array2 == null || array1.length < length || array2.length < length) { in equals()
106 if (array1[i] != array2[i]) { in equals()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java417 private static byte[] concatHex(byte[] array1, byte[] array2) { in concatHex() argument
419 int len = array1.length + array2.length; in concatHex()
424 if (array1.length != 0) { in concatHex()
425 for (byte b : array1) { in concatHex()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DEventRecurrence.java455 private static boolean arraysEqual(int[] array1, int count1, int[] array2, int count2) { in arraysEqual() argument
461 if (array1[i] != array2[i]) in arraysEqual()
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DWapPushTest.java1295 byte[] array1 = { in createPDU()
1310 array1[2] = (byte) (array1.length - 3); in createPDU()
1311 mWspHeader = array1; in createPDU()
1313 mWspHeaderLen = array1.length; in createPDU()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java1248 final int[] array1 = makeRandomArray(); in isAnyAppIdUnwhitelisted() local
1251 final boolean expected = isAnyAppIdUnwhitelistedSlow(array1, array2); in isAnyAppIdUnwhitelisted()
1252 final boolean actual = AppStateTracker.isAnyAppIdUnwhitelisted(array1, array2); in isAnyAppIdUnwhitelisted()
1254 assertEquals("Input: " + Arrays.toString(array1) + " " + Arrays.toString(array2), in isAnyAppIdUnwhitelisted()