/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | MediaDb.java | 135 public void addAudioUpdateCallback(@NonNull UpdateCallback callback) { in addAudioUpdateCallback() argument 136 addUpdateCallback(mAudioUpdateCallbacks, callback); in addAudioUpdateCallback() 139 public void removeAudioUpdateCallback(@NonNull UpdateCallback callback) { in removeAudioUpdateCallback() argument 140 removeUpdateCallback(mAudioUpdateCallbacks, callback); in removeAudioUpdateCallback() 143 public void addArtistUpdateCallback(@NonNull UpdateCallback callback) { in addArtistUpdateCallback() argument 144 addUpdateCallback(mArtistUpdateCallbacks, callback); in addArtistUpdateCallback() 147 public void removeArtistUpdateCallback(@NonNull UpdateCallback callback) { in removeArtistUpdateCallback() argument 148 removeUpdateCallback(mArtistUpdateCallbacks, callback); in removeArtistUpdateCallback() 151 public void addAlbumUpdateCallback(@NonNull UpdateCallback callback) { in addAlbumUpdateCallback() argument 152 addUpdateCallback(mAlbumUpdateCallbacks, callback); in addAlbumUpdateCallback() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | AdvertiseManager.java | 97 public IAdvertisingSetCallback callback; field in AdvertiseManager.AdvertiserInfo 100 IAdvertisingSetCallback callback) { in AdvertiserInfo() argument 103 this.callback = callback; in AdvertiserInfo() 112 public IAdvertisingSetCallback callback; field in AdvertiseManager.AdvertisingSetDeathRecipient 114 AdvertisingSetDeathRecipient(IAdvertisingSetCallback callback) { in AdvertisingSetDeathRecipient() argument 115 this.callback = callback; in AdvertisingSetDeathRecipient() 123 stopAdvertisingSet(callback); in binderDied() 155 IAdvertisingSetCallback callback = entry.getValue().callback; in onAdvertisingSetStarted() local 158 new AdvertiserInfo(advertiserId, entry.getValue().deathRecipient, callback)); in onAdvertisingSetStarted() 165 callback.onAdvertisingSetStarted(advertiserId, txPower, status); in onAdvertisingSetStarted() [all …]
|
D | PeriodicScanManager.java | 75 public IPeriodicAdvertisingCallback callback; field in PeriodicScanManager.SyncInfo 78 IPeriodicAdvertisingCallback callback) { in SyncInfo() argument 81 this.callback = callback; in SyncInfo() 90 public IPeriodicAdvertisingCallback callback; field in PeriodicScanManager.SyncDeathRecipient 92 SyncDeathRecipient(IPeriodicAdvertisingCallback callback) { in SyncDeathRecipient() argument 93 this.callback = callback; in SyncDeathRecipient() 101 stopSync(callback); in binderDied() 132 IPeriodicAdvertisingCallback callback = entry.getValue().callback; in onSyncStarted() local 134 entry.setValue(new SyncInfo(syncHandle, entry.getValue().deathRecipient, callback)); in onSyncStarted() 157 IPeriodicAdvertisingCallback callback = entry.getValue().callback; in onSyncReport() local [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictedProfilePinDialogFragment.java | 99 Callback callback = null; in setPin() local 103 callback = (Callback) f; in setPin() 106 if (callback == null && getActivity() instanceof Callback) { in setPin() 107 callback = (Callback) getActivity(); in setPin() 110 if (callback != null) { in setPin() 111 callback.saveLockPassword(pin, originalPin, in setPin() 118 Callback callback = null; in deletePin() local 122 callback = (Callback) f; in deletePin() 125 if (callback == null && getActivity() instanceof Callback) { in deletePin() 126 callback = (Callback) getActivity(); in deletePin() [all …]
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/task/ |
D | ConnectMobileNetworkTaskRoboTest.java | 65 FakeAbstractProvisioningTaskCallback callback = new FakeAbstractProvisioningTaskCallback(); in run_withoutConnection_noCallbackSuccess() local 66 ConnectMobileNetworkTask task = buildTask(callback); in run_withoutConnection_noCallbackSuccess() 70 assertThat(callback.getSuccessCount(task)).isEqualTo(0); in run_withoutConnection_noCallbackSuccess() 75 FakeAbstractProvisioningTaskCallback callback = new FakeAbstractProvisioningTaskCallback(); in connectToNetwork_afterRun_callbackSuccess() local 76 ConnectMobileNetworkTask task = buildTask(callback); in connectToNetwork_afterRun_callbackSuccess() 82 assertThat(callback.getSuccessCount(task)).isEqualTo(1); in connectToNetwork_afterRun_callbackSuccess() 83 assertThat(callback.getErrorCount(task)).isEqualTo(0); in connectToNetwork_afterRun_callbackSuccess() 88 FakeAbstractProvisioningTaskCallback callback = new FakeAbstractProvisioningTaskCallback(); in connectToNetworkTwice_afterRun_oneCallbackSuccess() local 89 ConnectMobileNetworkTask task = buildTask(callback); in connectToNetworkTwice_afterRun_oneCallbackSuccess() 98 assertThat(callback.getSuccessCount(task)).isEqualTo(1); in connectToNetworkTwice_afterRun_oneCallbackSuccess() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningManagerHelper.java | 77 public void registerListener(ProvisioningManagerCallback callback) { in registerListener() argument 79 mCallbacks.add(callback); in registerListener() 80 callLastCallbackLocked(callback); in registerListener() 84 public void unregisterListener(ProvisioningManagerCallback callback) { in unregisterListener() argument 86 mCallbacks.remove(callback); in unregisterListener() 92 for (ProvisioningManagerCallback callback : mCallbacks) { in error() 93 postCallbackToUiHandler(callback, () -> { in error() 94 callback.error(titleId, messageId, factoryResetRequired); in error() 102 private void callLastCallbackLocked(ProvisioningManagerCallback callback) { in callLastCallbackLocked() argument 106 postCallbackToUiHandler(callback, () -> { in callLastCallbackLocked() [all …]
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/ |
D | TrustedDeviceManager.java | 212 notifyEnrollmentCallbacks(callback -> { in onEscrowTokenAdded() 214 callback.onValidateCredentialsRequest(); in onEscrowTokenAdded() 244 notifyTrustedDeviceCallbacks(callback -> { in onEscrowTokenActivated() 246 callback.onTrustedDeviceAdded(trustedDevice); in onEscrowTokenActivated() 285 notifyTrustedDeviceCallbacks(callback -> { in removeTrustedDevice() 287 callback.onTrustedDeviceRemoved(trustedDevice); in removeTrustedDevice() 316 public void registerTrustedDeviceCallback(ITrustedDeviceCallback callback) { in registerTrustedDeviceCallback() argument 317 mTrustedDeviceCallbacks.put(callback.asBinder(), callback); in registerTrustedDeviceCallback() local 318 RemoteCallbackBinder remoteBinder = new RemoteCallbackBinder(callback.asBinder(), iBinder -> in registerTrustedDeviceCallback() 319 unregisterTrustedDeviceCallback(callback)); in registerTrustedDeviceCallback() [all …]
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/external/ |
D | ConnectedDeviceManagerBinder.java | 82 public void registerActiveUserConnectionCallback(IConnectionCallback callback) { in registerActiveUserConnectionCallback() argument 87 callback.onDeviceConnected(new CompanionDevice(device)); in registerActiveUserConnectionCallback() 96 callback.onDeviceDisconnected(new CompanionDevice(device)); in registerActiveUserConnectionCallback() 104 RemoteCallbackBinder remoteBinder = new RemoteCallbackBinder(callback.asBinder(), in registerActiveUserConnectionCallback() 105 iBinder -> unregisterConnectionCallback(callback)); in registerActiveUserConnectionCallback() 107 mConnectionCallbacks.put(callback.asBinder(), connectionCallback); in registerActiveUserConnectionCallback() 111 public void unregisterConnectionCallback(IConnectionCallback callback) { in unregisterConnectionCallback() argument 112 IBinder binder = callback.asBinder(); in unregisterConnectionCallback() 132 IDeviceCallback callback) { in registerDeviceCallback() argument 137 callback.onSecureChannelEstablished(new CompanionDevice(device)); in registerDeviceCallback() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | CarBugreportManagerService.java | 114 ICarBugreportCallback callback) { in requestBugreport() argument 144 requestBugReportLocked(output, extraOutput, callback); in requestBugreport() 150 ParcelFileDescriptor extraOutput, ICarBugreportCallback callback) { in requestBugReportLocked() argument 153 reportError(callback, CarBugreportManagerCallback.CAR_BUGREPORT_IN_PROGRESS); in requestBugReportLocked() 157 mHandler.post(() -> startBugreportd(output, extraOutput, callback)); in requestBugReportLocked() 161 ICarBugreportCallback callback) { in startBugreportd() argument 167 reportError(callback, CAR_BUGREPORT_DUMPSTATE_FAILED); in startBugreportd() 170 processBugreportSockets(output, extraOutput, callback); in startBugreportd() 176 private void handleProgress(String line, ICarBugreportCallback callback) { in handleProgress() argument 197 callback.onProgress(100f * progress / total); in handleProgress() [all …]
|
D | AppFocusService.java | 103 public boolean isOwningFocus(IAppFocusOwnershipCallback callback, int appType) { in isOwningFocus() argument 106 (OwnershipClientInfo) mAllOwnershipClients.getBinderInterface(callback); in isOwningFocus() 115 public int requestAppFocus(IAppFocusOwnershipCallback callback, int appType) { in requestAppFocus() argument 118 (OwnershipClientInfo) mAllOwnershipClients.getBinderInterface(callback); in requestAppFocus() 120 info = new OwnershipClientInfo(mAllOwnershipClients, callback, in requestAppFocus() 172 public void abandonAppFocus(IAppFocusOwnershipCallback callback, int appType) { in abandonAppFocus() argument 175 (OwnershipClientInfo) mAllOwnershipClients.getBinderInterface(callback); in abandonAppFocus() 286 public void registerContextOwnerChangedCallback(FocusOwnershipCallback callback) { in registerContextOwnerChangedCallback() argument 287 mFocusOwnershipCallbacks.add(callback); in registerContextOwnerChangedCallback() 296 callback.onFocusAcquired(entry.getKey(), clientInfo.getUid(), clientInfo.getPid()); in registerContextOwnerChangedCallback() [all …]
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/ |
D | ImageLoader.java | 59 public void addCallback(@NonNull Callback callback) { in addCallback() argument 60 addCallback(callback, Executors.uiThreadExecutor()); in addCallback() 63 public void addCallback(@NonNull Callback callback, @NonNull Executor executor) { in addCallback() argument 65 if (!mCallbacks.add(new SimpleEntry<>(executor, callback))) { in addCallback() 66 throw new IllegalArgumentException("Callback " + callback + " already added"); in addCallback() 71 public void removeCallback(@NonNull Callback callback) { in removeCallback() argument 72 removeCallback(callback, Executors.uiThreadExecutor()); in removeCallback() 75 public void removeCallback(@NonNull Callback callback, @NonNull Executor executor) { in removeCallback() argument 77 if (!mCallbacks.remove(new SimpleEntry<>(executor, callback))) { in removeCallback() 78 throw new IllegalArgumentException("Callback " + callback + " not found"); in removeCallback() [all …]
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ |
D | ConnectedDeviceManager.java | 239 public void registerDeviceAssociationCallback(@NonNull DeviceAssociationCallback callback, in registerDeviceAssociationCallback() argument 241 mDeviceAssociationCallbacks.add(callback, executor); in registerDeviceAssociationCallback() 249 public void unregisterDeviceAssociationCallback(@NonNull DeviceAssociationCallback callback) { in unregisterDeviceAssociationCallback() argument 250 mDeviceAssociationCallbacks.remove(callback); in unregisterDeviceAssociationCallback() 260 public void registerActiveUserConnectionCallback(@NonNull ConnectionCallback callback, in registerActiveUserConnectionCallback() argument 262 mActiveUserConnectionCallbacks.add(callback, executor); in registerActiveUserConnectionCallback() 270 public void unregisterConnectionCallback(ConnectionCallback callback) { in unregisterConnectionCallback() argument 271 mActiveUserConnectionCallbacks.remove(callback); in unregisterConnectionCallback() 272 mAllUserConnectionCallbacks.remove(callback); in unregisterConnectionCallback() 323 public void startAssociation(@NonNull AssociationCallback callback) { in startAssociation() argument [all …]
|
/packages/apps/Car/Radio/src/com/android/car/radio/service/ |
D | RadioAppService.java | 191 for (IRadioAppCallback callback : mRadioAppCallbacks) { in onPlaybackStateChanged() 192 tryExec(() -> callback.onPlaybackStateChanged(newState)); in onPlaybackStateChanged() 210 for (IRadioAppCallback callback : mRadioAppCallbacks) { in pushProgramListUpdate() 211 tryExec(() -> callback.onProgramListChanged(plist)); in pushProgramListUpdate() 274 for (IRadioAppCallback callback : mRadioAppCallbacks) { in onHardwareError() 275 tryExec(() -> callback.onHardwareError()); in onHardwareError() 291 public void addCallback(IRadioAppCallback callback) throws RemoteException { 293 if (mCurrentProgram != null) callback.onCurrentProgramChanged(mCurrentProgram); 294 callback.onPlaybackStateChanged(mCurrentPlaybackState); 295 if (mProgramList != null) callback.onProgramListChanged(mProgramList.toList()); [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPersister.java | 89 final SetWallpaperCallback callback) { in setIndividualWallpaper() argument 97 callback.onError(null /* throwable */); in setIndividualWallpaper() 100 setIndividualWallpaper(wallpaper, inputStream, destination, callback); in setIndividualWallpaper() 116 callback.onError(null /* throwable */); in setIndividualWallpaper() 119 setIndividualWallpaper(wallpaper, bitmap, destination, callback); in setIndividualWallpaper() 129 setIndividualWallpaper(wallpaper, croppedBitmap, destination, callback); in setIndividualWallpaper() 134 callback.onError(e); in setIndividualWallpaper() 141 @WallpaperPosition int wallpaperPosition, SetWallpaperCallback callback) { in setIndividualWallpaperWithPosition() argument 151 callback.onError(null); in setIndividualWallpaperWithPosition() 162 wallpaper, asset, dimensions, screenSize, callback); in setIndividualWallpaperWithPosition() [all …]
|
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ble/ |
D | CarBlePeripheralManagerTest.java | 111 AssociationCallback callback = createAssociationCallback(semaphore); in testStartAssociationAdvertisingSuccess() local 113 startAssociation(callback, testDeviceName); in testStartAssociationAdvertisingSuccess() 127 AssociationCallback callback = createAssociationCallback(semaphore); in testStartAssociationAdvertisingFailure() local 128 startAssociation(callback, getNameForAssociation()); in testStartAssociationAdvertisingFailure() 137 verify(callback).onAssociationStartFailure(); in testStartAssociationAdvertisingFailure() 143 AssociationCallback callback = createAssociationCallback(semaphore); in testNotifyAssociationSuccess() local 145 startAssociation(callback, testDeviceName); in testNotifyAssociationSuccess() 154 verify(callback).onAssociationStartSuccess(eq(testDeviceName)); in testNotifyAssociationSuccess() 160 AssociationCallback callback = createAssociationCallback(semaphore); in testShowVerificationCode() local 161 SecureBleChannel channel = getChannelForAssociation(callback); in testShowVerificationCode() [all …]
|
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/ |
D | CarAssistUtils.java | 275 ActionRequestCallback callback) { in requestAssistantVoiceAction() argument 278 callback.onResult(ActionRequestCallback.RESULT_FAILED); in requestAssistantVoiceAction() 284 readMessageNotification(sbn, callback); in requestAssistantVoiceAction() 287 replyMessageNotification(sbn, callback); in requestAssistantVoiceAction() 291 callback.onResult(ActionRequestCallback.RESULT_FAILED); in requestAssistantVoiceAction() 305 ActionRequestCallback callback) { in readMessageNotification() argument 309 requestAction(action, sbn, args, callback); in readMessageNotification() 321 ActionRequestCallback callback) { in replyMessageNotification() argument 325 requestAction(action, sbn, args, callback); in replyMessageNotification() 329 ActionRequestCallback callback) { in requestAction() argument [all …]
|
/packages/services/Car/car-lib/src/android/car/ |
D | CarBugreportManager.java | 115 CarBugreportManagerCallbackWrapper(CarBugreportManagerCallback callback, in CarBugreportManagerCallbackWrapper() argument 117 mWeakCallback = new WeakReference<>(callback); in CarBugreportManagerCallbackWrapper() 123 CarBugreportManagerCallback callback = mWeakCallback.get(); in onProgress() local 125 if (handler != null && callback != null) { in onProgress() 126 handler.post(() -> callback.onProgress(progress)); in onProgress() 132 CarBugreportManagerCallback callback = mWeakCallback.get(); in onError() local 134 if (handler != null && callback != null) { in onError() 135 handler.post(() -> callback.onError(errorCode)); in onError() 141 CarBugreportManagerCallback callback = mWeakCallback.get(); in onFinished() local 143 if (handler != null && callback != null) { in onFinished() [all …]
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
D | ResponseListeners.java | 68 final Updatable<TotalCaptureResultProxy> callback) { in forFinalMetadata() argument 69 return new ResponseListenerBase<TotalCaptureResultProxy>(callback) { in forFinalMetadata() 72 callback.update(new AndroidTotalCaptureResultProxy(result)); in forFinalMetadata() 82 … public static ResponseListener forPartialMetadata(final Updatable<CaptureResultProxy> callback) { 83 return new ResponseListenerBase<CaptureResultProxy>(callback) { 86 callback.update(new AndroidCaptureResultProxy(partialResult)); 91 callback.update(new AndroidTotalCaptureResultProxy(result)); 101 public static ResponseListener forTimestamps(final Updatable<Long> callback) { 102 return new ResponseListenerBase<Long>(callback) { 105 callback.update(timestamp); [all …]
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | BlockNumberDialogFragment.java | 59 private Callback callback; field in BlockNumberDialogFragment 68 Callback callback) { in show() argument 73 newFragment.setCallback(callback); in show() 191 callback = null; in onPause() 196 public void setCallback(Callback callback) { in setCallback() argument 197 this.callback = callback; in setCallback() 217 final Callback callback = this.callback; in blockNumber() local 226 if (callback != null) { in blockNumber() 227 callback.onChangeFilteredNumberUndo(); in blockNumber() 252 if (callback != null) { in blockNumber() [all …]
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/ |
D | CarBlePeripheralManager.java | 215 @NonNull AssociationCallback callback) { in startAssociation() argument 223 mAssociationCallback = callback; in startAssociation() 237 callback.onAssociationStartSuccess(nameForAssociation); in startAssociation() 244 callback.onAssociationStartFailure(); in startAssociation() 248 attemptAssociationAdvertising(nameForAssociation, callback); in startAssociation() 252 public void stopAssociation(@NonNull AssociationCallback callback) { in stopAssociation() argument 253 if (!isAssociating() || callback != mAssociationCallback) { in stopAssociation() 260 @NonNull AssociationCallback callback) { in attemptAssociationAdvertising() argument 269 () -> attemptAssociationAdvertising(adapterName, callback), in attemptAssociationAdvertising() 273 callback.onAssociationStartFailure(); in attemptAssociationAdvertising() [all …]
|
D | SecureBleChannel.java | 155 notifyCallback(callback -> callback.onDeviceIdReceived(mDeviceId)); in processHandshakeUnknown() 229 notifyCallback(callback -> callback.onSecureChannelEstablished()); in processHandshakeResumingSession() 350 void registerCallback(Callback callback) { in registerCallback() argument 351 mCallback = callback; in registerCallback() 355 void unregisterCallback(Callback callback) { in unregisterCallback() argument 356 if (callback == mCallback) { in unregisterCallback() 375 notifyCallback(callback -> callback.onEstablishSecureChannelFailure(error)); in notifySecureChannelFailure() 391 notifyCallback(callback -> callback.onEstablishSecureChannelFailure( 398 notifyCallback(callback -> callback.onMessageReceived( 406 notifyCallback(callback -> callback.onMessageReceivedError(null)); [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ApplicationFeatureProviderImpl.java | 60 public void calculateNumberOfPolicyInstalledApps(boolean async, NumberOfAppsCallback callback) { in calculateNumberOfPolicyInstalledApps() argument 62 new CurrentUserAndManagedProfilePolicyInstalledAppCounter(mContext, mPm, callback); in calculateNumberOfPolicyInstalledApps() 71 public void listPolicyInstalledApps(ListOfAppsCallback callback) { in listPolicyInstalledApps() argument 73 new CurrentUserPolicyInstalledAppLister(mPm, mUm, callback); in listPolicyInstalledApps() 79 boolean async, NumberOfAppsCallback callback) { in calculateNumberOfAppsWithAdminGrantedPermissions() argument 82 permissions, mPm, mPms, mDpm, callback); in calculateNumberOfAppsWithAdminGrantedPermissions() 92 ListOfAppsCallback callback) { in listAppsWithAdminGrantedPermissions() argument 95 mUm, callback); in listAppsWithAdminGrantedPermissions() 173 PackageManager packageManager, NumberOfAppsCallback callback) { in CurrentUserAndManagedProfilePolicyInstalledAppCounter() argument 175 mCallback = callback; in CurrentUserAndManagedProfilePolicyInstalledAppCounter() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ApplicationFeatureProviderImpl.java | 60 public void calculateNumberOfPolicyInstalledApps(boolean async, NumberOfAppsCallback callback) { in calculateNumberOfPolicyInstalledApps() argument 62 new CurrentUserAndManagedProfilePolicyInstalledAppCounter(mContext, mPm, callback); in calculateNumberOfPolicyInstalledApps() 71 public void listPolicyInstalledApps(ListOfAppsCallback callback) { in listPolicyInstalledApps() argument 73 new CurrentUserPolicyInstalledAppLister(mPm, mUm, callback); in listPolicyInstalledApps() 79 boolean async, NumberOfAppsCallback callback) { in calculateNumberOfAppsWithAdminGrantedPermissions() argument 82 permissions, mPm, mPms, mDpm, callback); in calculateNumberOfAppsWithAdminGrantedPermissions() 92 ListOfAppsCallback callback) { in listAppsWithAdminGrantedPermissions() argument 95 mUm, callback); in listAppsWithAdminGrantedPermissions() 173 PackageManager packageManager, NumberOfAppsCallback callback) { in CurrentUserAndManagedProfilePolicyInstalledAppCounter() argument 175 mCallback = callback; in CurrentUserAndManagedProfilePolicyInstalledAppCounter() [all …]
|
/packages/apps/TV/common/src/com/android/tv/common/support/tis/ |
D | TifSession.java | 40 private final TifSessionCallbacks callback; field in TifSession 50 protected TifSession(TifSessionCallbacks callback) { in TifSession() argument 51 this.callback = callback; in TifSession() 115 callback.notifyChannelRetuned(channelUri); in notifyChannelRetuned() 120 callback.notifyTracksChanged(tracks); in notifyTracksChanged() 125 callback.notifyTrackSelected(type, trackId); in notifyTrackSelected() 130 callback.notifyVideoAvailable(); in notifyVideoAvailable() 135 callback.notifyVideoUnavailable(reason); in notifyVideoUnavailable() 140 callback.notifyContentAllowed(); in notifyContentAllowed() 145 callback.notifyContentBlocked(rating); in notifyContentBlocked() [all …]
|
/packages/apps/TV/src/com/android/tv/util/images/ |
D | ImageLoader.java | 172 Context context, String uriString, ImageLoaderCallback<T> callback) { in loadBitmap() argument 173 return loadBitmap(context, uriString, Integer.MAX_VALUE, Integer.MAX_VALUE, callback); in loadBitmap() 190 ImageLoaderCallback<T> callback) { in loadBitmap() argument 195 context, uriString, maxWidth, maxHeight, callback, IMAGE_THREAD_POOL_EXECUTOR); in loadBitmap() 203 ImageLoaderCallback<T> callback, in doLoadBitmap() argument 210 if (callback != null) { in doLoadBitmap() 211 callback.onBitmapLoaded(bitmapInfo.bitmap); in doLoadBitmap() 216 callback, in doLoadBitmap() 230 ImageLoaderCallback<T> callback, LoadBitmapTask<T> loadBitmapTask) { in loadBitmap() argument 234 return doLoadBitmap(callback, IMAGE_THREAD_POOL_EXECUTOR, loadBitmapTask); in loadBitmap() [all …]
|