Home
last modified time | relevance | path

Searched refs:ClientInfo (Results 1 – 19 of 19) sorted by relevance

/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogProcessHandler.java80 private final SparseArray<ArrayList<ClientInfo>> mClientMap = new SparseArray<>();
87 private final SparseArray<SparseArray<ClientInfo>> mPingedClientMap = new SparseArray<>();
96 private final ArrayList<ClientInfo> mClientsNotResponding = new ArrayList<>();
116 mClientMap.put(timeout, new ArrayList<ClientInfo>()); in init()
117 mPingedClientMap.put(timeout, new SparseArray<ClientInfo>()); in init()
143 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in dump()
145 for (ClientInfo clientInfo : clients) { in dump()
172 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in dumpProto()
173 for (ClientInfo clientInfo : clients) { in dumpProto()
198 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in registerClient()
[all …]
/packages/services/Car/service/src/com/android/car/
DAppFocusService.java114 ClientInfo info = (ClientInfo) mAllChangeClients.getBinderInterface(listener); in registerFocusListener()
116 info = new ClientInfo(mAllChangeClients, listener, mBinderInterface.getCallingUid(), in registerFocusListener()
128 ClientInfo info = (ClientInfo) mAllChangeClients.getBinderInterface(listener); in unregisterFocusListener()
225 ClientInfo clientInfo = (ClientInfo) client; in requestAppFocus()
276 ClientInfo clientInfo = (ClientInfo) client; in abandonAppFocus()
443 private class ClientInfo extends class in AppFocusService
451 private ClientInfo(ClientHolder holder, IAppFocusListener binder, int uid, int pid, in ClientInfo() method in AppFocusService.ClientInfo
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java667 private final ArrayMap<IWifiScannerListener, ClientInfo> mClients;
807 private WorkSource computeWorkSource(ClientInfo ci, WorkSource requestedWorkSource) { in computeWorkSource()
824 final ClientInfo clientInfo;
828 RequestInfo(ClientInfo clientInfo, WorkSource requestedWorkSource, T settings) { in RequestInfo()
836 void addRequest(ClientInfo ci, WorkSource reqworkSource, T settings) { in addRequest()
840 T removeRequest(ClientInfo ci) { in removeRequest()
863 Collection<T> getAllSettingsForClient(ClientInfo ci) { in getAllSettingsForClient()
875 void removeAllForClient(ClientInfo ci) { in removeAllForClient()
1233 private void handleScanStartMessage(ClientInfo ci, ScanParams scanParams) { in handleScanStartMessage()
1316 ClientInfo ci = mClients.get(scanParams.listener); in processMessage()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java290 private final HashMap<IpServer, HashMap<Inet4Address, ClientInfo>>
860 @NonNull final ClientInfo client) { in tetherOffloadClientAdd()
864 mTetherClients.put(ipServer, new HashMap<Inet4Address, ClientInfo>()); in tetherOffloadClientAdd()
867 HashMap<Inet4Address, ClientInfo> clients = mTetherClients.get(ipServer); in tetherOffloadClientAdd()
876 @NonNull final ClientInfo client) { in tetherOffloadClientRemove()
880 HashMap<Inet4Address, ClientInfo> clients = mTetherClients.get(ipServer); in tetherOffloadClientRemove()
903 final HashMap<Inet4Address, ClientInfo> clients = mTetherClients.get(ipServer); in tetherOffloadClientClear()
907 for (final ClientInfo c : new ArrayList<ClientInfo>(clients.values())) { in tetherOffloadClientClear()
1028 final ClientInfo clientInfo = new ClientInfo(interfaceParams.index, in updateClientInfoIpv4()
1051 private void tetherOffloadRuleClear(@NonNull final ClientInfo clientInfo) { in tetherOffloadRuleClear()
[all …]
/packages/services/Car/cpp/watchdog/stable_server/src/
DWatchdogProcessService.h179 class ClientInfo {
181 ClientInfo(const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogClient>& in ClientInfo() function
192 ClientInfo(const android::sp<WatchdogServiceHelperInterface>& helper, in ClientInfo() function
233 typedef std::unordered_map<int, ClientInfo> PingedClientMap;
266 const ClientInfo& clientInfo,
301 using ClientInfoMap = std::unordered_map<uintptr_t, ClientInfo>;
DWatchdogProcessService.cpp332 ClientInfo clientInfo(client, callingPid, callingUid, pidStat.comm, pidStat.startTimeMillis, in registerClient()
362 ClientInfo clientInfo(helper, binder, callingPid, callingUid, pidStat.comm, in registerCarWatchdogService()
679 const ClientInfo clientInfo = it->second; in onDumpProto()
711 std::vector<ClientInfo> clientsToCheck; in doHealthCheck()
789 Result<void> WatchdogProcessService::registerClient(const ClientInfo& clientInfo, in registerClient()
932 std::vector<const ClientInfo*> clientsToNotify; in dumpAndKillClientsIfNotResponding()
967 for (const ClientInfo*& clientInfo : clientsToNotify) { in dumpAndKillClientsIfNotResponding()
1423 std::string WatchdogProcessService::ClientInfo::toString() const { in toString()
1430 userid_t WatchdogProcessService::ClientInfo::getUserId() const { in getUserId()
1434 AIBinder* WatchdogProcessService::ClientInfo::getAIBinder() const { in getAIBinder()
[all …]
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogProcessService.h179 class ClientInfo {
181 ClientInfo(const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogClient>& in ClientInfo() function
192 ClientInfo(const android::sp<WatchdogServiceHelperInterface>& helper, in ClientInfo() function
233 typedef std::unordered_map<int, ClientInfo> PingedClientMap;
266 const ClientInfo& clientInfo,
301 using ClientInfoMap = std::unordered_map<uintptr_t, ClientInfo>;
DWatchdogProcessService.cpp332 ClientInfo clientInfo(client, callingPid, callingUid, pidStat.comm, pidStat.startTimeMillis, in registerClient()
362 ClientInfo clientInfo(helper, binder, callingPid, callingUid, pidStat.comm, in registerCarWatchdogService()
679 const ClientInfo clientInfo = it->second; in onDumpProto()
711 std::vector<ClientInfo> clientsToCheck; in doHealthCheck()
789 Result<void> WatchdogProcessService::registerClient(const ClientInfo& clientInfo, in registerClient()
932 std::vector<const ClientInfo*> clientsToNotify; in dumpAndKillClientsIfNotResponding()
967 for (const ClientInfo*& clientInfo : clientsToNotify) { in dumpAndKillClientsIfNotResponding()
1423 std::string WatchdogProcessService::ClientInfo::toString() const { in toString()
1430 userid_t WatchdogProcessService::ClientInfo::getUserId() const { in getUserId()
1434 AIBinder* WatchdogProcessService::ClientInfo::getAIBinder() const { in getAIBinder()
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java236 private final HashMap<NsdServiceConnector, ClientInfo> mClients = new HashMap<>();
239 private final SparseArray<ClientInfo> mTransactionIdToClientInfoMap = new SparseArray<>();
531 final ClientInfo clientInfo = mTransactionIdToClientInfoMap.valueAt(i); in getMulticastLockNeededUid()
670 private boolean requestLimitReached(ClientInfo clientInfo) { in requestLimitReached()
671 if (clientInfo.mClientRequests.size() >= ClientInfo.MAX_LIMIT) { in requestLimitReached()
679 ClientInfo clientInfo, int what, long startTimeMs) { in storeLegacyRequestMap()
690 ClientInfo clientInfo, @NonNull NsdServiceInfo serviceInfo) { in storeAdvertiserRequestMap()
701 int clientRequestId, int transactionId, ClientInfo clientInfo) { in removeRequestMap()
716 int transactionId, MdnsListener listener, ClientInfo clientInfo, in storeDiscoveryManagerRequestMap()
739 int transactionId, ClientInfo clientInfo) { in stopDiscoveryManagerRequest()
[all …]
/packages/services/Car/cpp/computepipe/example/
DFaceTracker.h58 class ClientInfo : public BnClientInfo {
97 std::shared_ptr<ClientInfo> mClientInfo = nullptr;
DFaceTracker.cpp84 mClientInfo = ndk::SharedRefBase::make<ClientInfo>(); in init()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java138 import com.android.networkstack.tethering.BpfCoordinator.ClientInfo;
279 private static final ClientInfo CLIENT_INFO_A = new ClientInfo(DOWNSTREAM_IFINDEX,
281 private static final ClientInfo CLIENT_INFO_B = new ClientInfo(DOWNSTREAM_IFINDEX2,
467 private HashMap<IpServer, HashMap<Inet4Address, ClientInfo>> mTetherClients;
2111 final ClientInfo clientA = new ClientInfo(DOWNSTREAM_IFINDEX, DOWNSTREAM_MAC, in doTestMaxConnectionCount_removeClient()
2113 final ClientInfo clientB = new ClientInfo(DOWNSTREAM_IFINDEX, DOWNSTREAM_MAC, in doTestMaxConnectionCount_removeClient()
2549 @NonNull ClientInfo clientInfo) { in assertClientInfoExists()
2550 HashMap<Inet4Address, ClientInfo> clients = mTetherClients.get(ipServer); in assertClientInfoExists()
2564 HashMap<Inet4Address, ClientInfo> clients = mTetherClients.get(ipServer); in assertClientInfoDoesNotExist()
2612 final ClientInfo clientA = new ClientInfo(DOWNSTREAM_IFINDEX, DOWNSTREAM_MAC, in testTetherOffloadClientAddRemove()
[all …]
/packages/services/Car/cpp/computepipe/tests/runner/client_interface/
DClientInterfaceTest.cc90 class ClientInfo : public BnClientInfo { class
124 std::shared_ptr<ClientInfo> clientInfo = ndk::SharedRefBase::make<ClientInfo>(); in SetUp()
/packages/services/Car/car-lib/src/android/car/watchdog/
DCarWatchdogManager.java113 private final ClientInfo mHealthCheckingClient = new ClientInfo();
971 private final class ClientInfo { class in CarWatchdogManager
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java426 private final HashMap<Messenger, ClientInfo> mClientInfoList = new HashMap<>();
2573 ClientInfo clientInfo = getClientInfo(message.replyTo, true); in processMessageImpl()
3084 ClientInfo clientInfo = mClientInfoList.remove(m); in processMessageImpl()
3345 for (ClientInfo c : mClientInfoList.values()) { in processMessageImpl()
3374 for (ClientInfo c : mClientInfoList.values()) { in processMessageImpl()
7953 ClientInfo clientInfo = getClientInfo(m, false); in processUsdFrameBasedServiceDiscoveryRequestMessage()
7997 for (ClientInfo c: mClientInfoList.values()) { in updateSupplicantGasFrameBasedServiceRequest()
8048 ClientInfo clientInfo = getClientInfo(m, false); in addServiceRequest()
8098 ClientInfo clientInfo = getClientInfo(m, false); in removeServiceRequest()
8145 ClientInfo clientInfo = getClientInfo(m, false); in clearServiceRequests()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHostapdHalAidlImpTest.java46 import android.hardware.wifi.hostapd.ClientInfo;
937 ClientInfo clientInfo = new ClientInfo(); in testHostapdCallbackEvent()
950 clientInfo = new ClientInfo(); in testHostapdCallbackEvent()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHostapdHalAidlImp.java24 import android.hardware.wifi.hostapd.ClientInfo;
437 public void onConnectedClientsChanged(ClientInfo info) { in onConnectedClientsChanged()
/packages/services/Car/cpp/watchdog/stable_server/tests/
DWatchdogProcessServiceTest.cpp189 WatchdogProcessService::ClientInfo clientInfo( in setWatchdogProcessServiceState()
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogProcessServiceTest.cpp189 WatchdogProcessService::ClientInfo clientInfo( in setWatchdogProcessServiceState()