Home
last modified time | relevance | path

Searched refs:clients (Results 1 – 25 of 186) sorted by relevance

12345678

/packages/modules/Bluetooth/system/gd/hci/
Dle_address_manager_test.cc104 size_t first_id = clients.size(); in AllocateClients()
106 clients.emplace_back(std::make_unique<RotatorClient>(le_address_manager_, first_id + i)); in AllocateClients()
121 std::vector<std::unique_ptr<RotatorClient>> clients; member in bluetooth::hci::__anon4857542e0111::LeAddressManagerTest
127 le_address_manager_->Register(clients[0].get()); in TEST_F()
129 le_address_manager_->Unregister(clients[0].get()); in TEST_F()
146 le_address_manager_->Register(clients[0].get()); in TEST_F()
150 clients[0].get()->WaitForResume(); in TEST_F()
151 le_address_manager_->Unregister(clients[0].get()); in TEST_F()
168 le_address_manager_->Register(clients[0].get()); in TEST_F()
172 clients[0].get()->WaitForResume(); in TEST_F()
[all …]
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DRenderOverlay.java46 private List<Renderer> clients; field in RenderOverlay
56 clients = new ArrayList<>(10); in RenderOverlay()
64 for (Renderer renderer : clients) { in getPieRenderer()
73 clients.add(renderer); in addRenderer()
82 clients.add(pos, renderer); in addRenderer()
88 clients.remove(renderer); in remove()
129 if (clients == null) { in onLayout()
132 for (Renderer renderer : clients) { in onLayout()
140 if (clients == null) { in draw()
144 for (Renderer renderer : clients) { in draw()
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
DObservableFrameServer.java70 int clients = mClientCount.decrementAndGet(); in close() local
71 mAvailability.update(clients == 0); in close()
86 int clients = mClientCount.incrementAndGet(); in createExclusiveSession() local
87 mAvailability.update(clients == 0); in createExclusiveSession()
96 clients = mClientCount.decrementAndGet(); in createExclusiveSession()
97 mAvailability.update(clients == 0); in createExclusiveSession()
109 int clients = mClientCount.incrementAndGet(); in tryCreateExclusiveSession() local
110 mAvailability.update(clients == 0); in tryCreateExclusiveSession()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogProcessHandler.java140 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in dump() local
142 for (ClientInfo clientInfo : clients) { in dump()
169 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in dumpProto() local
170 for (ClientInfo clientInfo : clients) { in dumpProto()
195 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in registerClient() local
196 if (clients == null) { in registerClient()
201 for (int i = 0; i < clients.size(); i++) { in registerClient()
202 ClientInfo clientInfo = clients.get(i); in registerClient()
227 clients.add(clientInfo); in registerClient()
265 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in removeFromClientMapsLocked() local
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsDiscoveryManager.java64 private final ArrayMap<Pair<String, SocketKey>, MdnsServiceTypeClient> clients = field in MdnsDiscoveryManager.PerSocketServiceTypeClients
72 clients.put(perSocketServiceType, client); in put()
81 return clients.getOrDefault(perSocketServiceType, null); in get()
87 for (int i = 0; i < clients.size(); i++) { in getByServiceType()
88 final Pair<String, SocketKey> perSocketServiceType = clients.keyAt(i); in getByServiceType()
90 list.add(clients.valueAt(i)); in getByServiceType()
98 for (int i = 0; i < clients.size(); i++) { in getBySocketKey()
99 final Pair<String, SocketKey> perSocketServiceType = clients.keyAt(i); in getBySocketKey()
101 list.add(clients.valueAt(i)); in getBySocketKey()
108 return new ArrayList<>(clients.values()); in getAllMdnsServiceTypeClient()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java260 final SparseArray<WifiAwareClientState> clients = new SparseArray<>(); in testAttachSessionMetrics() local
266 clients.put(10, in testAttachSessionMetrics()
270 mDut.recordAttachSession(uid1, false, clients, 6, tag1); in testAttachSessionMetrics()
273 clients.put(11, in testAttachSessionMetrics()
277 mDut.recordAttachSession(uid1, false, clients, 6, tag1); in testAttachSessionMetrics()
280 clients.put(12, in testAttachSessionMetrics()
284 mDut.recordAttachSession(uid2, false, clients, 6, tag2); in testAttachSessionMetrics()
287 clients.put(13, in testAttachSessionMetrics()
291 mDut.recordAttachSession(uid2, true, clients, 6, tag2); in testAttachSessionMetrics()
295 mDut.recordAttachSessionDuration(clients.get(12).getCreationTime()); in testAttachSessionMetrics()
[all …]
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/
Ddns_https_frontend.rs95 clients: ClientMap, field
246 let clients = ClientMap::new(create_quiche_config( in init_worker_thread_params() localVariable
258 clients, in init_worker_thread_params()
285 let mut clients = params.clients; in worker_thread() localVariable
294 let timeout = clients in worker_thread()
303 for (_, client) in clients.iter_mut() { in worker_thread()
327 let client = match clients.get_or_create(&hdr, &peer, &local) { in worker_thread()
367 for (_, client) in clients.iter_mut() { in worker_thread()
385 if let Some(client) = clients.get_mut(&connection_id) { in worker_thread()
404 connections_accepted: clients.len() as u32, in worker_thread()
[all …]
Dclient.rs277 clients: HashMap<ConnectionID, Client>, field
283 Ok(ClientMap { clients: HashMap::new(), config }) in new()
293 let client = match self.clients.entry(conn_id.clone()) { in get_or_create()
317 self.clients.get_mut(id) in get_mut()
321 self.clients.iter_mut() in iter_mut()
325 self.clients.iter() in iter()
329 self.clients.len() in len()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSoftApManager.java42 void onConnectedClientsChanged(List<WifiClient> clients) { in onConnectedClientsChanged() argument
43 mWifiTetherSoftApCallback.onConnectedClientsChanged(clients); in onConnectedClientsChanged()
54 void onConnectedClientsChanged(List<WifiClient> clients); in onConnectedClientsChanged() argument
76 public void onConnectedClientsChanged(List<WifiClient> clients) { in onConnectedClientsChanged() argument
80 controller.onConnectedClientsChanged(clients); in onConnectedClientsChanged()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DConnectedClientsTracker.java133 final HashSet<TetheredClient> clients = new HashSet<>(clientsMap.values()); in updateConnectedClients() local
134 final boolean clientsChanged = clients.size() != mLastTetheredClients.size() in updateConnectedClients()
135 || !clients.containsAll(mLastTetheredClients); in updateConnectedClients()
136 mLastTetheredClients = Collections.unmodifiableList(new ArrayList<>(clients)); in updateConnectedClients()
205 private static Set<MacAddress> getClientMacs(@NonNull List<WifiClient> clients) { in getClientMacs() argument
206 final Set<MacAddress> macs = new HashSet<>(clients.size()); in getClientMacs()
207 for (WifiClient c : clients) { in getClientMacs()
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogProcessService.cpp505 ClientInfoMap& clients = mClientsByTimeout[timeout]; in onDump() local
506 for (auto it = clients.begin(); it != clients.end(); it++, count++) { in onDump()
625 const ClientInfoMap& clients = mClientsByTimeout[timeout]; in onDumpProto() local
626 for (auto it = clients.begin(); it != clients.end(); it++) { in onDumpProto()
717 for (auto& [_, clients] : mClientsByTimeout) { in terminate()
718 for (auto& [_, client] : clients) { in terminate()
721 clients.clear(); in terminate()
763 ClientInfoMap& clients = mClientsByTimeout[timeout]; in registerClient() local
764 clients.insert(std::make_pair(cookieId, clientInfo)); in registerClient()
796 ClientInfoMap& clients = in registerClient() local
[all …]
/packages/modules/AdServices/adservices/clients/
DAndroid.bp20 name: "adservices-clients-sources",
29 name: "adservices-clients",
31 // We use hidden APIs in this clients for now
34 ":adservices-clients-sources",
/packages/modules/Virtualization/vm_payload/
DAndroid.bp42 // Rust wrappers round the C API for Rust clients.
63 // Shared library for clients to link against.
85 // Just the headers. Mostly useful for clients that only want the
95 // Restricted headers for use by internal clients & associated tests.
/packages/modules/Bluetooth/system/rust/src/gatt/server/services/
Dgatt.rs35 clients: RefCell<HashMap<TransportIndex, ClientState>>, field
68 .clients in read()
95 let mut clients = self.clients.borrow_mut(); in write() localVariable
96 let state = clients.get_mut(&tcb_idx); in write()
116 self.clients.borrow_mut().insert( in on_le_connect()
123 self.clients.borrow_mut().remove(&tcb_idx); in on_le_disconnect()
127 for (conn_id, client) in self.clients.borrow().clone() { in on_service_change()
/packages/modules/AdServices/adservices/tests/cts/
DAndroid.bp52 "adservices-clients",
100 "adservices-clients",
149 "adservices-clients",
201 "adservices-clients",
251 "adservices-clients",
282 "adservices-clients",
/packages/modules/adb/client/pairing/tests/
Dpairing_connection_test.cpp325 std::vector<std::unique_ptr<PairingClient>> clients; in TEST_F() local
331 while (clients.size() < test_num_clients) { in TEST_F()
347 clients.push_back(std::move(client)); in TEST_F()
398 std::vector<std::unique_ptr<PairingClient>> clients; in TEST_F() local
405 while (clients.size() < test_num_clients) { in TEST_F()
407 if (clients.size() == test_num_clients - 1) { in TEST_F()
455 clients.push_back(std::move(client)); in TEST_F()
/packages/services/Car/service/src/com/android/car/
DInputCaptureClientController.java687 ClientsToDispatch clients; in dispatchClientCallbackLocked() local
692 clients = mClientDispatchQueue.pop(); in dispatchClientCallbackLocked()
697 + clients.mClientsToDispatch.size() in dispatchClientCallbackLocked()
698 + ", display:" + clients.mDisplayType); in dispatchClientCallbackLocked()
700 for (int i = 0; i < clients.mClientsToDispatch.size(); i++) { in dispatchClientCallbackLocked()
701 ICarInputCallback callback = clients.mClientsToDispatch.keyAt(i); in dispatchClientCallbackLocked()
702 int[] inputTypes = clients.mClientsToDispatch.valueAt(i); in dispatchClientCallbackLocked()
709 callback.onCaptureStateChanged(clients.mDisplayType, inputTypes); in dispatchClientCallbackLocked()
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/noperm/src/com/android/adservices/tests/permissions/
DPermissionsNoPermTest.java34 import android.adservices.clients.adselection.AdSelectionClient;
35 import android.adservices.clients.adselection.TestAdSelectionClient;
36 import android.adservices.clients.customaudience.AdvertisingCustomAudienceClient;
37 import android.adservices.clients.customaudience.TestAdvertisingCustomAudienceClient;
38 import android.adservices.clients.topics.AdvertisingTopicsClient;
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareMetrics.java224 SparseArray<WifiAwareClientState> clients, int callerType, String attributionTag) { in recordAttachSession() argument
227 for (int i = 0; i < clients.size(); ++i) { in recordAttachSession()
228 if (clients.valueAt(i).getUid() == uid) { in recordAttachSession()
271 public void recordDiscoverySession(int uid, SparseArray<WifiAwareClientState> clients) { in recordDiscoverySession() argument
272 recordDiscoverySessionInternal(uid, clients, false, -1, -1); in recordDiscoverySession()
279 int minRange, int maxRange, SparseArray<WifiAwareClientState> clients) { in recordDiscoverySessionWithRanging() argument
280 recordDiscoverySessionInternal(uid, clients, isSubscriberWithRanging, minRange, maxRange); in recordDiscoverySessionWithRanging()
286 private void recordDiscoverySessionInternal(int uid, SparseArray<WifiAwareClientState> clients, in recordDiscoverySessionInternal() argument
299 for (int i = 0; i < clients.size(); ++i) { in recordDiscoverySessionInternal()
300 WifiAwareClientState client = clients.valueAt(i); in recordDiscoverySessionInternal()
/packages/services/Car/tests/CarEvsMultiCameraPreviewApp/src/com/google/android/car/evs/multi/
DCarEvsMultiCameraPreviewActivity.java224 ArrayList<Integer> clients = new ArrayList<>(); in onCreate() local
225 clients.add(CAMERA_CLIENT_ID_DEFAULT); in onCreate()
229 mEvsView = createCameraViewLocked(clients); in onCreate()
403 ArrayList<Integer> clients = new ArrayList<>(); in handleButtonClicked() local
404 clients.add(CAMERA_CLIENT_ID_0); in handleButtonClicked()
405 clients.add(CAMERA_CLIENT_ID_1); in handleButtonClicked()
406 CarEvsGLSurfaceView view = createCameraViewLocked(clients); in handleButtonClicked()
/packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/
DCarWatchdogServiceTest.java220 ArrayList<TestClient> clients = new ArrayList<>(Arrays.asList( in testMultipleClients() local
226 for (int i = 0; i < clients.size(); i++) { in testMultipleClients()
227 clients.get(i).registerClient(); in testMultipleClients()
231 for (int i = 0; i < clients.size(); i++) { in testMultipleClients()
232 assertThat(clients.get(i).mAndroidClient.makeSureHealthCheckDone()).isEqualTo(true); in testMultipleClients()
/packages/modules/adb/
DOVERVIEW.TXT11 for the benefit of clients (command-line users, or helper programs like
27 to orchestrate the exchange of data (packets, really) between clients,
36 few services for clients that run on the host.
80 This section details the protocol used between ADB clients and the ADB
132 Each transport can carry one or more multiplexed streams between clients
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DHotspotRowWorker.java61 @NonNull List<WifiClient> clients) {
62 getQCItem().setConnectedDevicesCount(clients.size());
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/topics/
DGetTopicsApiCall.java22 import android.adservices.clients.topics.AdvertisingTopicsClient;
70 new android.adservices.clients.topics.AdvertisingTopicsClient.Builder() in measureGetTopics()
DGetTopicsDisabledApiCall.java19 import android.adservices.clients.topics.AdvertisingTopicsClient;
69 new android.adservices.clients.topics.AdvertisingTopicsClient.Builder() in measureGetTopics()

12345678