Home
last modified time | relevance | path

Searched refs:mFactory (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DPersisterQueueTests.java59 private TestWriteQueueItemFactory mFactory; field in PersisterQueueTests
67 mFactory = new TestWriteQueueItemFactory(); in setUp()
91 mFactory.setExpectedProcessedItemNumber(1); in testProcessOneItem()
95 mTarget.addItem(mFactory.createItem(), false); in testProcessOneItem()
97 mFactory.waitForAllExpectedItemsProcessed(PRE_TASK_DELAY_MS + TIMEOUT_ALLOWANCE)); in testProcessOneItem()
98 assertEquals("Target didn't process item.", 1, mFactory.getTotalProcessedItemCount()); in testProcessOneItem()
115 mFactory.setExpectedProcessedItemNumber(1); in testProcessOneItem_Flush()
119 mTarget.addItem(mFactory.createItem(), true); in testProcessOneItem_Flush()
121 mFactory.waitForAllExpectedItemsProcessed(TIMEOUT_ALLOWANCE)); in testProcessOneItem_Flush()
122 assertEquals("Target didn't process item.", 1, mFactory.getTotalProcessedItemCount()); in testProcessOneItem_Flush()
[all …]
DActivityStartControllerTests.java48 private Factory mFactory; field in ActivityStartControllerTests
53 mFactory = mock(Factory.class); in setUp()
54 mController = new ActivityStartController(mAtm, mAtm.mTaskSupervisor, mFactory); in setUp()
57 doReturn(mStarter).when(mFactory).obtain(); in setUp()
72 verify(mFactory, times(1)).recycle(eq(optionStarter)); in testRecycling()
/frameworks/av/media/codec2/components/tests/
DC2SoftCodecTest.cpp32 mFactory = CreateCodec2Factory(); in SetUp()
36 if (mFactory) { in TearDown()
37 DestroyCodec2Factory(mFactory); in TearDown()
43 if (!mFactory) { in createComponent()
46 return mFactory->createComponent( in createComponent()
52 if (!mFactory) { in createInterface()
55 return mFactory->createInterface( in createInterface()
59 ::C2ComponentFactory *getFactory() { return mFactory; } in getFactory()
64 ::C2ComponentFactory *mFactory;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/complication/
DComplicationViewModelTransformerTest.java43 ComplicationViewModelComponent.Factory mFactory; field in ComplicationViewModelTransformerTest
57 when(mFactory.create(Mockito.any(), Mockito.any())).thenReturn(mComponent); in setup()
68 new ComplicationViewModelTransformer(mFactory); in testStableIds()
75 verify(mFactory).create(Mockito.any(), idCaptor.capture()); in testStableIds()
78 Mockito.clearInvocations(mFactory); in testStableIds()
81 verify(mFactory).create(Mockito.any(), idCaptor.capture()); in testStableIds()
93 new ComplicationViewModelTransformer(mFactory); in testUniqueIds()
101 verify(mFactory).create(Mockito.any(), idCaptor.capture()); in testUniqueIds()
104 Mockito.clearInvocations(mFactory); in testUniqueIds()
107 verify(mFactory).create(Mockito.any(), idCaptor.capture()); in testUniqueIds()
/frameworks/base/core/java/android/widget/
DRemoteViewsService.java134 mFactory = factory; in RemoteViewsFactoryAdapter()
142 mFactory.onDataSetChanged(); in onDataSetChanged()
154 count = mFactory.getCount(); in getCount()
164 rv = mFactory.getViewAt(position); in getViewAt()
177 rv = mFactory.getLoadingView(); in getLoadingView()
187 count = mFactory.getViewTypeCount(); in getViewTypeCount()
197 id = mFactory.getItemId(position); in getItemId()
207 hasStableIds = mFactory.hasStableIds(); in hasStableIds()
230 private RemoteViewsFactory mFactory; field in RemoteViewsService.RemoteViewsFactoryAdapter
DViewSwitcher.java34 ViewFactory mFactory; field in ViewSwitcher
85 View child = mFactory.makeView(); in obtainView()
103 mFactory = factory; in setFactory()
DTabHost.java766 private TabContentFactory mFactory; field in TabHost.FactoryContentStrategy
770 mFactory = factory; in FactoryContentStrategy()
775 mTabContent = mFactory.createTabContent(mTag.toString()); in getContentView()
/frameworks/base/core/java/android/preference/
DGenericInflater.java59 private Factory<T> mFactory; field in GenericInflater
130 mFactory = original.mFactory; in GenericInflater()
182 return mFactory; in getFactory()
208 if (mFactory == null) { in setFactory()
209 mFactory = factory; in setFactory()
211 mFactory = new FactoryMerger<T>(factory, mFactory); in setFactory()
433 T item = (mFactory == null) ? null : mFactory.onCreateItem(name, mContext, attrs); in createItemFromTag()
/frameworks/base/media/mca/effect/java/android/media/effect/
DEffectContext.java44 private EffectFactory mFactory; field in EffectContext
71 return mFactory; in getFactory()
92 mFactory = new EffectFactory(this); in EffectContext()
/frameworks/base/core/java/android/view/
DLayoutInflater.java112 private Factory mFactory; field in LayoutInflater
276 mFactory = original.mFactory; in LayoutInflater()
323 return mFactory; in getFactory()
360 if (mFactory == null) { in setFactory()
361 mFactory = factory; in setFactory()
363 mFactory = new FactoryMerger(factory, null, mFactory, mFactory2); in setFactory()
379 if (mFactory == null) { in setFactory2()
380 mFactory = mFactory2 = factory; in setFactory2()
382 mFactory = mFactory2 = new FactoryMerger(factory, factory, mFactory, mFactory2); in setFactory2()
1066 } else if (mFactory != null) { in tryCreateView()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DFeatureConnector.java206 private final ManagerFactory<U> mFactory; field in FeatureConnector
230 mFactory = factory; in FeatureConnector()
255 mManager = mFactory.createManager(mContext, mPhoneId); in connect()
/frameworks/opt/bitmap/src/com/android/bitmap/
DDecodeTask.java53 private final FileDescriptorFactory mFactory; field in DecodeTask
102 mFactory = factory; in DecodeTask()
125 if (mFactory != null) { in decode()
127 fd = mFactory.createFileDescriptor(); in decode()
168 final ParcelFileDescriptor orientationFd = mFactory.createFileDescriptor(); in decode()
/frameworks/av/media/libaudiohal/impl/
DDevicesFactoryHalHidl.cpp44 : mFactory(factory) {} in ServiceNotificationListener()
50 sp<DevicesFactoryHalHidl> factory = mFactory.promote(); in onRegistration()
60 wp<DevicesFactoryHalHidl> mFactory; member in android::ServiceNotificationListener
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartController.java92 private final Factory mFactory; field in ActivityStartController
121 mFactory = factory; in ActivityStartController()
122 mFactory.setController(this); in ActivityStartController()
134 return mFactory.obtain().setIntent(intent).setReason(reason); in obtainStarter()
147 mLastStarter = mFactory.obtain(); in onExecutionComplete()
151 mFactory.recycle(starter); in onExecutionComplete()
496 mFactory.recycle(starters[j]); in startActivities()
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
DTextGraphReader.java46 private FilterFactory mFactory; field in TextGraphReader
62 reader.mFactory.addPackage(mPackageName); in execute()
78 reader.mFactory.addFilterLibrary(mLibraryName); in execute()
95 filter = reader.mFactory.createFilterByClassName(mClassName, mFilterName); in execute()
166 mFactory = new FilterFactory(); in reset()
/frameworks/base/tests/AttestationVerificationTest/src/com/android/server/security/
DAndroidKeystoreAttestationVerificationAttributesTest.java56 private CertificateFactory mFactory; field in AndroidKeystoreAttestationVerificationAttributesTest
63 mFactory = CertificateFactory.getInstance("X.509"); in setUp()
287 Collection<? extends Certificate> certificates = mFactory.generateCertificates( in generateCertificates()
/frameworks/base/core/java/android/content/res/
DGradientColor.java91 private GradientColorFactory mFactory; field in GradientColor
502 if (mFactory == null) { in getConstantState()
503 mFactory = new GradientColorFactory(this); in getConstantState()
505 return mFactory; in getConstantState()
DColorStateList.java152 private ColorStateListFactory mFactory; field in ColorStateList
730 if (mFactory == null) { in getConstantState()
731 mFactory = new ColorStateListFactory(this); in getConstantState()
733 return mFactory; in getConstantState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionControllerImpl.java269 private final TunerFactory<T> mFactory; field in ExtensionControllerImpl.ExtensionImpl.TunerItem
274 mFactory = factory; in TunerItem()
291 mItem = mFactory.create(mSettings); in onTuningChanged()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteQueryBuilder.java67 private SQLiteDatabase.CursorFactory mFactory; field in SQLiteQueryBuilder
77 mFactory = null; in SQLiteQueryBuilder()
231 mFactory = factory; in setCursorFactory()
239 return mFactory; in getCursorFactory()
593 mFactory, sql, sqlArgs, in query()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphReader.java48 private FilterFactory mFactory; field in GraphReader.CommandStack
54 mFactory = new FilterFactory(); in CommandStack()
68 return mFactory; in getFactory()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DFullBackupTest.java43 private XmlPullParserFactory mFactory; field in FullBackupTest
52 mFactory = XmlPullParserFactory.newInstance(); in setUp()
53 mXpp = mFactory.newPullParser(); in setUp()
/frameworks/native/services/surfaceflinger/Tracing/tools/
DLayerTraceGenerator.cpp187 Factory mFactory; in generate() local
188 sp<MockSurfaceFlinger> flinger = new MockSurfaceFlinger(mFactory); in generate()
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_fuzzers_utils.h693 mFlinger->mVsyncConfiguration = mFactory.createVsyncConfiguration(fps);
715 mFactory.mCreateBufferQueue = f; in setCreateBufferQueueFunction()
721 mFactory.mCreateNativeWindowSurface = f; in setCreateNativeWindowSurface()
817 surfaceflinger::test::Factory mFactory; variable
818 sp<SurfaceFlinger> mFlinger = new SurfaceFlinger(mFactory, SurfaceFlinger::SkipInitialization);
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h184 mFlinger = sp<SurfaceFlinger>::make(mFactory, SurfaceFlinger::SkipInitialization); in mFlinger()
248 mFlinger->mVsyncConfiguration = mFactory.createVsyncConfiguration(fps);
287 mFactory.mCreateBufferQueue = f; in setCreateBufferQueueFunction()
293 mFactory.mCreateNativeWindowSurface = f; in setCreateNativeWindowSurface()
905 surfaceflinger::test::Factory mFactory; variable

12