OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:sensorList
(Results
1 - 15
of
15
) sorted by null
/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]);
/developers/build/prebuilts/gradle/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/
IncomingRequestWearService.java
120
List<Sensor>
sensorList
= sensorManager.getSensorList(Sensor.TYPE_ALL);
121
int numberOfSensorsOnDevice =
sensorList
.size();
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();
/developers/samples/android/wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/
IncomingRequestWearService.java
120
List<Sensor>
sensorList
= sensorManager.getSensorList(Sensor.TYPE_ALL);
121
int numberOfSensorsOnDevice =
sensorList
.size();
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();
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/
IncomingRequestWearService.java
120
List<Sensor>
sensorList
= sensorManager.getSensorList(Sensor.TYPE_ALL);
121
int numberOfSensorsOnDevice =
sensorList
.size();
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();
/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)) {
/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
) {
/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
, " ");
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DozeService.java
449
List<Sensor>
sensorList
= mSensorManager.getSensorList(Sensor.TYPE_ALL);
450
for (Sensor s :
sensorList
) {
/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 857 milliseconds