Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/
DListeners.java29 public class Listeners<ClientType extends com.android.car.Listeners.IListener> {
34 public static class ClientWithRate<ClientType extends IListener> {
35 private final ClientType mClient;
39 ClientWithRate(ClientType client, int rate) { in ClientWithRate()
67 ClientType getClient() { in getClient()
72 private final LinkedList<ClientWithRate<ClientType>> mClients = new LinkedList<>();
92 for (ClientWithRate<ClientType> clientWithRate: mClients) { in updateRate()
105 void addClientWithRate(ClientWithRate<ClientType> clientWithRate) { in addClientWithRate()
109 void removeClientWithRate(ClientWithRate<ClientType> clientWithRate) { in removeClientWithRate()
117 Iterable<ClientWithRate<ClientType>> getClients() { in getClients()
[all …]
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogProcessService.cpp168 return unregisterClientLocked(kTimeouts, binder, ClientType::Regular); in unregisterClient()
188 unregisterClientLocked(timeouts, binder, ClientType::Service); in unregisterCarWatchdogService()
448 sp<IBinder> binder, ClientType clientType) { in unregisterClientLocked()
449 const char* clientName = clientType == ClientType::Regular ? "client" : "watchdog service"; in unregisterClientLocked()
838 type == ClientType::Regular ? "regular" : "watchdog service"); in toString()
843 if (type == ClientType::Regular) { in getBinder()
851 if (type == ClientType::Regular) { in linkToDeath()
861 if (type == ClientType::Regular) { in unlinkToDeath()
870 if (type == ClientType::Regular) { in checkIfAlive()
877 if (type == ClientType::Regular) { in prepareProcessTermination()
DWatchdogProcessService.h86 enum ClientType { enum
95 type(ClientType::Regular), in ClientInfo()
101 type(ClientType::Service), in ClientInfo()
125 ClientType type;
194 ClientType clientType);