Home
last modified time | relevance | path

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

12

/packages/apps/Browser/tests/src/com/android/browser/
DWebStorageSizeManagerUnitTests.java93 WebStorageSizeManager manager = new WebStorageSizeManager(getContext(), mDiskInfo, in testCallbacks() local
98manager.onExceededDatabaseQuota("1", "1", origin1Quota, origin1EstimatedSize, totalUsedQuota, mQuo… in testCallbacks()
106manager.onExceededDatabaseQuota("2", "2", origin2Quota, origin2EstimatedSize, totalUsedQuota, mQuo… in testCallbacks()
112 manager.onExceededDatabaseQuota("1", "1", origin1Quota, 0, totalUsedQuota, mQuotaUpdater); in testCallbacks()
119 manager.onExceededDatabaseQuota("2", "2", origin2Quota, 0, totalUsedQuota, mQuotaUpdater); in testCallbacks()
129manager.onExceededDatabaseQuota("3", "3", origin3Quota, origin3EstimatedSize, totalUsedQuota, mQuo… in testCallbacks()
135 manager.onExceededDatabaseQuota("1", "1", origin1Quota, 0, totalUsedQuota, mQuotaUpdater); in testCallbacks()
142 manager.onExceededDatabaseQuota("1", "1", origin1Quota, 0, totalUsedQuota, mQuotaUpdater); in testCallbacks()
146 manager.onExceededDatabaseQuota("4", "4", 0, bytes(1), totalUsedQuota, mQuotaUpdater); in testCallbacks()
152 manager.onReachedMaxAppCacheSize(bytes(2), totalUsedQuota, mQuotaUpdater); in testCallbacks()
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigService.java54 private void setChannelRange(SmsManager manager, String ranges, boolean enable) { in setChannelRange() argument
63 manager.enableCellBroadcastRange(startId, endId); in setChannelRange()
66 manager.disableCellBroadcastRange(startId, endId); in setChannelRange()
72 manager.enableCellBroadcast(messageId); in setChannelRange()
75 manager.disableCellBroadcast(messageId); in setChannelRange()
128 SmsManager manager = SmsManager.getDefault(); in onHandleIntent() local
132 setChannelRange(manager, emergencyIdRange, true); in onHandleIntent()
135 manager.enableCellBroadcastRange( in onHandleIntent()
144 setChannelRange(manager, emergencyIdRange, false); in onHandleIntent()
147 manager.disableCellBroadcastRange( in onHandleIntent()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DMenuExecutor.java179 DataManager manager = mActivity.getDataManager(); in onMenuClicked() local
191 String mimeType = getMimeType(manager.getMediaType(path)); in onMenuClicked()
193 .setDataAndType(manager.getContentUri(path), mimeType); in onMenuClicked()
199 int type = manager.getMediaType(path); in onMenuClicked()
202 intent.setDataAndType(manager.getContentUri(path), mimeType); in onMenuClicked()
256 DataManager manager, JobContext jc, int cmd, Path path) { in execute() argument
263 manager.delete(path); in execute()
266 manager.rotate(path, 90); in execute()
269 manager.rotate(path, -90); in execute()
272 MediaObject obj = manager.getMediaObject(path); in execute()
[all …]
DActionModeHandler.java181 DataManager manager = mActivity.getDataManager(); in updateMenuOptions() local
185 int support = manager.getSupportedOperations(path); in updateMenuOptions()
186 type |= manager.getMediaType(path); in updateMenuOptions()
219 DataManager manager = mActivity.getDataManager(); in updateSharingIntent() local
224 int support = manager.getSupportedOperations(path); in updateSharingIntent()
225 type |= manager.getMediaType(path); in updateSharingIntent()
228 uris.add(manager.getContentUri(path)); in updateSharingIntent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DAccessibilityManagerCompatWrapper.java29 public AccessibilityManagerCompatWrapper(AccessibilityManager manager) { in AccessibilityManagerCompatWrapper() argument
30 mManager = manager; in AccessibilityManagerCompatWrapper()
DAudioManagerCompatWrapper.java31 public AudioManagerCompatWrapper(AudioManager manager) { in AudioManagerCompatWrapper() argument
32 mManager = manager; in AudioManagerCompatWrapper()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DLocalBluetoothPreferences.java61 LocalBluetoothManager manager = LocalBluetoothManager.getInstance(context); in shouldShowDialogInForeground() local
62 if (manager == null) { in shouldShowDialogInForeground()
67 if (manager.isForegroundActivity()) { in shouldShowDialogInForeground()
83 LocalBluetoothAdapter adapter = manager.getBluetoothAdapter(); in shouldShowDialogInForeground()
DBluetoothPairingRequest.java95 NotificationManager manager = (NotificationManager) in onReceive() local
97 manager.notify(NOTIFICATION_ID, builder.getNotification()); in onReceive()
103 NotificationManager manager = (NotificationManager) context in onReceive() local
105 manager.cancel(NOTIFICATION_ID); in onReceive()
DUtils.java92 LocalBluetoothManager manager = LocalBluetoothManager.getInstance(context); in showError() local
93 Context activity = manager.getForegroundActivity(); in showError()
94 if(manager.isForegroundActivity()) { in showError()
DBluetoothEnabler.java56 LocalBluetoothManager manager = LocalBluetoothManager.getInstance(context); in BluetoothEnabler() local
57 if (manager == null) { in BluetoothEnabler()
62 mLocalAdapter = manager.getBluetoothAdapter(); in BluetoothEnabler()
DRequestPermissionHelperActivity.java149 LocalBluetoothManager manager = LocalBluetoothManager.getInstance(this); in parseIntent() local
150 if (manager == null) { in parseIntent()
155 mLocalAdapter = manager.getBluetoothAdapter(); in parseIntent()
DRequestPermissionActivity.java271 LocalBluetoothManager manager = LocalBluetoothManager.getInstance(this); in parseIntent() local
272 if (manager == null) { in parseIntent()
277 mLocalAdapter = manager.getBluetoothAdapter(); in parseIntent()
DLocalBluetoothAdapter.java57 void setProfileManager(LocalBluetoothProfileManager manager) { in setProfileManager() argument
58 mProfileManager = manager; in setProfileManager()
/packages/apps/Browser/src/com/android/browser/
DOpenDownloadReceiver.java67 DownloadManager manager = (DownloadManager) context.getSystemService( in onReceiveAsync() local
69 Uri uri = manager.getUriForDownloadedFile(id); in onReceiveAsync()
75 launchIntent.setDataAndType(uri, manager.getMimeTypeForDownloadedFile(id)); in onReceiveAsync()
DFetchUrlMimeType.java123 DownloadManager manager = (DownloadManager) mContext.getSystemService( in run() local
125 manager.enqueue(mRequest); in run()
/packages/apps/Gallery/tests/src/com/android/camera/
DBitmapManagerUnitTests.java65 BitmapManager manager = BitmapManager.instance(); in testSingleton() local
66 assertNotNull(manager); in testSingleton()
68 assertSame(manager, mBitmapManager); in testSingleton()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryPackInstallBroadcastReceiver.java46 final PackageManager manager = context.getPackageManager(); in onReceive() local
56 packageInfo = manager.getPackageInfo(packageName, PackageManager.GET_PROVIDERS); in onReceive()
/packages/apps/Browser/tools/
Dget_search_engines.py262 manager = SearchEngineManager() variable
263 manager.generateDefaultList()
265 manager.generateListForLocale(locale)
266 manager.writeAllEngines()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGallery.java132 DataManager manager = getDataManager(); in startViewAction() local
133 Path path = manager.findPathByUri(intent.getData()); in startViewAction()
134 if (path == null || manager.getMediaObject(path) in startViewAction()
137 manager.getTopSetPath(DataManager.INCLUDE_IMAGE)); in startViewAction()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalAlbumSet.java209 DataManager manager, int type, Path parent, int id, String name) { in getLocalAlbum() argument
211 MediaObject object = manager.peekMediaObject(path); in getLocalAlbum()
221 getLocalAlbum(manager, MEDIA_TYPE_IMAGE, PATH_IMAGE, id, name), in getLocalAlbum()
222 getLocalAlbum(manager, MEDIA_TYPE_VIDEO, PATH_VIDEO, id, name)}); in getLocalAlbum()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertActivity.java172 public static void scheduleAlarm(Context context, AlarmManager manager, long alarmTime) { in scheduleAlarm() argument
174 if (manager == null) { in scheduleAlarm()
175 manager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in scheduleAlarm()
182 manager.set(AlarmManager.RTC_WAKEUP, alarmTime, pi); in scheduleAlarm()
DAlertService.java360 AlarmManager manager = (AlarmManager) service; in doTimeChanged() local
362 rescheduleMissedAlarms(cr, this, manager); in doTimeChanged()
392 AlarmManager manager) { in rescheduleMissedAlarms() argument
424 AlertActivity.scheduleAlarm(context, manager, newAlarmTime); in rescheduleMissedAlarms()
/packages/apps/Contacts/src/com/android/contacts/detail/
DStreamItemAdapter.java111 final AccountTypeManager manager = AccountTypeManager.getInstance(mContext); in getView() local
113 manager.getAccountType(streamItem.getAccountType(), streamItem.getDataSet()); in getView()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetService.java100 DataManager manager = mApp.getDataManager(); in onCreate() local
101 MediaSet mediaSet = (MediaSet) manager.getMediaObject(path); in onCreate()
DWidgetConfigure.java75 AppWidgetManager manager = AppWidgetManager.getInstance(this); in updateWidgetAndFinish() local
77 manager.updateAppWidget(mAppWidgetId, views); in updateWidgetAndFinish()

12