/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastConfigService.java | 65 private static void setChannelRange(SmsManager manager, String ranges, boolean enable) { in setChannelRange() argument 76 manager.enableCellBroadcastRange(startId, endId, in setChannelRange() 80 manager.disableCellBroadcastRange(startId, endId, in setChannelRange() 87 manager.enableCellBroadcast(messageId, in setChannelRange() 91 manager.disableCellBroadcast(messageId, in setChannelRange() 102 manager.enableCellBroadcast(SmsCbConstants.MESSAGE_ID_CMAS_ALERT_PRESIDENTIAL_LEVEL, in setChannelRange() 105 manager.enableCellBroadcast( in setChannelRange() 108 manager.enableCellBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_PRESIDENTIAL_LEVEL_ALERT, in setChannelRange() 186 SmsManager manager = SmsManager.getSmsManagerForSubscriptionId(id); in onHandleIntent() local 187 if (manager != null) { in onHandleIntent() [all …]
|
/packages/services/Car/car-lib/src/android/car/ |
D | Car.java | 411 CarManagerBase manager = null; in getCarManager() local 414 manager = mServiceMap.get(serviceName); in getCarManager() 415 if (manager == null) { in getCarManager() 423 manager = createCarManager(serviceName, binder); in getCarManager() 424 if (manager == null) { in getCarManager() 430 mServiceMap.put(serviceName, manager); in getCarManager() 436 return manager; in getCarManager() 469 CarManagerBase manager = null; in createCarManager() local 472 manager = new CarAudioManager(binder, mContext); in createCarManager() 475 manager = new CarSensorManager(binder, mContext, mLooper); in createCarManager() [all …]
|
D | CarAppContextManager.java | 240 private IAppContextListenerImpl(CarAppContextManager manager) { in IAppContextListenerImpl() argument 241 mManager = new WeakReference<>(manager); in IAppContextListenerImpl() 246 final CarAppContextManager manager = mManager.get(); in onAppContextChange() local 247 if (manager == null) { in onAppContextChange() 250 manager.mHandler.post(new Runnable() { in onAppContextChange() 253 manager.handleAppContextChange(activeContexts); in onAppContextChange() 260 final CarAppContextManager manager = mManager.get(); in onAppContextOwnershipLoss() local 261 if (manager == null) { in onAppContextOwnershipLoss() 264 manager.mHandler.post(new Runnable() { in onAppContextOwnershipLoss() 267 manager.handleAppContextOwnershipLoss(context); in onAppContextOwnershipLoss()
|
D | CarProjectionManager.java | 171 private ICarProjectionListenerImpl(CarProjectionManager manager) { in ICarProjectionListenerImpl() argument 172 mManager = new WeakReference<>(manager); in ICarProjectionListenerImpl() 177 final CarProjectionManager manager = mManager.get(); in onVoiceAssistantRequest() local 178 if (manager == null) { in onVoiceAssistantRequest() 181 manager.mHandler.post(new Runnable() { in onVoiceAssistantRequest() 184 manager.handleVoiceAssistantRequest(fromLongPress); in onVoiceAssistantRequest()
|
/packages/services/Car/car-support-lib/src/android/support/car/ |
D | CarServiceLoaderEmbedded.java | 104 Object manager; in getCarManager() local 106 manager = mCar.getCarManager(serviceName); in getCarManager() 111 if (manager == null) { in getCarManager() 117 return new CarAudioManagerEmbedded(manager); in getCarManager() 119 return new CarSensorManagerEmbedded(manager); in getCarManager() 121 return new CarInfoManagerEmbedded(manager); in getCarManager() 123 return new CarAppContextManagerEmbedded(manager); in getCarManager() 125 return new CarPackageManagerEmbedded(manager); in getCarManager() 127 return new CarNavigationManagerEmbedded(manager); in getCarManager() 129 return manager; in getCarManager()
|
D | Car.java | 352 Object manager = null; in getCarManager() local 354 manager = mServiceMap.get(serviceName); in getCarManager() 355 if (manager == null) { in getCarManager() 356 manager = mCarServiceLoader.getCarManager(serviceName); in getCarManager() 360 if (manager != null && manager instanceof CarManagerBase) { in getCarManager() 361 mServiceMap.put(serviceName, (CarManagerBase) manager); in getCarManager() 364 return manager; in getCarManager() 429 for (CarManagerBase manager: mServiceMap.values()) { in tearDownCarManagers() 430 manager.onCarDisconnected(); in tearDownCarManagers()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | SettingObserver.java | 59 private SettingObserver(SettingsManager manager, String scope, String key, Class<T> tClass) { in SettingObserver() argument 60 mSettingsManager = manager; in SettingObserver() 66 public static SettingObserver<Integer> ofInteger(SettingsManager manager, in ofInteger() argument 68 return new SettingObserver<>(manager, scope, key, in ofInteger() 72 public static SettingObserver<String> ofString(SettingsManager manager, in ofString() argument 74 return new SettingObserver<>(manager, scope, key, in ofString() 78 public static SettingObserver<Boolean> ofBoolean(SettingsManager manager, in ofBoolean() argument 80 return new SettingObserver<>(manager, scope, key, in ofBoolean()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | SetupUtils.java | 107 final ChannelDataManager manager = mTvApplication.getChannelDataManager(); in onTvInputSetupFinished() local 108 if (!manager.isDbLoadFinished()) { in onTvInputSetupFinished() 109 manager.addListener(new ChannelDataManager.Listener() { in onTvInputSetupFinished() 112 manager.removeListener(this); in onTvInputSetupFinished() 130 final ChannelDataManager manager = appSingletons.getChannelDataManager(); in updateChannelBrowsable() local 131 manager.updateChannels(new Runnable() { in updateChannelBrowsable() 135 for (Channel channel : manager.getChannelList()) { in updateChannelBrowsable() 138 manager.updateBrowsable(channel.getId(), true, true); in updateChannelBrowsable() 144 manager.notifyChannelBrowsableChanged(); in updateChannelBrowsable() 145 manager.applyUpdatedValuesToDb(); in updateChannelBrowsable() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/support/car/test/ |
D | AppContextTest.java | 51 CarAppContextManager manager = (CarAppContextManager) getSupportCar().getCarManager( in testContextChange() local 55 manager.registerContextListener(listener, CarAppContextManager.APP_CONTEXT_NAVIGATION | in testContextChange() 57 manager.setActiveContexts(ownershipListener, CarAppContextManager.APP_CONTEXT_NAVIGATION); in testContextChange() 58 … manager.setActiveContexts(ownershipListener, CarAppContextManager.APP_CONTEXT_VOICE_COMMAND); in testContextChange() 59 manager.resetActiveContexts(CarAppContextManager.APP_CONTEXT_NAVIGATION); in testContextChange() 60 manager.resetActiveContexts(CarAppContextManager.APP_CONTEXT_VOICE_COMMAND); in testContextChange() 61 manager.unregisterContextListener(); in testContextChange()
|
/packages/services/Car/car-lib/src/android/car/navigation/ |
D | CarNavigationManager.java | 270 public ICarNavigationEventListenerImpl(CarNavigationManager manager) { in ICarNavigationEventListenerImpl() argument 271 mManager = new WeakReference<>(manager); in ICarNavigationEventListenerImpl() 276 CarNavigationManager manager = mManager.get(); in onInstrumentClusterStart() local 277 if (manager != null) { in onInstrumentClusterStart() 278 manager.handleOnStart(instrumentClusterInfo); in onInstrumentClusterStart() 284 CarNavigationManager manager = mManager.get(); in onInstrumentClusterStop() local 285 if (manager != null) { in onInstrumentClusterStop() 286 manager.handleOnStop(); in onInstrumentClusterStop()
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/pbap/ |
D | BluetoothPbapVcardManagerTest.java | 64 BluetoothPbapVcardManager manager = createBluetoothPbapVcardManager(mc); in getContactNamesByNumberInternal() local 65 ArrayList<String> nameList = manager.getContactNamesByNumber(phoneNumber); in getContactNamesByNumberInternal() 85 BluetoothPbapVcardManager manager = createBluetoothPbapVcardManager(mc); in testGetDistinctContactIdSize() local 86 int size = manager.getContactsSize(); in testGetDistinctContactIdSize() 106 BluetoothPbapVcardManager manager = createBluetoothPbapVcardManager(mc); in testGetPhonebookNameListOrderByIndex() local 107 ArrayList<String> nameList = manager in testGetPhonebookNameListOrderByIndex() 131 BluetoothPbapVcardManager manager = createBluetoothPbapVcardManager(mc); in testGetPhonebookNameListOrderByAlphabetical() local 132 ArrayList<String> nameList = manager in testGetPhonebookNameListOrderByAlphabetical()
|
/packages/apps/TV/src/com/android/tv/parental/ |
D | ContentRatingLevelPolicy.java | 37 ParentalControlSettings settings, ContentRatingsManager manager, in getRatingsForLevel() argument 42 return getRatingsForAge(settings, manager, AGE_THRESHOLD_FOR_LEVEL_HIGH); in getRatingsForLevel() 44 return getRatingsForAge(settings, manager, AGE_THRESHOLD_FOR_LEVEL_MEDIUM); in getRatingsForLevel() 46 return getRatingsForAge(settings, manager, AGE_THRESHOLD_FOR_LEVEL_LOW); in getRatingsForLevel() 52 ParentalControlSettings settings, ContentRatingsManager manager, int age) { in getRatingsForAge() argument 55 for (ContentRatingSystem contentRatingSystem : manager.getContentRatingSystems()) { in getRatingsForAge()
|
D | ParentalControlSettings.java | 67 public void setContentRatingSystemEnabled(ContentRatingsManager manager, in setContentRatingSystemEnabled() argument 73 updateRatingsForCurrentLevel(manager); in setContentRatingSystemEnabled() 108 private void updateRatingsForCurrentLevel(ContentRatingsManager manager) { in updateRatingsForCurrentLevel() argument 111 mRatings = ContentRatingLevelPolicy.getRatingsForLevel(this, manager, currentLevel); in updateRatingsForCurrentLevel() 116 public void setContentRatingLevel(ContentRatingsManager manager, in setContentRatingLevel() argument 131 mRatings = ContentRatingLevelPolicy.getRatingsForLevel(this, manager, level); in setContentRatingLevel()
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ChannelTest.java | 185 TvInputManagerHelper manager = Mockito.mock(TvInputManagerHelper.class); in testComparator() local 186 Mockito.when(manager.isPartnerInput(Matchers.anyString())).thenAnswer( in testComparator() 195 Comparator<Channel> comparator = new TestChannelComparator(manager); in testComparator() 231 TvInputManagerHelper manager = Mockito.mock(TvInputManagerHelper.class); in testComparatorLabel() local 232 Mockito.when(manager.isPartnerInput(Matchers.anyString())).thenAnswer( in testComparatorLabel() 240 Comparator<Channel> comparator = new ChannelComparatorWithDescriptionAsLabel(manager); in testComparatorLabel() 259 public TestChannelComparator(TvInputManagerHelper manager) { in TestChannelComparator() argument 260 super(null, manager); in TestChannelComparator() 270 public ChannelComparatorWithDescriptionAsLabel(TvInputManagerHelper manager) { in ChannelComparatorWithDescriptionAsLabel() argument 271 super(null, manager); in ChannelComparatorWithDescriptionAsLabel()
|
/packages/apps/Camera2/src/com/android/camera/one/ |
D | OneCameraModule.java | 48 Optional<OneCameraOpener> manager = Camera2OneCameraOpenerImpl.create( in provideOneCameraOpener() local 50 if (!manager.isPresent()) { in provideOneCameraOpener() 51 manager = LegacyOneCameraOpenerImpl.create(); in provideOneCameraOpener() 53 if (!manager.isPresent()) { in provideOneCameraOpener() 56 return manager.get(); in provideOneCameraOpener()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPairingRequest.java | 99 NotificationManager manager = (NotificationManager) in onReceive() local 101 manager.notify(NOTIFICATION_ID, builder.getNotification()); in onReceive() 107 NotificationManager manager = (NotificationManager) context in onReceive() local 109 manager.cancel(NOTIFICATION_ID); in onReceive() 119 NotificationManager manager = (NotificationManager) context in onReceive() local 121 manager.cancel(NOTIFICATION_ID); in onReceive()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | UpdateHandler.java | 242 final DownloadManagerWrapper manager = new DownloadManagerWrapper(context); in updateClientsWithMetadataUri() local 243 if (maybeCancelUpdateAndReturnIfStillRunning(context, metadataUri, manager, in updateClientsWithMetadataUri() 250 downloadId = manager.enqueue(metadataRequest); in updateClientsWithMetadataUri() 275 final String metadataUri, final DownloadManagerWrapper manager, final long graceTime) { in maybeCancelUpdateAndReturnIfStillRunning() argument 285 manager.remove(metadataDownloadIdAndStartDate.mId); in maybeCancelUpdateAndReturnIfStillRunning() 306 final DownloadManagerWrapper manager = new DownloadManagerWrapper(context); in cancelUpdate() local 308 maybeCancelUpdateAndReturnIfStillRunning(context, metadataUri, manager, 0 /* graceTime */); in cancelUpdate() 329 public static long registerDownloadRequest(final DownloadManagerWrapper manager, in registerDownloadRequest() argument 334 downloadId = manager.enqueue(request); in registerDownloadRequest() 345 final DownloadManagerWrapper manager, final long downloadId) { in getCompletedDownloadInfo() argument [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | MenuExecutor.java | 221 DataManager manager = mActivity.getDataManager(); in getIntentBySingleSelectedPath() local 223 String mimeType = getMimeType(manager.getMediaType(path)); in getIntentBySingleSelectedPath() 224 return new Intent(action).setDataAndType(manager.getContentUri(path), mimeType); in getIntentBySingleSelectedPath() 370 DataManager manager, JobContext jc, int cmd, Path path) { in execute() argument 377 manager.delete(path); in execute() 380 manager.rotate(path, 90); in execute() 383 manager.rotate(path, -90); in execute() 386 MediaObject obj = manager.getMediaObject(path); in execute() 397 MediaItem item = (MediaItem) manager.getMediaObject(path); in execute() 428 DataManager manager = mActivity.getDataManager(); in run() local [all …]
|
D | ActionModeHandler.java | 273 DataManager manager = mActivity.getDataManager(); in getSelectedMediaObjects() local 278 selected.add(manager.getMediaObject(path)); in getSelectedMediaObjects() 326 DataManager manager = mActivity.getDataManager(); in computePanoramaSharingIntent() local 330 uris.add(manager.getContentUri(path)); in computePanoramaSharingIntent() 357 DataManager manager = mActivity.getDataManager(); in computeSharingIntent() local 362 int support = manager.getSupportedOperations(path); in computeSharingIntent() 363 type |= manager.getMediaType(path); in computeSharingIntent() 366 uris.add(manager.getContentUri(path)); in computeSharingIntent()
|
/packages/services/Car/car-lib/src/android/car/hardware/radio/ |
D | CarRadioManager.java | 86 public CarRadioEventListenerToService(CarRadioManager manager) { in CarRadioEventListenerToService() argument 87 mManager = new WeakReference<CarRadioManager>(manager); in CarRadioEventListenerToService() 92 CarRadioManager manager = mManager.get(); in onEvent() local 93 if (manager != null) { in onEvent() 94 manager.handleEvent(event); in onEvent()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | TimePickerCompat.java | 150 final FragmentManager manager = targetFragment.getFragmentManager(); in showTimeEditDialog() local 151 final FragmentTransaction ft = manager.beginTransaction(); in showTimeEditDialog() 152 final Fragment prev = manager.findFragmentByTag(FRAG_TAG_TIME_PICKER); in showTimeEditDialog() 163 picker.show(manager, FRAG_TAG_TIME_PICKER); in showTimeEditDialog() 176 picker.show(manager, FRAG_TAG_TIME_PICKER); in showTimeEditDialog()
|
/packages/apps/TV/tests/unit/src/com/android/tv/util/ |
D | TvInputManagerHelperTest.java | 46 TvInputManagerHelper manager = Mockito.mock(TvInputManagerHelper.class); in testComparator() local 53 }).when(manager).isPartnerInput(Mockito.<TvInputInfo>any()); in testComparator() 60 }).when(manager).loadLabel(Mockito.<TvInputInfo>any()); in testComparator() 64 new TvInputManagerHelper.TvInputInfoComparator(manager)); in testComparator()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | ConnectivityManagerCompatUtils.java | 29 public static boolean isActiveNetworkMetered(final ConnectivityManager manager) { in isActiveNetworkMetered() argument 30 return (Boolean)CompatUtils.invoke(manager, in isActiveNetworkMetered() 33 manager.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_MOBILE, in isActiveNetworkMetered()
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/setup/ |
D | TunerSetupActivity.java | 133 FragmentManager manager = getFragmentManager(); in onKeyUp() local 134 int count = manager.getBackStackEntryCount(); in onKeyUp() 136 String lastTag = manager.getBackStackEntryAt(count - 1).getName(); in onKeyUp() 139 manager.popBackStack(manager.getBackStackEntryAt(count - 2).getName(), in onKeyUp()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | CameraApp.java | 79 NotificationManager manager = AndroidServices.instance().provideNotificationManager(); in clearNotifications() local 80 if (manager != null) { in clearNotifications() 81 manager.cancelAll(); in clearNotifications()
|