/packages/services/Car/service/src/com/android/car/watchdog/ |
D | WatchdogProcessHandler.java | 62 private final SparseArray<ArrayList<ClientInfo>> mClientMap = new SparseArray<>(); 69 private final SparseArray<SparseArray<ClientInfo>> mPingedClientMap = new SparseArray<>(); 78 private final ArrayList<ClientInfo> mClientsNotResponding = new ArrayList<>(); 93 mClientMap.put(timeout, new ArrayList<ClientInfo>()); in init() 94 mPingedClientMap.put(timeout, new SparseArray<ClientInfo>()); in init() 109 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in dump() 111 for (ClientInfo clientInfo : clients) { in dump() 133 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in registerClient() 140 ClientInfo clientInfo = clients.get(i); in registerClient() 150 ClientInfo clientInfo = new ClientInfo(client, pid, userId, timeout); in registerClient() [all …]
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | WatchdogProcessService.cpp | 139 mClients.insert(std::make_pair(timeout, std::vector<ClientInfo>())); in WatchdogProcessService() 157 ClientInfo clientInfo(client, callingPid, callingUid); in registerClient() 180 ClientInfo clientInfo(mWatchdogServiceHelper, binder, callingPid, callingUid); in registerCarWatchdogService() 317 std::vector<ClientInfo>& clients = mClients[timeout]; in dump() 356 std::vector<ClientInfo> clientsToCheck; in doHealthCheck() 403 std::vector<ClientInfo>& clients = mClients[timeout]; in terminate() 420 Status WatchdogProcessService::registerClientLocked(const ClientInfo& clientInfo, in registerClientLocked() 433 std::vector<ClientInfo>& clients = mClients[timeout]; in registerClientLocked() 451 [&](std::vector<ClientInfo>& clients, in unregisterClientLocked() 452 std::vector<ClientInfo>::const_iterator it) { in unregisterClientLocked() [all …]
|
D | WatchdogProcessService.h | 91 struct ClientInfo { struct 92 ClientInfo(const android::sp<ICarWatchdogClient>& client, pid_t pid, userid_t userId) : in ClientInfo() function 97 ClientInfo(const android::sp<IWatchdogServiceHelper>& helper, in ClientInfo() argument 111 bool operator!=(const ClientInfo& clientInfo) const { 136 typedef std::unordered_map<int, ClientInfo> PingedClientMap; argument 190 android::binder::Status registerClientLocked(const ClientInfo& clientInfo, 219 std::function<void(std::vector<ClientInfo>&, std::vector<ClientInfo>::const_iterator)>; 221 const ClientInfo& clientInfo, const Processor& processor); 230 std::unordered_map<TimeoutLength, std::vector<ClientInfo>> mClients GUARDED_BY(mMutex);
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 327 ClientInfo ci = mClients.get(msg.replyTo); in handleMessage() 395 private final ArrayMap<Messenger, ClientInfo> mClients; 542 private WorkSource computeWorkSource(ClientInfo ci, WorkSource requestedWorkSource) { in computeWorkSource() 559 final ClientInfo clientInfo; 564 RequestInfo(ClientInfo clientInfo, int handlerId, WorkSource requestedWorkSource, in RequestInfo() 578 void addRequest(ClientInfo ci, int handler, WorkSource reqworkSource, T settings) { in addRequest() 582 T removeRequest(ClientInfo ci, int handlerId) { in removeRequest() 605 Collection<T> getAllSettingsForClient(ClientInfo ci) { in getAllSettingsForClient() 617 void removeAllForClient(ClientInfo ci) { in removeAllForClient() 858 private void handleScanStartMessage(ClientInfo ci, Message msg) { in handleScanStartMessage() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | AppFocusService.java | 91 ClientInfo info = (ClientInfo) mAllChangeClients.getBinderInterface(listener); in registerFocusListener() 93 info = new ClientInfo(mAllChangeClients, listener, Binder.getCallingUid(), in registerFocusListener() 105 ClientInfo info = (ClientInfo) mAllChangeClients.getBinderInterface(listener); in unregisterFocusListener() 181 ClientInfo clientInfo = (ClientInfo) client; in requestAppFocus() 223 ClientInfo clientInfo = (ClientInfo) client; in abandonAppFocus() 385 private class ClientInfo extends class in AppFocusService 393 private ClientInfo(ClientHolder holder, IAppFocusListener binder, int uid, int pid, in ClientInfo() method in AppFocusService.ClientInfo
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | BpfCoordinator.java | 224 private final HashMap<IpServer, HashMap<Inet4Address, ClientInfo>> 689 @NonNull final ClientInfo client) { in tetherOffloadClientAdd() 693 mTetherClients.put(ipServer, new HashMap<Inet4Address, ClientInfo>()); in tetherOffloadClientAdd() 696 HashMap<Inet4Address, ClientInfo> clients = mTetherClients.get(ipServer); in tetherOffloadClientAdd() 705 @NonNull final ClientInfo client) { in tetherOffloadClientRemove() 709 HashMap<Inet4Address, ClientInfo> clients = mTetherClients.get(ipServer); in tetherOffloadClientRemove() 732 final HashMap<Inet4Address, ClientInfo> clients = mTetherClients.get(ipServer); in tetherOffloadClientClear() 736 for (final ClientInfo c : new ArrayList<ClientInfo>(clients.values())) { in tetherOffloadClientClear() 745 private void tetherOffloadRuleClear(@NonNull final ClientInfo clientInfo) { in tetherOffloadRuleClear() 801 final HashMap<Inet4Address, ClientInfo> clients = mTetherClients.get(ipServer); in tetherOffloadRule4Clear() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 324 private HashMap<Messenger, ClientInfo> mClientInfoList = new HashMap<Messenger, ClientInfo>(); 1358 ClientInfo clientInfo = getClientInfo(message.replyTo, true); in processMessage() 1574 ClientInfo clientInfo = mClientInfoList.remove(m); in processMessage() 4212 for (ClientInfo c: mClientInfoList.values()) { in updateSupplicantServiceRequest() 4253 ClientInfo clientInfo = getClientInfo(m, false); in addServiceRequest() 4276 ClientInfo clientInfo = getClientInfo(m, false); in removeServiceRequest() 4307 ClientInfo clientInfo = getClientInfo(m, false); in clearServiceRequests() 4333 ClientInfo clientInfo = getClientInfo(m, false); in addLocalService() 4357 ClientInfo clientInfo = getClientInfo(m, false); in removeLocalService() 4372 ClientInfo clientInfo = getClientInfo(m, false); in clearLocalServices() [all …]
|
/packages/services/Car/cpp/computepipe/example/ |
D | FaceTracker.h | 58 class ClientInfo : public BnClientInfo { 97 std::shared_ptr<ClientInfo> mClientInfo = nullptr;
|
D | FaceTracker.cpp | 84 mClientInfo = ndk::SharedRefBase::make<ClientInfo>(); in init()
|
/packages/services/Car/cpp/computepipe/tests/runner/client_interface/ |
D | ClientInterfaceTest.cc | 90 class ClientInfo : public BnClientInfo { class 124 std::shared_ptr<ClientInfo> clientInfo = ndk::SharedRefBase::make<ClientInfo>(); in SetUp()
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | IpServer.java | 71 import com.android.networkstack.tethering.BpfCoordinator.ClientInfo; 960 final ClientInfo clientInfo = new ClientInfo(mInterfaceParams.index, in updateClientInfoIpv4()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 104 import com.android.networkstack.tethering.BpfCoordinator.ClientInfo; 1404 final ClientInfo clientInfo = new ClientInfo(DOWNSTREAM_IFINDEX, DOWNSTREAM_MAC, in setDownstreamAndClientInformationTo()
|