Home
last modified time | relevance | path

Searched refs:AutomaticOnOffKeepalive (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DAutomaticOnOffKeepaliveTracker.java173 private final ArrayList<AutomaticOnOffKeepalive> mAutomaticOnOffKeepalives = new ArrayList<>();
196 public class AutomaticOnOffKeepalive implements IBinder.DeathRecipient { class in AutomaticOnOffKeepaliveTracker
210 AutomaticOnOffKeepalive(@NonNull final KeepaliveTracker.KeepaliveInfo ki, in AutomaticOnOffKeepalive() method in AutomaticOnOffKeepaliveTracker.AutomaticOnOffKeepalive
300 public AutomaticOnOffKeepalive withKeepaliveInfo(KeepaliveTracker.KeepaliveInfo ki) in withKeepaliveInfo()
302 return new AutomaticOnOffKeepalive( in withKeepaliveInfo()
360 private void startTcpPollingAlarm(@NonNull AutomaticOnOffKeepalive ki) { in startTcpPollingAlarm()
373 public void handleMonitorAutomaticKeepalive(@NonNull final AutomaticOnOffKeepalive ki, in handleMonitorAutomaticKeepalive()
387 private void handleMonitorTcpConnections(@NonNull AutomaticOnOffKeepalive ki, int vpnNetId) { in handleMonitorTcpConnections()
411 public void handleMaybeResumeKeepalive(@NonNull AutomaticOnOffKeepalive autoKi) { in handleMaybeResumeKeepalive()
442 public AutomaticOnOffKeepalive getKeepaliveForBinder(@NonNull final IBinder token) { in getKeepaliveForBinder()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DAutomaticOnOffKeepaliveTrackerTest.java77 import com.android.server.connectivity.AutomaticOnOffKeepaliveTracker.AutomaticOnOffKeepalive;
372 public AutomaticOnOffKeepaliveTracker.AutomaticOnOffKeepalive mLastAutoKi = null;
466 private void doPauseKeepalive(AutomaticOnOffKeepalive autoKi) throws Exception { in doPauseKeepalive()
473 private void doResumeKeepalive(AutomaticOnOffKeepalive autoKi) throws Exception { in doResumeKeepalive()
480 private void doStopKeepalive(AutomaticOnOffKeepalive autoKi) throws Exception { in doStopKeepalive()
560 private AutomaticOnOffKeepalive getAutoKiForBinder(IBinder binder) { in getAutoKiForBinder()
593 final AutomaticOnOffKeepalive autoKi = getAutoKiForBinder(testInfo.binder); in testStartNattKeepalive_valid()
917 final AutomaticOnOffKeepalive autoKi1 = getAutoKiForBinder(testInfo1.binder); in testTwoKeepalives_startAfterPause()
979 final AutomaticOnOffKeepalive autoKi1 = getAutoKiForBinder(testInfo1.binder); in testDumpDoesNotCrash()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java335 import com.android.server.connectivity.AutomaticOnOffKeepaliveTracker.AutomaticOnOffKeepalive;
6680 final AutomaticOnOffKeepalive ki =
6710 final AutomaticOnOffKeepalive ki = mKeepaliveTracker.getKeepaliveForBinder(