Home
last modified time | relevance | path

Searched refs:ClientType (Results 1 – 9 of 9) 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()
63 ClientType getClient() { in getClient()
68 private final LinkedList<ClientWithRate<ClientType>> mClients = new LinkedList<>();
88 for (ClientWithRate<ClientType> clientWithRate: mClients) { in updateRate()
101 void addClientWithRate(ClientWithRate<ClientType> clientWithRate) { in addClientWithRate()
105 void removeClientWithRate(ClientWithRate<ClientType> clientWithRate) { in removeClientWithRate()
113 Iterable<ClientWithRate<ClientType>> getClients() { in getClients()
[all …]
/packages/services/Car/car-lib/src/com/android/car/internal/property/
DSubscriptionManager.java73 public final class SubscriptionManager<ClientType> {
119 private static final class RateInfoForClients<ClientType> {
120 private final ArrayMap<ClientType, RateInfo> mRateInfoByClient;
177 Set<ClientType> getClients() { in getClients()
181 float getUpdateRateHz(ClientType client) { in getUpdateRateHz()
185 boolean isVariableUpdateRateEnabled(ClientType client) { in isVariableUpdateRateEnabled()
189 float getResolution(ClientType client) { in getResolution()
196 void add(ClientType client, float updateRateHz, boolean enableVariableUpdateRate, in add()
225 void remove(ClientType client) { in remove()
262 PairSparseArray<RateInfoForClients<ClientType>> mCurrentRateInfoByClientByPropIdAreaId =
[all …]
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogProcessService.h166 enum ClientType { enum
180 kType(ClientType::Regular), in ClientInfo()
189 kType(ClientType::Service), in ClientInfo()
205 const ClientType kType;
257 const ndk::SpAIBinder& binder, ClientType clientType);
298 static int toProtoClientType(ClientType clientType);
DWatchdogProcessService.cpp306 return unregisterClientLocked(kTimeouts, client->asBinder(), ClientType::Regular); in unregisterClient()
343 unregisterClientLocked(timeouts, binder, ClientType::Service); in unregisterCarWatchdogService()
818 ClientType clientType) { in unregisterClientLocked()
819 const char* clientName = clientType == ClientType::Regular ? "client" : "service"; in unregisterClientLocked()
1170 if (clientInfo.kType == ClientType::Service) { in getWatchdogServiceHelperLocked()
1353 kType == ClientType::Regular ? "regular" : "watchdog service"); in toString()
1358 if (kType == ClientType::Regular) { in getAIBinder()
1366 if (kType == ClientType::Regular) { in linkToDeath()
1378 if (kType == ClientType::Regular) { in unlinkToDeath()
1390 if (kType == ClientType::Regular) { in checkIfAlive()
[all …]
/packages/services/Car/service/proto/android/car/watchdog/
Dhealth_check_client_info.proto25 enum ClientType { enum
40 optional ClientType client_type = 3; field
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/adselection/
DGetAdSelectionDataCommand.java34 …port com.android.adservices.service.proto.bidding_auction_servers.BiddingAuctionServers.ClientType;
154 .setClientType(ClientType.ANDROID) in getBidsRawRequestForBuyer()
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java156 public record ClientType(Integer requestId) { in ClientType() method in PropertyHalService
422 private final SubscriptionManager<ClientType> mSubManager = new SubscriptionManager<>();
1018 mSubManager.stageUnregister(new ClientType(pendingRequest.getServiceRequestId()), in cleanupPendingAsyncSetRequestLocked()
1216 mSubManager.stageNewOptions(new ClientType(CAR_PROP_SVC_REQUEST_ID), in subscribeProperty()
1243 mSubManager.stageUnregister(new ClientType(CAR_PROP_SVC_REQUEST_ID), in unsubscribeProperty()
1790 mSubManager.stageNewOptions(new ClientType(setRequestInfo.getServiceRequestId()), in sendGetInitialValueAndSubscribeUpdateEvent()
/packages/modules/AdServices/adservices/service-core/proto/
Dseller_frontend_service.proto36 enum ClientType { enum
131 ClientType client_type = 6;
Dbidding_auction_servers.proto313 enum ClientType { enum
376 ClientType client_type = 11;