Home
last modified time | relevance | path

Searched refs:getStringType (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/native/services/sensorservice/
DSensorList.cpp60 String8 SensorList::getStringType(int handle) const { in getStringType() function in android::SensorServiceUtil::SensorList
62 handle, [] (const Entry& e) -> String8 {return e.si->getSensor().getStringType();}, in getStringType()
63 mNonSensor.getStringType()); in getStringType()
140 s.getStringType().string(), in dump()
231 proto->write(STRING_TYPE, std::string(s.getStringType().string())); in dump()
DSensorList.h65 String8 getStringType(int handle) const;
DSensorService.cpp1169 return mSensors.getStringType(handle); in getSensorStringType()
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
DDeviceStateProviderImplTest.java222 + " <type>" + sensor.getStringType() + "</type>\n" in create_sensor()
235 + " <type>" + sensor.getStringType() + "</type>\n" in create_sensor()
249 + " <type>" + sensor.getStringType() + "</type>\n" in create_sensor()
321 + " <type>" + sensor.getStringType() + "</type>\n" in create_invalidSensor()
334 + " <type>" + sensor.getStringType() + "</type>\n" in create_invalidSensor()
/frameworks/native/libs/sensor/tests/
DSensor_test.cpp43 a.getStringType() == b.getStringType () && in sensorsMatch()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DThresholdSensorImplTest.java77 when(mockNonWakeupProx.getStringType()).thenReturn(sensorTypeProx); in testRegistersWakeUpProxSensor_givenWakeUpExistsAfterNonWakeup()
81 when(mockWakeupProx.getStringType()).thenReturn(sensorTypeProx); in testRegistersWakeUpProxSensor_givenWakeUpExistsAfterNonWakeup()
103 when(mockNonWakeupProx.getStringType()).thenReturn(sensorTypeProx); in testRegistersWakeUpProxSensor_givenNonWakeUpExistsAfterWakeup()
107 when(mockWakeupProx.getStringType()).thenReturn(sensorTypeProx); in testRegistersWakeUpProxSensor_givenNonWakeUpExistsAfterWakeup()
129 when(mockNonWakeupProx.getStringType()).thenReturn(sensorTypeProx); in testRegistersNonWakeUpProxSensor_givenNonWakeUpOnly()
DFakeSensorManager.java211 setSensorField(sensor, "mName", "Mock " + sensor.getStringType() + "/" + type); in createSensor()
/frameworks/base/services/core/java/com/android/server/display/utils/
DSensorUtils.java42 && (!isTypeSpecified || sensorType.equals(sensor.getStringType()))) { in findSensor()
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java306 if (sensorName.equals(mCameraLaunchSensor.getStringType())) { in registerCameraLaunchGesture()
312 sensorName, mCameraLaunchSensor.getStringType()); in registerCameraLaunchGesture()
355 if (sensorName.equals(mCameraLiftTriggerSensor.getStringType())) { in registerCameraLiftTrigger()
361 sensorName, mCameraLiftTriggerSensor.getStringType()); in registerCameraLiftTrigger()
/frameworks/base/core/java/android/hardware/
DSensor.java949 this.mStringType = sensorInfo.getStringType(); in Sensor()
1038 public String getStringType() { in getStringType() method in Sensor
/frameworks/native/services/sensorservice/hidl/
Dutils.cpp49 dst.typeAsString = src.getStringType(); in convertSensor()
/frameworks/native/libs/sensor/include/sensor/
DSensor.h85 const String8& getStringType() const;
/frameworks/base/core/java/android/hardware/input/
DInputDeviceSensorManager.java147 Slog.d(TAG, "Device " + deviceId + " sensor " + sensor.getStringType() + " added"); in populateSensorsForInputDeviceLocked()
393 Slog.d(TAG, "Device " + deviceId + " sensor " + sensor.getStringType()); in getSensorForInputDevice()
413 Slog.d(TAG, "Device " + deviceId + " sensor " + sensor.getStringType()); in getFullSensorListForDevice()
DInputSensorInfo.java174 public @NonNull String getStringType() { in getStringType() method in InputSensorInfo
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DAmbientSensor.java333 if (sensor.getStringType().equals(name)) { in AmbientColorTemperatureSensor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
DThresholdSensorImpl.java328 if (sensorType.equals(s.getStringType())) { in findSensorByType()
/frameworks/base/native/android/
Dsensor.cpp332 return static_cast<Sensor const*>(sensor)->getStringType().string(); in ASensor_getStringType()
/frameworks/base/services/core/java/com/android/server/policy/
DDeviceStateProviderImpl.java275 final String sensorType = sensor.getStringType(); in findSensor()
/frameworks/native/libs/sensor/
DSensor.cpp407 const String8& Sensor::getStringType() const { in getStringType() function in android::Sensor
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java254 if (type.equals(s.getStringType())) { in findSensorWithType()
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp187 jstring stringType = getJavaInternedString(env, nativeSensor.getStringType()); in translateNativeSensorToJavaSensor()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java813 setSensorField(sensor, "mName", "Mock " + sensor.getStringType() + "/" + type); in createSensor()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java1748 if (lightSensorType.equals(sensor.getStringType())) { in restartObserver()
/frameworks/base/boot/
Dboot-image-profile.txt8306 HSPLandroid/hardware/Sensor;->getStringType()Ljava/lang/String;
/frameworks/base/core/api/
Dcurrent.txt17507 method public String getStringType();

12