Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnSettingTest.java139 final int mmsTypesBitmask = ApnSetting.TYPE_MMS | ApnSetting.TYPE_ALL; in testFromString()
345 assertTrue(ApnSettingUtils.isMetered(createApnSetting(ApnSetting.TYPE_ALL), mPhone)); in testIsMetered()
393 assertTrue(ApnSettingUtils.isMetered(createApnSetting(ApnSetting.TYPE_ALL), mPhone)); in testIsRoamingMetered()
434 assertTrue(ApnSettingUtils.isMetered(createApnSetting(ApnSetting.TYPE_ALL), mPhone)); in testIsMeteredAnother()
466 assertTrue(ApnSettingUtils.isMetered(createApnSetting(ApnSetting.TYPE_ALL), mPhone)); in testIsRoamingMeteredAnother()
503 createApnSetting(ApnSetting.TYPE_ALL), mPhone)); in testIsMeteredNothingCharged()
523 createApnSetting(ApnSetting.TYPE_ALL), mPhone)); in testIsRoamingMeteredNothingCharged()
531 assertTrue(createApnSetting(ApnSetting.TYPE_ALL) in testCanHandleType()
557 assertFalse(createApnSetting(ApnSetting.TYPE_ALL) in testCanHandleType()
564 assertFalse(createApnSetting(ApnSetting.TYPE_ALL) in testCanHandleType()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DThresholdSensorImplTest.java19 import static android.hardware.Sensor.TYPE_ALL;
83 when(mockSensorManager.getSensorList(TYPE_ALL)).thenReturn( in testRegistersWakeUpProxSensor_givenWakeUpExistsAfterNonWakeup()
109 when(mockSensorManager.getSensorList(TYPE_ALL)).thenReturn( in testRegistersWakeUpProxSensor_givenNonWakeUpExistsAfterWakeup()
131 when(mockSensorManager.getSensorList(TYPE_ALL)).thenReturn(List.of(mockNonWakeupProx)); in testRegistersNonWakeUpProxSensor_givenNonWakeUpOnly()
/frameworks/base/services/core/java/com/android/server/display/utils/
DSensorUtils.java39 final List<Sensor> sensors = sensorManager.getSensorList(Sensor.TYPE_ALL); in findSensor()
/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.java325 List<Sensor> sensorList = mSensorManager.getSensorList(Sensor.TYPE_ALL); in findSensorByType()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DSensorPowerCalculatorTest.java59 when(sensorManager.getSensorList(Sensor.TYPE_ALL)) in testTimerBasedModel()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledOverride.java58 new OverrideRule(ApnSetting.TYPE_ALL, OverrideConditions.CONDITION_IN_VOICE_CALL
128 return (mApnType == apnType || mApnType == ApnSetting.TYPE_ALL) in isSatisfiedByConditions()
DApnSettingUtils.java168 } else if (apnType == ApnSetting.TYPE_ALL) { in isMeteredApnType()
DDataEnabledSettings.java430 .shouldOverrideDataEnabledSettings(mPhone, ApnSetting.TYPE_ALL)) in updateDataEnabled()
DDataConnection.java1843 case ApnSetting.TYPE_ALL: { in getNetworkCapabilities()
/frameworks/base/core/java/com/android/internal/os/
DSensorPowerCalculator.java33 List<Sensor> sensors = sensorManager.getSensorList(Sensor.TYPE_ALL); in SensorPowerCalculator()
/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/servicestests/src/com/android/server/display/whitebalance/
DAmbientSensorTest.java130 when(mSensorManagerMock.getSensorList(Sensor.TYPE_ALL)).thenReturn(sensorList); in testAmbientColorTemperatureSensorCallback_CallbacksCalled()
DAmbientLuxTest.java89 when(mSensorManagerMock.getSensorList(Sensor.TYPE_ALL)).thenReturn(sensorList); in setUp()
/frameworks/base/core/java/android/hardware/
DSensor.java716 public static final int TYPE_ALL = -1; field in Sensor
DSensorManager.java434 if (type == Sensor.TYPE_ALL) { in getSensorList()
471 if (type == Sensor.TYPE_ALL) { in getDynamicSensorList()
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java88 public static final int TYPE_ALL = ApnTypes.DEFAULT | ApnTypes.HIPRI | ApnTypes.MMS field in ApnSetting
423 APN_TYPE_STRING_MAP.put(TYPE_ALL_STRING, TYPE_ALL); in APN_TYPE_STRING_MAP.put() argument
1577 if (apnType == TYPE_ALL) { in getApnTypeString()
1605 return TYPE_ALL; in getApnTypesBitmaskFromString()
/frameworks/base/services/core/java/com/android/server/policy/
DDeviceStateProviderImpl.java272 final List<Sensor> sensors = sensorManager.getSensorList(Sensor.TYPE_ALL); in findSensor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java252 List<Sensor> sensorList = sensorManager.getSensorList(Sensor.TYPE_ALL); in findSensorWithType()
/frameworks/base/media/java/android/media/
DRingtoneManager.java104 public static final int TYPE_ALL = TYPE_RINGTONE | TYPE_NOTIFICATION | TYPE_ALARM; field in RingtoneManager
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java1745 List<Sensor> sensors = mSensorManager.getSensorList(Sensor.TYPE_ALL); in restartObserver()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayModeDirectorTest.java1664 if (sensor.getType() == type || type == Sensor.TYPE_ALL) { in createMockSensorManager()
/frameworks/base/core/api/
Dcurrent.txt17549 field public static final int TYPE_ALL = -1; // 0xffffffff
23727 field public static final int TYPE_ALL = 7; // 0x7
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12407 field public static final int TYPE_ALL = -1; // 0xffffffff
15654 field public static final int TYPE_ALL = 7; // 0x7