Home
last modified time | relevance | path

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

/aosp12/packages/modules/Connectivity/service/src/com/android/server/
H A DConnectivityService.java828 private final ArrayList<NetworkAgentInfo> mTypeLists[]; field in ConnectivityService.LegacyTypeTracker
882 if (mTypeLists[type] != null) { in addSupportedType()
886 mTypeLists[type] = new ArrayList<>(); in addSupportedType()
894 synchronized (mTypeLists) { in getNetworkForType()
896 return mTypeLists[type].get(0); in getNetworkForType()
903 synchronized (mTypeLists) { in getRestoreTimerForType()
967 ArrayList<NetworkAgentInfo> list = mTypeLists[type]; in add()
971 synchronized (mTypeLists) { in add()
999 synchronized (mTypeLists) { in remove()
1054 synchronized (mTypeLists) { in dump()
[all …]
/aosp12/packages/modules/Connectivity/services/core/java/com/android/server/
H A DConnectivityService.java538 private ArrayList<NetworkAgentInfo> mTypeLists[]; field in ConnectivityService.LegacyTypeTracker
541 mTypeLists = (ArrayList<NetworkAgentInfo>[]) in LegacyTypeTracker()
546 if (mTypeLists[type] != null) { in addSupportedType()
550 mTypeLists[type] = new ArrayList<NetworkAgentInfo>(); in addSupportedType()
558 return isNetworkTypeValid(type) && mTypeLists[type] != null; in isTypeSupported()
562 if (isTypeSupported(type) && !mTypeLists[type].isEmpty()) { in getNetworkForType()
563 return mTypeLists[type].get(0); in getNetworkForType()
575 ArrayList<NetworkAgentInfo> list = mTypeLists[type]; in add()
591 for (int type = 0; type < mTypeLists.length; type++) { in remove()
592 ArrayList<NetworkAgentInfo> list = mTypeLists[type]; in remove()