Home
last modified time | relevance | path

Searched refs:names2 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/os/
DWorkSource.java302 final String[] names2 = other.mNames; in diff() local
307 if (names1 != null && names2 != null && !names1[i].equals(names2[i])) { in diff()
656 final String[] names2 = other.mNames; in removeUidsAndNames() local
663 if (uids2[i2] == uids1[i1] && names2[i2].equals(names1[i1])) { in removeUidsAndNames()
674 || (uids2[i2] == uids1[i1] && names2[i2].compareTo(names1[i1]) > 0)) { in removeUidsAndNames()
808 String[] names2 = other.mNames; in updateUidsAndNamesLocked() local
821 + ": insert " + uids2[i2] + " " + names2[i2]); in updateUidsAndNamesLocked()
822 insert(i1, uids2[i2], names2[i2]); in updateUidsAndNamesLocked()
824 sNewbWork = addWork(sNewbWork, uids2[i2], names2[i2]); in updateUidsAndNamesLocked()
/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java434 final String[] names2 = {"testWorkSource1", "testWorkSource2"}; in testWorkSourceNativeToJava() local
440 unparcelWorkSourceFromNativeAndVerify(uids2, names2); in testWorkSourceNativeToJava()
453 final String[] names2 = {"testGetWorkSource1", "testGetWorkSource2"}; in testWorkSourceJavaToNative() local
458 parcelWorkSourceToNativeAndVerify(uids2, names2); in testWorkSourceJavaToNative()