/frameworks/base/packages/SystemUI/src/com/android/systemui/log/dagger/ |
D | LogModule.java | 47 public static LogBuffer provideDozeLogBuffer(LogBufferFactory factory) { in provideDozeLogBuffer() argument 48 return factory.create("DozeLog", 150); in provideDozeLogBuffer() 56 LogBufferFactory factory, in provideNotificationsLogBuffer() argument 62 return factory.create("NotifLog", maxSize, false /* systrace */); in provideNotificationsLogBuffer() 70 LogBufferFactory factory) { in provideNotificationLockScreenLogBuffer() argument 71 return factory.create("NotifLockscreenLog", 50, false /* systrace */); in provideNotificationLockScreenLogBuffer() 78 public static LogBuffer provideNotificationHeadsUpLogBuffer(LogBufferFactory factory) { in provideNotificationHeadsUpLogBuffer() argument 79 return factory.create("NotifHeadsUpLog", 1000); in provideNotificationHeadsUpLogBuffer() 86 public static LogBuffer provideNotificationInterruptLogBuffer(LogBufferFactory factory) { in provideNotificationInterruptLogBuffer() argument 87 return factory.create("NotifInterruptLog", 100); in provideNotificationInterruptLogBuffer() [all …]
|
/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 …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/dagger/ |
D | StatusBarPipelineModule.kt | 113 fun provideWifiInputLogBuffer(factory: LogBufferFactory): LogBuffer { in airplaneModeRepository() 114 return factory.create("WifiInputLog", 50) in airplaneModeRepository() 120 fun provideWifiTableLogBuffer(factory: TableLogBufferFactory): TableLogBuffer { in airplaneModeRepository() 121 return factory.create("WifiTableLog", 100) in airplaneModeRepository() 127 fun provideAirplaneTableLogBuffer(factory: TableLogBufferFactory): TableLogBuffer { in airplaneModeRepository() 128 return factory.create("AirplaneTableLog", 30) in airplaneModeRepository() 134 fun provideSharedConnectivityTableLogBuffer(factory: LogBufferFactory): LogBuffer { in airplaneModeRepository() 135 return factory.create("SharedConnectivityInputLog", 30) in airplaneModeRepository() 141 fun provideMobileSummaryLogBuffer(factory: TableLogBufferFactory): TableLogBuffer { in airplaneModeRepository() 142 return factory.create("MobileSummaryLog", 100) in airplaneModeRepository() [all …]
|
/frameworks/av/media/libaudiohal/impl/ |
D | DevicesFactoryHalHidl.cpp | 43 explicit ServiceNotificationListener(sp<DevicesFactoryHalHidl> factory) in ServiceNotificationListener() argument 44 : mFactory(factory) {} in ServiceNotificationListener() 50 sp<DevicesFactoryHalHidl> factory = mFactory.promote(); in onRegistration() local 51 if (!factory) return Void(); in onRegistration() 54 factory->addDeviceFactory(halFactory, true /*needToNotify*/); in onRegistration() 115 for (const auto& factory : factories) { in openDevice() local 121 ret = factory->openPrimaryDevice_7_1( in openDevice() 123 ret = factory->openPrimaryDevice( in openDevice() 134 ret = factory->openDevice_7_1( in openDevice() 136 ret = factory->openDevice( in openDevice() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
D | CutoutDecorProviderFactoryTest.kt | 47 private lateinit var factory: CutoutDecorProviderFactory in <lambda>() variable in com.android.systemui.decor.CutoutDecorProviderFactoryTest 53 factory = CutoutDecorProviderFactory(testableRes!!.resources, display) in <lambda>() 110 Assert.assertFalse(factory.hasProviders) in <lambda>() 111 Assert.assertEquals(0, factory.providers.size) in <lambda>() 124 Assert.assertTrue(factory.hasProviders) in <lambda>() 126 val providers = factory.providers in <lambda>() 144 Assert.assertTrue(factory.hasProviders) in <lambda>() 146 val providers = factory.providers in <lambda>() 164 Assert.assertTrue(factory.hasProviders) in <lambda>() 166 val providers = factory.providers in <lambda>() [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()
|
/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/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | PanelConfirmationDialogFactoryTest.kt | 44 val factory = PanelConfirmationDialogFactory { mockDialog } in testDialogHasCorrectInfo() constant 47 factory.createConfirmationDialog(context, appName) {} in testDialogHasCorrectInfo() 59 val factory = PanelConfirmationDialogFactory { mockDialog } in testDialogPositiveButton() constant 63 factory.createConfirmationDialog(context, "") { response = it } in testDialogPositiveButton() 76 val factory = PanelConfirmationDialogFactory { mockDialog } in testDialogNeutralButton() constant 80 factory.createConfirmationDialog(context, "") { response = it } in testDialogNeutralButton() 93 val factory = PanelConfirmationDialogFactory { mockDialog } in testDialogCancel() constant 97 factory.createConfirmationDialog(context, "") { response = it } in testDialogCancel()
|
/frameworks/av/drm/libmediadrm/ |
D | DrmUtils.cpp | 84 auto factory = Hal::getService(instance); in MakeHidlFactories() local 85 if (factory != nullptr) { in MakeHidlFactories() 88 factories.push_back(factory); in MakeHidlFactories() 91 auto supported = factory->isCryptoSchemeSupported(uuid); in MakeHidlFactories() 98 factories.push_back(factory); in MakeHidlFactories() 126 sp<::V1_0::IDrmPlugin> MakeDrmPlugin(const sp<::V1_0::IDrmFactory>& factory, const uint8_t uuid[16], in MakeDrmPlugin() argument 129 auto err = factory->createPlugin( in MakeDrmPlugin() 146 sp<::V1_0::ICryptoPlugin> MakeCryptoPlugin(const sp<::V1_0::ICryptoFactory>& factory, in MakeCryptoPlugin() argument 150 auto err = factory->createPlugin( in MakeCryptoPlugin() 179 auto factory = IDrmFactoryAidl::fromBinder( in makeDrmFactoriesAidl() local [all …]
|
D | CryptoHalHidl.cpp | 98 auto factory = drm::V1_0::ICryptoFactory::getService(instance); in makeCryptoFactories() local 99 if (factory != NULL) { in makeCryptoFactories() 101 factories.push_back(factory); in makeCryptoFactories() 109 auto factory = drm::V1_1::ICryptoFactory::getService(instance); in makeCryptoFactories() local 110 if (factory != NULL) { in makeCryptoFactories() 112 factories.push_back(factory); in makeCryptoFactories() 131 sp<ICryptoPlugin> CryptoHalHidl::makeCryptoPlugin(const sp<ICryptoFactory>& factory, in makeCryptoPlugin() argument 136 factory->createPlugin(toHidlArray16(uuid), toHidlVec(initData, initDataSize), in makeCryptoPlugin()
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
D | StorageManagerIntegrationTest.java | 136 final MyThreadFactory factory = new MyThreadFactory(); in testOpenProxyFileDescriptor() local 139 ParcelFileDescriptor.MODE_READ_ONLY, callback, null, factory)) { in testOpenProxyFileDescriptor() argument 140 assertNotSame(Thread.State.TERMINATED, factory.thread.getState()); in testOpenProxyFileDescriptor() 146 factory.thread.join(3000); in testOpenProxyFileDescriptor() 147 assertEquals(Thread.State.TERMINATED, factory.thread.getState()); in testOpenProxyFileDescriptor() 151 ParcelFileDescriptor.MODE_WRITE_ONLY, callback, null, factory)) { in testOpenProxyFileDescriptor() argument 152 assertNotSame(Thread.State.TERMINATED, factory.thread.getState()); in testOpenProxyFileDescriptor()
|
/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/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 | 81 @Nullable CursorFactory factory, int version) { in SQLiteOpenHelper() argument 82 this(context, name, factory, version, null); in SQLiteOpenHelper() 103 @Nullable CursorFactory factory, int version, in SQLiteOpenHelper() argument 105 this(context, name, factory, version, 0, errorHandler); in SQLiteOpenHelper() 152 @Nullable CursorFactory factory, int version, in SQLiteOpenHelper() argument 156 mOpenParamsBuilder.setCursorFactory(factory); in SQLiteOpenHelper()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlingerFactory.cpp | 27 static DefaultFactory factory; in createSurfaceFlinger() local 29 return new SurfaceFlinger(factory); in createSurfaceFlinger()
|
/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/av/media/libstagefright/renderfright/threaded/ |
D | RenderEngineThreaded.h | 40 static std::unique_ptr<RenderEngineThreaded> create(CreateInstanceFactory factory); 42 RenderEngineThreaded(CreateInstanceFactory factory); 76 void threadMain(CreateInstanceFactory factory);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dagger/ |
D | MediaModule.java | 97 static LogBuffer provideMediaTttSenderLogBuffer(LogBufferFactory factory) { in provideMediaTttSenderLogBuffer() argument 98 return factory.create("MediaTttSender", 30); in provideMediaTttSenderLogBuffer() 107 static LogBuffer provideMediaTttReceiverLogBuffer(LogBufferFactory factory) { in provideMediaTttReceiverLogBuffer() argument 108 return factory.create("MediaTttReceiver", 20); in provideMediaTttReceiverLogBuffer()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSFactoryImplTest.kt | 134 private lateinit var factory: QSFactoryImpl in <lambda>() variable in com.android.systemui.qs.tileimpl.QSFactoryImplTest 175 factory = QSFactoryImpl( in <lambda>() 186 assertThat(factory.createTile(spec)).isInstanceOf(klazz) in <lambda>() 193 assertThat(factory.createTile(customSpec)).isInstanceOf(CustomTile::class.java) in <lambda>() 198 assertThat(factory.createTile("-432~")).isNull() in <lambda>() 204 val tile = factory.createTile(spec) as QSTileImpl<*> in <lambda>() 211 val tile = factory.createTile(customSpec) as QSTileImpl<*> in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ExtensionControllerImpl.java | 88 public ExtensionController.ExtensionBuilder<T> withTunerFactory(TunerFactory<T> factory) { in withTunerFactory() argument 89 mExtension.addTunerFactory(factory, factory.keys()); in withTunerFactory() 213 public void addTunerFactory(TunerFactory<T> factory, String[] keys) { in addTunerFactory() argument 214 mProducers.add(new TunerItem(factory, keys)); in addTunerFactory() 273 public TunerItem(TunerFactory<T> factory, String... setting) { in TunerItem() argument 274 mFactory = factory; in TunerItem()
|
/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()
|
/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/native/libs/renderengine/threaded/ |
D | RenderEngineThreaded.h | 40 static std::unique_ptr<RenderEngineThreaded> create(CreateInstanceFactory factory, 43 RenderEngineThreaded(CreateInstanceFactory factory, RenderEngineType type); 83 void threadMain(CreateInstanceFactory factory);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/dagger/ |
D | TemporaryDisplayModule.kt | 36 fun provideChipbarLogBuffer(factory: LogBufferFactory): LogBuffer { in provideChipbarLogBuffer() 37 return factory.create("ChipbarLog", 40) in provideChipbarLogBuffer()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ExtensionControllerImplTest.java | 95 TunerFactory<Object> factory = new ExtensionController.TunerFactory() { in testTuner() local 107 .withTunerFactory(factory) in testTuner() 157 TunerFactory<Object> factory = mock(TunerFactory.class); in testSortOrder() local 161 .withTunerFactory(factory) in testSortOrder() 179 when(factory.create(any())).thenReturn(tuner); in testSortOrder()
|