Home
last modified time | relevance | path

Searched refs:injector (Results 1 – 25 of 49) 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()
85 final Injector injector = InjectorProvider.getInjector(); in logDailyWallpaperRotationStatus() local
88 injector.getWallpaperRefresher(appContext).refresh(new RefreshListener() { in logDailyWallpaperRotationStatus()
99 WallpaperPreferences preferences = injector.getPreferences(appContext); in logDailyWallpaperRotationStatus()
125 UserEventLogger logger = injector.getUserEventLogger(appContext); in logDailyWallpaperRotationStatus()
DDailyLoggingAlarmScheduler.java41 Injector injector = InjectorProvider.getInjector(); in setAlarm() local
42 AlarmManagerWrapper alarmManagerWrapper = injector.getAlarmManagerWrapper(appContext); in setAlarm()
43 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/modules/Wifi/service/java/com/android/server/wifi/
DLastMileLogger.java37 public LastMileLogger(WifiInjector injector) { in LastMileLogger() argument
40 initLastMileLogger(injector, WIFI_EVENT_BUFFER_PATH, WIFI_EVENT_ENABLE_PATH, in LastMileLogger()
43 initLastMileLogger(injector, WIFI_EVENT_BUFFER_PATH_DEBUGFS, in LastMileLogger()
49 public LastMileLogger(WifiInjector injector, String bufferPath, String enablePath, in LastMileLogger() argument
51 initLastMileLogger(injector, bufferPath, enablePath, releasePath); in LastMileLogger()
121 private void initLastMileLogger(WifiInjector injector, String bufferPath, String enablePath, in initLastMileLogger() argument
123 mLog = injector.makeLog(TAG); in initLastMileLogger()
DWifiService.java42 WifiInjector injector = new WifiInjector(mWifiContext); in WifiService() local
43 mImpl = new WifiServiceImpl(mWifiContext, injector); in WifiService()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPickerDelegate.java89 Injector injector) { in WallpaperPickerDelegate() argument
97 mCategoryProvider = injector.getCategoryProvider(activity); in WallpaperPickerDelegate()
98 mPreferences = injector.getPreferences(activity); in WallpaperPickerDelegate()
100 mPackageStatusNotifier = injector.getPackageStatusNotifier(activity); in WallpaperPickerDelegate()
101 mWallpaperPersister = injector.getWallpaperPersister(activity); in WallpaperPickerDelegate()
102 final FormFactorChecker formFactorChecker = injector.getFormFactorChecker(activity); in WallpaperPickerDelegate()
106 mDownloadableIntentAction = injector.getDownloadableIntentAction(); in WallpaperPickerDelegate()
DCustomizationPickerActivity.java79 Injector injector = InjectorProvider.getInjector(); in onCreate() local
80 mDelegate = new WallpaperPickerDelegate(this, this, injector); in onCreate()
81 mUserEventLogger = injector.getUserEventLogger(this); in onCreate()
82 mNetworkStatusNotifier = injector.getNetworkStatusNotifier(this); in onCreate()
99 injector.getPreferences(this).incrementAppLaunched(); in onCreate()
DTopLevelPickerActivity.java168 Injector injector = InjectorProvider.getInjector(); in onCreate() local
169 mDelegate = new WallpaperPickerDelegate(this, this, injector); in onCreate()
170 mUserEventLogger = injector.getUserEventLogger(this); in onCreate()
171 mNetworkStatusNotifier = injector.getNetworkStatusNotifier(this); in onCreate()
172 mWallpaperPersister = injector.getWallpaperPersister(this); in onCreate()
173 mWallpaperPreferences = injector.getPreferences(this); in onCreate()
521 final Injector injector = InjectorProvider.getInjector(); in refreshCurrentWallpapers() local
524 CurrentWallpaperInfoFactory factory = injector.getCurrentWallpaperFactory(this); in refreshCurrentWallpapers()
574 … ExploreIntentChecker intentChecker = injector.getExploreIntentChecker(appContext); in refreshCurrentWallpapers()
849 Injector injector = InjectorProvider.getInjector(); in showCategoryDesktop() local
[all …]
DBasePreviewActivity.java44 Injector injector = InjectorProvider.getInjector(); in onCreate() local
45 UserEventLogger mUserEventLogger = injector.getUserEventLogger(this); in onCreate()
DPreviewFragment.java155 Injector injector = InjectorProvider.getInjector(); in onCreate() local
157 mUserEventLogger = injector.getUserEventLogger(appContext); in onCreate()
166 mWallpaperSetter = new WallpaperSetter(injector.getWallpaperPersister(appContext), in onCreate()
167 injector.getPreferences(appContext), mUserEventLogger, mTestingModeEnabled); in onCreate()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java80 public final Injector<?> injector; field in TestEnv
99 injector = new Injector( in TestEnv()
108 injector.selectionMgr = selectionMgr; in TestEnv()
109 injector.focusManager = new FocusManager(features, selectionMgr, null, null, 0); in TestEnv()
110 injector.searchManager = searchViewManager; in TestEnv()
/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/files/
DDeleteDocumentFragment.java85 Injector<?> injector = ((FilesActivity) getActivity()).getInjector(); in onCreateDialog() local
89 message.setText(injector.messages.generateDeleteMessage(mDocuments)); in onCreateDialog()
96 injector.actions.deleteSelectedDocuments(mDocuments, mSrcParent)) in onCreateDialog()
/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()
88 new DefaultThemeProvider(this, injector.getCustomizationPreferences(this)); in onCreate()
106 mThemeManager = injector.getThemeManager( in onCreate()
107 new DefaultThemeProvider(this, injector.getCustomizationPreferences(this)), in onCreate()
/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/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java355 Injector injector = InjectorProvider.getInjector(); in onCreate() local
357 mWallpaperPreferences = injector.getPreferences(appContext); in onCreate()
364 mFormFactor = injector.getFormFactorChecker(appContext).getFormFactor(); in onCreate()
366 mPackageStatusNotifier = injector.getPackageStatusNotifier(appContext); in onCreate()
368 mUserEventLogger = injector.getUserEventLogger(appContext); in onCreate()
370 mWallpaperPersister = injector.getWallpaperPersister(appContext); in onCreate()
373 injector.getPreferences(appContext), in onCreate()
374 injector.getUserEventLogger(appContext), in onCreate()
387 mCategoryProvider = injector.getCategoryProvider(appContext); in onCreate()
DIndividualPickerActivity.java76 Injector injector = InjectorProvider.getInjector(); in onCreate() local
77 mWallpaperPersister = injector.getWallpaperPersister(this); in onCreate()
90 CategoryProvider categoryProvider = injector.getCategoryProvider(this); in onCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DAbstractActionHandler.java136 Injector<?> injector) { in AbstractActionHandler() argument
143 assert(injector != null); in AbstractActionHandler()
149 mFocusHandler = injector.focusManager; in AbstractActionHandler()
150 mSelectionMgr = injector.selectionMgr; in AbstractActionHandler()
153 mDialogs = injector.dialogs; in AbstractActionHandler()
154 mModel = injector.getModel(); in AbstractActionHandler()
155 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/DocumentsUI/src/com/android/documentsui/picker/
DActionHandler.java91 Injector injector, in ActionHandler() argument
94 super(activity, state, providers, docs, searchMgr, executors, injector); in ActionHandler()
96 mConfig = injector.config; in ActionHandler()
97 mFeatures = injector.features; in ActionHandler()
/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/apps/ThemePicker/src/com/android/customization/model/grid/
DGridOptionsManager.java49 CustomizationInjector injector = (CustomizationInjector) InjectorProvider.getInjector(); in getInstance() local
50 ThemesUserEventLogger eventLogger = (ThemesUserEventLogger) injector.getUserEventLogger( in getInstance()

12