Home
last modified time | relevance | path

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

12

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DMenuManagerTest.java87 private MenuManager mgr; field in MenuManagerTest
130 mgr = new MenuManager( in setUp()
157 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu()
173 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_ContainsPartial()
188 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_CreateArchives_ReflectsFeatureState()
197 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_CreateArchive()
205 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_NoCreateArchive()
213 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_cantRename()
221 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_cantDelete()
231 mgr.updateActionMenu(testMenu, selectionDetails); in testActionsMenu_canViewInOwner()
[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()
37 ErrManager* mgr = reinterpret_cast<ErrManager*>(cinfo->err); in ErrOutput() local
46 jpeg_std_error(&(errMgr->mgr)); in SetupErrMgr()
47 errMgr->mgr.error_exit = ErrExit; in SetupErrMgr()
48 errMgr->mgr.output_message = ErrOutput; in SetupErrMgr()
Djpeg_hook.h36 struct jpeg_destination_mgr mgr; member
58 struct jpeg_source_mgr mgr; member
Djerr_hook.h37 struct jpeg_error_mgr mgr; member
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DMenuManagerTest.java72 private MenuManager mgr; field in MenuManagerTest
100 mgr = new MenuManager(testSearchManager, state, dirDetails); in setUp()
110 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu()
123 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_openAction()
132 mgr.updateActionMenu(testMenu, selectionDetails); in testActionMenu_notAllowMultiple()
139 mgr.updateOptionMenu(testMenu); in testOptionMenu()
151 mgr.updateOptionMenu(testMenu); in testOptionMenu_notPicking()
162 mgr.updateOptionMenu(testMenu); in testOptionMenu_canCreateDirectory()
171 mgr.updateOptionMenu(testMenu); in testOptionMenu_showAdvanced()
180 mgr.updateOptionMenu(testMenu); in testOptionMenu_inRecents()
[all …]
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DE2ePerformanceTest.java164 CarSensorManager mgr = (CarSensorManager) mCar.getCarManager(Car.SENSOR_SERVICE); in benchmarkEventBandwidthThroughCarService() local
165 assertNotNull(mgr); in benchmarkEventBandwidthThroughCarService()
168 mgr.isSensorSupported(mgrPropId)); in benchmarkEventBandwidthThroughCarService()
195 mgr.registerListener(listener, propId, CarSensorManager.SENSOR_RATE_FASTEST); in benchmarkEventBandwidthThroughCarService()
204 mgr.unregisterListener(listener); in benchmarkEventBandwidthThroughCarService()
226 CarHvacManager mgr = (CarHvacManager) mCar.getCarManager(Car.HVAC_SERVICE); in benchmarkSetGetFromSingleClient() local
227 assertNotNull(mgr); in benchmarkSetGetFromSingleClient()
236 mgr.setBooleanProperty(PROP, 0, value); in benchmarkSetGetFromSingleClient()
237 boolean actualValue = mgr.getBooleanProperty(PROP, 0); in benchmarkSetGetFromSingleClient()
251 CarHvacManager mgr = (CarHvacManager) mCar.getCarManager(Car.HVAC_SERVICE); in benchmarkSetGetFromSingleClientMultipleThreads() local
[all …]
/packages/services/Car/car-lib/src/android/car/vms/
DVmsSubscriberManager.java72 VmsEventHandler(VmsSubscriberManager mgr, Looper looper) { in VmsEventHandler() argument
74 mMgr = new WeakReference<>(mgr); in VmsEventHandler()
79 VmsSubscriberManager mgr = mMgr.get(); in handleMessage() local
82 if (mgr != null) { in handleMessage()
87 mgr.dispatchOnReceiveMessage(vmsDataMessage.getLayer(), in handleMessage()
92 if (mgr != null) { in handleMessage()
97 mgr.dispatchOnAvailabilityChangeMessage(vmsAvailabilityChangeMessage); in handleMessage()
/packages/services/Car/car-lib/src/android/car/hardware/radio/
DCarRadioManager.java61 EventCallbackHandler(CarRadioManager mgr, Looper looper) { in EventCallbackHandler() argument
63 mMgr = new WeakReference<CarRadioManager>(mgr); in EventCallbackHandler()
70 CarRadioManager mgr = mMgr.get(); in handleMessage() local
71 if (mgr != null) { in handleMessage()
72 mgr.dispatchEventToClient((CarRadioEvent) msg.obj); in handleMessage()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManagerBase.java70 EventCallbackHandler(CarPropertyManagerBase mgr, Looper looper) { in EventCallbackHandler() argument
72 mMgr = new WeakReference<>(mgr); in EventCallbackHandler()
79 CarPropertyManagerBase mgr = mMgr.get(); in handleMessage() local
80 if (mgr != null) { in handleMessage()
81 mgr.dispatchEventToClient((CarPropertyEvent) msg.obj); in handleMessage()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/selection/
DSelectionProbe.java36 public SelectionProbe(SelectionManager mgr) { in SelectionProbe() argument
37 mMgr = mgr; in SelectionProbe()
43 public SelectionProbe(SelectionManager mgr, TestItemSelectionListener testCallback) { in SelectionProbe() argument
44 mMgr = mgr; in SelectionProbe()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeScheduleRuleSettings.java97 final FragmentManager mgr = getFragmentManager(); in onCreateInternal() local
99 mStart = new TimePickerPreference(getPrefContext(), mgr); in onCreateInternal()
121 mEnd = new TimePickerPreference(getPrefContext(), mgr); in onCreateInternal()
237 public TimePickerPreference(Context context, final FragmentManager mgr) { in TimePickerPreference() argument
246 frag.show(mgr, TimePickerPreference.class.getName()); in TimePickerPreference()
DZenAccessSettings.java180 final NotificationManager mgr = context.getSystemService(NotificationManager.class); in setAccess()
181 mgr.setNotificationPolicyAccessGranted(pkg, access); in setAccess()
199 final NotificationManager mgr = context.getSystemService(NotificationManager.class); in deleteRules()
200 mgr.removeAutomaticZenRules(pkg); in deleteRules()
DNotificationAccessSettings.java103 final NotificationManager mgr = context.getSystemService(NotificationManager.class); in disable()
105 if (!mgr.isNotificationPolicyAccessGrantedForPackage( in disable()
107 mgr.removeAutomaticZenRules(cn.getPackageName()); in disable()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DActionServiceImpl.java165 final AlarmManager mgr = in scheduleAlarm() local
169 mgr.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, in scheduleAlarm()
172 mgr.cancel(pendingIntent); in scheduleAlarm()
/packages/apps/Settings/src/com/android/settings/
DAirplaneModeVoiceActivity.java36 ConnectivityManager mgr = (ConnectivityManager) getSystemService( in onVoiceSettingInteraction() local
38 mgr.setAirplaneMode(intent.getBooleanExtra( in onVoiceSettingInteraction()
DMasterClear.java266 AccountManager mgr = AccountManager.get(context); in loadAccountList() local
276 Account[] accounts = mgr.getAccountsAsUser(profileId); in loadAccountList()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertUtils.java87 final AlarmManager mgr = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in createAlarmManager() local
92 mgr.setExact(type, triggerAtMillis, operation); in createAlarmManager()
94 mgr.set(type, triggerAtMillis, operation); in createAlarmManager()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingService.java102 NotificationManager mgr = (NotificationManager)this in onCreate() local
108 mgr.createNotificationChannel(notificationChannel); in onCreate()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraController.java204 public void onReconnectionFailure(CameraAgent mgr, String info) { in onReconnectionFailure() argument
206 mCallbackReceiver.onReconnectionFailure(mgr, info); in onReconnectionFailure()
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DMockedCarTestBase.java237 CarTestManager mgr = new CarTestManager(binderWrapper.binder); in releaseRealCarService() local
238 mgr.stopCarService(mCarServiceToken); in releaseRealCarService()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java477 PowerManager mgr = in getLock() local
479 lockStatic = mgr.newWakeLock( in getLock()
/packages/apps/Camera2/src/com/android/camera/device/
DPortabilityCameraActions.java227 public void onReconnectionFailure(CameraAgent mgr, String info) { in onReconnectionFailure() argument
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java563 public void onReconnectionFailure(CameraAgent mgr, String info) { in onReconnectionFailure() argument
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...

12