Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/device/google/cuttlefish_vmm/x86_64-linux-gnu/
DCargo.lock43 source = "registry+https://github.com/rust-lang/crates.io-index"
59 source = "registry+https://github.com/rust-lang/crates.io-index"
65 source = "registry+https://github.com/rust-lang/crates.io-index"
104 source = "registry+https://github.com/rust-lang/crates.io-index"
114 source = "registry+https://github.com/rust-lang/crates.io-index"
135 source = "registry+https://github.com/rust-lang/crates.io-index"
141 source = "registry+https://github.com/rust-lang/crates.io-index"
150 source = "registry+https://github.com/rust-lang/crates.io-index"
156 source = "registry+https://github.com/rust-lang/crates.io-index"
167 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/device/google/cuttlefish_vmm/aarch64-linux-gnu/
DCargo.lock43 source = "registry+https://github.com/rust-lang/crates.io-index"
59 source = "registry+https://github.com/rust-lang/crates.io-index"
65 source = "registry+https://github.com/rust-lang/crates.io-index"
104 source = "registry+https://github.com/rust-lang/crates.io-index"
114 source = "registry+https://github.com/rust-lang/crates.io-index"
135 source = "registry+https://github.com/rust-lang/crates.io-index"
141 source = "registry+https://github.com/rust-lang/crates.io-index"
150 source = "registry+https://github.com/rust-lang/crates.io-index"
156 source = "registry+https://github.com/rust-lang/crates.io-index"
167 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/device/google/contexthub/util/nanotool/
Dsensorevent.cpp137 uint64_t TimestampedSensorEvent::GetSampleTime(uint8_t index) const { in GetSampleTime()
143 for (uint8_t i = 1; i <= index; i++) { in GetSampleTime()
144 sample = GetSampleAtIndex(index); in GetSampleTime()
151 std::string TimestampedSensorEvent::GetSampleTimeStr(uint8_t index) const { in GetSampleTimeStr()
152 uint64_t sample_time = GetSampleTime(index); in GetSampleTimeStr()
162 uint8_t index) const { in GetSampleAtIndex()
163 if (index >= GetNumSamples()) { in GetSampleAtIndex()
164 LOGW("Requested sample at invalid index %u", index); in GetSampleAtIndex()
169 index * GetSampleDataSize()); in GetSampleAtIndex()
208 std::string SingleAxisSensorEvent::StringForSample(uint8_t index) const { in StringForSample()
[all …]
Dsensorevent.h117 uint64_t GetSampleTime(uint8_t index) const;
118 std::string GetSampleTimeStr(uint8_t index) const;
119 const SensorSampleHeader *GetSampleAtIndex(uint8_t index) const;
123 virtual std::string StringForSample(uint8_t index) const = 0;
138 virtual std::string StringForSample(uint8_t index) const override;
148 std::string StringForSample(uint8_t index) const override;
153 std::string StringForSample(uint8_t index) const override;
161 std::string StringForSample(uint8_t index) const override;
Dnanotool.cpp247 unsigned int index = 0; in ParseSensorArg() local
250 if (index == 0) { in ParseSensorArg()
252 } else if (index == 1) { in ParseSensorArg()
260 index++; in ParseSensorArg()
263 index = 0; in ParseSensorArg()
266 if (index == 0) { // Parse sensor type in ParseSensorArg()
273 } else if (index == 1) { // Parse sample rate in ParseSensorArg()
279 } else if (index == 2) { // Parse latency in ParseSensorArg()
290 index++; in ParseSensorArg()
309 int index = 0; in ParseArgs() local
[all …]
/device/google/sunfish/powerstats/
DRailDataProvider.cpp91 uint32_t index = 0; in parsePowerRails() local
117 .index = index, in parsePowerRails()
121 index++; in parsePowerRails()
127 return index; in parsePowerRails()
156 size_t index = mOdpm.railsInfo[railName].index; in parseIioEnergyNode() local
157 mOdpm.reading[index].index = index; in parseIioEnergyNode()
158 mOdpm.reading[index].timestamp = timestamp; in parseIioEnergyNode()
159 mOdpm.reading[index].energy = strtoull(words[1].c_str(), NULL, 10); in parseIioEnergyNode()
160 if (mOdpm.reading[index].energy == ULLONG_MAX) { in parseIioEnergyNode()
162 mOdpm.reading[index].energy); in parseIioEnergyNode()
[all …]
/device/google/redbull/powerstats/
DRailDataProvider.cpp83 uint32_t index = 0; in parsePowerRails() local
109 .index = index, in parsePowerRails()
113 index++; in parsePowerRails()
119 return index; in parsePowerRails()
146 size_t index = mOdpm.railsInfo[railName].index; in parseIioEnergyNode() local
147 mOdpm.reading[index].index = index; in parseIioEnergyNode()
148 mOdpm.reading[index].timestamp = timestamp; in parseIioEnergyNode()
149 mOdpm.reading[index].energy = strtoull(words[1].c_str(), NULL, 10); in parseIioEnergyNode()
150 if (mOdpm.reading[index].energy == ULLONG_MAX) { in parseIioEnergyNode()
152 mOdpm.reading[index].energy); in parseIioEnergyNode()
[all …]
/device/google/coral/powerstats/
DRailDataProvider.cpp91 uint32_t index = 0; in parsePowerRails() local
117 .index = index, in parsePowerRails()
121 index++; in parsePowerRails()
127 return index; in parsePowerRails()
156 size_t index = mOdpm.railsInfo[railName].index; in parseIioEnergyNode() local
157 mOdpm.reading[index].index = index; in parseIioEnergyNode()
158 mOdpm.reading[index].timestamp = timestamp; in parseIioEnergyNode()
159 mOdpm.reading[index].energy = strtoull(words[1].c_str(), NULL, 10); in parseIioEnergyNode()
160 if (mOdpm.reading[index].energy == ULLONG_MAX) { in parseIioEnergyNode()
162 mOdpm.reading[index].energy); in parseIioEnergyNode()
[all …]
/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/notifications/
DTvNotification.java145 int index = 0; in fromCursor() local
146 String key = cursor.getString(index++); in fromCursor()
147 String packageName = cursor.getString(index++); in fromCursor()
148 String title = cursor.getString(index++); in fromCursor()
149 String text = cursor.getString(index++); in fromCursor()
150 boolean dismissible = cursor.getInt(index++) != 0; in fromCursor()
151 boolean ongoing = cursor.getInt(index++) != 0; in fromCursor()
152 byte[] smallIconData = cursor.getBlob(index++); in fromCursor()
155 int channel = cursor.getInt(index++); in fromCursor()
156 int progress = cursor.getInt(index++); in fromCursor()
[all …]
/device/google/coral-kernel/sm8150/kernel-headers/linux/mfd/adnc/
Diaxxx-sysid-defs.h195 #define IAXXX_SYSID_GEN_SPECIAL_SYSID(type,index) \ argument
198 (((index) << IAXXX_SYSID_POS_SPECIAL_INST_INDEX) & IAXXX_SYSID_MASK_SPECIAL_INST_INDEX))
203 #define IAXXX_SYSID_GEN_DRIVER_SYSID(type,index) \ argument
206 (((index) << IAXXX_SYSID_POS_DRIVER_INST_INDEX) & IAXXX_SYSID_MASK_DRIVER_INST_INDEX))
221 #define IAXXX_SYSID_GEN_PLUGIN_SYSID(pluginId,dir,index) \ argument
225 (((index) << IAXXX_SYSID_POS_PLUGIN_EP_INDEX) & IAXXX_SYSID_MASK_PLUGIN_EP_INDEX))
231 #define IAXXX_SYSID_GEN_CHANNEL_SYSID(channelId,dir,index) \ argument
235 (((index) << IAXXX_SYSID_POS_CHANNEL_EP_INDEX) & IAXXX_SYSID_MASK_CHANNEL_EP_INDEX))
243 #define IAXXX_SYSID_GEN_TUNNEL_SYSID(tunnelId,dir,index) \ argument
247 (((index) << IAXXX_SYSID_POS_TUNNEL_EP_INDEX) & IAXXX_SYSID_MASK_TUNNEL_EP_INDEX))
[all …]
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/mfd/adnc/
Diaxxx-sysid-defs.h704 #define IAXXX_SYSID_GEN_SPECIAL_SYSID(type, index) \ argument
709 (((index) << IAXXX_SYSID_POS_SPECIAL_INST_INDEX)\
731 #define IAXXX_SYSID_GEN_DRIVER_SYSID(type, index) \ argument
736 (((index) << IAXXX_SYSID_POS_DRIVER_INST_INDEX)\
788 #define IAXXX_SYSID_GEN_PLUGIN_SYSID(pluginId, dir, index) \ argument
795 (((index) << IAXXX_SYSID_POS_PLUGIN_EP_INDEX) \
820 #define IAXXX_SYSID_GEN_CHANNEL_SYSID(channelId, dir, index) \ argument
827 (((index) << IAXXX_SYSID_POS_CHANNEL_EP_INDEX) \
856 #define IAXXX_SYSID_GEN_TUNNEL_SYSID(tunnelId, dir, index) \ argument
863 (((index) << IAXXX_SYSID_POS_TUNNEL_EP_INDEX) \
[all …]
/device/google/contexthub/firmware/external/arm/
Darm_sin_cos_f32.c213 uint16_t index; /* Index variable */ in arm_sin_f32() local
236 index = ((uint16_t)findex) & 0x1ff; in arm_sin_f32()
239 fract = findex - (float32_t) index; in arm_sin_f32()
242 a = sinTable_f32[index]; in arm_sin_f32()
243 b = sinTable_f32[index+1]; in arm_sin_f32()
302 uint16_t index; /* Index variable */ in arm_cos_f32() local
325 index = ((uint16_t)findex) & 0x1ff; in arm_cos_f32()
328 fract = findex - (float32_t) index; in arm_cos_f32()
331 a = sinTable_f32[index]; in arm_cos_f32()
332 b = sinTable_f32[index+1]; in arm_cos_f32()
/device/linaro/poplar/wifi/wifi_hal/
Dwifi_offload.cpp82 MKeepAliveCommand(wifi_interface_handle iface, u8 index, u8 *ip_packet, u16 ip_packet_len, in MKeepAliveCommand() argument
84 : WifiCommand("MKeepAliveCommand", iface, 0), mIndex(index), mIpPkt(ip_packet), in MKeepAliveCommand()
90 MKeepAliveCommand(wifi_interface_handle iface, u8 index, GetCmdType cmdType) in MKeepAliveCommand() argument
91 : WifiCommand("MKeepAliveCommand", iface, 0), mIndex(index), mType(cmdType) in MKeepAliveCommand()
218 wifi_error wifi_start_sending_offloaded_packet(wifi_request_id index, wifi_interface_handle iface, in wifi_start_sending_offloaded_packet() argument
222 if ((index > 0 && index <= N_AVAIL_ID) && (ip_packet != NULL) && (src_mac_addr != NULL) in wifi_start_sending_offloaded_packet()
225 MKeepAliveCommand *cmd = new MKeepAliveCommand(iface, index, ip_packet, ip_packet_len, in wifi_start_sending_offloaded_packet()
238 wifi_error wifi_stop_sending_offloaded_packet(wifi_request_id index, wifi_interface_handle iface) in wifi_stop_sending_offloaded_packet() argument
240 if (index > 0 && index <= N_AVAIL_ID) { in wifi_stop_sending_offloaded_packet()
241 MKeepAliveCommand *cmd = new MKeepAliveCommand(iface, index, STOP_MKEEP_ALIVE); in wifi_stop_sending_offloaded_packet()
/device/google/contexthub/firmware/os/algos/calibration/over_temp/
Dover_temp_cal.c753 struct OverTempCal *over_temp_cal, size_t index, in overTempValidateAndSetWeight() argument
768 if (index == 0 || in overTempValidateAndSetWeight()
769 over_temp_cal->weighting_function[index - 1].offset_age_nanos < in overTempValidateAndSetWeight()
771 over_temp_cal->weighting_function[index] = *new_otc_weight; in overTempValidateAndSetWeight()
794 for (size_t index = 0; index < 3; index++) { in compensateWithLinearModel() local
795 if (over_temp_cal->temp_sensitivity[index] < OTC_INITIAL_SENSITIVITY) { in compensateWithLinearModel()
800 compensated_offset[index] = in compensateWithLinearModel()
801 over_temp_cal->temp_sensitivity[index] * temperature_celsius + in compensateWithLinearModel()
802 over_temp_cal->sensor_intercept[index]; in compensateWithLinearModel()
819 for (size_t index = 0; index < 3; index++) { in addLinearTemperatureExtrapolation() local
[all …]
/device/generic/goldfish-opengl/system/codecs/omx/plugin/include/
DGoldfishOMXComponent.h59 OMX_INDEXTYPE index, OMX_PTR params);
62 OMX_INDEXTYPE index, const OMX_PTR params);
65 OMX_INDEXTYPE index, OMX_PTR params);
68 OMX_INDEXTYPE index, const OMX_PTR params);
71 const char *name, OMX_INDEXTYPE *index);
113 OMX_INDEXTYPE index,
118 OMX_INDEXTYPE index,
123 OMX_INDEXTYPE index,
128 OMX_INDEXTYPE index,
134 OMX_INDEXTYPE *index);
/device/generic/goldfish/camera/
DCameraProvider.cpp36 std::string getLogicalCameraId(const int index) { in getLogicalCameraId() argument
38 snprintf(buf, sizeof(buf), "%s%d", kCameraIdPrefix, index); in getLogicalCameraId()
51 int index; in parseLogicalCameraId() local
53 &*str.end(), index, 10); in parseLogicalCameraId()
55 return index; in parseLogicalCameraId()
100 const int index = maybeIndex.value() - mDeviceIdBase; in getCameraDeviceInterface() local
101 if ((index >= 0) && (index < mAvailableCameras.size())) { in getCameraDeviceInterface()
102 auto hwCamera = mAvailableCameras[index](); in getCameraDeviceInterface()
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/
Dgles2_core.entries7 void glBindAttribLocation(GLuint program, GLuint index, const GLchar *name);
44 void glDisableVertexAttribArray(GLuint index);
48 void glEnableVertexAttribArray(GLuint index);
59 void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size,…
60 void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size…
82 void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params);
83 void glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params);
84 void glGetVertexAttribPointerv(GLuint index, GLenum pname, void **pointer);
137 void glVertexAttrib1f(GLuint index, GLfloat x);
138 void glVertexAttrib1fv(GLuint index, const GLfloat *v);
[all …]
Dgles3_only.entries40 void glGetIntegeri_v(GLenum target, GLuint index, GLint *data);
43 void glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size…
44 void glBindBufferBase(GLenum target, GLuint index, GLuint buffer);
46 void glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, …
47 void glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void *poin…
48 void glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params);
49 void glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params);
50 void glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w);
51 void glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
52 void glVertexAttribI4iv(GLuint index, const GLint *v);
[all …]
/device/google/contexthub/firmware/os/drivers/leds/
Dleds_lp3943.c221 uint8_t index; in sensorCfgDataLedsLP3943() local
228 index = lcfg->led_num >> 2; in sensorCfgDataLedsLP3943()
230 lval = mTask.led[index]; in sensorCfgDataLedsLP3943()
231 laddr += index; in sensorCfgDataLedsLP3943()
239 mTask.led[index] = lval; in sensorCfgDataLedsLP3943()
248 uint8_t index; in sensorLedsOnOff() local
250 for (index=0; index < LP3943_MAX_LED_SECTION; index++) { in sensorLedsOnOff()
251 lval = flag ? mTask.led[index] : 0; in sensorLedsOnOff()
252 writeRegister(laddr + index, lval, STATE_LED); in sensorLedsOnOff()
/device/generic/goldfish-opengl/system/codecs/omx/plugin/
DGoldfishVideoDecoderOMXComponent.cpp348 OMX_INDEXTYPE index, OMX_PTR params) { in internalGetParameter() argument
349 switch (index) { in internalGetParameter()
406 return SimpleGoldfishOMXComponent::internalGetParameter(index, params); in internalGetParameter()
411 OMX_INDEXTYPE index, const OMX_PTR params) { in internalSetParameter() argument
413 const int32_t indexFull = index; in internalSetParameter()
528 return SimpleGoldfishOMXComponent::internalSetParameter(index, params); in internalSetParameter()
532 return SimpleGoldfishOMXComponent::internalSetParameter(index, params); in internalSetParameter()
537 OMX_INDEXTYPE index, OMX_PTR params) { in getConfig() argument
538 switch ((int)index) { in getConfig()
638 OMX_INDEXTYPE index, const OMX_PTR params, bool *frameConfig){ in internalSetConfig() argument
[all …]
DGoldfishOMXComponent.cpp130 OMX_INDEXTYPE index, in GetParameterWrapper() argument
136 return me->getParameter(index, params); in GetParameterWrapper()
142 OMX_INDEXTYPE index, in SetParameterWrapper() argument
148 return me->setParameter(index, params); in SetParameterWrapper()
154 OMX_INDEXTYPE index, in GetConfigWrapper() argument
160 return me->getConfig(index, params); in GetConfigWrapper()
166 OMX_INDEXTYPE index, in SetConfigWrapper() argument
172 return me->setConfig(index, params); in SetConfigWrapper()
179 OMX_INDEXTYPE *index) { in GetExtensionIndexWrapper() argument
184 return me->getExtensionIndex(name, index); in GetExtensionIndexWrapper()
/device/google/cuttlefish/host/commands/modem_simulator/
Dcall_service.cpp219 auto index = FindFreeCallIndex(); in HandleDial() local
221 auto call_token = std::make_pair(index, call_status.number); in HandleDial()
230 active_calls_[index] = call_status; in HandleDial()
235 auto index = FindFreeCallIndex(); in HandleDial() local
236 active_calls_[index] = call_status; in HandleDial()
350 int index = iter->first; in HandleCurrentCalls() local
359 ss << "+CLCC: " << index << "," << dir << "," << call_state << "," in HandleCurrentCalls()
405 int index = -1; in HandleHangup() local
407 index = std::stoi(action.substr(1)); in HandleHangup()
424 if (index == -1) { // Release all active calls and accepts the other(hold or waiting) call in HandleHangup()
[all …]
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c186 static void fillSamples(struct TripleAxisDataEvent *ev, enum RawSensorType index) in fillSamples() argument
196 if (index == GYR && mTask.gyro_client_cnt == 0) { in fillSamples()
199 if (index == MAG && mTask.mag_client_cnt == 0) { in fillSamples()
203 n = mTask.sample_counts[index]; in fillSamples()
204 i = mTask.sample_indices[index]; in fillSamples()
205 counter = mTask.counters[index]; in fillSamples()
206 ResamplePeriodNs = mTask.ResamplePeriodNs[index]; in fillSamples()
207 w = (mTask.sample_indices[index] + n) % MAX_NUM_SAMPLES; in fillSamples()
210 if (mTask.last_time[index] == ULONG_LONG_MAX) { in fillSamples()
216 curr_sample = &mTask.last_sample[index]; in fillSamples()
[all …]
/device/google/cuttlefish/common/libs/utils/
Dnetwork.cpp81 void GenerateMacForInstance(int index, uint8_t type, std::uint8_t out[6]) { in GenerateMacForInstance() argument
88 out[5] = static_cast<std::uint8_t>(index); in GenerateMacForInstance()
175 void GenerateMobileMacForInstance(int index, std::uint8_t out[6]) { in GenerateMobileMacForInstance() argument
176 GenerateMacForInstance(index, 0xe0, out); in GenerateMobileMacForInstance()
179 void GenerateEthMacForInstance(int index, std::uint8_t out[6]) { in GenerateEthMacForInstance() argument
180 GenerateMacForInstance(index, 0xe1, out); in GenerateEthMacForInstance()
183 void GenerateWifiMacForInstance(int index, std::uint8_t out[6]) { in GenerateWifiMacForInstance() argument
184 GenerateMacForInstance(index, 0xe2, out); in GenerateWifiMacForInstance()
/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c319 int index; in addTiltHistoryEntry() local
340 index = mTask.tilt_history_index; in addTiltHistoryEntry()
341 mTask.tilt_history[index] = tilt; in addTiltHistoryEntry()
342 mTask.tilt_history_time[index] = now - mTask.tilt_reference_time; in addTiltHistoryEntry()
344 index = ((index + 1) == TILT_HISTORY_SIZE) ? 0 : (index + 1); in addTiltHistoryEntry()
345 mTask.tilt_history_index = index; in addTiltHistoryEntry()
346 mTask.tilt_history_time[index] = 0; in addTiltHistoryEntry()
349 static int nextTiltHistoryIndex(int index) in nextTiltHistoryIndex() argument
351 int next = (index == 0) ? (TILT_HISTORY_SIZE - 1): (index - 1); in nextTiltHistoryIndex()

12345678910>>...12