Loading wifi/java/android/net/wifi/IWifiManager.aidl +4 −0 Original line number Diff line number Diff line Loading @@ -169,5 +169,9 @@ interface IWifiManager void factoryReset(); Network getCurrentNetwork(); byte[] retrieveBackupData(); void restoreBackupData(in byte[] data); } wifi/java/android/net/wifi/WifiManager.java +24 −0 Original line number Diff line number Diff line Loading @@ -2737,4 +2737,28 @@ public class WifiManager { throw e.rethrowFromSystemServer(); } } /** * Retrieve the data to be backed to save the current state. * @hide */ public byte[] retrieveBackupData() { try { return mService.retrieveBackupData(); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } } /** * Restore state from the backed up data. * @hide */ public void restoreBackupData(byte[] data) { try { mService.restoreBackupData(data); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } } } Loading
wifi/java/android/net/wifi/IWifiManager.aidl +4 −0 Original line number Diff line number Diff line Loading @@ -169,5 +169,9 @@ interface IWifiManager void factoryReset(); Network getCurrentNetwork(); byte[] retrieveBackupData(); void restoreBackupData(in byte[] data); }
wifi/java/android/net/wifi/WifiManager.java +24 −0 Original line number Diff line number Diff line Loading @@ -2737,4 +2737,28 @@ public class WifiManager { throw e.rethrowFromSystemServer(); } } /** * Retrieve the data to be backed to save the current state. * @hide */ public byte[] retrieveBackupData() { try { return mService.retrieveBackupData(); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } } /** * Restore state from the backed up data. * @hide */ public void restoreBackupData(byte[] data) { try { mService.restoreBackupData(data); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } } }