Home | History | Annotate | Download | only in hardware

Lines Matching refs:rate

78      * around. For this sensor, rate in {@link #registerListener(OnSensorChangedListener, int, int)}
168 * Indicates the instantaneous battery charging rate in mW.
225 /** Read sensor in default normal rate set for each sensors. This is default rate. */
229 /** Read sensor at the maximum rate. Actual rate will be different depending on the sensor. */
371 * updated depending on the rate.
382 * @param rate how fast the sensor events are delivered. It should be one of
384 * {@link #SENSOR_RATE_NORMAL}. Rate may not be respected especially when the same sensor
385 * is registered with different listener with different rates. Also, rate might be
391 * @throws IllegalArgumentException for wrong argument like wrong rate
398 @SensorRate int rate) throws CarNotConnectedException, IllegalArgumentException {
399 if (rate != SENSOR_RATE_FASTEST && rate != SENSOR_RATE_NORMAL
400 && rate != SENSOR_RATE_UI && rate != SENSOR_RATE_FAST) {
401 throw new IllegalArgumentException("wrong rate " + rate);
408 if (mCarPropertyMgr.registerListener(mCarPropertyEventListener, sensorType, rate)) {
422 //TODO: removing listener should reset update rate, bug: 32060307