Home
last modified time | relevance | path

Searched refs:newConnectionType (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/net/android/java/src/org/chromium/net/
DNetworkChangeNotifier.java132 public void onConnectionTypeChanged(int newConnectionType) { in setAutoDetectConnectivityStateInternal()
133 updateCurrentConnectionType(newConnectionType); in setAutoDetectConnectivityStateInternal()
163 private void updateCurrentConnectionType(int newConnectionType) { in updateCurrentConnectionType() argument
164 mCurrentConnectionType = newConnectionType; in updateCurrentConnectionType()
165 notifyObserversOfConnectionTypeChange(newConnectionType); in updateCurrentConnectionType()
171 void notifyObserversOfConnectionTypeChange(int newConnectionType) { in notifyObserversOfConnectionTypeChange() argument
173 nativeNotifyConnectionTypeChanged(nativeChangeNotifier, newConnectionType); in notifyObserversOfConnectionTypeChange()
176 observer.onConnectionTypeChanged(newConnectionType); in notifyObserversOfConnectionTypeChange()
205 private native void nativeNotifyConnectionTypeChanged(long nativePtr, int newConnectionType); in nativeNotifyConnectionTypeChanged() argument
DNetworkChangeNotifierAutoDetect.java100 public void onConnectionTypeChanged(int newConnectionType); in onConnectionTypeChanged() argument
224 int newConnectionType = getCurrentConnectionType(); in connectionTypeChanged() local
226 if (newConnectionType == mConnectionType && newWifiSSID.equals(mWifiSSID)) in connectionTypeChanged()
229 mConnectionType = newConnectionType; in connectionTypeChanged()
232 mObserver.onConnectionTypeChanged(newConnectionType); in connectionTypeChanged()