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.h140 enum ClientType { enum
152 type(ClientType::Regular), in ClientInfo()
160 type(ClientType::Service), in ClientInfo()
185 ClientType type;
239 ClientType clientType);
DWatchdogProcessService.cpp243 return unregisterClientLocked(kTimeouts, binder, ClientType::Regular); in unregisterClient()
269 unregisterClientLocked(timeouts, binder, ClientType::Service); in unregisterCarWatchdogService()
597 sp<IBinder> binder, ClientType clientType) { in unregisterClientLocked()
598 const char* clientName = clientType == ClientType::Regular ? "client" : "watchdog service"; in unregisterClientLocked()
1037 type == ClientType::Regular ? "regular" : "watchdog service"); in toString()
1042 if (type == ClientType::Regular) { in getBinder()
1050 if (type == ClientType::Regular) { in linkToDeath()
1060 if (type == ClientType::Regular) { in unlinkToDeath()
1069 if (type == ClientType::Regular) { in checkIfAlive()
1076 if (type == ClientType::Regular) { in prepareProcessTermination()