Home
last modified time | relevance | path

Searched refs:diffs (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DWorkSourceTest.java265 ArrayList<WorkChain>[] diffs = WorkSource.diffChains(ws1, ws2); in testDiffChains_noChains() local
266 assertNotNull(diffs[0]); in testDiffChains_noChains()
267 assertNull(diffs[1]); in testDiffChains_noChains()
268 assertEquals(2, diffs[0].size()); in testDiffChains_noChains()
269 assertEquals(ws2.getWorkChains(), diffs[0]); in testDiffChains_noChains() local
272 diffs = WorkSource.diffChains(ws2, ws1); in testDiffChains_noChains()
273 assertNull(diffs[0]); in testDiffChains_noChains()
274 assertNotNull(diffs[1]); in testDiffChains_noChains()
275 assertEquals(2, diffs[1].size()); in testDiffChains_noChains()
276 assertEquals(ws2.getWorkChains(), diffs[1]); in testDiffChains_noChains() local
[all …]
/frameworks/base/core/java/android/os/
DWorkSource.java370 WorkSource[] diffs = new WorkSource[2]; in setReturningDiffs() local
371 diffs[0] = sNewbWork; in setReturningDiffs()
372 diffs[1] = sGoneWork; in setReturningDiffs()
373 return diffs; in setReturningDiffs()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2078 int diffs = 0; in diff() local
2079 if (mcc != o.mcc) diffs |= CONFIG_MCC; in diff()
2080 if (mnc != o.mnc) diffs |= CONFIG_MNC; in diff()
2081 if (orientation != o.orientation) diffs |= CONFIG_ORIENTATION; in diff()
2082 if (density != o.density) diffs |= CONFIG_DENSITY; in diff()
2083 if (touchscreen != o.touchscreen) diffs |= CONFIG_TOUCHSCREEN; in diff()
2085 diffs |= CONFIG_KEYBOARD_HIDDEN; in diff()
2086 if (keyboard != o.keyboard) diffs |= CONFIG_KEYBOARD; in diff()
2087 if (navigation != o.navigation) diffs |= CONFIG_NAVIGATION; in diff()
2088 if (screenSize != o.screenSize) diffs |= CONFIG_SCREEN_SIZE; in diff()
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java1158 List<WorkChain>[] diffs = WorkSource.diffChains(mClientSource, source); in updateClientUids() local
1159 if (diffs != null) { in updateClientUids()
1160 List<WorkChain> newChains = diffs[0]; in updateClientUids()
1161 List<WorkChain> goneChains = diffs[1]; in updateClientUids()