Searched defs:factory (Results 26 - 50 of 53) sorted by relevance

123

/frameworks/av/drm/libmediadrm/
H A DCryptoHal.cpp123 auto factory = ICryptoFactory::getService(instance);
124 if (factory != NULL) {
125 factories.push_back(factory);
126 ALOGI("makeCryptoFactories: factory instance %s is %s",
128 factory->isRemote() ? "Remote" : "Not Remote");
148 sp<ICryptoPlugin> CryptoHal::makeCryptoPlugin(const sp<ICryptoFactory>& factory, argument
152 Return<void> hResult = factory->createPlugin(toHidlArray16(uuid),
H A DDrmHal.cpp222 auto factory = IDrmFactory::getService(instance);
223 if (factory != NULL) {
224 factories.push_back(factory);
225 ALOGI("makeDrmFactories: factory instance %s is %s",
227 factory->isRemote() ? "Remote" : "Not Remote");
247 sp<IDrmPlugin> DrmHal::makeDrmPlugin(const sp<IDrmFactory>& factory, argument
251 Return<void> hResult = factory->createPlugin(uuid, appPackageName.string(),
/frameworks/base/core/java/com/android/internal/os/
H A DFuseAppLoop.java74 int mountPointId, @NonNull ParcelFileDescriptor fd, @Nullable ThreadFactory factory) {
76 if (factory == null) {
77 factory = sDefaultThreadFactory;
80 mThread = factory.newThread(() -> {
73 FuseAppLoop( int mountPointId, @NonNull ParcelFileDescriptor fd, @Nullable ThreadFactory factory) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DExtensionControllerImpl.java67 public ExtensionController.ExtensionBuilder<T> withTunerFactory(TunerFactory<T> factory) { argument
68 mExtension.addTunerFactory(factory, factory.keys());
192 public void addTunerFactory(TunerFactory<T> factory, String[] keys) { argument
193 mProducers.add(new TunerItem(factory, keys));
252 public TunerItem(TunerFactory<T> factory, String... setting) { argument
253 mFactory = factory;
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64LDBackend.cpp508 StubFactory* factory = getStubFactory(); local
509 if (factory != NULL) {
510 factory->addPrototype(new AArch64LongBranchStub(config().isCodeIndep()));
512 factory->addPrototype(new AArch64CA53Erratum835769Stub());
515 factory->addPrototype(new AArch64CA53Erratum843419Stub());
516 factory->addPrototype(new AArch64CA53Erratum843419Stub2());
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DBasicBitmapDrawable.java291 final FileDescriptorFactory factory) {
300 decode(factory);
314 protected void decode(final FileDescriptorFactory factory) { argument
334 mTask = new DecodeTask(mCurrKey, opts, factory, this, mCache);
290 fileDescriptorFactoryCreated(final RequestKey key, final FileDescriptorFactory factory) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
H A DImsResolver.java276 public void setImsServiceControllerFactory(ImsServiceControllerFactory factory) { argument
277 mImsServiceControllerFactory = factory;
/frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/
H A DRoomDatabase.java330 * Sets the database factory. If not set, it defaults to
333 * @param factory The factory to use to access the database.
336 public Builder<T> openHelperFactory(SupportSQLiteOpenHelper.Factory factory) { argument
337 mFactory = factory;
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteButton.java194 * Gets the media route dialog factory to use when showing the route chooser
197 * @return The dialog factory, never null.
205 * Sets the media route dialog factory to use when showing the route chooser
208 * @param factory The dialog factory, must not be null.
210 public void setDialogFactory(@NonNull MediaRouteDialogFactory factory) { argument
211 if (factory == null) {
212 throw new IllegalArgumentException("factory must not be null");
215 mDialogFactory = factory;
228 * to provide a customized dialog factory
[all...]
/frameworks/base/core/java/android/view/
H A DLayoutInflater.java260 * name. If the factory returns a View, add that to the hierarchy. If it
268 * Return the current {@link Factory2}. Returns null if no factory is set
269 * or the set factory does not implement the {@link Factory2} interface.
271 * name. If the factory returns a View, add that to the hierarchy. If it
281 * after setting, you can not change the factory. This is
282 * called on each element name as the xml is parsed. If the factory returns
284 * factory default {@link #onCreateView} method is called.
287 * LayoutInflater and want to add your own factory to it, use
290 * merge your own factory with whatever factory th
293 setFactory(Factory factory) argument
312 setFactory2(Factory2 factory) argument
330 setPrivateFactory(Factory2 factory) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DTabHost.java736 public FactoryContentStrategy(CharSequence tag, TabContentFactory factory) { argument
738 mFactory = factory;
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp568 ContextFactory factory; local
569 RenderProxy* proxy = new RenderProxy(false, rootNode, &factory);
H A Dandroid_view_ThreadedRenderer.cpp609 ContextFactoryImpl factory(rootRenderNode);
610 return (jlong) new RenderProxy(translucent, rootRenderNode, &factory);
890 ContextFactory factory; local
891 RenderProxy proxy{true, renderNode, &factory};
/frameworks/native/libs/input/
H A DInputTransport.cpp400 status_t InputConsumer::consume(InputEventFactoryInterface* factory, argument
425 result = consumeBatch(factory, frameTime, outSeq, outEvent, displayId);
440 KeyEvent* keyEvent = factory->createKeyEvent();
468 status_t result = consumeSamples(factory,
496 MotionEvent* motionEvent = factory->createMotionEvent();
520 status_t InputConsumer::consumeBatch(InputEventFactoryInterface* factory, argument
527 result = consumeSamples(factory, batch, batch.samples.size(),
542 result = consumeSamples(factory, batch, split + 1, outSeq, outEvent, displayId);
559 status_t InputConsumer::consumeSamples(InputEventFactoryInterface* factory, argument
561 MotionEvent* motionEvent = factory
[all...]
/frameworks/rs/rsov/compiler/spirit/
H A Dmodule.cpp615 T *findOrCreate(std::function<bool(T *)> criteria, std::function<T *()> factory, argument
626 derived = factory();
/frameworks/base/core/java/android/content/
H A DContextWrapper.java298 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument
299 return mBase.openOrCreateDatabase(name, mode, factory);
303 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory, argument
305 return mBase.openOrCreateDatabase(name, mode, factory, errorHandler);
H A DContext.java1501 * @param factory An optional factory class that is called to instantiate a
1512 @DatabaseMode int mode, CursorFactory factory);
1524 * @param factory An optional factory class that is called to instantiate a
1539 @DatabaseMode int mode, CursorFactory factory,
3920 * for interacting with a storage device that lives across factory resets.
1511 openOrCreateDatabase(String name, @DatabaseMode int mode, CursorFactory factory) argument
1538 openOrCreateDatabase(String name, @DatabaseMode int mode, CursorFactory factory, @Nullable DatabaseErrorHandler errorHandler) argument
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabase.java97 // The optional factory to use when creating new Cursors. May be null.
691 * @param factory an optional factory class that is called to instantiate a
697 public static SQLiteDatabase openDatabase(@NonNull String path, @Nullable CursorFactory factory, argument
699 return openDatabase(path, factory, flags, null);
739 * @param factory an optional factory class that is called to instantiate a
747 public static SQLiteDatabase openDatabase(@NonNull String path, @Nullable CursorFactory factory, argument
749 SQLiteDatabase db = new SQLiteDatabase(path, flags, factory, errorHandler, -1, -1, -1);
755 * Equivalent to openDatabase(file.getPath(), factory, CREATE_IF_NECESSAR
757 openOrCreateDatabase(@onNull File file, @Nullable CursorFactory factory) argument
765 openOrCreateDatabase(@onNull String path, @Nullable CursorFactory factory) argument
773 openOrCreateDatabase(@onNull String path, @Nullable CursorFactory factory, @Nullable DatabaseErrorHandler errorHandler) argument
886 create(@ullable CursorFactory factory) argument
[all...]
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java1444 int mode, ProxyFileDescriptorCallback callback, Handler handler, ThreadFactory factory)
1460 mFuseAppLoop = new FuseAppLoop(mount.mountPointId, mount.fd, factory);
1443 openProxyFileDescriptor( int mode, ProxyFileDescriptorCallback callback, Handler handler, ThreadFactory factory) argument
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java373 public void setEGLContextFactory(EGLContextFactory factory) { argument
375 mEGLContextFactory = factory;
387 public void setEGLWindowSurfaceFactory(EGLWindowSurfaceFactory factory) { argument
389 mEGLWindowSurfaceFactory = factory;
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java3244 SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) {
3245 return mTestContext.openOrCreateDatabase(file, mode, factory,errorHandler);
3243 openOrCreateDatabase(String file, int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) argument
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java246 SQLiteDatabase.CursorFactory factory) {
252 SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) {
245 openOrCreateDatabase(String file, int mode, SQLiteDatabase.CursorFactory factory) argument
251 openOrCreateDatabase(String file, int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBrowseFragment.java646 public void registerFragment(Class rowClass, FragmentFactory factory) { argument
647 mItemToFragmentFactoryMapping.put(rowClass, factory);
H A DBrowseSupportFragment.java643 public void registerFragment(Class rowClass, FragmentFactory factory) { argument
644 mItemToFragmentFactoryMapping.put(rowClass, factory);
/frameworks/base/core/java/android/app/
H A DContextImpl.java723 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument
724 return openOrCreateDatabase(name, mode, factory, null);
728 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory, argument
739 SQLiteDatabase db = SQLiteDatabase.openDatabase(f.getPath(), factory, flags, errorHandler);

Completed in 1124 milliseconds

123