Home
last modified time | relevance | path

Searched refs:rate (Results 1 – 25 of 33) sorted by relevance

12

/packages/services/Car/service/src/com/android/car/
DListeners.java38 ClientWithRate(ClientType client, int rate) { in ClientWithRate() argument
40 mRate = rate; in ClientWithRate()
62 void setRate(int rate) { in setRate() argument
63 mRate = rate; in setRate()
75 Listeners(int rate) { in Listeners() argument
76 mRate = rate; in Listeners()
83 void setRate(int rate) { in setRate() argument
84 mRate = rate; in setRate()
DCarPropertyService.java88 void addProperty(int propId, float rate) { in addProperty() argument
89 mRateMap.put(propId, rate); in addProperty()
163 public void registerListener(int propId, float rate, ICarPropertyEventListener listener) { in registerListener() argument
165 Log.d(TAG, "registerListener: propId=0x" + toHexString(propId) + " rate=" + rate); in registerListener()
186 client.addProperty(propId, rate); in registerListener()
201 if (rate > mHal.getSampleRate(propId)) { in registerListener()
202 mHal.subscribeProperty(propId, rate); in registerListener()
282 float rate = c.getRate(propId); in unregisterListenerBinderLocked() local
283 if (rate > maxRate) { in unregisterListenerBinderLocked()
284 maxRate = rate; in unregisterListenerBinderLocked()
DCarDiagnosticService.java203 public boolean registerOrUpdateDiagnosticListener(int frameType, int rate, in registerOrUpdateDiagnosticListener() argument
230 diagnosticListeners = new Listeners<>(rate); in registerOrUpdateDiagnosticListener()
240 new ClientWithRate<>(diagnosticClient, rate); in registerOrUpdateDiagnosticListener()
243 diagnosticClientWithRate.setRate(rate); in registerOrUpdateDiagnosticListener()
245 if (diagnosticListeners.getRate() > rate) { in registerOrUpdateDiagnosticListener()
246 diagnosticListeners.setRate(rate); in registerOrUpdateDiagnosticListener()
257 shouldStartDiagnostics, frameType, rate)); in registerOrUpdateDiagnosticListener()
260 if (!startDiagnostic(frameType, rate)) { in registerOrUpdateDiagnosticListener()
280 private boolean startDiagnostic(int frameType, int rate) { in startDiagnostic() argument
282 frameType, rate)); in startDiagnostic()
[all …]
/packages/services/Car/service/src/com/android/car/hal/
DDiagnosticHalService.java231 public boolean requestDiagnosticStart(int sensorType, int rate) { in requestDiagnosticStart() argument
248 .append(rate) in requestDiagnosticStart()
252 fixSamplingRateForProperty(propConfig, rate)); in requestDiagnosticStart()
441 float rate = 1.0f; in fixSamplingRateForProperty() local
445 rate = 10f; in fixSamplingRateForProperty()
448 rate = 5f; in fixSamplingRateForProperty()
453 if (rate > prop.maxSampleRate) { in fixSamplingRateForProperty()
454 rate = prop.maxSampleRate; in fixSamplingRateForProperty()
456 if (rate < prop.minSampleRate) { in fixSamplingRateForProperty()
457 rate = prop.minSampleRate; in fixSamplingRateForProperty()
[all …]
DPropertyHalService.java209 public void subscribeProperty(int propId, float rate) { in subscribeProperty() argument
211 Log.d(TAG, "subscribeProperty propId=0x" + toHexString(propId) + ", rate=" + rate); in subscribeProperty()
220 if (rate > cfg.getMaxSampleRate()) { in subscribeProperty()
221 rate = cfg.getMaxSampleRate(); in subscribeProperty()
222 } else if (rate < cfg.getMinSampleRate()) { in subscribeProperty()
223 rate = cfg.getMinSampleRate(); in subscribeProperty()
228 mVehicleHal.subscribeProperty(this, halPropId, rate); in subscribeProperty()
/packages/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticManager.java137 OnDiagnosticEventListener listener, @FrameType int frameType, int rate) { in registerListener() argument
146 listeners = new CarDiagnosticListeners(rate); in registerListener()
150 if (listeners.addAndUpdateRate(listener, rate)) { in registerListener()
154 if (!registerOrUpdateDiagnosticListener(frameType, rate)) { in registerListener()
196 private boolean registerOrUpdateDiagnosticListener(@FrameType int frameType, int rate) { in registerOrUpdateDiagnosticListener() argument
198 return mService.registerOrUpdateDiagnosticListener(frameType, rate, mListenerToService); in registerOrUpdateDiagnosticListener()
366 CarDiagnosticListeners(int rate) { in CarDiagnosticListeners() argument
367 super(rate); in CarDiagnosticListeners()
DICarDiagnostic.aidl27 boolean registerOrUpdateDiagnosticListener(int frameType, int rate, in registerOrUpdateDiagnosticListener() argument
/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorManager.java401 @SensorType int sensorType, @SensorRate int rate) { in registerListener() argument
402 if (rate != SENSOR_RATE_FASTEST && rate != SENSOR_RATE_NORMAL in registerListener()
403 && rate != SENSOR_RATE_UI && rate != SENSOR_RATE_FAST in registerListener()
404 && rate != SENSOR_RATE_ONCHANGE) { in registerListener()
405 throw new IllegalArgumentException("wrong rate " + rate); in registerListener()
412 if (mCarPropertyMgr.registerCallback(mCarPropertyEventListener, sensorType, rate)) { in registerListener()
DICarSensor.aidl34 boolean registerOrUpdateSensorListener(int sensorType, int rate, in registerOrUpdateSensorListener() argument
/packages/apps/Gallery/src/com/android/camera/
DImageViewTouchBase.java363 protected void zoomIn(float rate) { in zoomIn() argument
374 mSuppMatrix.postScale(rate, rate, cx, cy); in zoomIn()
378 protected void zoomOut(float rate) { in zoomOut() argument
388 tmp.postScale(1F / rate, 1F / rate, cx, cy); in zoomOut()
393 mSuppMatrix.postScale(1F / rate, 1F / rate, cx, cy); in zoomOut()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java172 int propertyId, @FloatRange(from = 0.0, to = 100.0) float rate) { in registerCallback()
183 rate = SENSOR_RATE_ONCHANGE; in registerCallback()
189 listeners = new CarPropertyListeners(rate); in registerCallback()
193 if (listeners.addAndUpdateRate(callback, rate)) { in registerCallback()
197 if (!registerOrUpdatePropertyListener(propertyId, rate)) { in registerCallback()
205 private boolean registerOrUpdatePropertyListener(int propertyId, float rate) { in registerOrUpdatePropertyListener() argument
207 mService.registerListener(propertyId, rate, mCarPropertyEventToService); in registerOrUpdatePropertyListener()
531 CarPropertyListeners(float rate) { in CarPropertyListeners() argument
532 super(rate); in CarPropertyListeners()
DICarProperty.aidl28 void registerListener(int propId, float rate, in ICarPropertyEventListener callback) = 0; in registerListener() argument
/packages/services/Car/car-lib/src/com/android/car/internal/
DCarRatedListeners.java35 protected CarRatedListeners(int rate) { in CarRatedListeners() argument
36 mUpdateRate = rate; in CarRatedListeners()
DCarRatedFloatListeners.java41 protected CarRatedFloatListeners(float rate) { in CarRatedFloatListeners() argument
42 mUpdateRate = rate; in CarRatedFloatListeners()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java821 for (int[] rate : frameRates) { in getPhotoPreviewFpsRange()
822 int minFps = rate[0]; in getPhotoPreviewFpsRange()
823 int maxFps = rate[1]; in getPhotoPreviewFpsRange()
836 int[] rate = frameRates.get(i); in getPhotoPreviewFpsRange() local
837 int minFps = rate[0]; in getPhotoPreviewFpsRange()
838 int maxFps = rate[1]; in getPhotoPreviewFpsRange()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DSensorsTestFragment.java185 float rate = CarPropertyManager.SENSOR_RATE_NORMAL; in initSensors() local
188 rate = CarPropertyManager.SENSOR_RATE_ONCHANGE; in initSensors()
191 property.getPropertyId(), rate); in initSensors()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarPropertyService.java62 public void registerListener(int propId, float rate, ICarPropertyEventListener listener) in registerListener() argument
/packages/apps/Settings/tests/uitests/assets/
Dsearch_results_list423 Reset ShortcutManager rate-limiting;reset_shortcut_manager_throttling
488 Speech rate;tts_default_rate
/packages/inputmethods/LatinIME/dictionaries/
Dro_wordlist.combined.gz
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz
Dpt_PT_wordlist.combined.gz
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...

12