Home
last modified time | relevance | path

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

12

/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorManager.java315 @SensorRate int rate) throws CarNotConnectedException, IllegalArgumentException { in registerListener() argument
317 if (rate != SENSOR_RATE_FASTEST && rate != SENSOR_RATE_NORMAL in registerListener()
318 && rate != SENSOR_RATE_UI && rate != SENSOR_RATE_FAST) { in registerListener()
319 throw new IllegalArgumentException("wrong rate " + rate); in registerListener()
329 listeners = new CarSensorListeners(rate); in registerListener()
333 if (listeners.addAndUpdateRate(listener, rate)) { in registerListener()
337 if (!registerOrUpdateSensorListener(sensorType, rate)) { in registerListener()
396 private boolean registerOrUpdateSensorListener(int sensor, int rate) in registerOrUpdateSensorListener() argument
399 if (!mService.registerOrUpdateSensorListener(sensor, rate, in registerOrUpdateSensorListener()
469 CarSensorListeners(int rate) { in CarSensorListeners() argument
[all …]
DCarDiagnosticManager.java116 public boolean registerListener(OnDiagnosticEventListener listener, int frameType, int rate) in registerListener() argument
126 listeners = new CarDiagnosticListeners(rate); in registerListener()
130 if (listeners.addAndUpdateRate(listener, rate)) { in registerListener()
134 if (!registerOrUpdateDiagnosticListener(frameType, rate)) { in registerListener()
179 private boolean registerOrUpdateDiagnosticListener(int frameType, int rate) in registerOrUpdateDiagnosticListener() argument
182 return mService.registerOrUpdateDiagnosticListener(frameType, rate, mListenerToService); in registerOrUpdateDiagnosticListener()
282 CarDiagnosticListeners(int rate) { in CarDiagnosticListeners() argument
283 super(rate); in CarDiagnosticListeners()
DICarSensor.aidl33 boolean registerOrUpdateSensorListener(int sensorType, int rate, in registerOrUpdateSensorListener() argument
DICarDiagnostic.aidl27 boolean registerOrUpdateDiagnosticListener(int frameType, int rate, in registerOrUpdateDiagnosticListener() argument
/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()
DCarDiagnosticService.java220 public boolean registerOrUpdateDiagnosticListener(int frameType, int rate, in registerOrUpdateDiagnosticListener() argument
249 diagnosticListeners = new Listeners<>(rate); in registerOrUpdateDiagnosticListener()
259 new ClientWithRate<>(diagnosticClient, rate); in registerOrUpdateDiagnosticListener()
262 diagnosticClientWithRate.setRate(rate); in registerOrUpdateDiagnosticListener()
264 if (diagnosticListeners.getRate() > rate) { in registerOrUpdateDiagnosticListener()
265 diagnosticListeners.setRate(rate); in registerOrUpdateDiagnosticListener()
276 shouldStartDiagnostics, frameType, rate)); in registerOrUpdateDiagnosticListener()
279 if (!startDiagnostic(frameType, rate)) { in registerOrUpdateDiagnosticListener()
299 private boolean startDiagnostic(int frameType, int rate) { in startDiagnostic() argument
301 frameType, rate)); in startDiagnostic()
[all …]
DCarSensorService.java325 public boolean registerOrUpdateSensorListener(int sensorType, int rate, in registerOrUpdateSensorListener() argument
377 sensorListeners = new Listeners<>(rate); in registerOrUpdateSensorListener()
385 sensorClientWithRate = new ClientWithRate<>(sensorClient, rate); in registerOrUpdateSensorListener()
388 sensorClientWithRate.setRate(rate); in registerOrUpdateSensorListener()
390 if (sensorListeners.getRate() > rate) { in registerOrUpdateSensorListener()
391 sensorListeners.setRate(rate); in registerOrUpdateSensorListener()
400 if (!startSensor(sensorRecord, sensorType, rate)) { in registerOrUpdateSensorListener()
471 private boolean startSensor(SensorRecord record, int sensorType, int rate) { in startSensor() argument
476 Log.v(CarLog.TAG_SENSOR, "startSensor " + sensorType + " with rate " + rate); in startSensor()
DDrivingStatePolicy.java117 public synchronized boolean requestSensorStart(int sensorType, int rate) { in requestSensorStart() argument
132 private boolean subscribeIfSupportedLocked(int sensorList[], int sensorType, int rate) { in subscribeIfSupportedLocked() argument
137 return mSensorService.registerOrUpdateSensorListener(sensorType, rate, in subscribeIfSupportedLocked()
DDayNightModePolicy.java76 public synchronized boolean requestSensorStart(int sensorType, int rate) { in requestSensorStart() argument
/packages/services/Car/service/src/com/android/car/hal/
DSensorHalService.java198 float rate = 1.0f; in fixSamplingRateForProperty() local
201 rate = prop.maxSampleRate; in fixSamplingRateForProperty()
204 rate = 10f; // every 100ms in fixSamplingRateForProperty()
207 rate = 5f; // every 200ms in fixSamplingRateForProperty()
212 if (rate > prop.maxSampleRate) { in fixSamplingRateForProperty()
213 rate = prop.maxSampleRate; in fixSamplingRateForProperty()
215 if (rate < prop.minSampleRate) { in fixSamplingRateForProperty()
216 rate = prop.minSampleRate; in fixSamplingRateForProperty()
218 return rate; in fixSamplingRateForProperty()
DDiagnosticHalService.java246 float rate = 1.0f; in fixSamplingRateForProperty() local
250 rate = 10f; in fixSamplingRateForProperty()
253 rate = 5f; in fixSamplingRateForProperty()
258 if (rate > prop.maxSampleRate) { in fixSamplingRateForProperty()
259 rate = prop.maxSampleRate; in fixSamplingRateForProperty()
261 if (rate < prop.minSampleRate) { in fixSamplingRateForProperty()
262 rate = prop.minSampleRate; in fixSamplingRateForProperty()
264 return rate; in fixSamplingRateForProperty()
DSensorHalServiceBase.java109 public synchronized boolean requestSensorStart(int sensorType, int rate) { in requestSensorStart() argument
110 if (DBG) Log.d(TAG, "requestSensorStart, sensorType: " + sensorType + ", rate: " + rate); in requestSensorStart()
117 mHal.subscribeProperty(this, config.prop, fixSamplingRateForProperty(config, rate)); in requestSensorStart()
DSensorBase.java29 boolean requestSensorStart(int sensor, int rate); in requestSensorStart() 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-support-lib/src/android/support/car/hardware/
DCarSensorManagerEmbedded.java93 int rate) throws CarNotConnectedException, IllegalArgumentException { in addListener() argument
95 return mCarSensorsProxy.registerSensorListener(listener, sensorType, rate); in addListener()
108 return mManager.registerListener(proxy, sensorType, rate); in addListener()
DCarSensorManager.java235 @SensorType int sensorType, @SensorRate int rate) in addListener() argument
DCarSensorsProxy.java239 int sensorType, int rate) { in registerSensorListener() argument
/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/car-lib/src/com/android/car/internal/
DCarRatedListeners.java35 protected CarRatedListeners(int rate) { in CarRatedListeners() argument
36 mUpdateRate = rate; in CarRatedListeners()
/packages/apps/TV/libs/
Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/inputmethods/LatinIME/dictionaries/
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...

12