/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | PersisterQueueTests.java | 59 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 …]
|
D | ActivityStartControllerTests.java | 48 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/ |
D | C2SoftCodecTest.cpp | 32 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/ |
D | ComplicationViewModelTransformerTest.java | 43 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/ |
D | RemoteViewsService.java | 134 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
|
D | ViewSwitcher.java | 34 ViewFactory mFactory; field in ViewSwitcher 85 View child = mFactory.makeView(); in obtainView() 103 mFactory = factory; in setFactory()
|
D | TabHost.java | 766 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/ |
D | GenericInflater.java | 59 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/ |
D | EffectContext.java | 44 private EffectFactory mFactory; field in EffectContext 71 return mFactory; in getFactory() 92 mFactory = new EffectFactory(this); in EffectContext()
|
/frameworks/base/core/java/android/view/ |
D | LayoutInflater.java | 112 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/ |
D | FeatureConnector.java | 206 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/ |
D | DecodeTask.java | 53 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/ |
D | DevicesFactoryHalHidl.cpp | 44 : 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/ |
D | ActivityStartController.java | 92 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/ |
D | TextGraphReader.java | 46 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/ |
D | AndroidKeystoreAttestationVerificationAttributesTest.java | 56 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/ |
D | GradientColor.java | 91 private GradientColorFactory mFactory; field in GradientColor 502 if (mFactory == null) { in getConstantState() 503 mFactory = new GradientColorFactory(this); in getConstantState() 505 return mFactory; in getConstantState()
|
D | ColorStateList.java | 152 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/ |
D | ExtensionControllerImpl.java | 269 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/ |
D | SQLiteQueryBuilder.java | 67 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/ |
D | GraphReader.java | 48 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/ |
D | FullBackupTest.java | 43 private XmlPullParserFactory mFactory; field in FullBackupTest 52 mFactory = XmlPullParserFactory.newInstance(); in setUp() 53 mXpp = mFactory.newPullParser(); in setUp()
|
/frameworks/native/services/surfaceflinger/Tracing/tools/ |
D | LayerTraceGenerator.cpp | 187 Factory mFactory; in generate() local 188 sp<MockSurfaceFlinger> flinger = new MockSurfaceFlinger(mFactory); in generate()
|
/frameworks/native/services/surfaceflinger/fuzzer/ |
D | surfaceflinger_fuzzers_utils.h | 693 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/ |
D | TestableSurfaceFlinger.h | 184 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
|