Add listener for low latency WifiLock

Low latency lock can be acquired by multiple applications. The Wi-Fi
device will enter into low latency mode when all of the following
conditions are true,
	1. Wi-Fi is connected
	2. Screen is ON
	3. Any of the application which acquired the low latency lock
	   is in foreground or foreground service in case of exempted
	   applications.

A low latency lock listener can listen on the following callbacks,
	1. onActivated - Called when lock enters into low latency mode.
	2. onOwnershipChanged - Called when an application acquires or
	   releases a lock.
	3. onActiveUsersChanged - Called when the application acquiring
	   the lock satisfies or does not satisfy low latency
	   conditions.

Bug: 277556184
Test: atest com.android.server.wifi
Change-Id: Ifd66200d70525ca8ea326e94d4ed5796167d8e7b
8 files changed