Home
last modified time | relevance | path

Searched refs:mgr (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DMenuManagerTest.java117 private MenuManager mgr; field in MenuManagerTest
189 mgr = new MenuManager( in setUp()
217 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu()
235 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_ContainsPartial()
250 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_CreateArchives_ReflectsFeatureState()
259 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_CreateArchive()
267 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_NoCreateArchive()
275 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_cantRename()
283 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_cantDelete()
294 mgr.updateActionMenu(testMenu, selectionDetails); in testActionsMenu_canViewInOwner()
[all …]
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DE2ePerformanceTest.java87 CarSensorManager mgr = (CarSensorManager) mCar.getCarManager(Car.SENSOR_SERVICE); in benchmarkEventBandwidthThroughCarService() local
88 assertNotNull(mgr); in benchmarkEventBandwidthThroughCarService()
91 mgr.isSensorSupported(mgrPropId)); in benchmarkEventBandwidthThroughCarService()
118 mgr.registerListener(listener, propId, CarSensorManager.SENSOR_RATE_FASTEST); in benchmarkEventBandwidthThroughCarService()
127 mgr.unregisterListener(listener); in benchmarkEventBandwidthThroughCarService()
151 CarHvacManager mgr = (CarHvacManager) mCar.getCarManager(Car.HVAC_SERVICE); in benchmarkSetGetFromSingleClient() local
152 assertNotNull(mgr); in benchmarkSetGetFromSingleClient()
161 mgr.setBooleanProperty(PROP, 1, value); in benchmarkSetGetFromSingleClient()
162 boolean actualValue = mgr.getBooleanProperty(PROP, 1); in benchmarkSetGetFromSingleClient()
176 CarHvacManager mgr = (CarHvacManager) mCar.getCarManager(Car.HVAC_SERVICE); in benchmarkSetGetFromSingleClientMultipleThreads() local
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DMenuManagerTest.java112 private MenuManager mgr; field in MenuManagerTest
165 mgr = new MenuManager(testSearchManager, state, dirDetails); in setUp()
175 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu()
189 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_selectAction()
197 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_selectActionTitle()
205 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_getContentAction()
213 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_getContentActionTitle()
221 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_notAllowMultiple()
229 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_AllowMultiple()
236 mgr.updateOptionMenu(testMenu); in testOptionMenu()
[all …]
/packages/apps/Gallery2/jni_jpegstream/src/
Djpeg_hook.cpp26 dst->mgr.next_output_byte = reinterpret_cast<JOCTET*>(dst->outStream->getBufferPtr()); in Mgr_init_destination_fcn()
27 dst->mgr.free_in_buffer = dst->outStream->getBufferSize(); in Mgr_init_destination_fcn()
36 dst->mgr.next_output_byte = reinterpret_cast<JOCTET*>(dst->outStream->getBufferPtr()); in Mgr_empty_output_buffer_fcn()
37 dst->mgr.free_in_buffer = len; in Mgr_empty_output_buffer_fcn()
43 int32_t remaining = dst->outStream->getBufferSize() - dst->mgr.free_in_buffer; in Mgr_term_destination_fcn()
64 d->mgr.init_destination = Mgr_init_destination_fcn; in MakeDst()
65 d->mgr.empty_output_buffer = Mgr_empty_output_buffer_fcn; in MakeDst()
66 d->mgr.term_destination = Mgr_term_destination_fcn; in MakeDst()
103 src->mgr.next_input_byte = reinterpret_cast<JOCTET*>(src->inStream->getBufferPtr()); in Mgr_fill_input_buffer_fcn()
104 src->mgr.bytes_in_buffer = bytesRead; in Mgr_fill_input_buffer_fcn()
[all …]
Djerr_hook.cpp26 ErrManager* mgr = reinterpret_cast<ErrManager*>(cinfo->err); in ErrExit() local
29 longjmp(mgr->setjmp_buf, 1); in ErrExit()
45 jpeg_std_error(&(errMgr->mgr)); in SetupErrMgr()
46 errMgr->mgr.error_exit = ErrExit; in SetupErrMgr()
47 errMgr->mgr.output_message = ErrOutput; in SetupErrMgr()
Djpeg_hook.h36 struct jpeg_destination_mgr mgr; member
58 struct jpeg_source_mgr mgr; member
/packages/apps/DocumentsUI/src/com/android/documentsui/
DShortcutsUpdater.java56 ShortcutManager mgr = mContext.getSystemService(ShortcutManager.class); in update() local
58 Map<String, ShortcutInfo> existing = getPinnedShortcuts(mgr); in update()
65 mgr.setDynamicShortcuts(devices.subList(0, getNumDynSlots(mgr, devices.size()))); in update()
76 mgr.enableShortcuts(deviceIds); in update()
77 mgr.disableShortcuts(disabled); in update()
116 private Map<String, ShortcutInfo> getPinnedShortcuts(ShortcutManager mgr) { in getPinnedShortcuts() argument
118 for (ShortcutInfo s : mgr.getDynamicShortcuts()) { in getPinnedShortcuts()
124 private int getNumDynSlots(ShortcutManager mgr, int numDevices) { in getNumDynSlots() argument
125 int slots = mgr.getMaxShortcutCountPerActivity() - mgr.getManifestShortcuts().size(); in getNumDynSlots()
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DStatsLogManager.java34 StatsLogManager mgr = Overrides.getObject(StatsLogManager.class, in newInstance() local
36 mgr.mStateProvider = stateProvider; in newInstance()
37 mgr.verify(); in newInstance()
38 return mgr; in newInstance()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DSignalStrengthListener.java85 TelephonyManager mgr = mBaseTelephonyManager.createForSubscriptionId(subId); in startListening() local
86 mgr.listen(mListeners.get(subId), PhoneStateListener.LISTEN_SIGNAL_STRENGTHS); in startListening()
90 TelephonyManager mgr = mBaseTelephonyManager.createForSubscriptionId(subId); in stopListening() local
91 mgr.listen(mListeners.get(subId), PhoneStateListener.LISTEN_NONE); in stopListening()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/zenaccess/
DZenAccessController.java97 final NotificationManager mgr = context.getSystemService(NotificationManager.class); in setAccess() local
98 mgr.setNotificationPolicyAccessGranted(pkg, access); in setAccess()
104 final NotificationManager mgr = context.getSystemService(NotificationManager.class); in deleteRules() local
105 mgr.removeAutomaticZenRules(pkg); in deleteRules()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/zenaccess/
DZenAccessController.java97 final NotificationManager mgr = context.getSystemService(NotificationManager.class); in setAccess() local
98 mgr.setNotificationPolicyAccessGranted(pkg, access); in setAccess()
104 final NotificationManager mgr = context.getSystemService(NotificationManager.class); in deleteRules() local
105 mgr.removeAutomaticZenRules(pkg); in deleteRules()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeScheduleRuleSettings.java94 final FragmentManager mgr = getFragmentManager(); in onCreateInternal() local
96 mStart = new TimePickerPreference(getPrefContext(), mgr); in onCreateInternal()
118 mEnd = new TimePickerPreference(getPrefContext(), mgr); in onCreateInternal()
257 public TimePickerPreference(Context context, final FragmentManager mgr) { in TimePickerPreference() argument
266 frag.show(mgr, TimePickerPreference.class.getName()); in TimePickerPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeScheduleRuleSettings.java94 final FragmentManager mgr = getFragmentManager(); in onCreateInternal() local
96 mStart = new TimePickerPreference(getPrefContext(), mgr); in onCreateInternal()
118 mEnd = new TimePickerPreference(getPrefContext(), mgr); in onCreateInternal()
257 public TimePickerPreference(Context context, final FragmentManager mgr) { in TimePickerPreference() argument
266 frag.show(mgr, TimePickerPreference.class.getName()); in TimePickerPreference()
/packages/services/Car/car-lib/src/android/car/
DCarProjectionManager.java831 private CarProjectionStatusListenerImpl(CarProjectionManager mgr) { in CarProjectionStatusListenerImpl() argument
832 mManagerRef = new WeakReference<>(mgr); in CarProjectionStatusListenerImpl()
839 CarProjectionManager mgr = mManagerRef.get(); in onProjectionStatusChanged() local
840 if (mgr != null) { in onProjectionStatusChanged()
841 mgr.mHandler.post(() -> { in onProjectionStatusChanged()
846 mgr.handleProjectionStatusChanged(projectionState, packageName, mDetails); in onProjectionStatusChanged()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertUtils.java70 final AlarmManager mgr = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in createAlarmManager() local
75 mgr.setExact(type, triggerAtMillis, operation); in createAlarmManager()
77 mgr.set(type, triggerAtMillis, operation); in createAlarmManager()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDocsSelectionHelperTest.java58 TestSelectionManager mgr = new TestSelectionManager(); in setup()
59 mCreated.add(mgr); in setup()
60 return mgr; in setup()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarDrivingStateManager.java228 CarDrivingStateManager mgr = mDrvStateMgr.get(); in handleMessage() local
229 if (mgr != null) { in handleMessage()
230 mgr.dispatchDrivingStateChangeToClient((CarDrivingStateEvent) msg.obj); in handleMessage()
DCarUxRestrictionsManager.java373 CarUxRestrictionsManager mgr = mUxRestrictionsManager.get(); in handleMessage() local
374 if (mgr != null) { in handleMessage()
375 mgr.dispatchUxRChangeToClient((CarUxRestrictions) msg.obj); in handleMessage()
/packages/services/Car/car-lib/src/android/car/trust/
DCarTrustAgentEnrollmentManager.java443 ListenerToEnrollmentService(CarTrustAgentEnrollmentManager mgr) { in ListenerToEnrollmentService() argument
444 mMgr = new WeakReference<>(mgr); in ListenerToEnrollmentService()
533 ListenerToBleService(CarTrustAgentEnrollmentManager mgr) { in ListenerToBleService() argument
534 mMgr = new WeakReference<>(mgr); in ListenerToBleService()
/packages/apps/Settings/src/com/android/settings/
DAirplaneModeVoiceActivity.java36 ConnectivityManager mgr = (ConnectivityManager) getSystemService( in onVoiceSettingInteraction() local
38 mgr.setAirplaneMode(intent.getBooleanExtra( in onVoiceSettingInteraction()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DAirplaneModeVoiceActivity.java36 ConnectivityManager mgr = (ConnectivityManager) getSystemService( in onVoiceSettingInteraction() local
38 mgr.setAirplaneMode(intent.getBooleanExtra( in onVoiceSettingInteraction()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DActionServiceImpl.java172 final AlarmManager mgr = in scheduleAlarm() local
176 mgr.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, in scheduleAlarm()
179 mgr.cancel(pendingIntent); in scheduleAlarm()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DAoapServiceManager.java217 final AoapServiceManager mgr = mManagerRef.get(); in onServiceDisconnected() local
218 if (mgr != null) { in onServiceDisconnected()
219 mgr.removeConnection(this); in onServiceDisconnected()
/packages/apps/Settings/src/com/android/settings/network/
DSubscriptionsPreferenceController.java206 final TelephonyManager mgr = mContext.getSystemService( in setIcon() local
208 final SignalStrength strength = mgr.getSignalStrength(); in setIcon()
215 final boolean showCutOut = !isDefaultForData || !mgr.isDataEnabled(); in setIcon()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyListAdapter.java49 PropertyListAdapter(List<PropertyInfo> propInfo, CarPropertyManager mgr, TextView eventLog, in PropertyListAdapter() argument
53 mMgr = mgr; in PropertyListAdapter()

12