OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sensorList
(Results
1 - 18
of
18
) sorted by null
/packages/services/Car/service/src/com/android/car/
DrivingStatePolicy.java
72
int
sensorList
[] = mSensorService.getSupportedSensors();
73
boolean hasSpeed = subscribeIfSupportedLocked(
sensorList
,
79
boolean hasParkingBrake = subscribeIfSupportedLocked(
sensorList
,
81
boolean hasGear = subscribeIfSupportedLocked(
sensorList
, CarSensorManager.SENSOR_TYPE_GEAR,
138
private boolean subscribeIfSupportedLocked(int
sensorList
[], int sensorType, int rate) {
139
if (!CarSensorManager.isSensorSupported(
sensorList
, sensorType)) {
/packages/services/Car/car-support-lib/src/android/support/car/hardware/
CarSensorManager.java
166
* Check if given
sensorList
is including the sensorType.
167
* @param
sensorList
171
public static boolean isSensorSupported(int[]
sensorList
, int sensorType) {
172
for (int sensorSupported:
sensorList
) {
/frameworks/base/native/android/
sensor.cpp
73
Sensor const* const*
sensorList
;
74
size_t size = static_cast<SensorManager*>(manager)->getSensorList(&
sensorList
);
76
if (ASensor_getType(
sensorList
[i]) == type &&
77
ASensor_isWakeUpSensor(
sensorList
[i]) == wakeUp) {
78
return reinterpret_cast<ASensor const *>(
sensorList
[i]);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
PowerTestHostLink.java
231
String
sensorList
= request.substring(REQUEST_SENSOR_ON.length()).trim();
232
response = handleSensorSwitchCommand(
sensorList
, true);
234
String
sensorList
= request.substring(REQUEST_SENSOR_ON.length()).trim();
235
response = handleSensorSwitchCommand(
sensorList
, false);
311
private String handleSensorSwitchCommand(String
sensorList
, boolean switchOn) {
314
StringTokenizer tokenizer = new StringTokenizer(
sensorList
, " ");
/developers/build/prebuilts/gradle/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/
MainWearActivity.java
149
List<Sensor>
sensorList
= sensorManager.getSensorList(Sensor.TYPE_ALL);
150
int numberOfSensorsOnDevice =
sensorList
.size();
337
List<Sensor>
sensorList
= sensorManager.getSensorList(Sensor.TYPE_ALL);
338
int numberOfSensorsOnDevice =
sensorList
.size();
IncomingRequestWearService.java
120
List<Sensor>
sensorList
= sensorManager.getSensorList(Sensor.TYPE_ALL);
121
int numberOfSensorsOnDevice =
sensorList
.size();
/developers/samples/android/wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/
MainWearActivity.java
149
List<Sensor>
sensorList
= sensorManager.getSensorList(Sensor.TYPE_ALL);
150
int numberOfSensorsOnDevice =
sensorList
.size();
337
List<Sensor>
sensorList
= sensorManager.getSensorList(Sensor.TYPE_ALL);
338
int numberOfSensorsOnDevice =
sensorList
.size();
IncomingRequestWearService.java
120
List<Sensor>
sensorList
= sensorManager.getSensorList(Sensor.TYPE_ALL);
121
int numberOfSensorsOnDevice =
sensorList
.size();
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/
MainWearActivity.java
149
List<Sensor>
sensorList
= sensorManager.getSensorList(Sensor.TYPE_ALL);
150
int numberOfSensorsOnDevice =
sensorList
.size();
337
List<Sensor>
sensorList
= sensorManager.getSensorList(Sensor.TYPE_ALL);
338
int numberOfSensorsOnDevice =
sensorList
.size();
IncomingRequestWearService.java
120
List<Sensor>
sensorList
= sensorManager.getSensorList(Sensor.TYPE_ALL);
121
int numberOfSensorsOnDevice =
sensorList
.size();
/packages/services/Car/car-lib/src/android/car/hardware/
CarSensorManager.java
236
* Check if given
sensorList
is including the sensorType.
237
* @param
sensorList
241
public static boolean isSensorSupported(int[]
sensorList
, int sensorType) {
242
for (int sensorSupported:
sensorList
) {
/frameworks/base/core/jni/
android_hardware_SensorManager.cpp
214
Sensor const* const*
sensorList
;
215
ssize_t count = mgr->getSensorList(&
sensorList
);
220
return translateNativeSensorToJavaSensor(env, sensor, *
sensorList
[index]) != NULL;
224
nativeGetDynamicSensors(JNIEnv *env, jclass clazz, jlong sensorManager, jobject
sensorList
) {
237
env->CallBooleanMethod(
sensorList
, listOffsets.add, sensor);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DeviceSuspendTestActivity.java
196
List<Sensor>
sensorList
= mSensorManager.getSensorList(Sensor.TYPE_ALL);
197
if (
sensorList
== null) {
242
for (Sensor sensor :
sensorList
) {
/frameworks/native/services/sensorservice/
SensorService.h
20
#include "
SensorList
.h"
212
void makeUuidsIntoIdsForSensorList(Vector<Sensor> &
sensorList
) const;
224
SensorList
mSensors;
SensorService.cpp
[
all
...]
/external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar
android-all-5.0.0_r2-robolectric-1.jar
android-all-5.1.1_r9-robolectric-1.jar
Completed in 606 milliseconds