Searched refs:diffs (Results 1 – 4 of 4) sorted by relevance
265 ArrayList<WorkChain>[] diffs = WorkSource.diffChains(ws1, ws2); in testDiffChains_noChains() local266 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() local272 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 …]
370 WorkSource[] diffs = new WorkSource[2]; in setReturningDiffs() local371 diffs[0] = sNewbWork; in setReturningDiffs()372 diffs[1] = sGoneWork; in setReturningDiffs()373 return diffs; in setReturningDiffs()
2078 int diffs = 0; in diff() local2079 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 …]
1158 List<WorkChain>[] diffs = WorkSource.diffChains(mClientSource, source); in updateClientUids() local1159 if (diffs != null) { in updateClientUids()1160 List<WorkChain> newChains = diffs[0]; in updateClientUids()1161 List<WorkChain> goneChains = diffs[1]; in updateClientUids()