/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | PersisterQueueTests.java | 58 private TestWriteQueueItemFactory mFactory; field in PersisterQueueTests 66 mFactory = new TestWriteQueueItemFactory(); in setUp() 90 mFactory.setExpectedProcessedItemNumber(1); in testProcessOneItem() 94 mTarget.addItem(mFactory.createItem(), false); in testProcessOneItem() 96 mFactory.waitForAllExpectedItemsProcessed(PRE_TASK_DELAY_MS + TIMEOUT_ALLOWANCE)); in testProcessOneItem() 97 assertEquals("Target didn't process item.", 1, mFactory.getTotalProcessedItemCount()); in testProcessOneItem() 113 mFactory.setExpectedProcessedItemNumber(1); in testProcessOneItem_Flush() 117 mTarget.addItem(mFactory.createItem(), true); in testProcessOneItem_Flush() 119 mFactory.waitForAllExpectedItemsProcessed(TIMEOUT_ALLOWANCE)); in testProcessOneItem_Flush() 120 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/base/core/java/android/widget/ |
D | RemoteViewsService.java | 141 mFactory = factory; in RemoteViewsFactoryAdapter() 149 mFactory.onDataSetChanged(); in onDataSetChanged() 161 count = mFactory.getCount(); in getCount() 171 rv = mFactory.getViewAt(position); in getViewAt() 184 rv = mFactory.getLoadingView(); in getLoadingView() 194 count = mFactory.getViewTypeCount(); in getViewTypeCount() 204 id = mFactory.getItemId(position); in getItemId() 214 hasStableIds = mFactory.hasStableIds(); in hasStableIds() 245 mFactory.onDataSetChanged(); in getRemoteCollectionItems() 247 itemsBuilder.setHasStableIds(mFactory.hasStableIds()); in getRemoteCollectionItems() [all …]
|
D | ViewSwitcher.java | 34 ViewFactory mFactory; field in ViewSwitcher 85 View child = mFactory.makeView(); in obtainView() 103 mFactory = factory; in setFactory()
|
/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/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/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/av/media/libaudiohal/impl/ |
D | EffectsFactoryHalAidl.cpp | 55 : mFactory(effectsFactory), in EffectsFactoryHalAidl() 60 return (mFactory && mFactory->getInterfaceVersion(&majorVersion).isOk()) in EffectsFactoryHalAidl() 66 if (mFactory) { in __anon7e25f46f0202() 67 mFactory->queryEffects(std::nullopt, std::nullopt, std::nullopt, &list).isOk(); in __anon7e25f46f0202() 107 if (!mFactory || !mFactory->queryProcessing(std::nullopt, &processings).isOk()) { in __anon7e25f46f0702() 112 ALOG_ASSERT(mFactory != nullptr, "Provided IEffectsFactory service is NULL"); 191 mFactory); in createEffect() 195 statusTFromBinderStatus(mFactory->createEffect(aidlUuid, &aidlEffect))); in createEffect() 204 *effect = sp<EffectHalAidl>::make(mFactory, aidlEffect, sessionId, ioId, desc, isProxy); in createEffect() 216 RETURN_STATUS_IF_ERROR(mFactory->dump(fd, nullptr, 0)); in dumpEffects()
|
D | DevicesFactoryHalHidl.cpp | 45 : mFactory(factory) {} in ServiceNotificationListener() 51 sp<DevicesFactoryHalHidl> factory = mFactory.promote(); in onRegistration() 61 wp<DevicesFactoryHalHidl> mFactory; member in android::ServiceNotificationListener
|
D | EffectHalAidl.cpp | 68 : mFactory(factory), in EffectHalAidl() 77 if (mFactory && mEffect) { in ~EffectHalAidl() 81 mFactory->destroyEffect(mEffect); in ~EffectHalAidl()
|
D | EffectHalAidl.h | 71 const std::shared_ptr<::aidl::android::hardware::audio::effect::IFactory> mFactory; variable
|
/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() 1074 } 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/tests/ |
D | EffectProxy_test.cpp | 59 mFactory = IFactory::fromBinder( in SetUp() 61 ASSERT_NE(nullptr, mFactory); in SetUp() 62 mFactory->queryEffects(std::nullopt, std::nullopt, std::nullopt, &mDescs); in SetUp() 110 ndk::SharedRefBase::make<EffectProxy>(itor.first, itor.second, mFactory); in createAllProxies() 116 std::shared_ptr<IFactory> mFactory; member in android::EffectProxyTest
|
D | EffectsFactoryHalInterface_test.cpp | 234 mFactory(EffectsFactoryHalInterface::create()), in libAudioHalEffectParamTest() 245 if (mFactory && mTypeUuid && OK == mFactory->getDescriptors(mTypeUuid, &descs)) { in __anon64bcb8460402() 279 OK == mFactory->createEffect(&desc.uuid, 1 /* sessionId */, 1 /* ioId */, in createEffectHal() 318 const sp<EffectsFactoryHalInterface> mFactory; member in android::libAudioHalEffectParamTest
|
/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/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() 498 mFactory.recycle(starters[j]); in startActivities()
|
/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/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsActivityTest.java | 93 private final SingleActivityFactory<AppClipsActivityTestable> mFactory = field in AppClipsActivityTest 107 new ActivityTestRule<>(mFactory, false, false);
|