Home
last modified time | relevance | path

Searched refs:wrappedListener (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/template/
DRequireScrollMixinTest.java103 OnClickListener wrappedListener = mock(OnClickListener.class); in testCreateOnClickListener() local
105 requireScrollMixin.createOnClickListener(wrappedListener); in testCreateOnClickListener()
110 verify(wrappedListener, never()).onClick(any(View.class)); in testCreateOnClickListener()
116 verify(wrappedListener).onClick(any(View.class)); in testCreateOnClickListener()
149 OnClickListener wrappedListener = mock(OnClickListener.class); in testRequireScrollWithButton() local
150 requireScrollMixin.requireScrollWithButton(button, "TestMoreLabel", wrappedListener); in testRequireScrollWithButton()
159 verify(wrappedListener, never()).onClick(eq(button)); in testRequireScrollWithButton()
165 verify(wrappedListener).onClick(eq(button)); in testRequireScrollWithButton()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiControlManager.java758 IHdmiHotplugEventListener wrappedListener = getHotplugEventListenerWrapper(listener); in addHotplugEventListener() local
759 mHotplugEventListeners.put(listener, wrappedListener); in addHotplugEventListener()
761 mService.addHotplugEventListener(wrappedListener); in addHotplugEventListener()
778 IHdmiHotplugEventListener wrappedListener = mHotplugEventListeners.remove(listener); in removeHotplugEventListener() local
779 if (wrappedListener == null) { in removeHotplugEventListener()
784 mService.removeHotplugEventListener(wrappedListener); in removeHotplugEventListener()
822 IHdmiControlStatusChangeListener wrappedListener =
824 mHdmiControlStatusChangeListeners.put(listener, wrappedListener);
826 mService.addHdmiControlStatusChangeListener(wrappedListener);
845 IHdmiControlStatusChangeListener wrappedListener =
[all …]
DHdmiClient.java108 IHdmiVendorCommandListener wrappedListener = getListenerWrapper(listener); in setVendorCommandListener() local
109 mService.addVendorCommandListener(wrappedListener, getDeviceType()); in setVendorCommandListener()
110 mIHdmiVendorCommandListener = wrappedListener; in setVendorCommandListener()
/frameworks/base/core/java/android/print/
DPrintManager.java324 PrintJobStateChangeListenerWrapper wrappedListener = in addPrintJobStateChangeListener() local
327 mService.addPrintJobStateChangeListener(wrappedListener, mAppId, mUserId); in addPrintJobStateChangeListener()
328 mPrintJobStateChangeListeners.put(listener, wrappedListener); in addPrintJobStateChangeListener()
348 PrintJobStateChangeListenerWrapper wrappedListener = in removePrintJobStateChangeListener() local
350 if (wrappedListener == null) { in removePrintJobStateChangeListener()
356 wrappedListener.destroy(); in removePrintJobStateChangeListener()
358 mService.removePrintJobStateChangeListener(wrappedListener, mUserId); in removePrintJobStateChangeListener()
577 PrintServicesChangeListenerWrapper wrappedListener = in addPrintServicesChangeListener() local
580 mService.addPrintServicesChangeListener(wrappedListener, mUserId); in addPrintServicesChangeListener()
581 mPrintServicesChangeListeners.put(listener, wrappedListener); in addPrintServicesChangeListener()
[all …]
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java732 PopupWindow.OnDismissListener wrappedListener = null; in setOnDismissListener() local
734 wrappedListener = new PopupWindow.OnDismissListener() { in setOnDismissListener()
740 mPopup.setOnDismissListener(wrappedListener); in setOnDismissListener()
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java854 ResultReceiver wrappedListener = new ResultReceiver(null /* handler */) {
863 requestLatestTetheringEntitlementResult(type, wrappedListener,
/frameworks/base/core/java/android/net/
DConnectivityManager.java2914 ResultReceiver wrappedListener = new ResultReceiver(null) { in getLatestTetheringEntitlementResult() local
2924 mTetheringManager.requestLatestTetheringEntitlementResult(type, wrappedListener, in getLatestTetheringEntitlementResult()