/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | ApnSettingTest.java | 304 ApnSetting.TYPE_DEFAULT, ApnSetting.PROTOCOL_IPV6, ApnSetting.PROTOCOL_IP, true, in testToString() 315 ApnSetting.TYPE_DEFAULT, ApnSetting.PROTOCOL_IPV6, ApnSetting.PROTOCOL_IP, true, in testToString() 332 assertTrue(ApnSettingUtils.isMetered(createApnSetting(ApnSetting.TYPE_DEFAULT), mPhone)); in testIsMetered() 335 createApnSetting(ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_MMS), mPhone)); in testIsMetered() 343 createApnSetting(ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_DUN), mPhone)); in testIsMetered() 353 assertTrue(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_DEFAULT, mPhone)); in testIsMetered() 368 assertTrue(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_DEFAULT, mPhone)); in testIsMetered() 380 assertTrue(ApnSettingUtils.isMetered(createApnSetting(ApnSetting.TYPE_DEFAULT), mPhone)); in testIsRoamingMetered() 383 createApnSetting(ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_MMS), mPhone)); in testIsRoamingMetered() 391 createApnSetting(ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_DUN), mPhone)); in testIsRoamingMetered() [all …]
|
D | ApnContextTest.java | 52 mApnContext = new ApnContext(mPhone, ApnSetting.TYPE_DEFAULT, TAG, mDcTracker, 1); in setUp() 116 verify(mDcTracker, times(1)).enableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestNormal() 126 verify(mDcTracker, times(2)).enableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestNormal() 130 verify(mDcTracker, never()).disableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestNormal() 134 verify(mDcTracker, times(1)).disableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestNormal() 143 verify(mDcTracker, times(1)).enableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestDetach() 153 verify(mDcTracker, times(2)).enableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestDetach() 157 verify(mDcTracker, times(1)).disableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestDetach() 161 verify(mDcTracker, times(1)).disableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestDetach() 170 verify(mDcTracker, times(1)).enableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestHandover() [all …]
|
D | DataEnabledOverrideTest.java | 74 mPhone, ApnSetting.TYPE_DEFAULT)); in testOverrideEnabled() 79 mPhone, ApnSetting.TYPE_DEFAULT)); in testOverrideEnabled() 104 mPhone, ApnSetting.TYPE_DEFAULT)); in testUpdateRules() 109 mPhone, ApnSetting.TYPE_DEFAULT)); in testUpdateRules() 116 mPhone, ApnSetting.TYPE_DEFAULT)); in testUpdateRules() 127 mPhone, ApnSetting.TYPE_DEFAULT)); in testAlwaysEnabled() 134 mPhone, ApnSetting.TYPE_DEFAULT)); in testAlwaysEnabled() 207 ApnSetting.TYPE_DEFAULT)); in testSetDataAllowedInVoiceCall() 215 mPhone, ApnSetting.TYPE_DEFAULT)); in testSetDataAllowedInVoiceCall()
|
D | DataThrottlerTest.java | 63 private static final int DEFAULT_APN_TYPE = ApnSetting.TYPE_DEFAULT & ~(ApnSetting.TYPE_HIPRI); 90 mDataThrottler.setRetryTime(ApnSetting.TYPE_DEFAULT, 1234567890L, in testSetRetryTime() 93 assertEquals(1234567890L, mDataThrottler.getRetryTime(ApnSetting.TYPE_DEFAULT)); in testSetRetryTime() 116 mDataThrottler.setRetryTime(ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_DUN, 13579L, in testSetRetryTime() 119 assertEquals(13579L, mDataThrottler.getRetryTime(ApnSetting.TYPE_DEFAULT)); in testSetRetryTime() 225 mDataThrottler.setRetryTime(ApnSetting.TYPE_DEFAULT, 1234567890L, in testUnthrottle() 228 assertEquals(1234567890L, mDataThrottler.getRetryTime(ApnSetting.TYPE_DEFAULT)); in testUnthrottle() 233 mDataThrottler.getRetryTime(ApnSetting.TYPE_DEFAULT)); in testUnthrottle()
|
D | DataProfileTest.java | 42 ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_SUPL, // types 69 ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_SUPL, // types 96 ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_SUPL, // types 123 ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_SUPL, // types
|
D | RetryManagerTest.java | 60 ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_SUPL, // types 87 ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_SUPL, // types 114 ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_SUPL, // types 154 RetryManager rm = new RetryManager(mPhone, mDataThrottler, ApnSetting.TYPE_DEFAULT); in testRetryManagerEmpty() 179 RetryManager rm = new RetryManager(mPhone, mDataThrottler, ApnSetting.TYPE_DEFAULT); in testRetryManagerOneApnNoRetry() 256 RetryManager rm = new RetryManager(mPhone, mDataThrottler, ApnSetting.TYPE_DEFAULT); in testRetryManagerTwoApnsOneRetry() 541 RetryManager rm = new RetryManager(mPhone, mDataThrottler, ApnSetting.TYPE_DEFAULT); in testRetryManagerApnPermanentFailedAll() 593 RetryManager rm = new RetryManager(mPhone, mDataThrottler, ApnSetting.TYPE_DEFAULT); in testRetryManagerDelayWithRandomization() 631 RetryManager rm = new RetryManager(mPhone, mDataThrottler, ApnSetting.TYPE_DEFAULT); in testRetryManagerRetryForever() 759 RetryManager rm = new RetryManager(mPhone, mDataThrottler, ApnSetting.TYPE_DEFAULT); in testRetryManagerFailFast() [all …]
|
D | DcTrackerTest.java | 895 mDct.enableApn(ApnSetting.TYPE_DEFAULT, DcTracker.REQUEST_TYPE_NORMAL, null); in testDataSetup() 937 mDct.enableApn(ApnSetting.TYPE_DEFAULT, DcTracker.REQUEST_TYPE_NORMAL, null); in testDataRetry() 987 mDct.enableApn(ApnSetting.TYPE_DEFAULT, DcTracker.REQUEST_TYPE_NORMAL, null); in testUserDisableData() 1023 mDct.enableApn(ApnSetting.TYPE_DEFAULT, DcTracker.REQUEST_TYPE_NORMAL, null); in testTrySetupDataMmsAllowedDataDisabled() 1096 ApnSetting.TYPE_MMS | ApnSetting.TYPE_XCAP | ApnSetting.TYPE_DEFAULT, in testTrySetupDataMmsAlwaysAllowedDataDisabled() 1167 mDct.enableApn(ApnSetting.TYPE_DEFAULT, DcTracker.REQUEST_TYPE_NORMAL, null); in testUserDisableRoaming() 1215 mDct.enableApn(ApnSetting.TYPE_DEFAULT, DcTracker.REQUEST_TYPE_NORMAL, null); in testDataCallOnUserDisableRoaming() 1268 mDct.enableApn(ApnSetting.TYPE_DEFAULT, DcTracker.REQUEST_TYPE_NORMAL, null); in testCarrierActionSetMeteredApnsEnabled() 1346 mDct.enableApn(ApnSetting.TYPE_DEFAULT, DcTracker.REQUEST_TYPE_NORMAL, null); in testTrySetupDataEnterpriseApn() 1404 assertEquals(DctConstants.State.IDLE, apnContexts.get(ApnSetting.TYPE_DEFAULT).getState()); in testTrySetupDataEnterpriseApnNoDefaultData() [all …]
|
D | DcRequestTest.java | 59 when(mApnConfigTypeRepo.getByType(ApnSetting.TYPE_DEFAULT)) in whenNetworkRequestInternetThenPriorityZero() 60 .thenReturn(new ApnConfigType(ApnSetting.TYPE_DEFAULT, 0)); in whenNetworkRequestInternetThenPriorityZero()
|
D | DataConnectionTest.java | 134 ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_SUPL, // types 161 ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_DUN, // types 188 ApnSetting.TYPE_DEFAULT, // types 364 doReturn(ApnSetting.TYPE_DEFAULT).when(mApnContext).getApnTypeBitmask(); in setUp() 562 .anyMatch(apn -> apn.getApnTypeBitmask() == ApnSetting.TYPE_DEFAULT)); in setUpDefaultData() 1296 doReturn(ApnSetting.TYPE_DEFAULT).when(mApnContext).getApnTypeBitmask(); in testIsSuspended() 1337 doReturn(ApnSetting.TYPE_DEFAULT).when(mApnContext).getApnTypeBitmask(); in testDataCreatedWhenOutOfService() 1361 verify(mDataThrottler).setRetryTime(eq(ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_SUPL), in testDataServiceTempUnavailable()
|
D | ApnConfigTypeRepositoryTest.java | 91 assertEquals(1, repository.getByType(ApnSetting.TYPE_DEFAULT).getPriority()); in checkDefaults()
|
D | DcControllerTest.java | 180 ApnContext apnContext = new ApnContext(mPhone, ApnSetting.TYPE_DEFAULT, TAG, mDcTracker, 1); in testPhysicalLinkStateChanged_defaultApnTypeAndDormant_registrantNotifyResult() 265 ApnContext apnContext = new ApnContext(mPhone, ApnSetting.TYPE_DEFAULT, TAG, mDcTracker, 1); in testPhysicalLinkStateChanged_defaultApnTypeAndStateChanged_registrantNotifyResult()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | BitmapInfo.java | 46 protected static final byte TYPE_DEFAULT = 1; field in BitmapInfo 78 out.write(TYPE_DEFAULT); in toByteArray() 123 if (data[0] == TYPE_DEFAULT) { in fromByteArray()
|
/frameworks/base/core/java/android/view/ |
D | PointerIcon.java | 146 public static final int TYPE_DEFAULT = TYPE_ARROW; field in PointerIcon 201 return getSystemIcon(context, TYPE_DEFAULT); in getDefaultIcon() 242 typeIndex = getSystemIconTypeIndex(TYPE_DEFAULT); in getSystemIcon() 255 return type == TYPE_DEFAULT ? gNullIcon : getSystemIcon(context, TYPE_DEFAULT); in getSystemIcon()
|
/frameworks/av/services/audioflinger/ |
D | TrackBase.h | 52 TYPE_DEFAULT, enumerator 71 track_type type = TYPE_DEFAULT,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | ApnConfigTypeRepository.java | 71 add(ApnSetting.TYPE_DEFAULT, apnTypeMap); in addApns()
|
D | DcTracker.java | 233 private int mRequestedApnType = ApnSetting.TYPE_DEFAULT; 1393 if ((apnContext != null && requestApnType == ApnSetting.TYPE_DEFAULT in isDataAllowed() 1499 && !isMeteredApnType && requestApnType != ApnSetting.TYPE_DEFAULT in isDataAllowed() 1766 mRequestedApnType = ApnSetting.TYPE_DEFAULT; in cleanUpAllConnectionsInternal() 3072 if (apnContext.getApnTypeBitmask() == ApnSetting.TYPE_DEFAULT in completeConnection() 3207 intent.putExtra(TelephonyManager.EXTRA_APN_TYPE, ApnSetting.TYPE_DEFAULT); in onDataSetupComplete() 3253 if (apnContext.getApnTypeBitmask() == ApnSetting.TYPE_DEFAULT in onDataSetupComplete() 3576 if ((src.getApnTypeBitmask() & ApnSetting.TYPE_DEFAULT) == ApnSetting.TYPE_DEFAULT) { in mergeApns() 3641 requestedApnTypeBitmask = ApnSetting.TYPE_DEFAULT; in buildWaitingApns() 3884 apnContext = mApnContextsByType.get(ApnSetting.TYPE_DEFAULT); in handleMessage() [all …]
|
D | DataThrottler.java | 237 if (apnType == ApnSetting.TYPE_DEFAULT) { in getRetryTime()
|
D | DcController.java | 171 .anyMatch(apn -> apn.getApnTypeBitmask() == ApnSetting.TYPE_DEFAULT)); in isDefaultDataActive()
|
D | AccessNetworksManager.java | 71 ApnSetting.TYPE_DEFAULT,
|
D | ApnContext.java | 553 apnType = ApnSetting.TYPE_DEFAULT; in getApnTypeFromNetworkRequest()
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | ApnSetting.java | 91 public static final int TYPE_DEFAULT = ApnTypes.DEFAULT | ApnTypes.HIPRI; field in ApnSetting 129 TYPE_DEFAULT, 424 APN_TYPE_STRING_MAP.put(TYPE_DEFAULT_STRING, TYPE_DEFAULT); in APN_TYPE_STRING_MAP.put() argument 441 APN_TYPE_INT_MAP.put(TYPE_DEFAULT, TYPE_DEFAULT_STRING); in APN_TYPE_INT_MAP.put() argument 2236 if ((mApnTypeBitmask & (TYPE_DEFAULT | TYPE_MMS | TYPE_SUPL | TYPE_DUN | TYPE_HIPRI in build()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyRegistryTest.java | 394 .setApnTypeBitmask(ApnSetting.TYPE_DEFAULT) in testPreciseDataConnectionStateChanged() 564 int mask = ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_MMS; in testGetApnTypesStringFromBitmask()
|
D | NetworkTypeControllerTest.java | 473 doReturn(true).when(mApnSetting).canHandleType(ApnSetting.TYPE_DEFAULT); in testTransitionToCurrentStateNrConnectedWithPcoAndNoNrAdvancedCapable() 498 doReturn(true).when(mApnSetting).canHandleType(ApnSetting.TYPE_DEFAULT); in testTransitionToCurrentStateNrConnectedWithWrongPcoAndNoNrAdvancedCapable() 521 doReturn(true).when(mApnSetting).canHandleType(ApnSetting.TYPE_DEFAULT); in testTransitionToCurrentStateNrConnectedWithNrAdvancedCapableAndPco()
|
D | PhoneSwitcherTest.java | 613 doReturn(true).when(mDataEnabledSettings2).isDataEnabled(ApnSetting.TYPE_DEFAULT); in testNonDefaultDataPhoneInCall_ImsCallOnLte_shouldSwitchDds() 640 doReturn(true).when(mDataEnabledSettings2).isDataEnabled(ApnSetting.TYPE_DEFAULT); in testNonDefaultDataPhoneInCall_ImsCallOnWlan_shouldNotSwitchDds() 668 doReturn(true).when(mDataEnabledSettings2).isDataEnabled(ApnSetting.TYPE_DEFAULT); in testNonDefaultDataPhoneInCall_ImsCallOnCrossSIM_HandoverToLTE()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierSignalAgent.java | 437 ApnSetting.TYPE_DEFAULT); in createCompatIntent()
|