Home
last modified time | relevance | path

Searched refs:BinderInterface (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DBinderInterfaceContainer.java44 public static class BinderInterface<T extends IInterface> implements IBinder.DeathRecipient { class in BinderInterfaceContainer
48 public BinderInterface(BinderInterfaceContainer<T> container, T binderInterface) { in BinderInterface() method in BinderInterfaceContainer.BinderInterface
65 void onBinderDeath(BinderInterface<T> bInterface); in onBinderDeath()
73 private final Map<IBinder, BinderInterface<T>> mBinders = new HashMap<>();
95 BinderInterface<T> bInterface = mBinders.get(binder); in addBinder()
99 bInterface = new BinderInterface<T>(this, binderInterface); in addBinder()
116 BinderInterface<T> bInterface = mBinders.get(binder); in removeBinder()
128 public BinderInterface<T> getBinderInterface(T binderInterface) { in getBinderInterface()
138 public void addBinderInterface(BinderInterface<T> bInterface) { in addBinderInterface()
153 public Collection<BinderInterface<T>> getInterfaces() { in getInterfaces()
[all …]
DAppFocusService.java223 for (BinderInterfaceContainer.BinderInterface<IAppFocusListener> client : in requestAppFocus()
274 for (BinderInterfaceContainer.BinderInterface<IAppFocusListener> client : in abandonAppFocus()
308 BinderInterfaceContainer.BinderInterface<IAppFocusOwnershipCallback> bInterface) { in onBinderDeath()
323 for (BinderInterfaceContainer.BinderInterface<IAppFocusOwnershipCallback> client : in dump()
444 BinderInterfaceContainer.BinderInterface<IAppFocusListener> {
487 BinderInterfaceContainer.BinderInterface<IAppFocusOwnershipCallback> {
DCarProjectionService.java75 import com.android.car.BinderInterfaceContainer.BinderInterface;
554 for (BinderInterface<ICarProjectionStatusListener> listener : in notifyProjectionStatusChanged()
894 BinderInterfaceContainer.BinderInterface<ICarProjectionKeyEventHandler> iface) { in onBinderDeath()
904 for (BinderInterfaceContainer.BinderInterface<ICarProjectionKeyEventHandler> in dump()
937 for (BinderInterfaceContainer.BinderInterface<ICarProjectionKeyEventHandler> in onKeyEvent()
968 for (BinderInterfaceContainer.BinderInterface<ICarProjectionKeyEventHandler> in computeHandledEventsLocked()
1007 BinderInterfaceContainer.BinderInterface<ICarProjectionKeyEventHandler> {
/packages/services/Car/tests/carservice_unit_test/src/android/car/
DBinderInterfaceContainerTest.java27 import com.android.car.BinderInterfaceContainer.BinderInterface;
44 Collection<BinderInterface<IInterface>> interfaces = container.getInterfaces(); in getInterfaces_returnsCopy()
50 List<BinderInterface<IInterface>> interfaceList = new ArrayList<>(interfaces); in getInterfaces_returnsCopy()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAppFocusServiceTest.java123 BinderInterfaceContainer.BinderInterface<IAppFocusOwnershipCallback> binder = in testOwnerBinderDeath()
138 BinderInterfaceContainer.BinderInterface<IAppFocusListener> binder = in testListenerBinderDeath()