Searched defs:factory (Results 1 - 25 of 58) sorted by path

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.cpp210 auto factory = IDrmFactory::getService(instance);
211 if (factory != NULL) {
212 factories.push_back(factory);
213 ALOGI("makeDrmFactories: factory instance %s is %s",
215 factory->isRemote() ? "Remote" : "Not Remote");
235 sp<IDrmPlugin> DrmHal::makeDrmPlugin(const sp<IDrmFactory>& factory, argument
239 Return<void> hResult = factory->createPlugin(uuid, appPackageName.string(),
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp41 status_t MediaPlayerFactory::registerFactory_l(IFactory* factory, argument
43 if (NULL == factory) {
44 ALOGE("Failed to register MediaPlayerFactory of type %d, factory is"
55 if (sFactoryMap.add(type, factory) < 0) {
68 status_t MediaPlayerFactory::registerFactory(IFactory* factory, argument
71 return registerFactory_l(factory, type);
133 IFactory* factory; local
139 " factory", playerType);
143 factory = sFactoryMap.valueFor(playerType);
144 CHECK(NULL != factory);
[all...]
/frameworks/av/services/mediadrm/
H A DFactoryLoader.h42 T** factory = NULL);
60 T** factory);
72 int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) {
76 if (factory != NULL) {
77 *factory = NULL;
87 CA_system_id, library, factory);
104 pluginPath, CA_system_id, library, factory)) {
149 sp<SharedLibrary> *library, T** factory) {
160 if (factory != NULL) {
161 *factory
71 findFactoryForScheme( int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) argument
147 loadFactoryForSchemeFromPath( const String8 &path, int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) argument
[all...]
H A DMediaCasService.cpp75 CasFactory *factory; local
77 if (mCasLoader->findFactoryForScheme(CA_system_id, &library, &factory)) {
80 if (factory->createPlugin(CA_system_id, (uint64_t)casImpl.get(),
105 DescramblerFactory *factory; local
108 CA_system_id, &library, &factory)) {
110 if (factory->createPlugin(CA_system_id, &plugin) == OK
/frameworks/av/services/radio/
H A DRadioHalHidl.cpp119 sp<IBroadcastRadioFactory> factory = IBroadcastRadioFactory::getService(); local
120 if (factory != 0) {
121 factory->connectModule(static_cast<Class>(mClassId),
/frameworks/base/core/java/android/app/
H A DContextImpl.java707 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument
708 return openOrCreateDatabase(name, mode, factory, null);
712 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory, argument
723 SQLiteDatabase db = SQLiteDatabase.openDatabase(f.getPath(), factory, flags, errorHandler);
/frameworks/base/core/java/android/content/
H A DContext.java1464 * @param factory An optional factory class that is called to instantiate a
1475 @DatabaseMode int mode, CursorFactory factory);
1487 * @param factory An optional factory class that is called to instantiate a
1502 @DatabaseMode int mode, CursorFactory factory,
3857 * for interacting with a storage device that lives across factory resets.
1474 openOrCreateDatabase(String name, @DatabaseMode int mode, CursorFactory factory) argument
1501 openOrCreateDatabase(String name, @DatabaseMode int mode, CursorFactory factory, @Nullable DatabaseErrorHandler errorHandler) argument
H A DContextWrapper.java292 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument
293 return mBase.openOrCreateDatabase(name, mode, factory);
297 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory, argument
299 return mBase.openOrCreateDatabase(name, mode, factory, errorHandler);
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCursorDriver.java30 * @param factory The CursorFactory to use when creating the Cursors, or
34 Cursor query(CursorFactory factory, String[] bindArgs); argument
H A DSQLiteDatabase.java90 // The optional factory to use when creating new Cursors. May be null.
664 * @param factory an optional factory class that is called to instantiate a
670 public static SQLiteDatabase openDatabase(String path, CursorFactory factory, int flags) { argument
671 return openDatabase(path, factory, flags, null);
685 * @param factory an optional factory class that is called to instantiate a
693 public static SQLiteDatabase openDatabase(String path, CursorFactory factory, int flags, argument
695 SQLiteDatabase db = new SQLiteDatabase(path, flags, factory, errorHandler);
701 * Equivalent to openDatabase(file.getPath(), factory, CREATE_IF_NECESSAR
703 openOrCreateDatabase(File file, CursorFactory factory) argument
710 openOrCreateDatabase(String path, CursorFactory factory) argument
717 openOrCreateDatabase(String path, CursorFactory factory, DatabaseErrorHandler errorHandler) argument
828 create(CursorFactory factory) argument
[all...]
H A DSQLiteDirectCursorDriver.java43 public Cursor query(CursorFactory factory, String[] selectionArgs) { argument
49 if (factory == null) {
52 cursor = factory.newCursor(mDatabase, this, mEditTable, query);
H A DSQLiteOpenHelper.java73 * @param factory to use for creating cursor objects, or null for the default
78 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version) { argument
79 this(context, name, factory, version, null);
92 * @param factory to use for creating cursor objects, or null for the default
99 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version, argument
101 this(context, name, factory, version, 0, errorHandler);
113 * @param factory to use for creating cursor objects, null for default
127 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version, argument
133 mFactory = factory;
H A DSQLiteQueryBuilder.java140 * Sets the cursor factory to be used for the query. You can use
141 * one factory for all queries on a database but it is normally
142 * easier to specify the factory when doing this query.
144 * @param factory the factory to use.
146 public void setCursorFactory(SQLiteDatabase.CursorFactory factory) { argument
147 mFactory = factory;
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java1420 int mode, ProxyFileDescriptorCallback callback, Handler handler, ThreadFactory factory)
1436 mFuseAppLoop = new FuseAppLoop(mount.mountPointId, mount.fd, factory);
1419 openProxyFileDescriptor( int mode, ProxyFileDescriptorCallback callback, Handler handler, ThreadFactory factory) argument
/frameworks/base/core/java/android/preference/
H A DGenericInflater.java170 * Return the current factory (or null). This is called on each element
171 * name. If the factory returns an item, add that to the hierarchy. If it
181 * once; after setting, you can not change the factory. This is called on
182 * each element name as the XML is parsed. If the factory returns an item,
183 * that is added to the hierarchy. If it returns null, the next factory
187 * own factory to it, use {@link #cloneInContext} to clone the existing
189 * instance. This will merge your own factory with whatever factory the
192 public void setFactory(Factory<T> factory) { argument
195 "A factory ha
[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 DRemoteViewsService.java55 * Called when your factory is first constructed. The same factory may be shared across
72 * Called when the last RemoteViewsAdapter that is associated with this factory is
108 * @return The number of types of Views that will be returned by this factory.
133 public RemoteViewsFactoryAdapter(RemoteViewsFactory factory, boolean isCreated) { argument
134 mFactory = factory;
218 RemoteViewsFactory factory = RemoteViewsService.sRemoteViewFactories.get(fc);
220 factory.onDestroy();
238 RemoteViewsFactory factory = null;
241 factory
[all...]
H A DTabHost.java731 public FactoryContentStrategy(CharSequence tag, TabContentFactory factory) { argument
733 mFactory = factory;
H A DTextView.java5162 * @param factory {@link android.text.Editable.Factory Editable.Factory} to be used
5167 public final void setEditableFactory(Editable.Factory factory) { argument
5168 mEditableFactory = factory;
5175 * @param factory {@link android.text.Spannable.Factory Spannable.Factory} to be used
5180 public final void setSpannableFactory(Spannable.Factory factory) { argument
5181 mSpannableFactory = factory;
H A DViewSwitcher.java25 * {@link ViewAnimator} that switches between two views, and has a factory
26 * from which these views are created. You can either use the factory to
32 * The factory used to create the two children.
95 * Sets the factory used to create the two views between which the
96 * ViewSwitcher will flip. Instead of using a factory, you can call
100 * @param factory the view factory used to generate the switcher's content
102 public void setFactory(ViewFactory factory) { argument
103 mFactory = factory;
/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/core/jni/
H A Dandroid_view_Surface.cpp548 ContextFactory factory; local
549 RenderProxy* proxy = new RenderProxy(false, rootNode, &factory);
H A Dandroid_view_ThreadedRenderer.cpp621 ContextFactoryImpl factory(rootRenderNode);
622 return (jlong) new RenderProxy(translucent, rootRenderNode, &factory);
896 ContextFactory factory; local
897 RenderProxy proxy{false, renderNode, &factory};
/frameworks/base/libs/hwui/tests/macrobench/
H A DTestSceneRunner.cpp135 ContextFactory factory; local
137 rootNode.get(), &factory));

Completed in 5966 milliseconds

123