/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictedProfilePinDialogFragment.java | 29 public interface Callback extends ResultListener { interface in RestrictedProfilePinDialogFragment 99 Callback callback = null; in setPin() 102 if (f instanceof Callback) { in setPin() 103 callback = (Callback) f; in setPin() 106 if (callback == null && getActivity() instanceof Callback) { in setPin() 107 callback = (Callback) getActivity(); in setPin() 118 Callback callback = null; in deletePin() 121 if (f instanceof Callback) { in deletePin() 122 callback = (Callback) f; in deletePin() 125 if (callback == null && getActivity() instanceof Callback) { in deletePin() [all …]
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/ |
D | ImageLoader.java | 47 private final Set<Map.Entry<Executor, Callback>> mCallbacks = new ArraySet<>(); 48 private final Map<Uri, List<Map.Entry<Executor, Callback>>> mLoadCallbacks = new ArrayMap<>(); 51 public interface Callback { interface in ImageLoader 59 public void addCallback(@NonNull Callback callback) { in addCallback() 63 public void addCallback(@NonNull Callback callback, @NonNull Executor executor) { in addCallback() 71 public void removeCallback(@NonNull Callback callback) { in removeCallback() 75 public void removeCallback(@NonNull Callback callback, @NonNull Executor executor) { in removeCallback() 83 public void loadImage(@NonNull Uri uri, @NonNull Callback callback) { in loadImage() 87 public void loadImage(@NonNull Uri uri, @NonNull Callback callback, in loadImage() 94 List<Map.Entry<Executor, Callback>> callbacks = mLoadCallbacks.get(uri); in loadImage() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | ForegroundUtils.java | 40 private final SparseArray<List<Callback>> mBackgroundCallbacks = 41 new SparseArray<List<Callback>>(); 57 public interface Callback { interface in ForegroundUtils 76 public boolean registerUidToBackgroundCallback(Callback callback, int uid) { in registerUidToBackgroundCallback() 83 List<Callback> callbacks = mBackgroundCallbacks.get(uid, new ArrayList<Callback>()); in registerUidToBackgroundCallback() 129 ArrayList<Callback> pendingCallbacks = null; in handleUidToBackground() 131 List<Callback> callbacks = mBackgroundCallbacks.get(uid); in handleUidToBackground() 133 pendingCallbacks = new ArrayList<Callback>(callbacks); in handleUidToBackground() 140 for (Callback callback : pendingCallbacks) { in handleUidToBackground()
|
/packages/modules/Cronet/api/ |
D | lint-baseline.txt | 34 GenericException: org.chromium.net.UrlRequest.Callback#onReadCompleted(org.chromium.net.UrlRequest,… 36 GenericException: org.chromium.net.UrlRequest.Callback#onRedirectReceived(org.chromium.net.UrlReque… 38 GenericException: org.chromium.net.UrlRequest.Callback#onResponseStarted(org.chromium.net.UrlReques… 47 Listeners should be an interface, or otherwise renamed Callback: StatusListener 50 …t.CronetEngine#newUrlRequestBuilder(String, org.chromium.net.UrlRequest.Callback, java.util.concur… 84 …t.CronetEngine#newUrlRequestBuilder(String, org.chromium.net.UrlRequest.Callback, java.util.concur… 86 …t.CronetEngine#newUrlRequestBuilder(String, org.chromium.net.UrlRequest.Callback, java.util.concur… 88 …t.CronetEngine#newUrlRequestBuilder(String, org.chromium.net.UrlRequest.Callback, java.util.concur… 90 …t.CronetEngine#newUrlRequestBuilder(String, org.chromium.net.UrlRequest.Callback, java.util.concur… 210 MissingNullability: org.chromium.net.UrlRequest.Callback#onCanceled(org.chromium.net.UrlRequest, or… [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | RadioOnStateListener.java | 35 interface Callback { interface in RadioOnStateListener 71 RadioOnStateListener.Callback callback = 72 (RadioOnStateListener.Callback) args.arg2; 101 private Callback mCallback; // The callback to notify upon completion. 123 public void waitForRadioOn(Phone phone, Callback callback, in waitForRadioOn() 145 private void startSequenceInternal(Phone phone, Callback callback, in startSequenceInternal() 343 Callback tempCallback = mCallback; in onComplete()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestDocumentClipper.java | 30 import com.android.documentsui.services.FileOperations.Callback; 87 Callback callback) { in copyFromClipboard() 92 public void copyFromClipboard(DocumentStack docStack, Callback callback) { in copyFromClipboard() 98 ClipData clipData, Callback callback) { in copyFromClipData() 104 @OpType int opType, Callback callback) { in copyFromClipData() 110 public void copyFromClipData(DocumentStack docStack, ClipData clipData, Callback callback) { in copyFromClipData()
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
D | SnepServer.java | 44 final Callback mCallback; 55 public interface Callback { interface in SnepServer 60 public SnepServer(Callback callback) { in SnepServer() 69 public SnepServer(String serviceName, int serviceSap, Callback callback) { in SnepServer() 78 public SnepServer(Callback callback, int miu, int rwSize) { in SnepServer() 87 SnepServer(String serviceName, int serviceSap, int fragmentLength, Callback callback) { in SnepServer() 140 static boolean handleRequest(SnepMessenger messenger, Callback callback) throws IOException { in handleRequest()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | RuntimeDocumentClipper.java | 223 FileOperations.Callback callback) { in copyFromClipboard() 231 FileOperations.Callback callback) { in copyFromClipboard() 241 FileOperations.Callback callback) { in copyFromClipData() 252 FileOperations.Callback callback) { in copyFromClipData() 262 FileOperations.Callback callback) { in copyFromClipData() 274 FileOperations.Callback.STATUS_REJECTED, getOpType(clipData), 0); in copyFromClipData() 281 FileOperations.Callback.STATUS_ACCEPTED, opType, 0); in copyFromClipData() 298 callback.onOperationResult(FileOperations.Callback.STATUS_REJECTED, opType, 0); in copyFromClipData()
|
D | DocumentClipper.java | 85 FileOperations.Callback callback); in copyFromClipboard() 96 FileOperations.Callback callback); in copyFromClipboard() 111 FileOperations.Callback callback); in copyFromClipData() 126 FileOperations.Callback callback); in copyFromClipData() 139 FileOperations.Callback callback); in copyFromClipData()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | FormatAsPrivateStepFragment.java | 36 public interface Callback { interface in FormatAsPrivateStepFragment 78 final Callback callback = (Callback) getActivity(); in onGuidedActionClicked() 81 final Callback callback = (Callback) getActivity(); in onGuidedActionClicked()
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | AppsStorageStatsManager.java | 42 public interface Callback { interface in AppsStorageStatsManager 57 private List<Callback> mAppsStorageStatsListeners = new ArrayList<>(); 66 public void registerListener(Callback appsStorageStatsListener) { in registerListener() 75 public void unregisterListener(Callback appsStorageStatsListener) { in unregisterListener() 92 for (Callback listener : mAppsStorageStatsListeners) { in onAppsStorageStatsLoaded()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/ |
D | MediaPlayerWrapperTest.java | 57 @Captor ArgumentCaptor<MediaController.Callback> mControllerCbs; 61 @Mock MediaPlayerWrapper.Callback mTestCbs; 201 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testControllerUpdate() 226 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testNoQueueMediaUpdates() 288 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testDataOnUpdateNoQueue() 332 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testNullMetadata() 361 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testNullQueue() 411 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testPlaybackStateUpdateSpam() 485 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testIgnorePlaystateNone() 515 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testMetadataSync() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | AppsNetworkStatsManager.java | 48 public interface Callback { interface in AppsNetworkStatsManager 61 private final List<AppsNetworkStatsManager.Callback> mAppsNetworkStatsListeners = 80 public void registerListener(AppsNetworkStatsManager.Callback appsNetworkStatsListener) { in registerListener() 89 public void unregisterListener(AppsNetworkStatsManager.Callback appsNetworkStatsListener) { in unregisterListener() 101 for (AppsNetworkStatsManager.Callback listener : mAppsNetworkStatsListeners) { in onAppsNetworkStatsLoaded()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/ |
D | BlePeripheralManager.java | 78 private final Set<Callback> mCallbacks = new CopyOnWriteArraySet<>(); 105 void registerCallback(@NonNull Callback callback) { in registerCallback() 114 void unregisterCallback(@NonNull Callback callback) { in unregisterCallback() 309 for (Callback callback : mCallbacks) { 314 for (Callback callback : mCallbacks) { 376 for (Callback callback : mCallbacks) { 450 for (Callback callback : mCallbacks) { 462 interface Callback { interface in BlePeripheralManager
|
D | SecureBleChannel.java | 98 private Callback mCallback; 326 notifyCallback(Callback::onSecureChannelEstablished); in notifyOutOfBandAccepted() 350 void registerCallback(Callback callback) { in registerCallback() 355 void unregisterCallback(Callback callback) { in unregisterCallback() 363 Callback getCallback() { in getCallback() 367 private void notifyCallback(Consumer<Callback> notification) { in notifyCallback() 430 interface Callback { interface in SecureBleChannel
|
/packages/apps/Camera2/src/com/android/camera/async/ |
D | FilteredCallback.java | 19 import com.android.camera.util.Callback; 31 public final class FilteredCallback<T> implements Callback<T> { 32 private final Callback<T> mCallback; 36 public FilteredCallback(Callback<T> callback) { in FilteredCallback()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/ |
D | ZenServiceListing.java | 40 private final List<Callback> mZenCallbacks = new ArrayList<>(); 62 public void addZenCallback(Callback callback) { in addZenCallback() 66 public void removeZenCallback(Callback callback) { in removeZenCallback() 86 for (Callback callback : mZenCallbacks) { in reloadApprovedServices() 136 public interface Callback { interface in ZenServiceListing
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | ZenServiceListing.java | 40 private final List<Callback> mZenCallbacks = new ArrayList<>(); 62 public void addZenCallback(Callback callback) { in addZenCallback() 66 public void removeZenCallback(Callback callback) { in removeZenCallback() 86 for (Callback callback : mZenCallbacks) { in reloadApprovedServices() 136 public interface Callback { interface in ZenServiceListing
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/ |
D | DpcReceivedSuccessReceiver.java | 40 interface Callback { interface in DpcReceivedSuccessReceiver 45 private final Callback mCallback; 49 Callback callback, boolean isAdminIntegratedFlow) { in DpcReceivedSuccessReceiver() 56 UserHandle managedUserHandle, String mdmPackageName, Utils utils, Callback callback, in DpcReceivedSuccessReceiver()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothDevicePreferenceControllerTest.java | 118 verify(mDevice).registerCallback(any(CachedBluetoothDevice.Callback.class)); in onStart_registersDeviceCallback() 124 ArgumentCaptor<CachedBluetoothDevice.Callback> callbackCaptor = ArgumentCaptor.forClass( in onStop_unregistersDeviceCallback() 125 CachedBluetoothDevice.Callback.class); in onStop_unregistersDeviceCallback() 136 ArgumentCaptor<CachedBluetoothDevice.Callback> callbackCaptor = ArgumentCaptor.forClass( in started_onDeviceAttributesChanged_refreshesUi() 137 CachedBluetoothDevice.Callback.class); in started_onDeviceAttributesChanged_refreshesUi()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DragAndDropManager.java | 132 FileOperations.Callback callback); in drop() 144 FileOperations.Callback callback); in drop() 375 ActionHandler action, FileOperations.Callback callback) { in drop() 402 FileOperations.Callback callback) { in dropOnRootDocument() 405 FileOperations.Callback.STATUS_FAILED, in dropOnRootDocument() 420 FileOperations.Callback callback) { in drop() 436 @OpType int opType, FileOperations.Callback callback) { in dropChecked()
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | BlockNumberDialogFragment.java | 59 private Callback callback; 68 Callback callback) { in show() 196 public void setCallback(Callback callback) { in setCallback() 217 final Callback callback = this.callback; in blockNumber() 268 final Callback callback = this.callback; in unblockNumber() 318 public interface Callback { interface in BlockNumberDialogFragment
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | AbstractProvisioningTask.java | 41 private final Callback mCallback; 54 Callback callback) { in AbstractProvisioningTask() 65 Callback callback, in AbstractProvisioningTask() 123 public interface Callback { interface in AbstractProvisioningTask
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | VolumeSeekBarPreference.java | 46 private Callback mCallback; 92 public void setCallback(Callback callback) { in setCallback() 121 final SeekBarVolumizer.Callback sbvc = new SeekBarVolumizer.Callback() { in init() 201 public interface Callback { interface in VolumeSeekBarPreference
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
D | GenericOneCameraImpl.java | 33 import com.android.camera.util.Callback; 103 mAFStateListenable.setCallback(new Callback<Integer>() { in setFocusStateListener() 123 mFocusStateListenable.setCallback(new Callback<FocusState>() { in setFocusDistanceListener() 140 Callback<Boolean> readyStateCallback = new Callback<Boolean>() { in setReadyStateChangedListener()
|