Home
last modified time | relevance | path

Searched refs:actionListener (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pShellCommand.java62 WifiP2pManager.ActionListener actionListener = new WifiP2pManager.ActionListener() { in handleCommand() local
89 mWifiP2pManager.discoverPeers(sWifiP2pChannel, actionListener); in handleCommand()
97 mWifiP2pManager.discoverPeersOnSocialChannels(sWifiP2pChannel, actionListener); in handleCommand()
120 sWifiP2pChannel, frequencyMhz, actionListener); in handleCommand()
124 mWifiP2pManager.stopPeerDiscovery(sWifiP2pChannel, actionListener); in handleCommand()
128 mWifiP2pManager.discoverServices(sWifiP2pChannel, actionListener); in handleCommand()
132 mWifiP2pManager.stopPeerDiscovery(sWifiP2pChannel, actionListener); in handleCommand()
167 mWifiP2pManager.removeClient(sWifiP2pChannel, peerAddress, actionListener); in handleCommand()
171 mWifiP2pManager.cancelConnect(sWifiP2pChannel, actionListener); in handleCommand()
175 mWifiP2pManager.createGroup(sWifiP2pChannel, actionListener); in handleCommand()
[all …]
/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/direct/
DWifiDirectSnippet.java189 WifiP2pActionListener actionListener = new WifiP2pActionListener("RemoveGroup"); in closeP2p() local
190 mP2pManager.removeGroup(mChannel, actionListener); in closeP2p()
191 actionListener.await(); in closeP2p()
210 WifiP2pActionListener actionListener = new WifiP2pActionListener("CreateGroup"); in p2pCreateGroup() local
213 mP2pManager.createGroup(mChannel, wifiP2pConfig, actionListener); in p2pCreateGroup()
214 actionListener.await(); in p2pCreateGroup()
230 WifiP2pActionListener actionListener = new WifiP2pActionListener("Connect"); in p2pConnect() local
234 mP2pManager.connect(mChannel, wifiP2pConfig, actionListener); in p2pConnect()
235 actionListener.await(); in p2pConnect()
DWifiP2pManagerSnippet.java298 ActionListener actionListener = new ActionListener(callbackId); in wifiP2pCreateGroup() local
304 mP2pManager.createGroup(channel, config, actionListener); in wifiP2pCreateGroup()
/packages/modules/Wifi/tests/hostsidetests/multidevices/test/direct/snippet/
DWifiP2pManagerSnippet.java99 WifiP2pActionListener actionListener = new WifiP2pActionListener(callbackId); in p2pCreateGroup() local
101 mWifiP2pManager.createGroup(mChannel, actionListener); in p2pCreateGroup()
104 mChannel, JsonDeserializer.jsonToWifiP2pConfig(wifiP2pConfig), actionListener); in p2pCreateGroup()
115 WifiP2pActionListener actionListener = new WifiP2pActionListener(callbackId); in p2pConnect() local
117 mChannel, JsonDeserializer.jsonToWifiP2pConfig(wifiP2pConfig), actionListener); in p2pConnect()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java317 public VerticalListAdapter(ActionListener actionListener, List<ListItem> choices) { in VerticalListAdapter() argument
319 mActionListener = actionListener; in VerticalListAdapter()
542 ActionListener actionListener = new ActionListener() {
560 mListView.setAdapter(new VerticalListAdapter(actionListener, listItems));
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java1064 IActionListener.Stub actionListener = new IActionListener.Stub() { in onCommand() local
1078 mWifiService.connect(config, -1, actionListener, SHELL_PACKAGE_NAME, in onCommand()
1084 IActionListener.Stub actionListener = new IActionListener.Stub() { in onCommand() local
1098 mWifiService.save(config, actionListener, SHELL_PACKAGE_NAME); in onCommand()
1104 IActionListener.Stub actionListener = new IActionListener.Stub() { in onCommand() local
1117 mWifiService.forget(Integer.parseInt(networkId), actionListener); in onCommand() local
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.kt576 snackbar.setAction(actionResId, mSilentSetting.actionListener) in run()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DDataModel.kt93 val actionListener: View.OnClickListener? constant in com.android.deskclock.data.DataModel.SilentSetting