Home
last modified time | relevance | path

Searched refs:allowedNetworkType (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/network/telephony/
DAllowedNetworkTypesFlow.kt30 override fun onAllowedNetworkTypesChanged(reason: Int, allowedNetworkType: Long) { in Context()
34 trySend(allowedNetworkType) in Context()
35 Log.d(TAG, "[$subId] reason: $reason, allowedNetworkType: $allowedNetworkType") in Context()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanEventListener.java189 @TelephonyManager.NetworkTypeBitMask long allowedNetworkType) { in onAllowedNetworkTypesChanged() argument
196 instance.updateHandlers(PREFERRED_NETWORK_TYPE_CHANGED_EVENT, allowedNetworkType); in onAllowedNetworkTypesChanged()
566 private synchronized void updateHandlers(int event, long allowedNetworkType) { in updateHandlers() argument
570 handler.obtainMessage(event, mSlotId, 0 /* unused */, allowedNetworkType) in updateHandlers()
DIwlanDataService.java1658 long allowedNetworkType = (long) msg.obj; in handleMessage() local
1659 onPreferredNetworkTypeChanged(iwlanDataServiceProvider, allowedNetworkType); in handleMessage()
2504 IwlanDataServiceProvider iwlanDataServiceProvider, long allowedNetworkType) { in onPreferredNetworkTypeChanged() argument
2506 (allowedNetworkType & TelephonyManager.NETWORK_TYPE_BITMASK_NR) != 0; in onPreferredNetworkTypeChanged()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceControllerTest.java513 private void mockAllowedNetworkTypes(long allowedNetworkType) { in mockAllowedNetworkTypes() argument
514 doReturn(allowedNetworkType).when(mTelephonyManager).getAllowedNetworkTypesForReason( in mockAllowedNetworkTypes()