/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
ObservableFrameServer.java | 43 * The total number of clients which either have an exclusive Session or are 70 int clients = mClientCount.decrementAndGet(); local 71 mAvailability.update(clients == 0); 86 int clients = mClientCount.incrementAndGet(); local 87 mAvailability.update(clients == 0); 96 clients = mClientCount.decrementAndGet(); 97 mAvailability.update(clients == 0); 109 int clients = mClientCount.incrementAndGet(); local 110 mAvailability.update(clients == 0);
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
SubscriptionManager_test.cpp | 81 const std::list<sp<HalClient>>& clients) { 83 for (auto c : clients) { 101 // Called when there are no clients who subscribed to particular property. This can happen 127 auto clients = manager.getSubscribedClients( local 132 ASSERT_ALL_EXISTS({cb1, cb2}, extractCallbacks(clients)); 141 auto clients = manager.getSubscribedClients( local 145 ASSERT_TRUE(clients.empty()); 148 clients = manager.getSubscribedClients( 152 ASSERT_TRUE(clients.empty()); 155 clients = manager.getSubscribedClients 167 auto clients = manager.getSubscribedClients( local [all...] |
VehicleHalManager_test.cpp | 453 HalClientVector clients; local 459 clients.addOrUpdate(c1); 460 clients.addOrUpdate(c1); 461 clients.addOrUpdate(c2); 462 ASSERT_EQ(2u, clients.size()); 463 ASSERT_FALSE(clients.isEmpty()); 464 ASSERT_LE(0, clients.indexOf(c1)); 465 ASSERT_LE(0, clients.remove(c1)); 466 ASSERT_GT(0, clients.indexOf(c1)); // c1 was already removed 467 ASSERT_GT(0, clients.remove(c1)); // attempt to remove c1 agai [all...] |
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
ReloadListAction.java | 42 Client[] clients = clientUtils.findAllClients(device); local 43 if (clients != null) { 44 Arrays.sort(clients, new ClientComparator()); 47 for (Client c : clients) {
|
ScanPackageAction.java | 49 Client[] clients = clientUtils.findAllClients(device); local 50 if (clients.length > 0) { 51 ClientWrapper[] clientWrappers = new ClientWrapper[clients.length]; 53 clientWrappers[i] = new ClientWrapper(clients[i]);
|
ScanAllPackagesAction.java | 45 Client[] clients = clientUtils.findAllClients(device); local 46 for (Client c : clients) {
|
/hardware/interfaces/wifi/supplicant/1.0/ |
ISupplicantP2pNetwork.hal | 105 * Set the list of P2P Clients in a persistent group (GO). 106 * This is a list of P2P Clients (P2P Device Address) that have joined 110 * @param clients MAC address of the clients. 117 setClientList(vec<MacAddress> clients) generates (SupplicantStatus status); 120 * Get the list of P2P Clients in a persistent group (GO). 121 * This is a list of P2P Clients (P2P Device Address) that have joined 130 * @return clients MAC address of the clients. 132 getClientList() generates (SupplicantStatus status, vec<MacAddress> clients); [all...] |
/system/bt/hci/src/ |
hci_inject.cc | 65 static list_t* clients; variable 74 CHECK(clients == NULL); 82 clients = list_new(client_free); 83 if (!clients) goto error; 105 list_free(clients); 110 clients = NULL; 138 if (!list_append(clients, client)) { 157 list_remove(clients, client);
|
/external/webrtc/webrtc/examples/peerconnection/server/ |
main.cc | 77 PeerChannel clients; local 101 ChannelMember* member = clients.Lookup(s); 105 clients.AddMember(s); 116 ChannelMember* target = clients.IsTargetedRequest(s); 134 clients.CloseAll(); 144 clients.OnClosing(s); 154 clients.CheckForTimeout();
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/ |
p2p_network.cpp | 107 const hidl_vec<hidl_array<uint8_t, 6>> &clients, setClientList_cb _hidl_cb) 111 &P2pNetwork::setClientListInternal, _hidl_cb, clients); 188 const std::vector<hidl_array<uint8_t, 6>> &clients) 197 (u8 *)os_malloc(ETH_ALEN * 2 * clients.size()); 202 for (const auto &client : clients) { 208 wpa_ssid->num_p2p_clients = clients.size(); 219 std::vector<hidl_array<uint8_t, 6>> clients; local 222 clients.emplace_back(list); 225 return {{SupplicantStatusCode::SUCCESS, ""}, clients};
|
p2p_network.h | 59 const hidl_vec<hidl_array<uint8_t, 6>>& clients, 76 const std::vector<hidl_array<uint8_t, 6>>& clients);
|
/frameworks/av/services/mediaresourcemanager/ |
ResourceManagerService.cpp | 285 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients) { 291 clients->push_back(client); 301 Vector<sp<IResourceManagerClient>> clients; local 325 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { 330 if (!getAllClients_l(callingPid, MediaResource::kNonSecureCodec, &clients)) { 337 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { 343 if (clients.size() == 0) { 345 getClientForResource_l(callingPid, graphicMemory, &clients); 348 if (clients.size() == 0) { 350 getClientForResource_l(callingPid, secureCodec, &clients); [all...] |
ResourceManagerService.h | 82 // Gets the list of all the clients who own the specified resource type. 84 // calling process. The clients will remain unchanged if returns false. 86 Vector<sp<IResourceManagerClient>> *clients); 107 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients);
|
/tools/test/connectivity/acts/tests/google/tel/live/ |
TelLiveDataTest.py | 116 self.clients = self.android_devices[:-1] 705 for ad in self.clients: 745 self.provider, [self.clients[0]], 771 self.provider, [self.clients[0]], [all...] |
/external/ltp/testcases/network/nfsv4/locks/ |
locktests.py | 2 # This script aims to help to run locktests with several clients. 126 for i in clients: 141 nbreClients=len(clients) 148 for i in clients: 153 for i in clients: 170 clients=[] variable 183 if args[i] in ("--clients", "-c"): 184 a="clients" 196 if a=="clients": 197 clients.append(args[i] [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
WifiAwareMetricsTest.java | 220 final SparseArray<WifiAwareClientState> clients = new SparseArray<>(); local 226 clients.put(10, 229 mDut.recordAttachSession(uid1, false, clients); 232 clients.put(11, 235 mDut.recordAttachSession(uid1, false, clients); 238 clients.put(12, 241 mDut.recordAttachSession(uid2, false, clients); 244 clients.put(13, 247 mDut.recordAttachSession(uid2, true, clients); 251 mDut.recordAttachSessionDuration(clients.get(12).getCreationTime()) 290 final SparseArray<WifiAwareClientState> clients = new SparseArray<>(); local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
IntRangeManager.java | 23 * Clients can enable reception of SMS-CB messages for specific ranges of 35 * Clients are identified by String (the name associated with the User ID 42 * Initial capacity for IntRange clients array list. There will be 48 * One or more clients forming the continuous range [startId, endId]. 107 * to the clients array list directly, instead of via this method. 109 * number of clients grows large enough that it would make a difference. 446 // search for it in the clients list 447 ArrayList<ClientRange> clients = range.mClients; local 450 int crLength = clients.size(); 452 ClientRange cr = clients.get(0) [all...] |
/external/toolchain-utils/automation/clients/ |
chromeos.py | 15 from automation.clients.helper import jobs 16 from automation.clients.helper import perforce
|
dejagnu_compiler.py | 15 from automation.clients.helper import jobs 16 from automation.clients.helper import perforce
|
nightly.py | 10 from automation.clients.helper import chromeos
|
android.py | 21 from automation.clients.helper import android
|
crosstool.py | 13 from automation.clients.helper import crosstool
|
/external/autotest/utils/ |
compile_gwt_clients.py | 7 Compile All Autotest GWT Clients Living in autotest/frontend/client/src 96 @param install_client: Boolean, if True install the clients 125 for project,clients in enumerate_projects().iteritems(): 126 for client in clients: 136 for project,clients in enumerate_projects().iteritems(): 137 for client in clients: 148 help='List all projects and clients that can be compiled') 152 help='Compile all available projects and clients') 155 help='List of clients to compiled (e.g. -c "x.X c.C")') 162 help='Do not install the clients just compile them' [all...] |
/frameworks/av/services/mediaresourcemanager/test/ |
ResourceManagerService_test.cpp | 241 Vector<sp<IResourceManagerClient> > clients; local 242 EXPECT_FALSE(mService->getAllClients_l(kLowPriorityPid, type, &clients)); 245 EXPECT_FALSE(mService->getAllClients_l(kMidPriorityPid, type, &clients)); 246 EXPECT_TRUE(mService->getAllClients_l(kHighPriorityPid, type, &clients)); 248 EXPECT_EQ(2u, clients.size()); 249 EXPECT_EQ(mTestClient3, clients[0]); 250 EXPECT_EQ(mTestClient1, clients[1]);
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
VehicleHalManager.cpp | 227 const auto& clients = mSubscriptionManager.getSubscribedClients( local 230 for (auto client : clients) { 329 auto clients = mSubscriptionManager.getSubscribedClients( local 331 for (auto client : clients) {
|