/cts/tests/tests/text/src/android/text/cts/ |
D | Spannable_FactoryTest.java | 28 Factory factory = Spannable.Factory.getInstance(); in testNewSpannable() local 30 Spannable spannable = factory.newSpannable(text); in testNewSpannable() 36 factory.newSpannable(null); in testNewSpannable() 43 Spannable.Factory factory = Spannable.Factory.getInstance(); in testGetInstance() local 44 assertNotNull(factory); in testGetInstance() 45 assertSame(factory, Spannable.Factory.getInstance()); in testGetInstance()
|
/cts/tests/tests/effect/src/android/effect/cts/ |
D | EffectTest.java | 65 EffectFactory factory = getEffectContext().getFactory(); in test2_getFactory() local 66 assertNotNull("EffectFactory retrieval", factory); in test2_getFactory() 71 EffectFactory factory = getEffectContext().getFactory(); in test3_availableEffects() local 75 factory.isEffectSupported(effectName)); in test3_availableEffects() 81 EffectFactory factory = getEffectContext().getFactory(); in test4_effectCreate() local 82 assertFalse("Empty effect name unsupported", factory.isEffectSupported("")); in test4_effectCreate() 83 assertFalse("Bogus effect name unsupported", factory.isEffectSupported("!BOGUS!")); in test4_effectCreate() 89 EffectFactory factory = getEffectContext().getFactory(); in test5_effectCreate() local 91 Effect effect = factory.createEffect(effectName); in test5_effectCreate() 99 EffectFactory factory = getEffectContext().getFactory(); in test6_effectApply() local [all …]
|
/cts/tools/signature-tools/src/signature/converter/dex/ |
D | GenericSignatureParser.java | 112 private final ITypeFactory factory; field in GenericSignatureParser 117 public GenericSignatureParser(ITypeFactory factory, in GenericSignatureParser() argument 119 this.factory = factory; in GenericSignatureParser() 304 SigTypeVariableDefinition typeVariable = factory.getTypeVariable(name, in parseFormalTypeParameter() 364 SigArrayType arrayType = factory.getArrayType(parseTypeSignature()); in parseFieldTypeSignature() 398 parentType = factory.getClassReference(packageName, className); in parseClassTypeSignature() 400 IClassReference rawType = factory.getClassReference(packageName, in parseClassTypeSignature() 402 SigParameterizedType parameterizedType = factory in parseClassTypeSignature() 423 memberType = factory.getClassReference(packageName, className); in parseClassTypeSignature() 425 IClassReference rawType = factory.getClassReference( in parseClassTypeSignature() [all …]
|
D | DexToSigConverter.java | 103 private final TypePool factory; field in DexToSigConverter 123 factory = new TypePool(); in DexToSigConverter() 133 factory.replaceAllUninitialiezWithNull(); in convertApi() 203 SigClassDefinition memberClass = factory.getClass( in convertPackages() 294 SigClassDefinition sigClass = factory.getClass(packageName, className); in convertClass() 305 sigClass.setDeclaringClass(factory.getClass(sigClass in convertClass() 312 GenericSignatureParser parser = new GenericSignatureParser(factory, in convertClass() 343 sigClass.setSuperClass(factory.getClassReference( in convertClass() 353 SigClassDefinition interfaze = factory.getClass( in convertClass() 489 GenericSignatureParser parser = new GenericSignatureParser(factory, in convertAnnotationField() [all …]
|
/cts/suite/audio_quality/test/ |
D | TaskCaseCommon.h | 33 GenericFactory factory; in getTaskCase() local 35 setup = factory.createTask(TaskGeneric::ETaskSetup); in getTaskCase() 37 action = factory.createTask(TaskGeneric::ETaskAction); in getTaskCase()
|
D | ClientInterfaceTest.cpp | 35 GenericFactory factory; in SetUp() local 36 mClient = factory.createClientInterface(); in SetUp()
|
/cts/tools/signature-tools/src/signature/converter/ |
D | Main.java | 64 IApiLoader factory = null; in main() local 67 factory = new DocletFactory(); in main() 69 factory = new DexFactory(); in main() 74 externalizer.externalizeApi(targetFile, factory.loadApi(name, in main()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/service/ |
D | MyAppWidgetService.java | 27 public static void setFactory(RemoteViewsFactory factory) { in setFactory() argument 29 sFactory = factory; in setFactory()
|
/cts/tools/signature-tools/src/signature/compare/ |
D | Main.java | 171 IApiLoader factory = null; in getApi() local 174 factory = new DocletFactory(); in getApi() 177 factory = new DexFactory(); in getApi() 179 factory = new BinaryApi(); in getApi() 183 return factory.loadApi(name, Visibility.PROTECTED, fileNames, in getApi()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ViewSwitcherTest.java | 59 MockViewFactory factory = new MockViewFactory(); in testSetFactory() local 60 mViewSwitcher.setFactory(factory); in testSetFactory() 61 assertTrue(factory.hasMakeViewCalled()); in testSetFactory()
|
D | TextViewTest.java | 911 MockEditableFactory factory = new MockEditableFactory(); in testSetEditableFactory() local 912 mTextView.setEditableFactory(factory); in testSetEditableFactory() 914 factory.reset(); in testSetEditableFactory() 916 assertFalse(factory.hasCalledNewEditable()); in testSetEditableFactory() 918 factory.reset(); in testSetEditableFactory() 920 assertFalse(factory.hasCalledNewEditable()); in testSetEditableFactory() 922 factory.reset(); in testSetEditableFactory() 924 assertFalse(factory.hasCalledNewEditable()); in testSetEditableFactory() 926 factory.reset(); in testSetEditableFactory() 928 assertTrue(factory.hasCalledNewEditable()); in testSetEditableFactory() [all …]
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | HtmlReport.java | 62 TransformerFactory factory = TransformerFactory.newInstance(); in printHtmlReport() local 63 Transformer transformer = factory.newTransformer(xslSource); in printHtmlReport()
|
/cts/common/util/tests/src/com/android/compatibility/common/util/ |
D | MetricsXmlSerializerTest.java | 59 XmlPullParserFactory factory = XmlPullParserFactory.newInstance(null, null); in setUp() local 60 xmlSerializer = factory.newSerializer(); in setUp()
|
/cts/suite/audio_quality/executable/src/ |
D | main.cpp | 114 GenericFactory factory; in main() local 115 ClientInterface* client = factory.createClientInterface(); in main()
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/ |
D | TestLogTest.java | 109 XmlPullParserFactory factory = org.xmlpull.v1.XmlPullParserFactory.newInstance(); in newXml() local 110 XmlPullParser parser = factory.newPullParser(); in newXml()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | IntentDrivenTestActivity.java | 95 final IntentFactory factory; in onClick() local 97 factory = (IntentFactory) factoryClass.newInstance(); in onClick() 104 for (Intent intent : factory.createIntents(mTestId, buttonInfo.getButtonText())) { in onClick()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteOpenHelperTest.java | 104 public MockOpenHelper(Context context, String name, CursorFactory factory, int version) { in MockOpenHelper() argument 105 super(context, name, factory, version); in MockOpenHelper()
|
D | SQLiteDatabaseTest.java | 91 CursorFactory factory = new CursorFactory() { in testOpenDatabase() local 99 factory, SQLiteDatabase.CREATE_IF_NECESSARY); in testOpenDatabase() 106 db = SQLiteDatabase.openOrCreateDatabase(dbFile.getPath(), factory); in testOpenDatabase() 112 db = SQLiteDatabase.openOrCreateDatabase(dbFile, factory); in testOpenDatabase() 117 db = SQLiteDatabase.create(factory); in testOpenDatabase() 776 CursorFactory factory = new CursorFactory() { in testQuery() local 782 cursor = mDatabase.queryWithFactory(factory, true, "employee", in testQuery() 838 cursor = mDatabase.rawQueryWithFactory(factory, sql, new String[] { "2000" }, null); in testQuery()
|
D | SQLiteQueryBuilderTest.java | 140 SQLiteDatabase.CursorFactory factory = new SQLiteDatabase.CursorFactory() { in testSetCursorFactory() local 147 sqliteQueryBuilder.setCursorFactory(factory); in testSetCursorFactory()
|
/cts/suite/audio_quality/lib/include/task/ |
D | ModelBuilder.h | 36 ModelBuilder(GenericFactory* factory);
|
/cts/suite/audio_quality/lib/src/task/ |
D | ModelBuilder.cpp | 73 ModelBuilder::ModelBuilder(GenericFactory* factory) in ModelBuilder() argument 74 : mFactory(factory) in ModelBuilder()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AdaptivePlaybackTest.java | 52 public Iterable<Codec> H264(CodecFactory factory) { in H264() argument 53 return factory.createCodecList( in H264() 61 public Iterable<Codec> HEVC(CodecFactory factory) { in HEVC() argument 62 return factory.createCodecList( in HEVC() 70 public Iterable<Codec> H263(CodecFactory factory) { in H263() argument 71 return factory.createCodecList( in H263() 79 public Iterable<Codec> Mpeg4(CodecFactory factory) { in Mpeg4() argument 80 return factory.createCodecList( in Mpeg4() 89 public Iterable<Codec> VP8(CodecFactory factory) { in VP8() argument 90 return factory.createCodecList( in VP8() [all …]
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 1245 RemoteViewsFactory factory = mock(RemoteViewsFactory.class); in testCollectionWidgets() local 1251 }).when(factory).getCount(); in testCollectionWidgets() 1263 }).when(factory).getViewAt(any(int.class)); in testCollectionWidgets() 1269 }).when(factory).getViewTypeCount(); in testCollectionWidgets() 1270 MyAppWidgetService.setFactory(factory); in testCollectionWidgets() 1283 verify(factory, atLeastOnce()).hasStableIds(); in testCollectionWidgets() 1284 verify(factory, atLeastOnce()).getViewTypeCount(); in testCollectionWidgets() 1285 verify(factory, atLeastOnce()).getCount(); in testCollectionWidgets() 1286 verify(factory, atLeastOnce()).getLoadingView(); in testCollectionWidgets() 1287 verify(factory, atLeastOnce()).getViewAt(same(0)); in testCollectionWidgets()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | GLSurfaceViewCustom.java | 376 public void setEGLContextFactory(EGLContextFactory factory) { in setEGLContextFactory() argument 378 mEGLContextFactory = factory; in setEGLContextFactory() 390 public void setEGLWindowSurfaceFactory(EGLWindowSurfaceFactory factory) { in setEGLWindowSurfaceFactory() argument 392 mEGLWindowSurfaceFactory = factory; in setEGLWindowSurfaceFactory()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextWrapperTest.java | 323 SQLiteDatabase.CursorFactory factory = new SQLiteDatabase.CursorFactory() { in testAccessDatabase() local 346 ContextWrapper.MODE_WORLD_READABLE | ContextWrapper.MODE_WORLD_WRITEABLE, factory); in testAccessDatabase() 350 ContextWrapper.MODE_WORLD_READABLE | ContextWrapper.MODE_WORLD_WRITEABLE, factory); in testAccessDatabase()
|