Searched refs:kDeviceType (Results 1 – 13 of 13) sorted by relevance
52 const std::string kDeviceType = "iio:device"; variable
44 constexpr char kDeviceType[] = "iio:device"; variable60 strlen(ent->d_name) > strlen(kDeviceType) && in findIioPowerMonitorNodes()61 strncmp(ent->d_name, kDeviceType, strlen(kDeviceType)) == 0) { in findIioPowerMonitorNodes()
79 kDeviceType(deviceType), in InvalidDevice()115 *deviceType = kDeviceType; in getType()
159 kDeviceType(deviceType), in Device()179 return kDeviceType; in getType()
69 const DeviceType kDeviceType; variable
91 const nn::DeviceType kDeviceType; variable
130 kDeviceType(deviceType), in Device()150 return kDeviceType; in getType()
86 const nn::DeviceType kDeviceType; variable
57 constexpr auto kDeviceType = nn::DeviceType::ACCELERATOR; in createConfiguredMockDevice() local67 ON_CALL(*mockDevice, getType()).WillByDefault(Return(kDeviceType)); in createConfiguredMockDevice()157 constexpr auto kDeviceType = nn::DeviceType::ACCELERATOR; in TEST() local158 EXPECT_CALL(*mockDevice, getType()).Times(1).WillOnce(Return(kDeviceType)); in TEST()164 EXPECT_EQ(type, kDeviceType); in TEST()
179 kDeviceType(deviceType), in Device()199 return kDeviceType; in getType()
103 const nn::DeviceType kDeviceType; variable
35 constexpr std::string_view kDeviceType("iio:device"); variable161 if (devTypeDir.find(kDeviceType) != std::string::npos) { in findEnergySourceToWatch()
52 if (devTypeDir.find(kDeviceType) != std::string::npos) { in findIioEnergyMeterNodes()