/hardware/interfaces/wifi/1.0/vts/functional/ |
D | wifi_chip_hidl_test.cpp | 104 if (status_and_caps.first.code != WifiStatusCode::SUCCESS) { in configureChipForStaIfaceAndGetCapabilities() 105 EXPECT_EQ(WifiStatusCode::ERROR_NOT_SUPPORTED, status_and_caps.first.code); in configureChipForStaIfaceAndGetCapabilities() 113 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_name.first.code); in getIfaceName() 120 return status_and_iface.first.code; in createApIface() 130 return status_and_iface.first.code; in createNanIface() 140 return status_and_iface.first.code; in createP2pIface() 150 return status_and_iface.first.code; in createStaIface() 175 HIDL_INVOKE(wifi_chip_, getId).first.code); in TEST_F() 183 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_modes.first.code); in TEST_F() 192 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_modes.first.code); in TEST_F() [all …]
|
D | wifi_sta_iface_hidl_test.cpp | 57 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in isCapabilitySupported() 79 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_F() 89 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_type.first.code); in TEST_F() 105 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_F() 121 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_F() 131 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_freqs.first.code); in TEST_F() 161 HIDL_INVOKE(wifi_sta_iface_, getLinkLayerStats).first.code); in TEST_F() 210 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_cap.first.code); in TEST_F() 290 HIDL_INVOKE(wifi_sta_iface_, getDebugTxPacketFates).first.code); in TEST_F() 292 HIDL_INVOKE(wifi_sta_iface_, getDebugRxPacketFates).first.code); in TEST_F()
|
D | wifi_hidl_test_utils.cpp | 69 if (status_and_modes.first.code != WifiStatusCode::SUCCESS) { in configureChipToSupportIfaceTypeInternal() 114 if (status_and_chip_ids.first.code != WifiStatusCode::SUCCESS || in getWifiChip() 119 if (status_and_chip.first.code != WifiStatusCode::SUCCESS) { in getWifiChip() 134 if (status_and_iface.first.code != WifiStatusCode::SUCCESS) { in getWifiApIface() 149 if (status_and_iface.first.code != WifiStatusCode::SUCCESS) { in getWifiNanIface() 164 if (status_and_iface.first.code != WifiStatusCode::SUCCESS) { in getWifiP2pIface() 179 if (status_and_iface.first.code != WifiStatusCode::SUCCESS) { in getWifiStaIface() 196 if (status_and_controller.first.code != WifiStatusCode::SUCCESS) { in getWifiRttController()
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | map_converter_test.cpp | 57 ExpectConvertToV4L2(kv->first, kv->second); in TEST_F() 63 ExpectConvertToV4L2(kv->first + 1, kv->second); in TEST_F() 70 ExpectConvertToV4L2(kv->first - 1, kv->second); in TEST_F() 76 ExpectConvertToV4L2(kv->first - 1, kv->second); in TEST_F() 82 ExpectConvertToV4L2(kv->first + 1, kv->second); in TEST_F() 97 EXPECT_CALL(*converter_, V4L2ToMetadata(kv->first, _)) in TEST_F()
|
D | enum_converter.cpp | 44 *conversion = kv.first; in MetadataToV4L2() 65 if (element_range.first == element_range.second) { in V4L2ToMetadata() 70 auto element = element_range.first; in V4L2ToMetadata()
|
D | map_converter.h | 91 TMapKey diff = kv->first - raw_conversion; in MetadataToV4L2() 96 if (raw_conversion - kv->first < diff) { in MetadataToV4L2() 119 res = wrapped_converter_->V4L2ToMetadata(kv.first, conversion); in V4L2ToMetadata()
|
/hardware/google/pixel/atrace/ |
D | AtraceDevice.cpp | 70 categories[i].name = c.first; in listCategories() 86 if (!android::base::WriteStringToFile("1", p.first)) { in enableCategories() 87 LOG(ERROR) << "Failed to enable tracing on: " << p.first; in enableCategories() 106 if (!android::base::WriteStringToFile("0", p.first)) { in disableAllCategories() 107 LOG(ERROR) << "Failed to disable tracing on: " << p.first; in disableAllCategories()
|
/hardware/interfaces/atrace/1.0/default/ |
D | AtraceDevice.cpp | 60 categories[i].name = c.first; in listCategories() 76 if (!android::base::WriteStringToFile("1", p.first)) { in enableCategories() 77 LOG(ERROR) << "Failed to enable tracing on: " << p.first; in enableCategories() 96 if (!android::base::WriteStringToFile("0", p.first)) { in disableAllCategories() 97 LOG(ERROR) << "Failed to enable tracing on: " << p.first; in disableAllCategories()
|
/hardware/interfaces/gnss/2.0/default/ |
D | GnssVisibilityControl.cpp | 33 bool first = true; in enableNfwLocationAccess() local 35 if (first) { in enableNfwLocationAccess() 36 first = false; in enableNfwLocationAccess()
|
/hardware/google/pixel/thermal/ |
D | thermal-helper.cpp | 187 sensor_status_map_[name_status_pair.first] = { in ThermalHelper() 206 cooling_devices_.getThermalFilePath(std::string_view(cdev.first)); in ThermalHelper() 217 return sensor.first; in ThermalHelper() 321 out->throttlingStatus = static_cast<size_t>(status.first) > static_cast<size_t>(status.second) in readTemperature() 322 ? status.first in readTemperature() 392 std::string_view sensor_name = sensor_info_pair.first; in initializeSensorMap() 411 std::string_view cooling_device_name = cooling_device_info_pair.first; in initializeCoolingDevices() 434 std::string_view sensor_name = sensor_info.first; in initializeTrip() 490 if (readTemperature(name_info_pair.first, &temp)) { in fillTemperatures() 494 << ": error reading temperature for sensor: " << name_info_pair.first; in fillTemperatures() [all …]
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | DynamicSensorManager.cpp | 74 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() 115 .sensor = mHandleRange.first, in flush() 152 submitEvent(nullptr, entry.first->second.generateConnectionEvent(mHandleRange.first)); in registerSensor() 174 ConnectionReport::fillDisconnectionEvent(&event, mHandleRange.first, handle); in unregisterSensor() 181 handle = mHandleRange.first; in submitEvent()
|
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/ |
D | HidItem.cpp | 87 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 >>()
|
D | HidParser.cpp | 228 unsigned int id = setPair.first; in convertGroupToPacket() 243 int64_t offset = physical.first - logical.first; in convertGroupToPacket() 244 double scale = static_cast<double>((physical.second - physical.first)) in convertGroupToPacket() 245 / (logical.second - logical.first); in convertGroupToPacket() 251 .minRaw = logical.first, in convertGroupToPacket()
|
/hardware/google/av/media/eco/tests/ |
D | EcoDataTest.cpp | 79 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/wifi/1.3/vts/functional/ |
D | wifi_sta_iface_hidl_test.cpp | 49 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in isCapabilitySupported() 64 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_mac.first.code); in TEST_F() 91 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_stats.first.code); in TEST_F()
|
D | wifi_chip_hidl_test.cpp | 68 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in configureChipForStaIfaceAndGetCapabilities() 112 if (status_and_caps.first.code != WifiStatusCode::SUCCESS) { in TEST_F() 114 status_and_caps.first.code); in TEST_F()
|
/hardware/google/av/media/sfplugin/ |
D | ReflectedParamUpdater.cpp | 57 s << "c2::i32 " << it.first << " = " << int32Value; in debugString() 61 s << "c2::u32 " << it.first << " = " << uint32Value; in debugString() 66 s << "c2::c32 " << it.first << " = " << uint32Value; in debugString() 70 s << "c2::i64 " << it.first << " = " << int64Value; in debugString() 74 s << "c2::u64 " << it.first << " = " << uint64Value; in debugString() 79 s << "c2::c64 " << it.first << " = " << uint64Value; in debugString() 83 s << "c2::float " << it.first << " = " << floatValue; in debugString() 87 s << "c2::unsupported " << it.first; in debugString() 90 s << "int32_t " << it.first << " = " << int32Value; in debugString() 92 s << "int64_t " << it.first << " = " << int64Value; in debugString() [all …]
|
/hardware/interfaces/soundtrigger/2.1/default/ |
D | SoundTriggerHw.cpp | 107 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/bluetooth/1.0/default/ |
D | async_fd_watcher.cc | 137 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/ |
D | ECOData.cpp | 134 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/pixel/powerstats/ |
D | GenericStateResidencyDataProvider.cpp | 44 cfg.name = h.first; in generateGenericStateResidencyConfigs() 138 PowerEntityStateResidencyData data = {.powerEntityStateId = nextState->first}; in getStateData() 181 PowerEntityStateResidencyResult result = {.powerEntityId = nextConfig->first}; in getResults() 183 results.emplace(nextConfig->first, result); in getResults() 209 PowerEntityStateSpace s = {.powerEntityId = config.first}; in getStateSpaces() 214 .powerEntityStateId = config.second.mStateResidencyConfigs[i].first, in getStateSpaces()
|
D | AidlStateResidencyDataProvider.cpp | 62 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/interfaces/wifi/1.2/vts/functional/ |
D | wifi_sta_iface_hidl_test.cpp | 50 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in isCapabilitySupported() 88 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_F() 106 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_data.first.code); in TEST_F()
|
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/ |
D | mltypes.h | 149 #define ERROR_CHECK_FIRST(first, x) \ argument 150 { if (INV_SUCCESS == first) first = x; }
|
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
D | mltypes.h | 149 #define ERROR_CHECK_FIRST(first, x) \ argument 150 { if (INV_SUCCESS == first) first = x; }
|