Lines Matching refs:enabled
136 public void setHotspotEnabled(boolean enabled) {
137 if (enabled) {
154 * Sends a hotspot changed callback with the new enabled status. Wraps
158 * @param enabled whether the hotspot is enabled
160 private void fireHotspotChangedCallback(boolean enabled) {
161 fireHotspotChangedCallback(enabled, mNumConnectedDevices);
165 * Sends a hotspot changed callback with the new enabled status & the number of devices
169 * @param enabled whether the hotspot is enabled
172 private void fireHotspotChangedCallback(boolean enabled, int numConnectedDevices) {
175 callback.onHotspotChanged(enabled, numConnectedDevices);
235 // Update internal hotspot state for tracking before using any enabled/callback methods.
239 // Reset num devices if the hotspot is no longer enabled so we don't get ghost