Home
last modified time | relevance | path

Searched refs:clientInfo (Results 1 – 16 of 16) sorted by relevance

/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogProcessHandler.java142 for (ClientInfo clientInfo : clients) { in dump()
144 clientInfo.pid); in dump()
170 for (ClientInfo clientInfo : clients) { in dumpProto()
173 proto.write(CarWatchdogDumpProto.RegisteredClient.PID, clientInfo.pid); in dumpProto()
176 proto.write(UserPackageInfo.USER_ID, clientInfo.userId); in dumpProto()
177 proto.write(UserPackageInfo.PACKAGE_NAME, clientInfo.packageName); in dumpProto()
202 ClientInfo clientInfo = clients.get(i); in registerClient() local
203 if (binder == clientInfo.client.asBinder()) { in registerClient()
205 "Cannot register the client: the client(pid:" + clientInfo.pid in registerClient()
212 ClientInfo clientInfo = new ClientInfo(client, pid, userId, timeout); in registerClient() local
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java529 final ClientInfo clientInfo = mTransactionIdToClientInfoMap.valueAt(i); in getMulticastLockNeededUid() local
530 if (!mRunningAppActiveUids.contains(clientInfo.mUid)) { in getMulticastLockNeededUid()
535 if (clientInfo.hasAnyJavaBackendRequestForNetworks(mWifiLockRequiredNetworks)) { in getMulticastLockNeededUid()
536 return clientInfo.mUid; in getMulticastLockNeededUid()
668 private boolean requestLimitReached(ClientInfo clientInfo) { in requestLimitReached() argument
669 if (clientInfo.mClientRequests.size() >= ClientInfo.MAX_LIMIT) { in requestLimitReached()
670 if (DBG) Log.d(TAG, "Exceeded max outstanding requests " + clientInfo); in requestLimitReached()
677 ClientInfo clientInfo, int what, long startTimeMs) { in storeLegacyRequestMap() argument
680 clientInfo.mClientRequests.put(clientRequestId, request); in storeLegacyRequestMap()
681 mTransactionIdToClientInfoMap.put(transactionId, clientInfo); in storeLegacyRequestMap()
[all …]
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogProcessService.cpp294 ClientInfo clientInfo(client, callingPid, callingUserId, kGetStartTimeForPidFunc(callingPid), in registerClient() local
296 return toScopedAStatus(registerClient(clientInfo, timeout)); in registerClient()
321 ClientInfo clientInfo(helper, binder, callingPid, callingUserId, in registerCarWatchdogService() local
323 if (auto result = registerClient(clientInfo, kCarWatchdogServiceTimeoutDelay); !result.ok()) { in registerCarWatchdogService()
629 const ClientInfo clientInfo = it->second; in onDumpProto() local
630 outProto.write(HealthCheckClientInfo::PID, clientInfo.kPid); in onDumpProto()
634 outProto.write(UserPackageInfo::USER_ID, static_cast<int>(clientInfo.kUserId)); in onDumpProto()
635 outProto.write(UserPackageInfo::PACKAGE_NAME, clientInfo.packageName); in onDumpProto()
638 outProto.write(HealthCheckClientInfo::CLIENT_TYPE, toProtoClientType(clientInfo.kType)); in onDumpProto()
639 outProto.write(HealthCheckClientInfo::START_TIME_MILLIS, clientInfo.kStartTimeMillis); in onDumpProto()
[all …]
DWatchdogProcessService.h253 const ClientInfo& clientInfo,
/packages/services/Car/service/src/com/android/car/
DAppFocusService.java225 ClientInfo clientInfo = (ClientInfo) client; in requestAppFocus() local
228 if (clientInfo.getAppTypes().contains(appType)) { in requestAppFocus()
229 mDispatchHandler.requestAppFocusChangeDispatch(clientInfo.binderInterface, in requestAppFocus()
276 ClientInfo clientInfo = (ClientInfo) client; in abandonAppFocus() local
277 if (clientInfo.getAppTypes().contains(appType)) { in abandonAppFocus()
278 mDispatchHandler.requestAppFocusChangeDispatch(clientInfo.binderInterface, in abandonAppFocus()
325 OwnershipClientInfo clientInfo = (OwnershipClientInfo) client; in dump() local
326 writer.println(clientInfo); in dump()
343 OwnershipClientInfo clientInfo = mFocusOwners.get(appType); in isFocusOwner() local
344 return clientInfo.getUid() == uid && clientInfo.getPid() == pid; in isFocusOwner()
[all …]
DInputCaptureClientController.java449 ClientInfoForDisplay clientInfo = allClientsForDisplay.remove(callback.asBinder()); in releaseInputEventCapture() local
450 if (clientInfo == null) { in releaseInputEventCapture()
454 clientInfo.unlinkToDeath(); in releaseInputEventCapture()
459 if (fullCapturersStack.getFirst() == clientInfo) { in releaseInputEventCapture()
460 fullCapturersStack.remove(clientInfo); in releaseInputEventCapture()
471 fullCapturersStack.remove(clientInfo); in releaseInputEventCapture()
484 if (perInputStack.getFirst() == clientInfo) { in releaseInputEventCapture()
501 perInputStack.remove(clientInfo); in releaseInputEventCapture()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java826 final ClientInfo clientInfo; field in WifiScanningServiceImpl.RequestInfo
830 RequestInfo(ClientInfo clientInfo, WorkSource requestedWorkSource, T settings) { in RequestInfo() argument
831 this.clientInfo = clientInfo; in RequestInfo()
833 this.workSource = computeWorkSource(clientInfo, requestedWorkSource); in RequestInfo()
847 if (entry.clientInfo == ci) { in removeRequest()
870 if (entry.clientInfo == ci) { in getAllSettingsForClient()
881 if (entry.clientInfo == ci) { in removeAllForClient()
1540 if (entry.clientInfo != null) { in tryToStartNewScan()
1541 mWifiMetrics.getScanMetrics().setClientUid(entry.clientInfo.mUid); in tryToStartNewScan()
1586 logCallback("singleScanFailed", entry.clientInfo, in sendOpFailedToAllAndClear()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java2467 ClientInfo clientInfo = getClientInfo(message.replyTo, true); in processMessageImpl() local
2468 clientInfo.mPackageName = pkgName; in processMessageImpl()
2469 clientInfo.mFeatureId = featureId; in processMessageImpl()
2980 ClientInfo clientInfo = mClientInfoList.remove(m); in processMessageImpl() local
2981 if (clientInfo != null) { in processMessageImpl()
2982 logd("Remove client - " + clientInfo.mPackageName); in processMessageImpl()
7145 ClientInfo clientInfo = getClientInfo(m, false); in addServiceRequest() local
7146 if (clientInfo == null) { in addServiceRequest()
7154 clientInfo.mReqList.put(mServiceTransactionId, req); in addServiceRequest()
7166 ClientInfo clientInfo = getClientInfo(m, false); in removeServiceRequest() local
[all …]
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogProcessServiceTest.cpp138 WatchdogProcessService::ClientInfo clientInfo(nullptr, 1, 1, 1000, in setWatchdogProcessServiceState() local
140 clientInfo.packageName = "shell"; in setWatchdogProcessServiceState()
141 clientInfoMap.insert({100, clientInfo}); in setWatchdogProcessServiceState()
151 for (const auto& [_, clientInfo] : clientInfoMap) { in hasClientInfoWithPackageName()
152 if (clientInfo.packageName == packageName) { in hasClientInfoWithPackageName()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHostapdHalAidlImpTest.java900 ClientInfo clientInfo = new ClientInfo(); in testHostapdCallbackEvent() local
901 clientInfo.ifaceName = IFACE_NAME; in testHostapdCallbackEvent()
902 clientInfo.apIfaceInstance = TEST_AP_INSTANCE; in testHostapdCallbackEvent()
903 clientInfo.clientAddress = MacAddress.fromString(TEST_CLIENT_MAC).toByteArray(); in testHostapdCallbackEvent()
904 clientInfo.isConnected = true; in testHostapdCallbackEvent()
905 mIHostapdCallback.onConnectedClientsChanged(clientInfo); in testHostapdCallbackEvent()
/packages/services/Car/cpp/computepipe/tests/runner/client_interface/
DClientInterfaceTest.cc124 std::shared_ptr<ClientInfo> clientInfo = ndk::SharedRefBase::make<ClientInfo>(); in SetUp() local
125 ASSERT_TRUE(queryService->getPipeRunner(graphName, clientInfo, &mPipeRunner).isOk()); in SetUp()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java1020 final ClientInfo clientInfo = new ClientInfo(mInterfaceParams.index, in updateClientInfoIpv4() local
1023 mBpfCoordinator.tetherOffloadClientAdd(this, clientInfo); in updateClientInfoIpv4()
1025 mBpfCoordinator.tetherOffloadClientRemove(this, clientInfo); in updateClientInfoIpv4()
/packages/services/Car/car-lib/src/android/car/
DCar.java2584 private void killClient(@Nullable String clientInfo) { in killClient() argument
2585 Slog.w(TAG_CAR, "**Car service has crashed. Client(" + clientInfo + ") is not handling it." in killClient()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java892 private void tetherOffloadRuleClear(@NonNull final ClientInfo clientInfo) { in tetherOffloadRuleClear() argument
896 final Inet4Address clientAddr = clientInfo.clientAddress; in tetherOffloadRuleClear()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java2384 @NonNull ClientInfo clientInfo) { in assertClientInfoExists() argument
2387 assertEquals(clientInfo, clients.get(clientInfo.clientAddress)); in assertClientInfoExists()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java3917 ApplicationInfo clientInfo = pm.getApplicationInfo(packageName, 0 /* no flags */); in getUidForPackageName() local
3918 return clientInfo.uid; in getUidForPackageName()