Home
last modified time | relevance | path

Searched refs:strType (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DTestUtils.java52 public static void setSensorType(Sensor sensor, int type, String strType) throws Exception { in setSensorType() argument
56 if (strType != null) { in setSensorType()
59 f.set(sensor, strType); in setSensorType()
69 public static Sensor createSensor(int type, String strType) throws Exception { in createSensor() argument
73 setSensorType(sensor, type, strType); in createSensor()
77 public static Sensor createSensor(int type, String strType, float maximumRange) in createSensor() argument
82 setSensorType(sensor, type, strType); in createSensor()
/frameworks/av/media/libaudiofoundation/
DAudioContainers.cpp96 const char* strType = audio_device_to_string(*it); in deviceTypesToString() local
97 if (strlen(strType) != 0) { in deviceTypesToString()
98 ss << strType; in deviceTypesToString()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
DFaceDownDetectorTest.java274 private Sensor createSensor(int type, String strType) throws Exception { in createSensor() argument
281 if (strType != null) { in createSensor()
284 f.set(sensor, strType); in createSensor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSensorsTest.java613 public static void setSensorType(Sensor sensor, int type, String strType) throws Exception { in setSensorType() argument
617 if (strType != null) { in setSensorType()
620 f.set(sensor, strType); in setSensorType()
624 public static Sensor createSensor(int type, String strType) throws Exception { in createSensor() argument
628 setSensorType(sensor, type, strType); in createSensor()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.c169 static const char strType[] = "type"; variable
474 if (strcmp(pSession->mimeHeaderName.ptr + strlenContent, strType) == 0) { in FwdLockConv_RecognizeMimeHeaderName()