/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
D | CsvParserTest.java | 65 LineCollector collector = new LineCollector(); in testEmpty() local 67 CsvParser.parse(is, collector); in testEmpty() 70 }, collector.results); in testEmpty() 77 LineCollector collector = new LineCollector(); in testOnlyNewline() local 79 CsvParser.parse(is, collector); in testOnlyNewline() 82 }, collector.results); in testOnlyNewline() 89 LineCollector collector = new LineCollector(); in testTwoLines() local 91 CsvParser.parse(is, collector); in testTwoLines() 96 }, collector.results); in testTwoLines() 104 LineCollector collector = new LineCollector(); in testEscapedEmpty() local [all …]
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
D | DomainVerificationCollectorTest.kt | 57 val collector = mockCollector() in verifyV1() constant 58 assertThat(collector.collectAllWebDomains(pkg)) in verifyV1() 60 assertThat(collector.collectValidAutoVerifyDomains(pkg)) in verifyV1() 62 assertThat(collector.collectInvalidAutoVerifyDomains(pkg)) in verifyV1() 69 val collector = mockCollector() in verifyV1NoAutoVerify() constant 70 assertThat(collector.collectAllWebDomains(pkg)) in verifyV1NoAutoVerify() 72 assertThat(collector.collectValidAutoVerifyDomains(pkg)).isEmpty() in verifyV1NoAutoVerify() 73 assertThat(collector.collectInvalidAutoVerifyDomains(pkg)).isEmpty() in verifyV1NoAutoVerify() 79 val collector = mockCollector(linkedApps = setOf(TEST_PKG_NAME)) in verifyV1ForceAutoVerify() constant 80 assertThat(collector.collectAllWebDomains(pkg)) in verifyV1ForceAutoVerify() [all …]
|
D | DomainVerificationProxyTest.kt | 79 private lateinit var collector: DomainVerificationCollector in <lambda>() variable in com.android.server.pm.test.verify.domain.DomainVerificationProxyTest 126 collector = mockThrowOnUnmocked { in <lambda>() 142 manager, collector, connection in <lambda>() 160 manager, collector, connection in <lambda>() 178 context, manager, collector, connection in <lambda>() 202 context, manager, collector, mockConnection() in <lambda>() 219 collector, in <lambda>() 441 collector, in <lambda>() 477 collector, in <lambda>() 488 collector, in <lambda>() [all …]
|
/frameworks/base/tests/utils/testutils/java/android/os/test/ |
D | TestLooperTest.java | 57 public ErrorCollector collector = new ErrorCollector(); field in TestLooperTest 89 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement() 91 collector.checkThat("2: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement() 93 collector.checkThat("3: messageB", messageB, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement() 95 collector.checkThat("4: messageC", messageC, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement() 147 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchNoTimeMove() 149 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchNoTimeMove() 176 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeOnce() 178 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeOnce() 180 collector.checkThat("3: messageC", messageC, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeOnce() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | ObserverNodeTest.java | 91 final ObserverCollector collector = mock(ObserverCollector.class); in testUri() local 92 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, collector); in testUri() 93 verify(collector, times(nums[i])).collect( in testUri() 121 final ObserverCollector collector = mock(ObserverCollector.class); in testUriNotNotify() local 122 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, collector); in testUriNotNotify() 123 verify(collector, times(nums[i])).collect( in testUriNotNotify() 146 final ObserverCollector collector = new ObserverCollector(); in testCluster() local 148 0, myUserHandle, collector); in testCluster() 150 ContentResolver.NOTIFY_INSERT, myUserHandle, collector); in testCluster() 152 ContentResolver.NOTIFY_INSERT, myUserHandle, collector); in testCluster() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | AppCollectorTest.java | 95 AppCollector collector = new AppCollector(mContext, volume); in testNoApps() local 97 assertThat(collector.getPackageStats(TIMEOUT)).isEmpty(); in testNoApps() 105 AppCollector collector = new AppCollector(mContext, volume); in testAppOnExternalVolume() local 107 assertThat(collector.getPackageStats(TIMEOUT)).isEmpty(); in testAppOnExternalVolume() 115 AppCollector collector = new AppCollector(mContext, volume); in testOneValidApp() local 120 assertThat(collector.getPackageStats(TIMEOUT)).containsExactly(stats); in testOneValidApp() 132 AppCollector collector = new AppCollector(mContext, volume); in testMultipleUsersOneApp() local 141 assertThat(collector.getPackageStats(TIMEOUT)).containsExactly(stats, otherStats); in testMultipleUsersOneApp() 146 AppCollector collector = new AppCollector(mContext, null); in testNullVolumeShouldCauseNPE() local 155 AppCollector collector = new AppCollector(mContext, volume); in testAppNotFoundDoesntCauseCrash() local [all …]
|
/frameworks/base/tools/aapt2/compile/ |
D | XmlIdCollector_test.cpp | 61 XmlIdCollector collector; in TEST() local 62 ASSERT_TRUE(collector.Consume(context.get(), doc.get())); in TEST() 73 XmlIdCollector collector; in TEST() local 74 ASSERT_FALSE(collector.Consume(context.get(), doc.get())); in TEST()
|
D | XmlIdCollector.cpp | 79 IdCollector collector(&xmlRes->file.exported_symbols, &source_diag); in Consume() local 80 xmlRes->root->Accept(&collector); in Consume()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 1786 Size thumbnailSize, CameraErrorCollector collector) { in setJpegKeys() argument 1795 collector.expectEquals("JPEG thumbnail size request set and get should match", in setJpegKeys() 1797 collector.expectTrue("GPS locations request set and get should match.", in setJpegKeys() 1800 collector.expectEquals("JPEG orientation request set and get should match", in setJpegKeys() 1803 collector.expectEquals("JPEG quality request set and get should match", in setJpegKeys() 1805 collector.expectEquals("JPEG thumbnail quality request set and get should match", in setJpegKeys() 1852 CameraErrorCollector collector) throws Exception { in verifyJpegKeys() argument 1863 collector.expectTrue("Jpeg shouldn't have thumbnail when thumbnail size is (0, 0)", in verifyJpegKeys() 1866 collector.expectTrue("Jpeg must have thumbnail for thumbnail size " + in verifyJpegKeys() 1886 collector.expectEquals("JPEG thumbnail size result and request should match", in verifyJpegKeys() [all …]
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DiskStatsLoggingService.java | 71 AppCollector collector = new AppCollector(this, volume); in onStartJob() local 80 task.setAppCollector(collector); in onStartJob() 139 public void setAppCollector(AppCollector collector) { in setAppCollector() argument 140 mCollector = collector; in setAppCollector()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/proxy/ |
D | DomainVerificationProxy.java | 44 @NonNull DomainVerificationCollector collector, @NonNull ConnectionType connection) { in makeProxy() argument 60 proxyV1 = new DomainVerificationProxyV1(context, manager, collector, connection, in makeProxy()
|
/frameworks/base/apct-tests/perftests/packagemanager/ |
D | Android.bp | 25 "collector-device-lib-platform",
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
D | UiAutomatorTestRunner.java | 104 TestCaseCollector collector = getTestCaseCollector(this.getClass().getClassLoader()); in start() local 106 collector.addTestClasses(mTestClasses); in start() 124 List<TestCase> testCases = collector.getTestCases(); in start()
|
/frameworks/base/apct-tests/perftests/multiuser/ |
D | Android.bp | 29 "collector-device-lib-platform",
|
/frameworks/base/tests/ActivityManagerPerfTests/tests/ |
D | Android.bp | 31 "collector-device-lib-platform",
|
/frameworks/base/apct-tests/perftests/textclassifier/ |
D | Android.bp | 31 "collector-device-lib",
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 435 final ObserverCollector collector = new ObserverCollector(); in notifyChange() local 474 observerWantsSelfNotifications, flags, resolvedUserId, collector); in notifyChange() 481 collector.dispatch(); in notifyChange() 1822 int targetUserHandle, ObserverCollector collector) { in collectMyObserversLocked() argument 1862 collector.collect(entry.observer, entry.uid, selfChange, uri, flags, in collectMyObserversLocked() 1871 int targetUserHandle, ObserverCollector collector) { in collectObserversLocked() argument 1873 observerWantsSelfNotifications, flags, targetUserHandle, collector); in collectObserversLocked() 1881 int targetUserHandle, ObserverCollector collector) { in collectObserversLocked() argument 1887 flags, targetUserHandle, collector); in collectObserversLocked() 1894 flags, targetUserHandle, collector); in collectObserversLocked() [all …]
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | GraphicBufferMetrics.java | 128 public void findEvents(String path, List<RawEvent> collector) { in findEvents() argument 135 child.findEvents(nextPath, collector); in findEvents() 137 collector.add(child); in findEvents()
|
/frameworks/base/apct-tests/perftests/contentcapture/ |
D | Android.bp | 32 "collector-device-lib",
|
/frameworks/base/apct-tests/perftests/windowmanager/ |
D | Android.bp | 31 "collector-device-lib",
|
/frameworks/base/apct-tests/perftests/surfaceflinger/ |
D | Android.bp | 33 "collector-device-lib",
|
/frameworks/base/apct-tests/perftests/inputmethod/ |
D | Android.bp | 31 "collector-device-lib",
|
/frameworks/base/apct-tests/perftests/blobstore/ |
D | Android.bp | 33 "collector-device-lib-platform",
|
/frameworks/base/apct-tests/perftests/autofill/ |
D | Android.bp | 33 "collector-device-lib",
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationSettings.java | 77 public DomainVerificationSettings(@NonNull DomainVerificationCollector collector) { in DomainVerificationSettings() argument 78 mCollector = collector; in DomainVerificationSettings()
|