Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogProcessHandler.java77 private final SparseArray<ArrayList<ClientInfo>> mClientMap = new SparseArray<>();
84 private final SparseArray<SparseArray<ClientInfo>> mPingedClientMap = new SparseArray<>();
93 private final ArrayList<ClientInfo> mClientsNotResponding = new ArrayList<>();
113 mClientMap.put(timeout, new ArrayList<ClientInfo>()); in init()
114 mPingedClientMap.put(timeout, new SparseArray<ClientInfo>()); in init()
140 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in dump()
142 for (ClientInfo clientInfo : clients) { in dump()
169 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in dumpProto()
170 for (ClientInfo clientInfo : clients) { in dumpProto()
195 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.java669 private final ArrayMap<IWifiScannerListener, ClientInfo> mClients;
809 private WorkSource computeWorkSource(ClientInfo ci, WorkSource requestedWorkSource) { in computeWorkSource()
826 final ClientInfo clientInfo;
830 RequestInfo(ClientInfo clientInfo, WorkSource requestedWorkSource, T settings) { in RequestInfo()
838 void addRequest(ClientInfo ci, WorkSource reqworkSource, T settings) { in addRequest()
842 T removeRequest(ClientInfo ci) { in removeRequest()
865 Collection<T> getAllSettingsForClient(ClientInfo ci) { in getAllSettingsForClient()
877 void removeAllForClient(ClientInfo ci) { in removeAllForClient()
1129 private void handleScanStartMessage(ClientInfo ci, ScanParams scanParams) { in handleScanStartMessage()
1212 ClientInfo ci = mClients.get(scanParams.listener); in processMessage()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java279 private final HashMap<IpServer, HashMap<Inet4Address, ClientInfo>>
836 @NonNull final ClientInfo client) { in tetherOffloadClientAdd()
840 mTetherClients.put(ipServer, new HashMap<Inet4Address, ClientInfo>()); in tetherOffloadClientAdd()
843 HashMap<Inet4Address, ClientInfo> clients = mTetherClients.get(ipServer); in tetherOffloadClientAdd()
852 @NonNull final ClientInfo client) { in tetherOffloadClientRemove()
856 HashMap<Inet4Address, ClientInfo> clients = mTetherClients.get(ipServer); in tetherOffloadClientRemove()
879 final HashMap<Inet4Address, ClientInfo> clients = mTetherClients.get(ipServer); in tetherOffloadClientClear()
883 for (final ClientInfo c : new ArrayList<ClientInfo>(clients.values())) { in tetherOffloadClientClear()
892 private void tetherOffloadRuleClear(@NonNull final ClientInfo clientInfo) { in tetherOffloadRuleClear()
948 final HashMap<Inet4Address, ClientInfo> clients = mTetherClients.get(ipServer); in tetherOffloadRule4Clear()
[all …]
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogProcessService.h171 class ClientInfo {
173 ClientInfo(const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogClient>& in ClientInfo() function
183 ClientInfo(const android::sp<WatchdogServiceHelperInterface>& helper, in ClientInfo() function
220 typedef std::unordered_map<int, ClientInfo> PingedClientMap;
253 const ClientInfo& clientInfo,
288 using ClientInfoMap = std::unordered_map<uintptr_t, ClientInfo>;
DWatchdogProcessService.cpp294 ClientInfo clientInfo(client, callingPid, callingUserId, kGetStartTimeForPidFunc(callingPid), in registerClient()
321 ClientInfo clientInfo(helper, binder, callingPid, callingUserId, in registerCarWatchdogService()
629 const ClientInfo clientInfo = it->second; in onDumpProto()
661 std::vector<ClientInfo> clientsToCheck; in doHealthCheck()
751 Result<void> WatchdogProcessService::registerClient(const ClientInfo& clientInfo, in registerClient()
894 std::vector<const ClientInfo*> clientsToNotify; in dumpAndKillClientsIfNotResponding()
923 for (const ClientInfo*& clientInfo : clientsToNotify) { in dumpAndKillClientsIfNotResponding()
1350 std::string WatchdogProcessService::ClientInfo::toString() const { in toString()
1357 AIBinder* WatchdogProcessService::ClientInfo::getAIBinder() const { in getAIBinder()
1364 ScopedAStatus WatchdogProcessService::ClientInfo::linkToDeath( in linkToDeath()
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java234 private final HashMap<NsdServiceConnector, ClientInfo> mClients = new HashMap<>();
237 private final SparseArray<ClientInfo> mTransactionIdToClientInfoMap = new SparseArray<>();
529 final ClientInfo clientInfo = mTransactionIdToClientInfoMap.valueAt(i); in getMulticastLockNeededUid()
668 private boolean requestLimitReached(ClientInfo clientInfo) { in requestLimitReached()
669 if (clientInfo.mClientRequests.size() >= ClientInfo.MAX_LIMIT) { in requestLimitReached()
677 ClientInfo clientInfo, int what, long startTimeMs) { in storeLegacyRequestMap()
688 ClientInfo clientInfo, @NonNull NsdServiceInfo serviceInfo) { in storeAdvertiserRequestMap()
699 int clientRequestId, int transactionId, ClientInfo clientInfo) { in removeRequestMap()
714 int transactionId, MdnsListener listener, ClientInfo clientInfo, in storeDiscoveryManagerRequestMap()
737 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/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/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java143 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,
468 private HashMap<IpServer, HashMap<Inet4Address, ClientInfo>> mTetherClients;
2384 @NonNull ClientInfo clientInfo) { in assertClientInfoExists()
2385 HashMap<Inet4Address, ClientInfo> clients = mTetherClients.get(ipServer); in assertClientInfoExists()
2399 HashMap<Inet4Address, ClientInfo> clients = mTetherClients.get(ipServer); in assertClientInfoDoesNotExist()
2447 final ClientInfo clientA = new ClientInfo(DOWNSTREAM_IFINDEX, DOWNSTREAM_MAC, in testTetherOffloadClientAddRemove()
2449 final ClientInfo clientB = new ClientInfo(DOWNSTREAM_IFINDEX, DOWNSTREAM_MAC, in testTetherOffloadClientAddRemove()
3099 new ClientInfo(myIfindex, DOWNSTREAM_MAC, (Inet4Address) neighA, MAC_A)); in addRemoveTetherClient()
[all …]
/packages/services/Car/car-lib/src/android/car/watchdog/
DCarWatchdogManager.java111 private final ClientInfo mHealthCheckingClient = new ClientInfo();
936 private final class ClientInfo { class in CarWatchdogManager
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java417 private final HashMap<Messenger, ClientInfo> mClientInfoList = new HashMap<>();
2467 ClientInfo clientInfo = getClientInfo(message.replyTo, true); in processMessageImpl()
2980 ClientInfo clientInfo = mClientInfoList.remove(m); in processMessageImpl()
7109 for (ClientInfo c: mClientInfoList.values()) { in updateSupplicantServiceRequest()
7145 ClientInfo clientInfo = getClientInfo(m, false); in addServiceRequest()
7166 ClientInfo clientInfo = getClientInfo(m, false); in removeServiceRequest()
7197 ClientInfo clientInfo = getClientInfo(m, false); in clearServiceRequests()
7223 ClientInfo clientInfo = getClientInfo(m, false); in addLocalService()
7247 ClientInfo clientInfo = getClientInfo(m, false); in removeLocalService()
7262 ClientInfo clientInfo = getClientInfo(m, false); in clearLocalServices()
[all …]
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java82 import com.android.networkstack.tethering.BpfCoordinator.ClientInfo;
1020 final ClientInfo clientInfo = new ClientInfo(mInterfaceParams.index, in updateClientInfoIpv4()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHostapdHalAidlImp.java24 import android.hardware.wifi.hostapd.ClientInfo;
416 public void onConnectedClientsChanged(ClientInfo info) { in onConnectedClientsChanged()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHostapdHalAidlImpTest.java45 import android.hardware.wifi.hostapd.ClientInfo;
900 ClientInfo clientInfo = new ClientInfo(); in testHostapdCallbackEvent()
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogProcessServiceTest.cpp138 WatchdogProcessService::ClientInfo clientInfo(nullptr, 1, 1, 1000, in setWatchdogProcessServiceState()