/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictedProfilePinDialogFragment.java | 32 public interface Callback extends ResultListener { interface in RestrictedProfilePinDialogFragment 79 Callback callback = null; in setPin() 82 if (f instanceof Callback) { in setPin() 83 callback = (Callback) f; in setPin() 86 if (callback == null && getActivity() instanceof Callback) { in setPin() 87 callback = (Callback) getActivity(); in setPin() 97 Callback callback = null; in isPinCorrect() 100 if (f instanceof Callback) { in isPinCorrect() 101 callback = (Callback) f; in isPinCorrect() 104 if (callback == null && getActivity() instanceof Callback) { in isPinCorrect() [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() 119 ArrayList<Callback> pendingCallbacks = null; in handleUidToBackground() 121 List<Callback> callbacks = mBackgroundCallbacks.get(uid); in handleUidToBackground() 123 pendingCallbacks = new ArrayList<Callback>(callbacks); in handleUidToBackground() 130 for (Callback callback : pendingCallbacks) { in handleUidToBackground()
|
D | P2pLinkManager.java | 135 public interface Callback { interface 146 class P2pLinkManager implements Handler.Callback, P2pEventListener.Callback { 964 final HandoverServer.Callback mHandoverCallback = new HandoverServer.Callback() { 976 final NdefPushServer.Callback mNppCallback = new NdefPushServer.Callback() { 983 final SnepServer.Callback mDefaultSnepCallback = new SnepServer.Callback() { 1016 final ExtDtaSnepServer.Callback mExtDtaSnepServerCallback = new ExtDtaSnepServer.Callback() {
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
D | InCallServiceImpl.java | 38 private CopyOnWriteArrayList<Callback> mCallbacks = new CopyOnWriteArrayList<>(); 58 for (Callback callback : mCallbacks) { in onCallAdded() 68 for (Callback callback : mCallbacks) { in onCallRemoved() 86 private final Call.Callback mCallListener = new Call.Callback() { 118 for (Callback callback : mCallbacks) { in onCallAudioStateChanged() 123 public void registerCallback(Callback callback) { in registerCallback() 127 public void unregisterCallback(Callback callback) { in unregisterCallback() 131 interface Callback { interface in InCallServiceImpl
|
/packages/services/Car/car-lib/src/android/car/cluster/ |
D | CarInstrumentClusterManager.java | 60 private final Map<String, Set<Callback>> mCallbacksByCategory = new HashMap<>(0); 91 public void registerCallback(String category, Callback callback) in registerCallback() 96 Set<Callback> callbacks = mCallbacksByCategory.get(category); in registerCallback() 133 public void unregisterCallback(Callback callback) throws CarNotConnectedException { in unregisterCallback() 136 for (Map.Entry<String, Set<Callback>> entry : mCallbacksByCategory.entrySet()) { in unregisterCallback() 137 Set<Callback> callbacks = entry.getValue(); in unregisterCallback() 167 public interface Callback { interface in CarInstrumentClusterManager 199 List<CarInstrumentClusterManager.Callback> callbacks = null; in handleMessage() 207 for (CarInstrumentClusterManager.Callback cb : callbacks) { in handleMessage()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | EmergencyCallStateListener.java | 41 interface Callback { interface in EmergencyCallStateListener 65 EmergencyCallStateListener.Callback callback = 66 (EmergencyCallStateListener.Callback) args.arg2; 86 private Callback mCallback; // The callback to notify upon completion. 104 public void waitForRadioOn(Phone phone, Callback callback) { in waitForRadioOn() 123 private void startSequenceInternal(Phone phone, Callback callback) { in startSequenceInternal() 275 Callback tempCallback = mCallback; in onComplete()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestDocumentClipper.java | 29 import com.android.documentsui.services.FileOperations.Callback; 86 Callback callback) { in copyFromClipboard() 91 public void copyFromClipboard(DocumentStack docStack, Callback callback) { in copyFromClipboard() 97 ClipData clipData, Callback callback) { in copyFromClipData() 103 @OpType int opType, Callback callback) { in copyFromClipData() 109 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/Email/src/com/android/email/activity/setup/ |
D | AccountSetupFinal.java | 62 implements AccountFinalizeFragment.Callback, 63 AccountSetupNoteDialogFragment.Callback, AccountCreationFragment.Callback, 64 AccountCheckSettingsFragment.Callback, SecurityRequiredDialogFragment.Callback, 65 CheckSettingsErrorDialogFragment.Callback, CheckSettingsProgressDialogFragment.Callback, 66 AccountSetupTypeFragment.Callback, AccountSetupNamesFragment.Callback, 67 AccountSetupOptionsFragment.Callback, AccountSetupBasicsFragment.Callback, 68 AccountServerBaseFragment.Callback, AccountSetupCredentialsFragment.Callback, 69 DuplicateAccountDialogFragment.Callback, AccountSetupABFragment.Callback {
|
D | AccountSetupNoteDialogFragment.java | 34 public static interface Callback { interface in AccountSetupNoteDialogFragment 69 final Callback a = (Callback) getActivity(); in onCreateDialog() 88 final Callback a = (Callback) getActivity();
|
D | SecurityRequiredDialogFragment.java | 45 public interface Callback { interface in SecurityRequiredDialogFragment 84 final Callback callback = (Callback) getActivity(); in onCreateDialog() 102 final Callback callback = (Callback) getActivity();
|
D | AccountSetupCredentialsFragment.java | 88 public interface Callback extends AccountSetupFragment.Callback { interface in AccountSetupCredentialsFragment 276 final Callback callback = (Callback) getActivity(); in onActivityResult() 305 final Callback callback = (Callback) getActivity(); in onClick() 308 final Callback callback = (Callback) getActivity(); in onClick()
|
D | AccountServerBaseFragment.java | 82 public interface Callback extends AccountSetupFragment.Callback { interface in AccountServerBaseFragment 274 final Callback callback = (Callback) getActivity(); in saveSettings() 295 final Callback callback = (Callback) getActivity(); in collectUserInput()
|
D | CheckSettingsErrorDialogFragment.java | 42 public interface Callback { interface in CheckSettingsErrorDialogFragment 100 final Callback callback = (Callback) getActivity(); in onCreateDialog() 130 final Callback callback = (Callback) getActivity(); in onCancel()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | RuntimeDocumentClipper.java | 222 FileOperations.Callback callback) { in copyFromClipboard() 230 FileOperations.Callback callback) { in copyFromClipboard() 240 FileOperations.Callback callback) { in copyFromClipData() 251 FileOperations.Callback callback) { in copyFromClipData() 261 FileOperations.Callback callback) { in copyFromClipData() 273 FileOperations.Callback.STATUS_REJECTED, getOpType(clipData), 0); in copyFromClipData() 280 FileOperations.Callback.STATUS_ACCEPTED, opType, 0); in copyFromClipData() 297 callback.onOperationResult(FileOperations.Callback.STATUS_REJECTED, opType, 0); in copyFromClipData()
|
D | DocumentClipper.java | 86 FileOperations.Callback callback); in copyFromClipboard() 97 FileOperations.Callback callback); in copyFromClipboard() 112 FileOperations.Callback callback); in copyFromClipData() 127 FileOperations.Callback callback); in copyFromClipData() 140 FileOperations.Callback callback); in copyFromClipData()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | InsertQuickResponseDialog.java | 52 public interface Callback { interface in InsertQuickResponseDialog 74 if (!(callbackFragment instanceof Callback)) { in newInstance() 92 if (!(getActivity() instanceof Callback)) { in onCreateDialog() 161 private Callback getCallback() { 164 return (Callback) targetFragment; 166 return (Callback) getActivity();
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
D | PaymentBackend.java | 40 public interface Callback { interface in PaymentBackend 60 private ArrayList<Callback> mCallbacks = new ArrayList<Callback>(); 118 public void registerCallback(Callback callback) { in registerCallback() 122 public void unregisterCallback(Callback callback) { in unregisterCallback() 135 for (Callback callback : mCallbacks) { in makeCallbacks()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | FormatAsPrivateStepFragment.java | 35 public interface Callback { interface in FormatAsPrivateStepFragment 77 final Callback callback = (Callback) getActivity(); in onGuidedActionClicked() 80 final Callback callback = (Callback) getActivity(); in onGuidedActionClicked()
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | ServiceListing.java | 49 private final List<Callback> mCallbacks = new ArrayList<Callback>(); 59 public void addCallback(Callback callback) { in addCallback() 63 public void removeCallback(Callback callback) { in removeCallback() 160 for (Callback callback : mCallbacks) { in reload() 193 public interface Callback { interface in ServiceListing
|
D | ZenServiceListing.java | 42 private final List<Callback> mZenCallbacks = new ArrayList<>(); 61 public void addZenCallback(Callback callback) { in addZenCallback() 65 public void removeZenCallback(Callback callback) { in removeZenCallback() 84 for (Callback callback : mZenCallbacks) { in reloadApprovedServices() 122 public interface Callback { interface in ZenServiceListing
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DragAndDropManager.java | 131 FileOperations.Callback callback); in drop() 143 FileOperations.Callback callback); in drop() 374 ActionHandler action, FileOperations.Callback callback) { in drop() 401 FileOperations.Callback callback) { in dropOnRootDocument() 404 FileOperations.Callback.STATUS_FAILED, in dropOnRootDocument() 419 FileOperations.Callback callback) { in drop() 435 @OpType int opType, FileOperations.Callback callback) { in dropChecked()
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | BlockNumberDialogFragment.java | 58 private Callback mCallback; 67 Callback callback) { in show() 195 public void setCallback(Callback callback) { in setCallback() 216 final Callback callback = mCallback; in blockNumber() 267 final Callback callback = mCallback; in unblockNumber() 317 public interface Callback { interface in BlockNumberDialogFragment
|
/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/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
D | GenericOneCameraImpl.java | 33 import com.android.camera.util.Callback; 102 mAFStateListenable.setCallback(new Callback<Integer>() { in setFocusStateListener() 122 mFocusStateListenable.setCallback(new Callback<FocusState>() { in setFocusDistanceListener() 139 Callback<Boolean> readyStateCallback = new Callback<Boolean>() { in setReadyStateChangedListener()
|