Home
last modified time | relevance | path

Searched refs:factory (Results 1 – 13 of 13) sorted by relevance

/test/vti/dashboard/src/test/java/com/android/vts/util/
DObjectifyTestBase.java29 import static com.googlecode.objectify.ObjectifyService.factory;
47 return factory().datastore(); in datastore()
52 return factory().memcache(); in memcache()
57 return factory().asyncDatastore(); in asyncDatastore()
75 factory().datastore().newKeyFactory().setKind(kind).newKey(); in makeEntity()
/test/vti/dashboard/src/test/java/com/android/vts/api/
DDataRestServletTest.java40 import static com.googlecode.objectify.ObjectifyService.factory;
59 factory().register(TestEntity.class); in setUpExtra()
60 factory().register(TestRunEntity.class); in setUpExtra()
61 factory().register(BranchEntity.class); in setUpExtra()
62 factory().register(BuildTargetEntity.class); in setUpExtra()
63 factory().register(DeviceInfoEntity.class); in setUpExtra()
DCoverageRestServletTest.java21 import static com.googlecode.objectify.ObjectifyService.factory;
70 factory().register(ApiCoverageEntity.class); in testApiData()
DVtsSpreadSheetSyncServletTest.java44 import static com.googlecode.objectify.ObjectifyService.factory;
75 factory().register(ApiCoverageExcludedEntity.class); in setUpExtra()
/test/vti/dashboard/src/test/java/com/android/vts/entity/
DApiCoverageExcludedEntityTest.java23 import static com.googlecode.objectify.ObjectifyService.factory;
31 factory().register(ApiCoverageExcludedEntity.class); in saveTest()
49 factory().register(CodeCoverageEntity.class); in getUrlSafeKeyTest()
50 factory().register(ApiCoverageExcludedEntity.class); in getUrlSafeKeyTest()
DCodeCoverageEntityTest.java24 import static com.googlecode.objectify.ObjectifyService.factory;
32 factory().register(CodeCoverageEntity.class); in saveTest()
46 factory().register(CodeCoverageEntity.class); in getUrlSafeKeyTest()
DCodeCoverageFileEntityTest.java26 import static com.googlecode.objectify.ObjectifyService.factory;
35 factory().register(CodeCoverageFileEntity.class); in saveTest()
DTestCaseRunEntityTest.java25 import static com.googlecode.objectify.ObjectifyService.factory;
33 factory().register(TestCaseRunEntity.class); in saveTest()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DPresubmitSetupValidation.java37 IConfigurationFactory factory = ConfigurationFactory.getInstance(); in testCtsPresubmit_unit_tests() local
40 factory.createConfigurationFromArgs(presubmitCommand); in testCtsPresubmit_unit_tests()
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DMetricsXmlSerializerTest.java48 XmlPullParserFactory factory = XmlPullParserFactory.newInstance(null, null); in setUp() local
49 xmlSerializer = factory.newSerializer(); in setUp()
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsAlertJobServletTest.java19 import static com.googlecode.objectify.ObjectifyService.factory;
56 factory().register(DeviceInfoEntity.class); in setUpExtra()
57 factory().register(TestAcknowledgmentEntity.class); in setUpExtra()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DReportLog.java347 XmlPullParserFactory factory = XmlPullParserFactory.newInstance(); in parse() local
348 XmlPullParser parser = factory.newPullParser(); in parse()
DResultHandler.java186 XmlPullParserFactory factory = XmlPullParserFactory.newInstance(); in getResultFromDir() local
187 XmlPullParser parser = factory.newPullParser(); in getResultFromDir()