Home
last modified time | relevance | path

Searched refs:Factory (Results 1 – 25 of 553) sorted by relevance

12345678910>>...23

/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusicon/ui/
DQuickControlsEntryPointsModule.java37 public abstract CarSystemBarElementController.Factory bindBluetoothStatusIconController( in bindBluetoothStatusIconController()
38 BluetoothStatusIconController.Factory bluetoothStatusIconController); in bindBluetoothStatusIconController()
44 public abstract CarSystemBarElementController.Factory bindSignalStatusIconController( in bindSignalStatusIconController()
45 SignalStatusIconController.Factory signalStatusIconController); in bindSignalStatusIconController()
51 public abstract CarSystemBarElementController.Factory bindDisplayStatusIconController( in bindDisplayStatusIconController()
52 DisplayStatusIconController.Factory displayStatusIconController); in bindDisplayStatusIconController()
58 public abstract CarSystemBarElementController.Factory bindLocationStatusIconController( in bindLocationStatusIconController()
59 LocationStatusIconController.Factory locationStatusIconController); in bindLocationStatusIconController()
65 public abstract CarSystemBarElementController.Factory bindPhoneCallStatusIconController( in bindPhoneCallStatusIconController()
66 PhoneCallStatusIconController.Factory phoneCallStatusIconController); in bindPhoneCallStatusIconController()
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/
DQuickControlsModule.java68 public abstract CarSystemBarElementController.Factory bindMobileSignalStatusIconController( in bindMobileSignalStatusIconController()
69 MobileSignalStatusIconController.Factory mobileSignalStatusIconController); in bindMobileSignalStatusIconController()
75 public abstract CarSystemBarElementController.Factory bindWifiSignalStatusIconController( in bindWifiSignalStatusIconController()
76 WifiSignalStatusIconController.Factory wifiSignalStatusIconController); in bindWifiSignalStatusIconController()
82 public abstract CarSystemBarElementController.Factory bindQCViewControllerFactory( in bindQCViewControllerFactory()
83 SystemUIQCViewController.Factory factory); in bindQCViewControllerFactory()
89 public abstract CarSystemBarElementController.Factory bindQCFooterButtonControllerFactory( in bindQCFooterButtonControllerFactory()
90 QCFooterButtonController.Factory factory); in bindQCFooterButtonControllerFactory()
96 public abstract CarSystemBarElementController.Factory bindQCFooterViewControllerFactory( in bindQCFooterViewControllerFactory()
97 QCFooterViewController.Factory factory); in bindQCFooterViewControllerFactory()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/modules/
DTunerModule.java80 abstract TunerRecordingSessionWorker.Factory tunerRecordingSessionWorkerFactory( in tunerRecordingSessionWorkerFactory()
84 abstract TunerRecordingSessionWorkerExoV2.Factory tunerRecordingSessionWorkerExoV2Factory( in tunerRecordingSessionWorkerExoV2Factory()
88 abstract TunerSessionWorker.Factory tunerSessionWorkerFactory( in tunerSessionWorkerFactory()
92 abstract TunerSessionOverlay.Factory tunerSessionOverlayFactory( in tunerSessionOverlayFactory()
96 abstract CaptionTrackRenderer.Factory captionTrackRendererFactory( in captionTrackRendererFactory()
100 abstract CaptionWindowLayout.Factory captionWindowLayoutFactory( in captionWindowLayoutFactory()
104 abstract TunerSessionWorkerExoV2.Factory tunerSessionWorkerExoV2Factory( in tunerSessionWorkerExoV2Factory()
108 abstract MpegTsRendererBuilder.Factory mpegTsRendererBuilderFactory( in mpegTsRendererBuilderFactory()
112 abstract MpegTsSampleExtractor.Factory mpegTsSampleExtractorFactory( in mpegTsSampleExtractorFactory()
116 abstract FileSampleExtractor.Factory fileSampleExtractorFactory( in fileSampleExtractorFactory()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/
DZslPreviewCommand.java40 private final RequestBuilder.Factory mPreviewWarmupRequestBuilder;
42 private final RequestBuilder.Factory mZslRequestBuilder;
44 private final RequestBuilder.Factory mZslAndPreviewRequestBuilder;
56 RequestBuilder.Factory previewWarmupRequestBuilder, in ZslPreviewCommand()
58 RequestBuilder.Factory zslRequestBuilder, in ZslPreviewCommand()
60 RequestBuilder.Factory zslAndPreviewRequestBuilder, in ZslPreviewCommand()
104 private List<Request> createWarmupBurst(RequestBuilder.Factory builder, int type, int size) in createWarmupBurst()
DZslPreviewCommandFactory.java27 private final RequestBuilder.Factory mPreviewWarmupRequestBuilder;
28 private final RequestBuilder.Factory mZslRequestBuilder;
33 RequestBuilder.Factory previewWarmupRequestBuilder, in ZslPreviewCommandFactory()
34 RequestBuilder.Factory zslRequestBuilder) { in ZslPreviewCommandFactory()
41 public CameraCommand get(RequestBuilder.Factory previewRequestBuilder, int templateType) { in get()
/packages/modules/Bluetooth/system/gd/
Dmodule_unittest.cc57 static const ModuleFactory Factory; member in bluetooth::__anon2d4c33810111::TestModuleNoDependency
78 const ModuleFactory TestModuleNoDependency::Factory = ModuleFactory([]() { in __anon2d4c33810202() member in bluetooth::__anon2d4c33810111::TestModuleNoDependency
86 static const ModuleFactory Factory; member in bluetooth::__anon2d4c33810111::TestModuleOneDependency
113 const ModuleFactory TestModuleOneDependency::Factory = ModuleFactory([]() { in __anon2d4c33810302() member in bluetooth::__anon2d4c33810111::TestModuleOneDependency
120 static const ModuleFactory Factory; member in bluetooth::__anon2d4c33810111::TestModuleNoDependencyTwo
140 const ModuleFactory TestModuleNoDependencyTwo::Factory = ModuleFactory([]() { in __anon2d4c33810402() member in bluetooth::__anon2d4c33810111::TestModuleNoDependencyTwo
146 static const ModuleFactory Factory; member in bluetooth::__anon2d4c33810111::TestModuleTwoDependencies
175 const ModuleFactory TestModuleTwoDependencies::Factory = ModuleFactory([]() { in __anon2d4c33810502() member in bluetooth::__anon2d4c33810111::TestModuleTwoDependencies
183 static const ModuleFactory Factory; member in bluetooth::__anon2d4c33810111::TestModuleDumpState
222 const ModuleFactory TestModuleDumpState::Factory = ModuleFactory([]() { return new TestModuleDumpSt… in __anon2d4c33810702() member in bluetooth::__anon2d4c33810111::TestModuleDumpState
[all …]
Dmodule.h62 list_.push_back(&T::Factory); in add()
113 return static_cast<T*>(GetDependency(&T::Factory)); in GetDependency()
143 return IsStarted(&T::Factory); in IsStarted()
154 return static_cast<T*>(Start(&T::Factory, thread)); in Start()
189 return static_cast<T*>(GetModuleUnderTest(&T::Factory)); in GetModuleUnderTest()
219 Module* instance = T::Factory.ctor_(); in Inject()
/packages/apps/ThemePicker/src/com/android/customization/module/
DThemePickerInjector.kt103 KeyguardQuickAffordancePickerViewModel.Factory? = in <lambda>()
111 private var clockCarouselViewModelFactory: ClockCarouselViewModel.Factory? = null in <lambda>()
115 private var notificationSectionViewModelFactory: NotificationSectionViewModel.Factory? = null in <lambda>()
117 private var colorPickerViewModelFactory: ColorPickerViewModel.Factory? = null in <lambda>()
123 private var clockSettingsViewModelFactory: ClockSettingsViewModel.Factory? = null in <lambda>()
126 private var gridScreenViewModelFactory: GridScreenViewModel.Factory? = null in <lambda>()
131 lateinit var colorContrastSectionViewModelFactory: Lazy<ColorContrastSectionViewModel.Factory> in <lambda>()
248 ): KeyguardQuickAffordancePickerViewModel.Factory { in <lambda>()
250 ?: KeyguardQuickAffordancePickerViewModel.Factory( in <lambda>()
295 ): NotificationSectionViewModel.Factory { in <lambda>()
[all …]
DDefaultCustomizationSections.java53 private final ColorPickerViewModel.Factory mColorPickerViewModelFactory;
54 private final KeyguardQuickAffordancePickerViewModel.Factory
56 private final ColorContrastSectionViewModel.Factory
58 private final NotificationSectionViewModel.Factory mNotificationSectionViewModelFactory;
60 private final ClockCarouselViewModel.Factory mClockCarouselViewModelFactory;
68 ColorPickerViewModel.Factory colorPickerViewModelFactory, in DefaultCustomizationSections()
69 KeyguardQuickAffordancePickerViewModel.Factory in DefaultCustomizationSections()
71 ColorContrastSectionViewModel.Factory colorContrastSectionViewModelFactory, in DefaultCustomizationSections()
72 NotificationSectionViewModel.Factory notificationSectionViewModelFactory, in DefaultCustomizationSections()
74 ClockCarouselViewModel.Factory clockCarouselViewModelFactory, in DefaultCustomizationSections()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DConvergedImageCaptureCommand.java58 private final RequestBuilder.Factory mScanRequestTemplate;
59 private final RequestBuilder.Factory mRepeatingRequestBuilder;
62 private final List<RequestBuilder.Factory> mBurst;
72 private static RequestBuilder.Factory resetFocusExposureModes(RequestBuilder.Factory template, in resetFocusExposureModes()
100 RequestBuilder.Factory repeatingRequestBuilder, in ConvergedImageCaptureCommand()
102 List<RequestBuilder.Factory> burst, boolean waitForAEConvergence) { in ConvergedImageCaptureCommand()
130 RequestBuilder.Factory repeatingRequestBuilder, in ConvergedImageCaptureCommand()
132 List<RequestBuilder.Factory> burst, boolean waitForAEConvergence, in ConvergedImageCaptureCommand()
227 for (RequestBuilder.Factory builderTemplate : mBurst) { in captureBurst()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DCarSystemBarModule.java158 abstract Map<Class<?>, CarSystemBarElementController.Factory> bindEmptyElementFactoryMap(); in bindEmptyElementFactoryMap()
164 public abstract CarSystemBarElementController.Factory bindSystemBarPanelButtonController( in bindSystemBarPanelButtonController()
165 CarSystemBarPanelButtonViewController.Factory factory); in bindSystemBarPanelButtonController()
171 public abstract CarSystemBarElementController.Factory bindDockViewControllerWrapper( in bindDockViewControllerWrapper()
172 DockViewControllerWrapper.Factory factory); in bindDockViewControllerWrapper()
178 public abstract CarSystemBarElementController.Factory bindDataSubscriptionUnseenIconController( in bindDataSubscriptionUnseenIconController()
179 DataSubscriptionUnseenIconController.Factory factory); in bindDataSubscriptionUnseenIconController()
/packages/apps/TV/src/com/android/tv/menu/
DMenuRowFactory.java27 import com.android.tv.menu.MenuRowFactory.Factory;
36 @AutoFactory(implementing = Factory.class)
40 public interface Factory { interface in MenuRowFactory
48 private final TvOptionsRowAdapter.Factory mTvOptionsRowAdapterFactory;
54 @Provided TvOptionsRowAdapter.Factory tvOptionsRowAdapterFactory) { in MenuRowFactory()
97 TvOptionsRowAdapter.Factory tvOptionsRowAdapterFactory) { in TvOptionsRow()
/packages/apps/Camera2/src/com/android/camera/debug/
DLoggers.java32 public static Logger.Factory noOpFactory() { in noOpFactory()
40 public static Logger.Factory tagFactory() { in tagFactory()
47 public static Logger.Factory factoryFor(final Logger logger) { in factoryFor()
48 return new Logger.Factory() { in factoryFor()
59 private static class NoOpLoggerFactory implements Logger.Factory {
84 private static class TagLoggerFactory implements Logger.Factory {
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsStorageStatusManager.java25 import com.android.messaging.Factory;
63 final Context context = Factory.get().getApplicationContext(); in postStorageLowNotification()
83 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in postStorageLowNotification()
94 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in cancelStorageLowNotification()
100 return Factory.get().getApplicationContext().getPackageName() + ":smsstoragelow"; in getNotificationTag()
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/qc/
DDistantDisplayQuickControlsModule.java45 public abstract CarSystemBarElementController.Factory bindDistantDisplayStatusIconController( in bindDistantDisplayStatusIconController()
46 DistantDisplayStatusIconController.Factory distantDisplayStatusIconController); in bindDistantDisplayStatusIconController()
52 public abstract CarSystemBarElementController.Factory bindDistantDisplayPanelController( in bindDistantDisplayPanelController()
53 DistantDisplayStatusIconPanelController.Factory distantDisplaySPanelController); in bindDistantDisplayPanelController()
/packages/modules/Bluetooth/system/gd/storage/
Dstorage_module_test.cc127 auto handler = test_registry_.GetTestModuleHandler(&StorageModule::Factory); in FakeTimerAdvance()
153 test_registry_.InjectTestModule(&StorageModule::Factory, storage); in TEST_F()
192 test_registry_.InjectTestModule(&StorageModule::Factory, storage); in TEST_F()
219 test_registry_.InjectTestModule(&StorageModule::Factory, storage); in TEST_F()
266 test_registry_.InjectTestModule(&StorageModule::Factory, storage); in TEST_F()
282 test_registry_.InjectTestModule(&StorageModule::Factory, storage); in TEST_F()
303 test_registry_.InjectTestModule(&StorageModule::Factory, storage); in TEST_F()
322 test_registry_.InjectTestModule(&StorageModule::Factory, storage); in TEST_F()
/packages/modules/Bluetooth/system/gd/hal/
Dsnoop_logger_test.cc247 test_registry->InjectTestModule(&SnoopLogger::Factory, snoop_logger); in TEST_F()
265 test_registry->InjectTestModule(&SnoopLogger::Factory, snoop_logger); in TEST_F()
283 test_registry->InjectTestModule(&SnoopLogger::Factory, snoop_logger); in TEST_F()
306 test_registry->InjectTestModule(&SnoopLogger::Factory, snoop_logger); in TEST_F()
333 test_registry->InjectTestModule(&SnoopLogger::Factory, snoop_logger); in TEST_F()
360 test_registry->InjectTestModule(&SnoopLogger::Factory, snoop_logger); in TEST_F()
387 test_registry->InjectTestModule(&SnoopLogger::Factory, snoop_logger); in TEST_F()
414 test_registry->InjectTestModule(&SnoopLogger::Factory, snoop_logger); in TEST_F()
447 test_registry->InjectTestModule(&SnoopLogger::Factory, snoop_logger); in TEST_F()
451 auto* handler = test_registry->GetTestModuleHandler(&SnoopLogger::Factory); in TEST_F()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java46 import com.android.messaging.Factory;
218 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in cancel()
243 final Context context = Factory.get().getApplicationContext(); in cancel()
305 final Context context = Factory.get().getApplicationContext(); in shouldNotify()
325 final Context context = Factory.get().getApplicationContext(); in shouldVibrate()
349 final Context context = Factory.get().getApplicationContext(); in buildNotificationTag()
397 final Resources resources = Factory.get().getApplicationContext().getResources(); in checkInitialized()
413 final Context context = Factory.get().getApplicationContext(); in processAndSend()
616 final Context context = Factory.get().getApplicationContext(); in createMessageNotification()
643 final BuglePrefs prefs = Factory.get().getApplicationPrefs(); in updateBuilderAudioVibrate()
[all …]
DMessagingContentProvider.java30 import com.android.messaging.Factory;
107 final Context context = Factory.get().getApplicationContext(); in notifyEverythingChanged()
129 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyParticipantsChanged()
134 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyAllMessagesChanged()
139 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyAllParticipantsChanged()
183 final Context context = Factory.get().getApplicationContext(); in notifyMessagesChanged()
203 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyConversationMetadataChanged()
209 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyPartsChanged()
214 final Context context = Factory.get().getApplicationContext(); in notifyConversationListChanged()
/packages/modules/Bluetooth/system/gd/hci/
Dacl_manager_unittest.cc166 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp()
167 fake_registry_.InjectTestModule(&Controller::Factory, test_controller_); in SetUp()
168 client_handler_ = fake_registry_.GetTestModuleHandler(&HciLayer::Factory); in SetUp()
174 fake_registry_.SynchronizeModuleHandler(&AclManager::Factory, std::chrono::milliseconds(20)); in TearDown()
200 … acl_manager_ = static_cast<AclManager*>(fake_registry_.GetModuleUnderTest(&AclManager::Factory)); in SetUp()
251 fake_registry_.SynchronizeModuleHandler(&HciLayer::Factory, std::chrono::milliseconds(20)); in TearDown()
252 fake_registry_.SynchronizeModuleHandler(&AclManager::Factory, std::chrono::milliseconds(20)); in TearDown()
253 fake_registry_.SynchronizeModuleHandler(&HciLayer::Factory, std::chrono::milliseconds(20)); in TearDown()
332 fake_registry_.SynchronizeModuleHandler(&HciLayer::Factory, std::chrono::milliseconds(20)); in TearDown()
333 fake_registry_.SynchronizeModuleHandler(&AclManager::Factory, std::chrono::milliseconds(20)); in TearDown()
[all …]
/packages/apps/Messaging/src/com/android/messaging/
DFactory.java35 public abstract class Factory { class
39 private static volatile Factory sInstance;
45 public static Factory get() { in get()
49 protected static void setInstance(final Factory factory) { in setInstance()
/packages/apps/Messaging/src/com/android/messaging/ui/
DWidgetPickConversationActivity.java24 import com.android.messaging.Factory;
98 final BuglePrefs prefs = Factory.get().getWidgetPrefs(); in saveConversationidPref()
104 final BuglePrefs prefs = Factory.get().getWidgetPrefs(); in getConversationIdPref()
110 final BuglePrefs prefs = Factory.get().getWidgetPrefs(); in deleteConversationIdPref()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsRendererBuilder.java40 private final MpegTsSampleExtractor.Factory mMpegTsSampleExtractorFactory;
48 public interface Factory { interface in MpegTsRendererBuilder
55 @AutoFactory(implementing = Factory.class)
60 @Provided MpegTsSampleExtractor.Factory mpegTsSampleExtractorFactory) { in MpegTsRendererBuilder()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/element/
DCarSystemBarElementInitializer.java38 private final Map<Class<?>, Provider<CarSystemBarElementController.Factory>>
58 Map<Class<?>, Provider<CarSystemBarElementController.Factory>> factories) { in CarSystemBarElementInitializer()
69 Provider<CarSystemBarElementController.Factory> factoryProvider = in initializeCarSystemBarElements()
76 CarSystemBarElementController.Factory factory = factoryProvider.get(); in initializeCarSystemBarElements()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRequestRoleViewModel.java40 public static class Factory implements ViewModelProvider.Factory { class in RequestRoleViewModel
48 public Factory(@NonNull Role role, @NonNull Application application) { in Factory() method in RequestRoleViewModel.Factory

12345678910>>...23