Home
last modified time | relevance | path

Searched refs:mInjector (Results 1 – 17 of 17) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java73 private Injector<ActionHandler<FilesActivity>> mInjector; field in FilesActivity
92 mInjector = new Injector<>( in onCreate()
104 mInjector.selectionMgr = DocsSelectionHelper.create(); in onCreate()
106 mInjector.focusManager = new FocusManager( in onCreate()
107 mInjector.features, in onCreate()
108 mInjector.selectionMgr, in onCreate()
113 mInjector.menuManager = new MenuManager( in onCreate()
114 mInjector.features, in onCreate()
124 mInjector.selectionMgr, in onCreate()
126 mInjector.getModel()::getItemUri); in onCreate()
[all …]
DActionHandler.java206 mInjector.searchManager.recordHistory(); in openItem()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java74 private Injector<ActionHandler<PickActivity>> mInjector; field in PickActivity
91 mInjector = new Injector<>( in onCreate()
102 mInjector.selectionMgr = DocsSelectionHelper.create(); in onCreate()
104 mInjector.focusManager = new FocusManager( in onCreate()
105 mInjector.features, in onCreate()
106 mInjector.selectionMgr, in onCreate()
111 mInjector.menuManager = new MenuManager(mSearchManager, mState, new DirectoryDetails(this)); in onCreate()
113 mInjector.actionModeController = new ActionModeController( in onCreate()
115 mInjector.selectionMgr, in onCreate()
116 mInjector.menuManager, in onCreate()
[all …]
DActionHandler.java103 activity.getApplicationContext(), mInjector.pickResult); in ActionHandler()
217 mInjector.pickResult.setFileCount(fileCount); in updatePickResult()
218 mInjector.pickResult.setIsSearching(isSearching); in updatePickResult()
219 mInjector.pickResult.setRoot(root); in updatePickResult()
220 mInjector.pickResult.setFileUri(uri); in updatePickResult()
241 mInjector.pickResult.increaseActionCount(); in showAppDetails()
289 mInjector.pickResult.increaseActionCount(); in openRoot()
296 mInjector.pickResult.increaseActionCount(); in openRoot()
311 mInjector.pickResult.increaseActionCount(); in openItem()
329 mInjector.pickResult.increaseActionCount(); in previewItem()
[all …]
DSaveFragment.java53 private Injector<ActionHandler<PickActivity>> mInjector; field in SaveFragment
133 mInjector = ((PickActivity) getActivity()).getInjector(); in onActivityCreated()
178 mInjector.actions.saveDocument(getChildFragmentManager(), mReplaceTarget); in performSave()
182 mInjector.actions.saveDocument(mimeType, displayName, mInProgressStateListener); in performSave()
DPickFragment.java59 mInjector.actions.pickDocument(getChildFragmentManager(), mPickTarget);
66 mInjector.pickResult.increaseActionCount();
73 private Injector<ActionHandler<PickActivity>> mInjector; field in PickFragment
126 mInjector = ((PickActivity) getActivity()).getInjector(); in onActivityCreated()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java140 private Injector<?> mInjector; field in DirectoryFragment
226 mInjector = mActivity.getInjector(); in onCreateView()
229 mSelectionMgr = mInjector.selectionMgr; in onCreateView()
230 mModel = mInjector.getModel(); in onCreateView()
233 mInjector.actions.registerDisplayStateChangedListener(mOnDisplayStateChanged); in onCreateView()
236 if (mInjector.config.dragAndDropEnabled()) { in onCreateView()
242 mInjector.actions, in onCreateView()
244 mInjector.dialogs, in onCreateView()
261 mInjector.actions.unregisterDisplayStateChangedListener(mOnDisplayStateChanged); in onDestroyView()
298 new ModelBackedDocumentsAdapter(mAdapterEnv, mIconHelper, mInjector.fileTypeLookup) in onActivityCreated()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DAbstractActionHandler.java101 protected final Injector<?> mInjector; field in AbstractActionHandler
144 mInjector = injector; in AbstractActionHandler()
199 mInjector.features, in refreshDocument()
279 Model model = mInjector.getModel(); in selectAllFiles()
292 if (mInjector.config.isDocumentEnabled(docMimeType, docFlags, mState)) { in selectAllFiles()
422 if (!mInjector.features.isDebugSupportEnabled()) { in setDebugMode()
427 mInjector.features.forceFeature(R.bool.feature_command_interceptor, enabled); in setDebugMode()
428 mInjector.features.forceFeature(R.bool.feature_inspector, enabled); in setDebugMode()
443 assert (mInjector.features.isDebugSupportEnabled()); in showDebugMessage()
445 int[] colors = mInjector.debugHelper.getNextColors(); in showDebugMessage()
[all …]
DBaseActivity.java97 protected Injector<?> mInjector; field in BaseActivity
152 mInjector = getInjector(); in onCreate()
154 mDrawer = DrawerController.create(this, mInjector.config); in onCreate()
178 if (mInjector.pickResult != null) { in onCreate()
179 mInjector.pickResult.increaseActionCount(); in onCreate()
183 mInjector.actions.loadDocumentsForCurrentStack(); in onCreate()
238 final CommandInterceptor cmdInterceptor = new CommandInterceptor(mInjector.features); in onCreate()
245 mInjector.features, in onCreate()
246 mInjector.debugHelper::toggleDebugMode, in onCreate()
288 updateDisplayAdvancedDevices(mInjector.prefs.getShowDeviceRoot()); in onPreferenceChanged()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDebugHelper.java52 private final Injector<?> mInjector; field in DebugHelper
62 mInjector = injector; in DebugHelper()
66 assert (mInjector.features.isDebugSupportEnabled()); in getNextColors()
76 assert (mInjector.features.isDebugSupportEnabled()); in getNextMessage()
116 if (mInjector.actions != null) { in toggleDebugMode()
117 mInjector.actions.setDebugMode(mDebugEnabled); in toggleDebugMode()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java79 private Injector mInjector; field in KeyChainService
84 mInjector = new Injector(); in KeyChainService()
137 final int uid = mInjector.getCallingUid();
316 final int callingUid = mInjector.getCallingUid();
333 if (mInjector.isSecurityLoggingEnabled()) {
343 mInjector.writeSecurityEvent(
349 mInjector.writeSecurityEvent(
454 if (mInjector.isSecurityLoggingEnabled()) {
465 mInjector.writeSecurityEvent(
472 mInjector.writeSecurityEvent(
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DLocationServicePreferenceController.java54 private final AppSettingsInjector mInjector; field in LocationServicePreferenceController
69 mInjector = injector; in LocationServicePreferenceController()
117 mInjector.reloadStatusMessages(); in onLocationModeChanged()
129 mInjector.reloadStatusMessages(); in onResume()
147 return mInjector.getInjectedSettings(mFragment.getPreferenceManager().getContext(), in getLocationServices()
/packages/apps/Settings/src/com/android/settings/location/
DLocationServicePreferenceController.java54 private final AppSettingsInjector mInjector; field in LocationServicePreferenceController
69 mInjector = injector; in LocationServicePreferenceController()
117 mInjector.reloadStatusMessages(); in onLocationModeChanged()
129 mInjector.reloadStatusMessages(); in onResume()
147 return mInjector.getInjectedSettings(mFragment.getPreferenceManager().getContext(), in getLocationServices()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java120 private Injector<?> mInjector; field in RootsFragment
149 mInjector = getBaseActivity().getInjector(); in onCreateView()
169 mInjector.menuManager.showContextMenu( in onCreateView()
206 mActionHandler = mInjector.actions; in onActivityCreated()
208 if (mInjector.config.dragAndDropEnabled()) { in onActivityCreated()
252 mInjector.shortcutsUpdater.accept(roots); in onActivityCreated()
253 mInjector.appsRowManager.updateList(mApplicationItemList); in onActivityCreated()
254 mInjector.appsRowManager.updateView(activity); in onActivityCreated()
473 item.createContextMenu(menu, activity.getMenuInflater(), mInjector.menuManager); in onCreateContextMenu()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DAddWifiNetworkTask.java60 private Injector mInjector; field in AddWifiNetworkTask
91 mInjector = checkNotNull(injector); in AddWifiNetworkTask()
166 mInjector.threadSleep(durationNextSleep); in tryAddingNetwork()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java254 private Injector mInjector; field in TelephonyProvider
482 mInjector = injector; in TelephonyProvider()
2799 return mInjector.binderGetCallingUid() == Process.SYSTEM_UID || in isCallingFromSystemOrPhoneUid()
2800 mInjector.binderGetCallingUid() == Process.PHONE_UID; in isCallingFromSystemOrPhoneUid()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java118 mActivity, mInjector.pickResult, pickCountRecordStorage); in TestableActionHandler()