Hi Irfan, Thanks! I got piece of code where they are setting to 6 seconds.
packages/apps/Settings/src/com/android/settings/wifi/WifiLayer.java /** The delay between scans when we're continually scanning. */ private static final int CONTINUOUS_SCAN_DELAY_MS = 10000; it was 6000. to cross check i made it to 10000, it is taking 10 sec. I have to check where they are setting to 15sec if we are outside the wifi settings. Thanks Gururaja B O On Aug 26, 6:43 pm, Gururaj BO <guru.nav...@gmail.com> wrote: > Hi Irfan, > > I am looking where they are specifying 6s when we are in settings? and where > we set this time when initiating the scan? > > packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java > frameworks/base/wifi/java/android/net/wifi/WifiStateTracker.java > > I looked these files. > > Thanks > Gururaja B O > > I did not get where he is specifying 6s > > On Thu, Aug 26, 2010 at 6:21 PM, Irfan Sheriff <isher...@gmail.com> wrote: > > Look at WifiSettings & WifiStateTracker. Its more frequent when you are in > > the settings (6s) than otherwise (15s). > > > The WifiManager API allows initiatiation of scans at the rate an app wants > > to. > > > On Thu, Aug 26, 2010 at 5:20 AM, guru <guru.nav...@gmail.com> wrote: > > >> Hi all > > >> what is the default time gap between successive scan request in wifi.? > >> can we increase it? > > >> Thanks > >> Gururaja B O > > >> -- > >> unsubscribe: > >> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > >> website:http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting