Home
last modified time | relevance | path

Searched refs:injector (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDailyLoggingAlarmReceiver.java54 Injector injector = InjectorProvider.getInjector(); in onReceive() local
55 UserEventLogger logger = injector.getUserEventLogger(appContext); in onReceive()
56 WallpaperPreferences preferences = injector.getPreferences(appContext); in onReceive()
84 final Injector injector = InjectorProvider.getInjector(); in logDailyWallpaperRotationStatus() local
87 injector.getWallpaperRefresher(appContext).refresh(new RefreshListener() { in logDailyWallpaperRotationStatus()
98 WallpaperPreferences preferences = injector.getPreferences(appContext); in logDailyWallpaperRotationStatus()
124 UserEventLogger logger = injector.getUserEventLogger(appContext); in logDailyWallpaperRotationStatus()
DDailyLoggingAlarmScheduler.java40 Injector injector = InjectorProvider.getInjector(); in setAlarm() local
41 AlarmManagerWrapper alarmManagerWrapper = injector.getAlarmManagerWrapper(appContext); in setAlarm()
42 WallpaperPreferences preferences = injector.getPreferences(appContext); in setAlarm()
DDefaultCurrentWallpaperInfoFactory.java46 Injector injector = InjectorProvider.getInjector(); in DefaultCurrentWallpaperInfoFactory() local
47 mWallpaperRefresher = injector.getWallpaperRefresher(mAppContext); in DefaultCurrentWallpaperInfoFactory()
48 mLiveWallpaperInfoFactory = injector.getLiveWallpaperInfoFactory(mAppContext); in DefaultCurrentWallpaperInfoFactory()
DRotationWallpaperUpdateReceiver.java91 Injector injector = InjectorProvider.getInjector(); in switchToStaticWallpaper() local
92 WallpaperPreferences wallpaperPreferences = injector.getPreferences(appContext); in switchToStaticWallpaper()
99 injector.getWallpaperPersister(appContext).setWallpaperInRotation(bitmap, in switchToStaticWallpaper()
DInjectorProvider.java36 public static void setInjector(Injector injector) { in setInjector() argument
37 sInjector = injector; in setInjector()
/packages/apps/ThemePicker/src/com/android/customization/picker/
DCustomizationPickerActivity.java105 Injector injector = InjectorProvider.getInjector(); in onCreate() local
106 mDelegate = new WallpaperPickerDelegate(this, this, injector); in onCreate()
107 mUserEventLogger = injector.getUserEventLogger(this); in onCreate()
195 CustomizationInjector injector = (CustomizationInjector) InjectorProvider.getInjector(); in initSections() local
196 mWallpaperSetter = new WallpaperSetter(injector.getWallpaperPersister(this), in initSections()
197 injector.getPreferences(this), mUserEventLogger, false); in initSections()
198 ThemesUserEventLogger eventLogger = (ThemesUserEventLogger) injector.getUserEventLogger( in initSections()
200 ThemeManager themeManager = injector.getThemeManager( in initSections()
201 new DefaultThemeProvider(this, injector.getCustomizationPreferences(this)), in initSections()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DCustomThemeActivity.java85 CustomizationInjector injector = (CustomizationInjector) InjectorProvider.getInjector(); in onCreate() local
86 mUserEventLogger = (ThemesUserEventLogger) injector.getUserEventLogger(this); in onCreate()
92 new DefaultThemeProvider(this, injector.getCustomizationPreferences(this)); in onCreate()
106 mThemeManager = injector.getThemeManager( in onCreate()
107 new DefaultThemeProvider(this, injector.getCustomizationPreferences(this)), in onCreate()
109 new WallpaperSetter(injector.getWallpaperPersister(this), in onCreate()
110 injector.getPreferences(this), mUserEventLogger, false), in onCreate()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java72 public final Injector<?> injector; field in TestEnv
86 injector = new Injector( in TestEnv()
96 injector.selectionMgr = selectionMgr; in TestEnv()
97 injector.focusManager = new FocusManager(features, selectionMgr, null, null, 0); in TestEnv()
98 injector.searchManager = searchViewManager; in TestEnv()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DTopLevelPickerActivity.java162 Injector injector = InjectorProvider.getInjector(); in onCreate() local
163 mDelegate = new WallpaperPickerDelegate(this, this, injector); in onCreate()
164 mUserEventLogger = injector.getUserEventLogger(this); in onCreate()
165 mNetworkStatusNotifier = injector.getNetworkStatusNotifier(this); in onCreate()
166 mWallpaperPersister = injector.getWallpaperPersister(this); in onCreate()
499 final Injector injector = InjectorProvider.getInjector(); in refreshCurrentWallpapers() local
502 CurrentWallpaperInfoFactory factory = injector.getCurrentWallpaperFactory(this); in refreshCurrentWallpapers()
552 … ExploreIntentChecker intentChecker = injector.getExploreIntentChecker(appContext); in refreshCurrentWallpapers()
818 Injector injector = InjectorProvider.getInjector(); in showCategoryDesktop() local
819 IndividualPickerFragment newFragment = injector.getIndividualPickerFragment( in showCategoryDesktop()
DWallpaperPickerDelegate.java84 Injector injector) { in WallpaperPickerDelegate() argument
92 mCategoryProvider = injector.getCategoryProvider(activity); in WallpaperPickerDelegate()
93 mPreferences = injector.getPreferences(activity); in WallpaperPickerDelegate()
95 mPackageStatusNotifier = injector.getPackageStatusNotifier(activity); in WallpaperPickerDelegate()
96 final FormFactorChecker formFactorChecker = injector.getFormFactorChecker(activity); in WallpaperPickerDelegate()
DPreviewFragment.java178 Injector injector = InjectorProvider.getInjector(); in onCreate() local
180 mUserEventLogger = injector.getUserEventLogger(appContext); in onCreate()
186 mWallpaperSetter = new WallpaperSetter(injector.getWallpaperPersister(appContext), in onCreate()
187 injector.getPreferences(appContext), mUserEventLogger, mTestingModeEnabled); in onCreate()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivity.java77 Injector injector = InjectorProvider.getInjector(); in onCreate() local
78 mWallpaperPersister = injector.getWallpaperPersister(this); in onCreate()
86 CategoryProvider categoryProvider = injector.getCategoryProvider(this); in onCreate()
139 fragment = injector.getIndividualPickerFragment(mCategoryCollectionId); in onCreate()
DIndividualPickerFragment.java243 Injector injector = InjectorProvider.getInjector(); in onCreate() local
245 mWallpaperPreferences = injector.getPreferences(appContext); in onCreate()
250 mFormFactor = injector.getFormFactorChecker(appContext).getFormFactor(); in onCreate()
252 mPackageStatusNotifier = injector.getPackageStatusNotifier(appContext); in onCreate()
264 CategoryProvider categoryProvider = injector.getCategoryProvider(appContext); in onCreate()
DSetIndividualHolder.java105 Injector injector = InjectorProvider.getInjector(); in setWallpaper() local
106 final UserEventLogger eventLogger = injector.getUserEventLogger(appContext); in setWallpaper()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortController.java67 final Injector<?> injector = ((BaseActivity)activity).getInjector(); in create() local
86 if (injector.pickResult != null) { in create()
87 injector.pickResult.increaseActionCount(); in create()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DActionHandler.java94 Injector injector, in ActionHandler() argument
96 super(activity, state, providers, docs, searchMgr, executors, injector); in ActionHandler()
98 mConfig = injector.config; in ActionHandler()
99 mFeatures = injector.features; in ActionHandler()
100 mModel = injector.getModel(); in ActionHandler()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java112 Injector injector) { in ActionHandler() argument
114 super(activity, state, providers, docs, searchMgr, executors, injector); in ActionHandler()
117 mFeatures = injector.features; in ActionHandler()
118 mConfig = injector.config; in ActionHandler()
119 mDialogs = injector.dialogs; in ActionHandler()
123 mModel = injector.getModel(); in ActionHandler()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/backup/
DMissingHashCodeGeneratorJobService.java84 Injector injector = InjectorProvider.getInjector(); in onStartJob()
85 … WallpaperManagerCompat wallpaperManagerCompat = injector.getWallpaperManagerCompat(context); in onStartJob()
86 WallpaperPreferences wallpaperPreferences = injector.getPreferences(context); in onStartJob()
DMissingHashCodeGenerator.java57 Injector injector = InjectorProvider.getInjector(); in onReceive() local
58 WallpaperPreferences wallpaperPreferences = injector.getPreferences(context); in onReceive()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DAbstractActionHandler.java127 Injector<?> injector) { in AbstractActionHandler() argument
134 assert(injector != null); in AbstractActionHandler()
140 mFocusHandler = injector.focusManager; in AbstractActionHandler()
141 mSelectionMgr = injector.selectionMgr; in AbstractActionHandler()
144 mInjector = injector; in AbstractActionHandler()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDebugHelper.java61 public DebugHelper(Injector<?> injector) { in DebugHelper() argument
62 mInjector = injector; in DebugHelper()
/packages/apps/Car/Settings/src/com/android/car/settings/location/
DLocationServicesPreferenceController.java64 void setSettingsInjector(SettingsInjector injector) { in setSettingsInjector() argument
65 mSettingsInjector = injector; in setSettingsInjector()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DLocationServicePreferenceController.java66 Lifecycle lifecycle, AppSettingsInjector injector) { in LocationServicePreferenceController() argument
69 mInjector = injector; in LocationServicePreferenceController()
/packages/apps/Settings/src/com/android/settings/location/
DLocationServicePreferenceController.java66 Lifecycle lifecycle, AppSettingsInjector injector) { in LocationServicePreferenceController() argument
69 mInjector = injector; in LocationServicePreferenceController()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DAddWifiNetworkTask.java83 Injector injector, in AddWifiNetworkTask() argument
91 mInjector = checkNotNull(injector); in AddWifiNetworkTask()

12