/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerFactory.cpp | 41 status_t MediaPlayerFactory::registerFactory_l(IFactory* factory, in registerFactory_l() argument 43 if (NULL == factory) { in registerFactory_l() 55 if (sFactoryMap.add(type, factory) < 0) { in registerFactory_l() 68 status_t MediaPlayerFactory::registerFactory(IFactory* factory, in registerFactory() argument 71 return registerFactory_l(factory, type); in registerFactory() 132 IFactory* factory; in createPlayer() local 142 factory = sFactoryMap.valueFor(playerType); in createPlayer() 143 CHECK(NULL != factory); in createPlayer() 144 p = factory->createPlayer(pid); in createPlayer() 247 IFactory* factory = new NuPlayerFactory(); in registerBuiltinFactories() local [all …]
|
D | MediaPlayerFactory.h | 53 static status_t registerFactory(IFactory* factory, 78 static status_t registerFactory_l(IFactory* factory,
|
/frameworks/av/media/libaudiohal/impl/ |
D | DevicesFactoryHalHidl.cpp | 45 explicit ServiceNotificationListener(sp<DevicesFactoryHalHidl> factory) in ServiceNotificationListener() argument 46 : mFactory(factory) {} in ServiceNotificationListener() 52 sp<DevicesFactoryHalHidl> factory = mFactory.promote(); in onRegistration() local 53 if (!factory) return Void(); in onRegistration() 56 factory->addDeviceFactory(halFactory, true /*needToNotify*/); in onRegistration() 117 for (const auto& factory : factories) { in openDevice() local 118 Return<void> ret = factory->openDevice( in openDevice() 143 for (const auto& factory : factories) { in getHalPids() local 147 auto ret = factory->getDebugInfo([&] (const auto &info) { in getHalPids() 181 void DevicesFactoryHalHidl::addDeviceFactory(sp<IDevicesFactory> factory, bool needToNotify) { in addDeviceFactory() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | RemoteViewsAdapterTest.java | 92 ViewsFactory factory = new ViewsFactory(1); in onRemoteAdapterConnected_after_metadata_loaded() local 93 mContext.sendConnect(factory); in onRemoteAdapterConnected_after_metadata_loaded() 98 factory.loadingView.set(createViews("loading")); in onRemoteAdapterConnected_after_metadata_loaded() 114 ViewsFactory factory = new ViewsFactory(1); in viewReplaced_after_mainView_loaded() local 115 factory.loadingView.set(createViews("loading")); in viewReplaced_after_mainView_loaded() 116 mContext.sendConnect(factory); in viewReplaced_after_mainView_loaded() 128 factory.views[0].set(createViews("updated")); in viewReplaced_after_mainView_loaded() 148 ViewsFactory factory = new ViewsFactory(1); in notifyDataSetChanged_deferred() local 149 factory.loadingView.set(createViews("loading")); in notifyDataSetChanged_deferred() 150 mContext.sendConnect(factory); in notifyDataSetChanged_deferred() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsService.java | 133 public RemoteViewsFactoryAdapter(RemoteViewsFactory factory, boolean isCreated) { in RemoteViewsFactoryAdapter() argument 134 mFactory = factory; in RemoteViewsFactoryAdapter() 218 RemoteViewsFactory factory = RemoteViewsService.sRemoteViewFactories.get(fc); in onDestroy() local 220 factory.onDestroy(); in onDestroy() 238 RemoteViewsFactory factory = null; in onBind() local 241 factory = onGetViewFactory(intent); in onBind() 242 sRemoteViewFactories.put(fc, factory); in onBind() 243 factory.onCreate(); in onBind() 246 factory = sRemoteViewFactories.get(fc); in onBind() 249 return new RemoteViewsFactoryAdapter(factory, isCreated); in onBind()
|
D | ViewSwitcher.java | 102 public void setFactory(ViewFactory factory) { in setFactory() argument 103 mFactory = factory; in setFactory()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
D | ImageUtils.java | 99 final InputStreamFactory factory = createInputStreamFactory(resolver, uri); in createLocalBitmap() local 101 final Point bounds = getImageBounds(factory); in createLocalBitmap() 109 result.bitmap = decodeStream(factory, null, opts); in createLocalBitmap() 142 public static Bitmap decodeStream(final InputStreamFactory factory, final Rect outPadding, in decodeStream() argument 147 is = factory.createInputStream(); in decodeStream() 154 is = factory.createInputStream(); in decodeStream() 196 private static Point getImageBounds(final InputStreamFactory factory) in getImageBounds() argument 200 decodeStream(factory, null, opts); in getImageBounds()
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
D | StorageManagerIntegrationTest.java | 189 final MyThreadFactory factory = new MyThreadFactory(); in testOpenProxyFileDescriptor() local 192 ParcelFileDescriptor.MODE_READ_ONLY, callback, null, factory)) { in testOpenProxyFileDescriptor() argument 193 assertNotSame(Thread.State.TERMINATED, factory.thread.getState()); in testOpenProxyFileDescriptor() 199 factory.thread.join(3000); in testOpenProxyFileDescriptor() 200 assertEquals(Thread.State.TERMINATED, factory.thread.getState()); in testOpenProxyFileDescriptor() 204 ParcelFileDescriptor.MODE_WRITE_ONLY, callback, null, factory)) { in testOpenProxyFileDescriptor() argument 205 assertNotSame(Thread.State.TERMINATED, factory.thread.getState()); in testOpenProxyFileDescriptor()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteDirectCursorDriver.java | 45 public Cursor query(CursorFactory factory, String[] selectionArgs) { in query() argument 51 if (factory == null) { in query() 54 cursor = factory.newCursor(mDatabase, this, mEditTable, query); in query()
|
D | SQLiteOpenHelper.java | 82 @Nullable CursorFactory factory, int version) { in SQLiteOpenHelper() argument 83 this(context, name, factory, version, null); in SQLiteOpenHelper() 104 @Nullable CursorFactory factory, int version, in SQLiteOpenHelper() argument 106 this(context, name, factory, version, 0, errorHandler); in SQLiteOpenHelper() 153 @Nullable CursorFactory factory, int version, in SQLiteOpenHelper() argument 157 mOpenParamsBuilder.setCursorFactory(factory); in SQLiteOpenHelper()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | DefaultAppInfo.java | 99 final IconDrawableFactory factory = IconDrawableFactory.newInstance(mContext); in loadIcon() local 106 return factory.getBadgedIcon(componentInfo, appInfo, userId); in loadIcon() 108 return factory.getBadgedIcon(appInfo); in loadIcon() 118 return factory.getBadgedIcon(packageItemInfo, appInfo, userId); in loadIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ExtensionControllerImpl.java | 87 public ExtensionController.ExtensionBuilder<T> withTunerFactory(TunerFactory<T> factory) { in withTunerFactory() argument 88 mExtension.addTunerFactory(factory, factory.keys()); in withTunerFactory() 212 public void addTunerFactory(TunerFactory<T> factory, String[] keys) { in addTunerFactory() argument 213 mProducers.add(new TunerItem(factory, keys)); in addTunerFactory() 272 public TunerItem(TunerFactory<T> factory, String... setting) { in TunerItem() argument 273 mFactory = factory; in TunerItem()
|
/frameworks/av/drm/libmediadrm/ |
D | CryptoHal.cpp | 137 auto factory = drm::V1_0::ICryptoFactory::getService(instance); in makeCryptoFactories() local 138 if (factory != NULL) { in makeCryptoFactories() 140 factories.push_back(factory); in makeCryptoFactories() 148 auto factory = drm::V1_1::ICryptoFactory::getService(instance); in makeCryptoFactories() local 149 if (factory != NULL) { in makeCryptoFactories() 151 factories.push_back(factory); in makeCryptoFactories() 171 sp<ICryptoPlugin> CryptoHal::makeCryptoPlugin(const sp<ICryptoFactory>& factory, in makeCryptoPlugin() argument 175 Return<void> hResult = factory->createPlugin(toHidlArray16(uuid), in makeCryptoPlugin()
|
/frameworks/base/core/java/android/view/ |
D | ViewStub.java | 266 final LayoutInflater factory; in inflateViewNoAdd() local 268 factory = mInflater; in inflateViewNoAdd() 270 factory = LayoutInflater.from(mContext); in inflateViewNoAdd() 272 final View view = factory.inflate(mLayoutResource, parent, false); in inflateViewNoAdd()
|
D | LayoutInflater.java | 345 public void setFactory(Factory factory) { in setFactory() argument 349 if (factory == null) { in setFactory() 354 mFactory = factory; in setFactory() 356 mFactory = new FactoryMerger(factory, null, mFactory, mFactory2); in setFactory() 364 public void setFactory2(Factory2 factory) { in setFactory2() argument 368 if (factory == null) { in setFactory2() 373 mFactory = mFactory2 = factory; in setFactory2() 375 mFactory = mFactory2 = new FactoryMerger(factory, factory, mFactory, mFactory2); in setFactory2() 383 public void setPrivateFactory(Factory2 factory) { in setPrivateFactory() argument 385 mPrivateFactory = factory; in setPrivateFactory() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ExtensionControllerImplTest.java | 91 TunerFactory<Object> factory = new ExtensionController.TunerFactory() { in testTuner() local 103 .withTunerFactory(factory) in testTuner() 153 TunerFactory<Object> factory = mock(TunerFactory.class); in testSortOrder() local 157 .withTunerFactory(factory) in testSortOrder() 175 when(factory.create(any())).thenReturn(tuner); in testSortOrder()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | CertificateVerifier.java | 46 CertificateFactory factory = CertificateFactory.getInstance("X.509"); in verifyCaCert() local 49 CertPath path = factory.generateCertPath( in verifyCaCert()
|
/frameworks/base/core/java/android/net/ |
D | PrivateDnsConnectivityChecker.java | 46 final SocketFactory factory = SSLSocketFactory.getDefault(); in canConnectToPrivateDnsServer() local 49 try (SSLSocket socket = (SSLSocket) factory.createSocket()) { in canConnectToPrivateDnsServer()
|
/frameworks/base/test-runner/src/android/test/ |
D | RenamingDelegatingContext.java | 151 int mode, SQLiteDatabase.CursorFactory factory) { in openOrCreateDatabase() argument 157 return mFileContext.openOrCreateDatabase(internalName, mode, factory); in openOrCreateDatabase() 162 int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) { in openOrCreateDatabase() argument 168 return mFileContext.openOrCreateDatabase(internalName, mode, factory, errorHandler); in openOrCreateDatabase()
|
/frameworks/av/media/codec2/vndk/include/util/ |
D | C2InterfaceHelper.h | 317 Factory &factory, 547 const C2Param *value, bool mayBlock, bool *changed, Factory &factory) -> C2R { 560 C2P<T> oldValue = factory.get(*typedParam); 562 C2P<T> helper = factory.get(*typedParam, proposedValue); 563 C2R result = fn(mayBlock, oldValue, helper, factory.get(deps)...); 588 const C2Param *value, bool mayBlock, bool *changed, Factory &factory) -> C2R { 602 C2P<T> helper = factory.get(*typedParam, proposedValue); 603 C2R result = fn(mayBlock, helper, factory.get(deps)...);
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
D | SingleFilterEffect.java | 60 FilterFactory factory = FilterFactory.sharedFactory(); in SingleFilterEffect() local 61 Filter filter = factory.createFilterByClass(filterClass, filterName); in SingleFilterEffect()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVp8Enc.cpp | 109 extern "C" void DestroyCodec2Factory(::C2ComponentFactory* factory) { in DestroyCodec2Factory() argument 111 delete factory; in DestroyCodec2Factory()
|
D | C2SoftVp9Enc.cpp | 139 extern "C" void DestroyCodec2Factory(::C2ComponentFactory* factory) { in DestroyCodec2Factory() argument 141 delete factory; in DestroyCodec2Factory()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | BasicBitmapDrawable.java | 291 final FileDescriptorFactory factory) { in fileDescriptorFactoryCreated() argument 300 decode(factory); in fileDescriptorFactoryCreated() 314 protected void decode(final FileDescriptorFactory factory) { in decode() argument 334 mTask = new DecodeTask(mCurrKey, opts, factory, this, mCache); in decode()
|
/frameworks/base/core/java/android/preference/ |
D | GenericInflater.java | 199 public void setFactory(Factory<T> factory) { in setFactory() argument 204 if (factory == null) { in setFactory() 209 mFactory = factory; in setFactory() 211 mFactory = new FactoryMerger<T>(factory, mFactory); in setFactory()
|