Connection management: keep one less copy of accept list
Currently, shim layer keeps track of devices added/removed to accept list and completed connections. All this is used for logging, and rejecting connect request if accept list is full. Controller accept list size on modern devices is 128, so this should never be reached. To be safe, this logic can be maintained in connection_manager.cc, where we alread keep track of accept list devices. connection_manager.cc puts into dumpsys information on all devices attempting connection, including wether they are in accept list, and what clients attempt conneciton. Therefore, this tracking of accept list becomes redundant and can be removed. Test: mma -j32 Bug: 372202918 Flag: EXEMPT, <reason> Change-Id: I02a56327714a5ed4eaa5219da28160f1095181d8
Loading
Please register or sign in to comment