/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | PackageDexUsageTests.java | 198 TestData testData = new TestData(fooPackageName, in testRecordTooManySecondaries() local 202 assertTrue("Adding " + testData.mDexFile, record(testData)); in testRecordTooManySecondaries() 203 expectedSecondaries.add(testData); in testRecordTooManySecondaries() 205 assertFalse("Adding " + testData.mDexFile, record(testData)); in testRecordTooManySecondaries() 644 for (TestData testData : secondaries) { in assertPackageDexUsage() 645 DexUseInfo dInfo = dexUseInfoMap.get(testData.mDexFile); in assertPackageDexUsage() 648 assertEquals(testData.mDexFile, dInfo.getLoadingPackages(), users); in assertPackageDexUsage() 650 assertEquals(testData.mDexFile, dInfo.getLoadingPackages(), testData.getUsedBy()); in assertPackageDexUsage() 652 assertEquals(testData.isUsedByOtherApps(), dInfo.isUsedByOtherApps()); in assertPackageDexUsage() 653 assertEquals(testData.mOwnerUserId, dInfo.getOwnerUserId()); in assertPackageDexUsage() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | VectorDrawableTests.cpp | 263 for (const TestData& testData : sTestDataSet) { in TEST() local 267 size_t length = strlen(testData.pathString); in TEST() 268 PathParser::getPathDataFromAsciiString(&pathData, &result, testData.pathString, length); in TEST() 269 EXPECT_EQ(testData.pathData, pathData); in TEST() 283 for (const TestData& testData : sTestDataSet) { in TEST() local 285 testData.skPathLamda(&expectedPath); in TEST() 287 VectorDrawableUtils::verbsToPath(&actualPath, testData.pathData); in TEST() 293 for (const TestData& testData : sTestDataSet) { in TEST() local 295 size_t length = strlen(testData.pathString); in TEST() 298 PathParser::parseAsciiStringForSkPath(&actualPath, &result, testData.pathString, length); in TEST() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/ |
D | DexManagerTests.java | 821 private void assertSecondaryUse(TestData testData, PackageUseInfo pui, in assertSecondaryUse() argument 833 assertTrue(dui.getLoaderIsas().contains(testData.mLoaderIsa)); in assertSecondaryUse() 837 private void assertSecondaryUse(TestData testData, PackageUseInfo pui, in assertSecondaryUse() argument 840 Arrays.asList(testData.mClassLoader), in assertSecondaryUse() 842 assertSecondaryUse(testData, pui, secondaries, isUsedByOtherApps, ownerUserId, in assertSecondaryUse() 846 private void assertIsUsedByOtherApps(TestData testData, PackageUseInfo pui, in assertIsUsedByOtherApps() argument 848 assertIsUsedByOtherApps(testData.getBaseAndSplitDexPaths(), pui, isUsedByOtherApps); in assertIsUsedByOtherApps() 858 private void notifyDexLoad(TestData testData, List<String> dexPaths, int loaderUserId) { in notifyDexLoad() argument 859 notifyDexLoad(testData, dexPaths, loaderUserId, /*isolatedProcess=*/ false); in notifyDexLoad() 862 private void notifyDexLoad(TestData testData, List<String> dexPaths, int loaderUserId, in notifyDexLoad() argument [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/model/ |
D | SignalIconModelParameterizedTest.kt | 77 @Parameters(name = "{0}") @JvmStatic fun data() = testData() in toSignalIconModel() 79 private fun testData(): Collection<TestCase> = in toSignalIconModel() method
|
/frameworks/base/services/tests/servicestests/src/com/android/server/grammaticalinflection/ |
D | GrammaticalInflectionBackupTest.java | 100 HashMap<String, Integer> testData = new HashMap<>(); in testApplyPayload_onPackageAdded_setApplicationGrammaticalGender() local 101 testData.put(DEFAULT_PACKAGE_NAME, Configuration.GRAMMATICAL_GENDER_NEUTRAL); in testApplyPayload_onPackageAdded_setApplicationGrammaticalGender() 102 mBackupHelper.stageAndApplyRestoredPayload(convertToByteArray(testData), DEFAULT_USER_ID); in testApplyPayload_onPackageAdded_setApplicationGrammaticalGender()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/ |
D | PackageManagerExtComponentEnabledTest.kt | 87 @Parameters(name = "{0}") @JvmStatic fun data(): Collection<TestCase> = testData 149 private val testData = testDataComponentIsDisabled + testDataComponentIsEnabled constant
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 214 const std::array<Entry, 12> testData = { in TEST_F() local 235 for (size_t i = 0; i < testData.size(); i++) { in TEST_F() 236 const auto& entry = testData[i]; in TEST_F() 370 const std::array<Entry, 24> testData = { in TEST_F() local 405 for (size_t i = 0; i < testData.size(); i++) { in TEST_F() 406 const auto& entry = testData[i]; in TEST_F() 429 const std::array<Entry, 64> testData = { in TEST_F() local 517 for (size_t i = 0; i < testData.size(); i++) { in TEST_F() 518 const auto& entry = testData[i]; in TEST_F()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionParameterizedTest.kt | 272 @Parameters(name = "{0}") @JvmStatic fun data() = testData() in modifiedBy() 294 private fun testData(): List<TestCase> { in modifiedBy() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/ |
D | WifiViewModelIconParameterizedTest.kt | 200 @Parameters(name = "{0}") @JvmStatic fun data(): Collection<TestCase> = testData in <lambda>() 202 private val testData: List<TestCase> = in <lambda>() constant
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageManagerSettingsTests.java | 1872 private void verifyKeySetData(PackageKeySetData originalData, PackageKeySetData testData) { in verifyKeySetData() argument 1874 equalTo(testData.getProperSigningKeySet())); in verifyKeySetData() 1875 assertThat(originalData.getUpgradeKeySets(), is(testData.getUpgradeKeySets())); in verifyKeySetData() 1876 assertThat(originalData.getAliases(), is(testData.getAliases())); in verifyKeySetData()
|