Home
last modified time | relevance | path

Searched refs:Callback (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinDialogFragment.java32 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/
DForegroundUtils.java40 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()
DP2pLinkManager.java135 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/
DInCallServiceImpl.java38 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/
DCarInstrumentClusterManager.java60 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/
DEmergencyCallStateListener.java41 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/
DTestDocumentClipper.java29 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/
DSnepServer.java44 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/
DAccountSetupFinal.java62 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 {
DAccountSetupNoteDialogFragment.java34 public static interface Callback { interface in AccountSetupNoteDialogFragment
69 final Callback a = (Callback) getActivity(); in onCreateDialog()
88 final Callback a = (Callback) getActivity();
DSecurityRequiredDialogFragment.java45 public interface Callback { interface in SecurityRequiredDialogFragment
84 final Callback callback = (Callback) getActivity(); in onCreateDialog()
102 final Callback callback = (Callback) getActivity();
DAccountSetupCredentialsFragment.java88 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()
DAccountServerBaseFragment.java82 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()
DCheckSettingsErrorDialogFragment.java42 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/
DRuntimeDocumentClipper.java222 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()
DDocumentClipper.java86 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/
DInsertQuickResponseDialog.java52 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/
DPaymentBackend.java40 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/
DFormatAsPrivateStepFragment.java35 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/
DServiceListing.java49 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
DZenServiceListing.java42 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/
DDragAndDropManager.java131 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/
DBlockNumberDialogFragment.java58 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/
DFilteredCallback.java19 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/
DGenericOneCameraImpl.java33 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()

12345678910>>...13