Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/
DLegacyTypeTrackerTest.kt58 doReturn(false).`when`(this).isDefaultNetwork(any()) in <lambda>()
129 doReturn(false).`when`(mMockService).isDefaultNetwork(mobileNai1) in testBroadcastOnDisconnect()
133 doReturn(false).`when`(mMockService).isDefaultNetwork(mobileNai2) in testBroadcastOnDisconnect()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java744 boolean isDefaultNetwork) { in maybeLogBroadcast() argument
748 + " isDefaultNetwork=" + isDefaultNetwork); in maybeLogBroadcast()
768 final boolean isDefaultNetwork = mService.isDefaultNetwork(nai); in add()
769 if ((list.size() == 1) || isDefaultNetwork) { in add()
770 maybeLogBroadcast(nai, DetailedState.CONNECTED, type, isDefaultNetwork); in add()
799 mService.isDefaultNetwork(replacement)); in remove()
815 final boolean isDefault = mService.isDefaultNetwork(nai); in update()
2898 final boolean wasDefault = isDefaultNetwork(nai); in handleNetworkTested()
3276 final boolean wasDefault = isDefaultNetwork(nai); in handleAsyncChannelHalfConnect()
3320 final boolean wasDefault = isDefaultNetwork(nai); in disconnectAndDestroyNetwork()
[all …]