OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:OnSensorChangedListener
(Results
1 - 9
of
9
) sorted by null
/packages/services/Car/car-support-lib/src/android/support/car/hardware/
CarSensorManager.java
73
* For this sensor, rate in {@link #addListener(
OnSensorChangedListener
, int, int)} is
206
public interface
OnSensorChangedListener
{
233
* Register {@link
OnSensorChangedListener
} to get repeated sensor updates. Can register
238
* The {@link
OnSensorChangedListener
} is the identifier for the request and the same
239
* instance must be passed into {@link #removeListener(
OnSensorChangedListener
)}.
255
public abstract boolean addListener(
OnSensorChangedListener
listener,
264
public abstract void removeListener(
OnSensorChangedListener
listener);
272
public abstract void removeListener(
OnSensorChangedListener
listener,
CarSensorManagerEmbedded.java
92
public boolean addListener(
OnSensorChangedListener
listener, int sensorType,
115
public void removeListener(
OnSensorChangedListener
listener) {
129
public void removeListener(
OnSensorChangedListener
listener, int sensorType) {
172
private OnSensorChangedListenerProxy findListenerLocked(
OnSensorChangedListener
listener) {
197
implements android.car.hardware.CarSensorManager.
OnSensorChangedListener
{
199
public final
OnSensorChangedListener
listener;
203
OnSensorChangedListenerProxy(
OnSensorChangedListener
listener, int sensor,
CarSensorsProxy.java
49
private final Map<Integer, Set<CarSensorManager.
OnSensorChangedListener
>> mListenersMultiMap;
163
Collection<CarSensorManager.
OnSensorChangedListener
> listenersCollection;
169
for (CarSensorManager.
OnSensorChangedListener
listener :
188
mListenersMultiMap = new HashMap<Integer, Set<CarSensorManager.
OnSensorChangedListener
>>();
238
public boolean registerSensorListener(CarSensorManager.
OnSensorChangedListener
listener,
245
new HashSet<CarSensorManager.
OnSensorChangedListener
>());
259
public void unregisterSensorListener(CarSensorManager.
OnSensorChangedListener
listener,
266
Set<CarSensorManager.
OnSensorChangedListener
> sensorTypeListeneres =
281
public void unregisterSensorListener(CarSensorManager.
OnSensorChangedListener
listener) {
287
for (Map.Entry<Integer, Set<CarSensorManager.
OnSensorChangedListener
>> entry
[
all
...]
/packages/services/Car/car-lib/src/android/car/hardware/
CarSensorManager.java
82
* around. For this sensor, rate in {@link #registerListener(
OnSensorChangedListener
, int, int)}
301
public interface
OnSensorChangedListener
{
310
* Register {@link
OnSensorChangedListener
} to get repeated sensor updates. Multiple listeners
338
public boolean registerListener(
OnSensorChangedListener
listener, @SensorType int sensorType,
374
public void unregisterListener(
OnSensorChangedListener
listener) {
389
public void unregisterListener(
OnSensorChangedListener
listener, @SensorType int sensorType) {
395
private void doUnregisterListenerLocked(
OnSensorChangedListener
listener, Integer sensor) {
492
private class CarSensorListeners extends CarRatedListeners<
OnSensorChangedListener
> {
505
List<
OnSensorChangedListener
> listeners;
509
listeners.forEach(new Consumer<
OnSensorChangedListener
>() {
[
all
...]
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
E2ePerformanceTest.java
30
import android.car.hardware.CarSensorManager.
OnSensorChangedListener
;
193
OnSensorChangedListener
listener = e -> eventsCounters.get(e.sensorType).countDown();
340
OnSensorChangedListener
listener = event -> latch.countDown();
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/
CarLatinIME.java
125
private final CarSensorManager.
OnSensorChangedListener
mCarSensorListener =
126
new CarSensorManager.
OnSensorChangedListener
() {
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
SensorsTestFragment.java
66
private final CarSensorManager.
OnSensorChangedListener
mOnSensorChangedListener =
67
new CarSensorManager.
OnSensorChangedListener
() {
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
KitchenSinkActivity.java
170
private final CarSensorManager.
OnSensorChangedListener
mListener = (manager, event) -> {
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
CarSensorManagerTest.java
501
class SensorListener implements CarSensorManager.
OnSensorChangedListener
{
Completed in 127 milliseconds