/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/tests/tests/text/src/android/text/cts/ |
D | Spannable_FactoryTest.java | 40 Factory factory = Spannable.Factory.getInstance(); in testNewSpannable() local 42 Spannable spannable = factory.newSpannable(text); in testNewSpannable() 50 Factory factory = Spannable.Factory.getInstance(); in testNewSpannableNull() local 51 factory.newSpannable(null); in testNewSpannableNull() 56 Spannable.Factory factory = Spannable.Factory.getInstance(); in testGetInstance() local 57 assertNotNull(factory); in testGetInstance() 58 assertSame(factory, Spannable.Factory.getInstance()); in testGetInstance()
|
/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/tests/tests/appwidget/src/android/appwidget/cts/service/ |
D | MyAppWidgetService.java | 28 public static void setFactory(RemoteViewsFactory factory) { in setFactory() argument 30 sFactory = factory; in setFactory()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ViewSwitcherTest.java | 71 MockViewFactory factory = new MockViewFactory(); in testSetFactory() local 72 viewSwitcher.setFactory(factory); in testSetFactory() 73 assertTrue(factory.hasMakeViewCalled()); in testSetFactory()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | DarkTextThemeTest.java | 204 RemoteViewsService.RemoteViewsFactory factory = in setupAndAwaitCollectionWidget() local 206 when(factory.getCount()).thenReturn(3); in setupAndAwaitCollectionWidget() 212 }).when(factory).getViewAt(any(int.class)); in setupAndAwaitCollectionWidget() 213 when(factory.getViewTypeCount()).thenReturn(1); in setupAndAwaitCollectionWidget() 214 MyAppWidgetService.setFactory(factory); in setupAndAwaitCollectionWidget()
|
D | WidgetTransitionTest.java | 209 RemoteViewsService.RemoteViewsFactory factory = in testCollection_sendBroadcast() local 211 when(factory.getCount()).thenReturn(3); in testCollection_sendBroadcast() 218 }).when(factory).getViewAt(any(int.class)); in testCollection_sendBroadcast() 219 when(factory.getViewTypeCount()).thenReturn(1); in testCollection_sendBroadcast() 220 MyAppWidgetService.setFactory(factory); in testCollection_sendBroadcast()
|
D | CollectionAppWidgetTest.java | 150 RemoteViewsService.RemoteViewsFactory factory = in setup() local 152 when(factory.getCount()).thenReturn(COUNTRY_LIST.length); in setup() 174 }).when(factory).getViewAt(any(int.class)); in setup() 175 when(factory.getViewTypeCount()).thenReturn(1); in setup() 176 MyAppWidgetService.setFactory(factory); in setup()
|
D | AppWidgetTest.java | 1246 RemoteViewsFactory factory = mock(RemoteViewsFactory.class); in testCollectionWidgets() local 1252 }).when(factory).getCount(); in testCollectionWidgets() 1264 }).when(factory).getViewAt(any(int.class)); in testCollectionWidgets() 1270 }).when(factory).getViewTypeCount(); in testCollectionWidgets() 1271 MyAppWidgetService.setFactory(factory); in testCollectionWidgets() 1284 verify(factory, atLeastOnce()).hasStableIds(); in testCollectionWidgets() 1285 verify(factory, atLeastOnce()).getViewTypeCount(); in testCollectionWidgets() 1286 verify(factory, atLeastOnce()).getCount(); in testCollectionWidgets() 1287 verify(factory, atLeastOnce()).getLoadingView(); in testCollectionWidgets() 1288 verify(factory, atLeastOnce()).getViewAt(same(0)); in testCollectionWidgets()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | HtmlReport.java | 64 TransformerFactory factory = TransformerFactory.newInstance(); in printHtmlReport() local 65 Transformer transformer = factory.newTransformer(xslSource); in printHtmlReport()
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | WifiEnterpriseConfigTest.java | 730 CertificateFactory factory = CertificateFactory.getInstance("X.509"); in testSettersAndGetters() local 731 X509Certificate cert1 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters() 733 X509Certificate cert2 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters() 742 X509Certificate clientCert = (X509Certificate) factory.generateCertificate( in testSettersAndGetters()
|
/cts/suite/audio_quality/executable/src/ |
D | main.cpp | 114 GenericFactory factory; in main() local 115 ClientInterface* client = factory.createClientInterface(); in main()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | IntentDrivenTestActivity.java | 101 final IntentFactory factory; in onClick() local 103 factory = (IntentFactory) factoryClass.newInstance(); in onClick() 110 for (Intent intent : factory.createIntents(mTestId, buttonInfo.getButtonText())) { in onClick()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CertBlacklistTest.java | 90 CertificateFactory factory = CertificateFactory.getInstance("X.509"); in loadCertificates() local 92 Collection<? extends Certificate> collection = factory.generateCertificates(is); in loadCertificates()
|
/cts/tests/signature/lib/android/src/android/signature/cts/ |
D | ApiDocumentParser.java | 70 private final XmlPullParserFactory factory; field in ApiDocumentParser 74 factory = XmlPullParserFactory.newInstance(); in ApiDocumentParser() 79 XmlPullParser parser = factory.newPullParser(); in parseAsStream()
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-resourcesrc/src/android/security/net/config/cts/ |
D | ResourceSourceTest.java | 72 CertificateFactory factory = CertificateFactory.getInstance("X.509"); in loadCertificates() local 76 for (Certificate cert : factory.generateCertificates(is)) { in loadCertificates()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AdaptivePlaybackTest.java | 57 public Iterable<Codec> H264(CodecFactory factory) { in H264() argument 58 return factory.createCodecList( in H264() 66 public Iterable<Codec> HEVC(CodecFactory factory) { in HEVC() argument 67 return factory.createCodecList( in HEVC() 75 public Iterable<Codec> Mpeg2(CodecFactory factory) { in Mpeg2() argument 76 return factory.createCodecList( in Mpeg2() 83 public Iterable<Codec> H263(CodecFactory factory) { in H263() argument 84 return factory.createCodecList( in H263() 91 public Iterable<Codec> Mpeg4(CodecFactory factory) { in Mpeg4() argument 92 return factory.createCodecList( in Mpeg4() [all …]
|
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/ |
D | TestUtils.java | 83 CertificateFactory factory = CertificateFactory.getInstance("X.509"); in loadCertificates() local 85 for (Certificate c : factory.generateCertificates(is)) { in loadCertificates()
|
/cts/suite/audio_quality/lib/include/task/ |
D | ModelBuilder.h | 37 explicit ModelBuilder(GenericFactory* factory);
|
/cts/suite/audio_quality/lib/src/task/ |
D | ModelBuilder.cpp | 75 ModelBuilder::ModelBuilder(GenericFactory* factory) in ModelBuilder() argument 76 : mFactory(factory) in ModelBuilder()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteOpenHelperTest.java | 308 MockOpenHelper(Context context, String name, CursorFactory factory, int version) { in MockOpenHelper() argument 309 super(context, name, factory, version); in MockOpenHelper()
|
D | SQLiteDatabaseTest.java | 107 CursorFactory factory = MockSQLiteCursor::new; in testOpenDatabase() local 109 factory, SQLiteDatabase.CREATE_IF_NECESSARY); in testOpenDatabase() 116 db = SQLiteDatabase.openOrCreateDatabase(dbFile.getPath(), factory); in testOpenDatabase() 122 db = SQLiteDatabase.openOrCreateDatabase(dbFile, factory); in testOpenDatabase() 127 db = SQLiteDatabase.create(factory); in testOpenDatabase() 786 CursorFactory factory = new CursorFactory() { in testQuery() local 792 cursor = mDatabase.queryWithFactory(factory, true, "employee", in testQuery() 848 cursor = mDatabase.rawQueryWithFactory(factory, sql, new String[] { "2000" }, null); in testQuery()
|
/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/database/src/android/database/cts/ |
D | DatabaseCursorTest.java | 473 SQLiteDatabase.CursorFactory factory = new SQLiteDatabase.CursorFactory() { in testRequeryWithAlteredSelectionArgs() local 485 Cursor testCursor = getTestCursor(mDatabase.rawQueryWithFactory(factory, in testRequeryWithAlteredSelectionArgs()
|