Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 326) sorted by relevance

12345678910>>...14

/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_chip_hidl_test.cpp101 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_name.first.code); in getIfaceName()
108 return status_and_iface.first.code; in createP2pIface()
118 return status_and_iface.first.code; in createStaIface()
145 HIDL_INVOKE(wifi_chip_, getId).first.code); in TEST_P()
153 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_modes.first.code); in TEST_P()
162 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_modes.first.code); in TEST_P()
182 if (status_and_caps.first.code != WifiStatusCode::SUCCESS) { in TEST_P()
183 EXPECT_EQ(WifiStatusCode::ERROR_NOT_SUPPORTED, status_and_caps.first.code); in TEST_P()
195 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_mode.first.code); in TEST_P()
206 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_chip_info.first.code); in TEST_P()
[all …]
Dwifi_sta_iface_hidl_test.cpp63 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in isCapabilitySupported()
85 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_P()
95 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_type.first.code); in TEST_P()
111 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_P()
127 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_P()
137 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_freqs.first.code); in TEST_P()
167 HIDL_INVOKE(wifi_sta_iface_, getLinkLayerStats).first.code); in TEST_P()
216 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_cap.first.code); in TEST_P()
296 HIDL_INVOKE(wifi_sta_iface_, getDebugTxPacketFates).first.code); in TEST_P()
298 HIDL_INVOKE(wifi_sta_iface_, getDebugRxPacketFates).first.code); in TEST_P()
Dwifi_chip_hidl_nan_test.cpp70 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_name.first.code); in getIfaceName()
77 return status_and_iface.first.code; in createNanIface()
114 ASSERT_EQ(WifiStatusCode::SUCCESS, status_and_iface_names1.first.code); in TEST_P()
124 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_iface_names2.first.code); in TEST_P()
131 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_iface_names3.first.code); in TEST_P()
151 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_iface1.first.code); in TEST_P()
157 EXPECT_EQ(WifiStatusCode::ERROR_INVALID_ARGS, status_and_iface2.first.code); in TEST_P()
Dwifi_hidl_test_utils.cpp73 if (status_and_modes.first.code != WifiStatusCode::SUCCESS) { in configureChipToSupportIfaceTypeInternal()
116 if (status_and_chip_ids.first.code != WifiStatusCode::SUCCESS || in getWifiChip()
121 if (status_and_chip.first.code != WifiStatusCode::SUCCESS) { in getWifiChip()
130 if (status_and_name.first.code == WifiStatusCode::SUCCESS) { in setIfaceUp()
146 if (status_and_iface.first.code != WifiStatusCode::SUCCESS) { in getWifiApIface()
162 if (status_and_iface.first.code != WifiStatusCode::SUCCESS) { in getWifiNanIface()
178 if (status_and_iface.first.code != WifiStatusCode::SUCCESS) { in getWifiP2pIface()
194 if (status_and_iface.first.code != WifiStatusCode::SUCCESS) { in getWifiStaIface()
231 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in getChipCapabilitiesLatest()
Dwifi_chip_hidl_ap_test.cpp71 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_name.first.code); in getIfaceName()
78 return status_and_iface.first.code; in createApIface()
115 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_iface_names1.first.code); in TEST_P()
125 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_iface_names2.first.code); in TEST_P()
132 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_iface_names3.first.code); in TEST_P()
152 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_iface1.first.code); in TEST_P()
158 EXPECT_EQ(WifiStatusCode::ERROR_INVALID_ARGS, status_and_iface2.first.code); in TEST_P()
/hardware/interfaces/automotive/can/1.0/default/libnl++/
Dprinter.cpp32 bool first = true; in flagsToStream() local
33 auto printFlag = [&ss, &first, &nlmsg_flags](__u16 flag, const std::string& name) { in flagsToStream()
37 if (first) { in flagsToStream()
38 first = false; in flagsToStream()
78 if (!first) ss << '|'; in flagsToStream()
125 bool first = true; in toStream() local
127 if (!first) ss << ", "; in toStream()
128 first = false; in toStream()
199 bool first = true; in toString() local
201 if (first) { in toString()
[all …]
/hardware/interfaces/automotive/can/1.0/hidl-utils/include/hidl-utils/
Dhidl-utils.h50 inline void copy(const First& first) { in copy()
51 *std::get<Pos>(mTargets) = first; in copy()
55 inline void copy(const First& first, const Rest&... rest) { in copy()
56 *std::get<Pos>(mTargets) = first; in copy()
/hardware/interfaces/gnss/2.0/default/
DGnssVisibilityControl.cpp33 bool first = true; in enableNfwLocationAccess() local
35 if (first) { in enableNfwLocationAccess()
36 first = false; in enableNfwLocationAccess()
/hardware/interfaces/audio/common/all-versions/default/service/
Dservice.cpp38 static bool registerPassthroughServiceImplementations(Iter first, Iter last) { in registerPassthroughServiceImplementations() argument
39 for (; first != last; ++first) { in registerPassthroughServiceImplementations()
40 if (registerPassthroughServiceImplementation(*first) == OK) { in registerPassthroughServiceImplementations()
/hardware/google/pixel/thermal/
DThermal.cpp283 *dump_buf << " Name: " << sensor_info_pair.first << std::endl; in dumpVirtualSensorInfo()
332 *dump_buf << " Name: " << name_info_pair.first << std::endl; in dumpThrottlingInfo()
383 *dump_buf << " Cooling device name: " << binded_cdev_info_pair.first in dumpThrottlingInfo()
452 *dump_buf << " Name: " << cdev_status_pair.first << std::endl; in dumpThrottlingRequestStatus()
454 *dump_buf << " Request Sensor: " << request_pair.first << std::endl; in dumpThrottlingRequestStatus()
456 if (sensor_status_map.at(request_pair.first).pid_request_map.size() && in dumpThrottlingRequestStatus()
457 sensor_status_map.at(request_pair.first) in dumpThrottlingRequestStatus()
458 .pid_request_map.count(cdev_status_pair.first)) { in dumpThrottlingRequestStatus()
460 << sensor_status_map.at(request_pair.first) in dumpThrottlingRequestStatus()
461 .pid_request_map.at(cdev_status_pair.first) in dumpThrottlingRequestStatus()
[all …]
/hardware/libhardware/modules/camera/3_4/metadata/
Denum_converter.cpp44 *conversion = kv.first; in MetadataToV4L2()
65 if (element_range.first == element_range.second) { in V4L2ToMetadata()
70 auto element = element_range.first; in V4L2ToMetadata()
/hardware/google/pixel/powerstats/
DGenericStateResidencyDataProvider.cpp45 cfg.name = h.first; in generateGenericStateResidencyConfigs()
144 PowerEntityStateResidencyData data = {.powerEntityStateId = nextState->first}; in getStateData()
189 PowerEntityStateResidencyResult result = {.powerEntityId = nextConfig->first}; in getResults()
194 if (results.find(nextConfig->first) != results.end()) { in getResults()
195 uint32_t size = results[nextConfig->first].stateResidencyData.size(); in getResults()
196 results[nextConfig->first].stateResidencyData.resize( in getResults()
199 results[nextConfig->first].stateResidencyData[size + i] = in getResults()
203 results.emplace(nextConfig->first, result); in getResults()
240 PowerEntityStateSpace s = {.powerEntityId = config.first}; in getStateSpaces()
245 .powerEntityStateId = config.second.mStateResidencyConfigs[i].first, in getStateSpaces()
DAidlStateResidencyDataProvider.cpp62 LOG(INFO) << "Unregistering callback for " << it->first; in unregisterCallbackInternal()
131 LOG(WARNING) << "getStats for " << cb.first << " exceeded time allowed: " << time_elapsed_us in getStatsTimed()
181 LOG(ERROR) << "getStats for " << cb.first << " failed: " << status.toString8(); in getResults()
185 if (buildResult(cb.first, stats, result)) { in getResults()
189 LOG(ERROR) << "State residency data missing for " << cb.first; in getResults()
211 .powerEntityStateId = state.second, .powerEntityStateName = state.first}; in getStateSpaces()
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidItem.cpp87 unsigned char first; in operator >>() local
88 is >> first; in operator >>()
91 size_t len = lenTable[first & 0x3]; // low 2 bits are length descriptor in operator >>()
92 h.tag = (first >> 4); in operator >>()
93 h.type = (first & 0xC) >> 2; in operator >>()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DDynamicSensorManager.cpp74 return handle >= mHandleRange.first && handle < mHandleRange.second; in owns()
78 if (handle == mHandleRange.first) { in activate()
96 if (handle == mHandleRange.first) { in batch()
111 if (handle == mHandleRange.first) { in flush()
114 .sensor = mHandleRange.first, in flush()
156 submitEvent(nullptr, entry.first->second.generateConnectionEvent(mHandleRange.first)); in registerSensor()
178 ConnectionReport::fillDisconnectionEvent(&event, mHandleRange.first, handle); in unregisterSensor()
185 handle = mHandleRange.first; in submitEvent()
/hardware/interfaces/wifi/1.3/vts/functional/
Dwifi_sta_iface_hidl_test.cpp58 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in isCapabilitySupported()
76 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_mac.first.code); in TEST_P()
102 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_stats.first.code); in TEST_P()
107 status_and_stats.first.code); in TEST_P()
/hardware/google/av/media/eco/tests/
DEcoDataTest.cpp79 data->setString(it->first, it->second); in TEST()
85 EXPECT_TRUE(data->findString(it->first, &testValue) == ECODataStatus::OK); in TEST()
129 data->setInt32(it->first, it->second); in TEST()
135 EXPECT_TRUE(data->findInt32(it->first, &testValue) == ECODataStatus::OK); in TEST()
179 data->setInt64(it->first, it->second); in TEST()
185 EXPECT_TRUE(data->findInt64(it->first, &testValue) == ECODataStatus::OK); in TEST()
229 data->setFloat(it->first, it->second); in TEST()
235 EXPECT_TRUE(data->findFloat(it->first, &testValue) == ECODataStatus::OK); in TEST()
264 data->set(it->first, it->second); in TEST()
270 EXPECT_TRUE(data->find(it->first, &testValue) == ECODataStatus::OK); in TEST()
[all …]
/hardware/interfaces/health/2.1/vts/functional/
DVtsHalHealthV2_1TargetTest.cpp147 sp<Callback> first = new Callback(); in TestCallbacks() local
150 TEST_AND_RETURN(ResultIsSuccess(service->registerCallback(first))); in TestCallbacks()
156 first->waitInvoke(200ms); in TestCallbacks()
162 TEST_AND_RETURN_FAILURE(first->waitInvoke(1s)); in TestCallbacks()
165 TEST_AND_RETURN(ResultIsSuccess(service->unregisterCallback(first))); in TestCallbacks()
169 first->waitInvoke(200ms); in TestCallbacks()
175 TEST_AND_RETURN_FAILURE(!first->waitInvoke(200ms)); in TestCallbacks()
/hardware/interfaces/soundtrigger/2.1/default/
DSoundTriggerHw.cpp107 if (result.first) { in loadSoundModel_2_1()
129 if (result.first) { in loadPhraseSoundModel_2_1()
145 return result.first ? startRecognition(modelHandle, config_2_0) : Return<int32_t>(-ENOMEM); in startRecognition_2_1()
159 if (result.first) { in recognitionCallback()
169 if (result.first) { in recognitionCallback()
181 if (result.first) { in soundModelCallback()
/hardware/interfaces/wifi/1.5/vts/functional/
Dwifi_chip_hidl_ap_test.cpp84 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_iface.first.code); in createBridgedApIface()
103 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_name.first.code); in TEST_P()
107 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_instances.first.code); in TEST_P()
117 status_and_instances_after_remove.first.code); in TEST_P()
/hardware/interfaces/bluetooth/1.0/default/
Dasync_fd_watcher.cc137 FD_SET(it.first, &read_fds); in ThreadRoutine()
138 max_read_fd = std::max(max_read_fd, it.first); in ThreadRoutine()
180 if (FD_ISSET(it.first, &read_fds)) { in ThreadRoutine()
181 it.second(it.first); in ThreadRoutine()
/hardware/google/av/media/eco/
DECOData.cpp134 RETURN_STATUS_IF_ERROR(parcel->writeCString(it.first.c_str())); in writeToParcel()
345 return ECOData::ECODataKeyValuePair(mIterator->first, mIterator->second); in next()
381 snprintf(keyValue, SIZE, "int32_t %s = %d, ", it.first.c_str(), in debugString()
385 snprintf(keyValue, SIZE, "int64_t %s = %" PRId64 ", ", it.first.c_str(), in debugString()
389 snprintf(keyValue, SIZE, "size_t %s = %zu, ", it.first.c_str(), in debugString()
393 snprintf(keyValue, SIZE, "float %s = %f, ", it.first.c_str(), in debugString()
397 snprintf(keyValue, SIZE, "double %s = %f, ", it.first.c_str(), in debugString()
401 snprintf(keyValue, SIZE, "string %s = %s, ", it.first.c_str(), in debugString()
405 snprintf(keyValue, SIZE, "int8_t %s = %d, ", it.first.c_str(), in debugString()
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedLogicalRequestState.cpp61 std::make_unique<EmulatedRequestState>(it.first); in Initialize()
66 __FUNCTION__, it.first); in Initialize()
69 physical_request_states_.emplace(it.first, in Initialize()
156 __FUNCTION__, physical_request_state.first); in InitializeLogicalSettings()
160 if (physical_camera_output_ids_->find(physical_request_state.first) != in InitializeLogicalSettings()
162 logical_settings->emplace(physical_request_state.first, in InitializeLogicalSettings()
208 auto physical_id = std::to_string(physical_device.first); in AdaptLogicalCharacteristics()
229 int32_t default_physical_id = physical_devices->begin()->first; in AdaptLogicalCharacteristics()
374 physical_device.first}); in GetZoomRatioPhysicalCameraInfo()
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
Dmltypes.h149 #define ERROR_CHECK_FIRST(first, x) \ argument
150 { if (INV_SUCCESS == first) first = x; }
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dmltypes.h149 #define ERROR_CHECK_FIRST(first, x) \ argument
150 { if (INV_SUCCESS == first) first = x; }

12345678910>>...14