Home
last modified time | relevance | path

Searched refs:TYPE_ALL (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DApnSettingTest.java124 assertTrue(createApnSetting(ApnSetting.TYPE_ALL) in testCanHandleType()
150 assertFalse(createApnSetting(ApnSetting.TYPE_ALL) in testCanHandleType()
157 assertFalse(createApnSetting(ApnSetting.TYPE_ALL) in testCanHandleType()
165 assertFalse(createApnSetting(ApnSetting.TYPE_ALL) in testCanHandleType()
170 assertFalse(createApnSetting(ApnSetting.TYPE_ALL) in testCanHandleType()
175 assertFalse(createApnSetting(ApnSetting.TYPE_ALL) in testCanHandleType()
182 assertFalse(createDisabledApnSetting(ApnSetting.TYPE_ALL) in testCanHandleType()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DThresholdSensorImplTest.java19 import static android.hardware.Sensor.TYPE_ALL;
84 when(mockSensorManager.getSensorList(TYPE_ALL)).thenReturn( in testRegistersWakeUpProxSensor_givenWakeUpExistsAfterNonWakeup()
110 when(mockSensorManager.getSensorList(TYPE_ALL)).thenReturn( in testRegistersWakeUpProxSensor_givenNonWakeUpExistsAfterWakeup()
132 when(mockSensorManager.getSensorList(TYPE_ALL)).thenReturn(List.of(mockNonWakeupProx)); in testRegistersNonWakeUpProxSensor_givenNonWakeUpOnly()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
DAsyncSensorManager.java67 mSensorCache = mInner.getSensorList(Sensor.TYPE_ALL); in AsyncSensorManager()
82 return mInner.getSensorList(Sensor.TYPE_ALL); in getFullDynamicSensorList()
DThresholdSensorImpl.java343 List<Sensor> sensorList = mSensorManager.getSensorList(Sensor.TYPE_ALL); in findSensorByType()
/frameworks/base/services/core/java/com/android/server/display/utils/
DSensorUtils.java60 final List<Sensor> sensors = sensorManager.getSensorList(Sensor.TYPE_ALL); in findSensor()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DSensorPowerCalculatorTest.java65 when(sensorManager.getSensorList(Sensor.TYPE_ALL)) in testTimerBasedModel()
/frameworks/base/services/core/java/com/android/server/power/stats/
DSensorPowerCalculator.java33 List<Sensor> sensors = sensorManager.getSensorList(Sensor.TYPE_ALL); in SensorPowerCalculator()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayPowerProximityStateControllerTest.java222 when(mSensorManager.getSensorList(eq(Sensor.TYPE_ALL))) in notifyDisplayDeviceChangedReloadsTheProximitySensor()
359 when(mSensorManager.getSensorList(eq(Sensor.TYPE_ALL))) in setUpProxSensor()
DDisplayManagerServiceTest.java2430 when(mSensorManager.getSensorList(Sensor.TYPE_ALL)).thenReturn(Collections.singletonList(
2459 when(mSensorManager.getSensorList(Sensor.TYPE_ALL)).thenReturn(Collections.singletonList(
DDisplayPowerControllerTest.java2000 when(mSensorManagerMock.getSensorList(eq(Sensor.TYPE_ALL))) in setUpSensors()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/utils/
DSensorUtilsTest.java123 when(mSensorManager.getSensorList(Sensor.TYPE_ALL)).thenReturn(allSensors); in testFindSensor()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DAmbientSensor.java332 for (Sensor sensor : mSensorManager.getSensorList(Sensor.TYPE_ALL)) { in AmbientColorTemperatureSensor()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/whitebalance/
DAmbientSensorTest.java130 when(mSensorManagerMock.getSensorList(Sensor.TYPE_ALL)).thenReturn(sensorList); in testAmbientColorTemperatureSensorCallback_CallbacksCalled()
DAmbientLuxTest.java107 when(mSensorManagerMock.getSensorList(Sensor.TYPE_ALL)).thenReturn(sensorList); in setUp()
/frameworks/base/core/java/android/hardware/
DSensor.java817 public static final int TYPE_ALL = -1; field in Sensor
DSensorManager.java438 if (type == Sensor.TYPE_ALL) { in getSensorList()
496 if (type == Sensor.TYPE_ALL) { in getDynamicSensorList()
DSystemSensorManager.java196 if (type == Sensor.TYPE_ALL) { in getSensorList()
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java93 public static final int TYPE_ALL = ApnTypes.DEFAULT | ApnTypes.HIPRI | ApnTypes.MMS field in ApnSetting
475 APN_TYPE_STRING_MAP.put(TYPE_ALL_STRING, TYPE_ALL); in APN_TYPE_STRING_MAP.put() argument
1568 if (apnType == TYPE_ALL) { in getApnTypeString()
1596 return TYPE_ALL; in getApnTypesBitmaskFromString()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/
DBrightnessClamperControllerTest.java271 when(mSensorManager.getSensorList(eq(Sensor.TYPE_ALL))).thenReturn(List.of(mLightSensor)); in testAmbientLuxChanges()
/frameworks/base/services/foldables/devicestateprovider/tests/src/com/android/server/policy/
DBookStyleDeviceStatePolicyTest.java211 when(mSensorManager.getSensorList(eq(Sensor.TYPE_ALL))) in setup()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataSettingsManager.java372 mIsDataEnabled = isDataEnabled(ApnSetting.TYPE_ALL); in updateDataEnabledAndNotify()
/frameworks/base/services/core/java/com/android/server/policy/
DDeviceStateProviderImpl.java464 final List<Sensor> sensors = sensorManager.getSensorList(Sensor.TYPE_ALL); in findSensor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java365 final List<Sensor> sensors = sensorManager.getSensorList(Sensor.TYPE_ALL); in findSensor()
/frameworks/base/media/java/android/media/
DRingtoneManager.java101 public static final int TYPE_ALL = TYPE_RINGTONE | TYPE_NOTIFICATION | TYPE_ALARM; field in RingtoneManager
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DDisplayModeDirectorTest.java3601 if (sensor.getType() == type || type == Sensor.TYPE_ALL) { in createMockSensorManager()

12