Home
last modified time | relevance | path

Searched refs:mActionListener (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/view/
DQCTileView.java49 private QCActionListener mActionListener; field in QCTileView
75 mActionListener = listener; in setActionListener()
111 if (mActionListener != null) { in onChanged()
112 mActionListener.onQCAction(qcTile, qcTile.getDisabledClickAction()); in onChanged()
120 if (mActionListener != null) { in onChanged()
121 mActionListener.onQCAction(qcTile, qcTile.getDisabledClickActionHandler()); in onChanged()
137 if (mActionListener != null) { in onChanged()
138 mActionListener.onQCAction(qcTile, qcTile.getPrimaryAction()); in onChanged()
145 if (mActionListener != null) { in onChanged()
146 mActionListener.onQCAction(qcTile, qcTile.getActionHandler()); in onChanged()
DQCView.java36 private QCActionListener mActionListener; field in QCView
58 mActionListener = listener; in setActionListener()
60 ((QCTileView) mChildObserver).setActionListener(mActionListener); in setActionListener()
62 ((QCListView) mChildObserver).setActionListener(mActionListener); in setActionListener()
91 view.setActionListener(mActionListener); in onChanged()
97 view.setActionListener(mActionListener); in onChanged()
DQCListView.java35 private QCActionListener mActionListener; field in QCListView
65 mActionListener = listener; in setActionListener()
68 view.setActionListener(mActionListener); in setActionListener()
88 view.setActionListener(mActionListener); in onChanged()
92 view.setActionListener(mActionListener); in onChanged()
DQCRowView.java82 private QCActionListener mActionListener; field in QCRowView
203 mActionListener = listener; in setActionListener()
468 if (mActionListener != null) { in fireAction()
469 mActionListener.onQCAction(item, item.getDisabledClickAction()); in fireAction()
476 if (mActionListener != null) { in fireAction()
477 mActionListener.onQCAction(item, item.getDisabledClickActionHandler()); in fireAction()
486 if (mActionListener != null) { in fireAction()
487 mActionListener.onQCAction(item, item.getPrimaryAction()); in fireAction()
494 if (mActionListener != null) { in fireAction()
495 mActionListener.onQCAction(item, item.getActionHandler()); in fireAction()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DConnectHelperTest.java57 private ActionListenerWrapper mActionListener; field in ConnectHelperTest
77 mConnectHelper.connectToNetwork(result, mActionListener, TEST_CALLING_UID, in verifyConnectNetworkSuccess()
85 verify(mActionListener, never()).sendSuccess(); in verifyConnectNetworkSuccess()
86 verify(mActionListener, never()).sendFailure(anyInt()); in verifyConnectNetworkSuccess()
103 mConnectHelper.connectToNetwork(new NetworkUpdateResult(TEST_NETWORK_ID), mActionListener, in connectToNetwork_invalidNetId_failure()
109 verify(mActionListener).sendFailure(WifiManager.ActionListener.FAILURE_INTERNAL_ERROR); in connectToNetwork_invalidNetId_failure()
110 verify(mActionListener, never()).sendSuccess(); in connectToNetwork_invalidNetId_failure()
DWifiServiceImplTest.java465 @Mock IActionListener mActionListener; field in WifiServiceImplTest
5600 mActionListener, TEST_PACKAGE_NAME, mExtras); in connectToNewNetwork_success()
5633 mActionListener, TEST_PACKAGE_NAME, mExtras); in connectToNewNetwork_failure()
5640 verify(mActionListener).onFailure(WifiManager.ActionListener.FAILURE_INTERNAL_ERROR); in connectToNewNetwork_failure()
5641 verify(mActionListener, never()).onSuccess(); in connectToNewNetwork_failure()
5652 mWifiServiceImpl.connect(null, TEST_NETWORK_ID, mActionListener, TEST_PACKAGE_NAME, in connectToExistingNetwork()
5678 mWifiServiceImpl.connect(null, TEST_NETWORK_ID, mActionListener, TEST_PACKAGE_NAME, in connectToSimBasedNetworkWhenSimPresent()
5702 mWifiServiceImpl.connect(null, TEST_NETWORK_ID, mActionListener, TEST_PACKAGE_NAME, in connectToSimBasedNetworkWhenSimAbsent()
5727 mWifiServiceImpl.connect(null, TEST_NETWORK_ID, mActionListener, TEST_PACKAGE_NAME, in connectToSimBasedNetworkRequiresImsiEncryptionButNotReady()
5752 mWifiServiceImpl.connect(null, TEST_NETWORK_ID, mActionListener, TEST_PACKAGE_NAME, in connectToSimBasedNetworkOobPseudonymEnabledButNotAvailable()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiScanner.java336 private ActionListener mActionListener; field in WifiScanner.ServiceListener
340 mActionListener = listener; in ServiceListener()
346 if (mActionListener == null) return; in onSuccess()
348 mExecutor.execute(mActionListener::onSuccess); in onSuccess()
353 if (mActionListener == null) return; in onFailure()
356 mActionListener.onFailure(reason, description)); in onFailure()
357 removeListener(mActionListener); in onFailure()
365 if (mActionListener == null) return; in onResults()
366 if (!(mActionListener instanceof ScanListener)) return; in onResults()
367 ScanListener scanListener = (ScanListener) mActionListener; in onResults()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java315 private final ActionListener mActionListener; field in SelectFromListWizardFragment.VerticalListAdapter
319 mActionListener = actionListener; in VerticalListAdapter()
345 if (v == null || v.getWindowToken() == null || mActionListener == null) { in createClickListener()
348 mActionListener.onClick(item); in createClickListener()
357 if (v == null || v.getWindowToken() == null || mActionListener == null
361 mActionListener.onFocus(item);
/packages/apps/DeskClock/src/com/android/deskclock/data/
DDataModel.kt73 private val mActionListener: View.OnClickListener? constant in com.android.deskclock.data.DataModel.SilentSetting
79 mActionListener = null),
94 get() = mActionListener