Searched refs:uidPredicate (Results 1 – 3 of 3) sorted by relevance
68 Predicate<Integer> uidPredicate = uid -> uid == 0 || uid >= 4; in testReader_byUids() local86 uidPredicate, in testReader_byUids()299 KernelCpuThreadReaderSettingsObserver.UidPredicate uidPredicate = in testUidPredicate_singleRange() local301 assertTrue(uidPredicate.test(1000)); in testUidPredicate_singleRange()302 assertTrue(uidPredicate.test(1050)); in testUidPredicate_singleRange()303 assertTrue(uidPredicate.test(1999)); in testUidPredicate_singleRange()304 assertFalse(uidPredicate.test(2000)); in testUidPredicate_singleRange()305 assertFalse(uidPredicate.test(0)); in testUidPredicate_singleRange()306 assertFalse(uidPredicate.test(10000)); in testUidPredicate_singleRange()307 assertFalse(uidPredicate.test(-100)); in testUidPredicate_singleRange()[all …]
130 Predicate<Integer> uidPredicate, in KernelCpuThreadReader() argument135 mUidPredicate = uidPredicate; in KernelCpuThreadReader()148 public static KernelCpuThreadReader create(int numBuckets, Predicate<Integer> uidPredicate) { in create() argument152 uidPredicate, in create()243 void setUidPredicate(Predicate<Integer> uidPredicate) { in setUidPredicate() argument244 mUidPredicate = uidPredicate; in setUidPredicate()
123 final UidPredicate uidPredicate; in updateReader() local125 uidPredicate = in updateReader()135 mKernelCpuThreadReader.setUidPredicate(uidPredicate); in updateReader()