Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DRoleListenerMultiplexer.kt48 val userCallbacks = callbacks.getOrPut(user, { mutableMapOf() }) in <lambda>() constant
49 wasEmpty = userCallbacks.isEmpty() in <lambda>()
51 userCallbacks.getOrPut(roleName, { mutableListOf() }).add(callback) in <lambda>()
62 val userCallbacks = callbacks[user] ?: return in <lambda>() constant
63 if (!userCallbacks.contains(roleName)) { in <lambda>()
67 if (!userCallbacks[roleName]!!.remove(callback)) { in <lambda>()
71 if (userCallbacks[roleName]!!.isEmpty()) { in <lambda>()
72 userCallbacks.remove(roleName) in <lambda>()
75 userCallbacksEmpty = userCallbacks.isEmpty() in <lambda>()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java774 ChildSessionCallback userCallbacks, in newChildSessionStateMachine() argument
778 ikeContext, childSessionSmConfig, userCallbacks, childSmCallback); in newChildSessionStateMachine()
1184 public void onChildSessionClosed(ChildSessionCallback userCallbacks) { in onChildSessionClosed() argument
1186 mChildCbToSessions.remove(userCallbacks); in onChildSessionClosed()
DChildSessionStateMachine.java341 void onChildSessionClosed(ChildSessionCallback userCallbacks); in onChildSessionClosed() argument