Searched refs:mUwbCountryCode (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | UwbCountryCodeTest.java | 100 private UwbCountryCode mUwbCountryCode; field in UwbCountryCodeTest 154 mUwbCountryCode = new UwbCountryCode( in setUp() 157 mUwbCountryCode.addListener(mListener); in setUp() 162 mUwbCountryCode.initialize(); in testSetDefaultCountryCodeWhenNoCountryCodeAvailable() 171 mUwbCountryCode.initialize(); in testInitializeCountryCodeFromTelephony() 184 mUwbCountryCode.initialize(); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListEmptyAndFlagEnabled() 200 mUwbCountryCode.initialize(); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListNullAndFlagEnabled() 216 mUwbCountryCode.initialize(); in testInitializeCountryCodeFromTelephonyWhenSubscriptionListAndNetworkCountryEmpty() 227 mUwbCountryCode.initialize(); in testSkipWhenExceptionThrownInInitializeCountryCodeFromTelephony() 235 mUwbCountryCode.initialize(); in testInitializeCountryCodeFromTelephonyVerifyListener() [all …]
|
D | UwbServiceCoreTest.java | 243 @Mock private UwbCountryCode mUwbCountryCode; field in UwbServiceCoreTest 282 mUwbCountryCode, mUwbSessionManager, mUwbConfigurationManager, in setUp() 375 when(mUwbCountryCode.getCountryCode()).thenReturn(countryCode); in enableUwb() 376 when(mUwbCountryCode.setCountryCode(anyBoolean())).thenReturn( in enableUwb() 394 }).when(mUwbCountryCode).setCountryCode(anyBoolean()); in enableUwbWithCountryCodeChangedCallback() 398 when(mUwbCountryCode.getCountryCode()).thenReturn(VALID_COUNTRY_CODE); in enableUwbWithCountryCodeChangedCallback() 435 when(mUwbCountryCode.getCountryCode()).thenReturn(VALID_COUNTRY_CODE); in testCachedSpecificationResetOnCountryCodeChange() 507 verify(mUwbCountryCode).setCountryCode(true); in testEnableWithCountryCode_success() 525 when(mUwbCountryCode.getCountryCode()).thenReturn(VALID_COUNTRY_CODE); in testEnableWithCountryCode_success() 544 clearInvocations(mNativeUwbManager, mUwbCountryCode, cb); in testEnableWithCountryCode_statusRegulationUwbOff() [all …]
|
D | UwbShellCommandTest.java | 90 @Mock UwbCountryCode mUwbCountryCode; field in UwbShellCommandTest 100 when(mUwbInjector.getUwbCountryCode()).thenReturn(mUwbCountryCode); in setUp() 150 verify(mUwbCountryCode, never()).setOverrideCountryCode(any()); in testForceSetCountryCode() 159 verify(mUwbCountryCode).setOverrideCountryCode(any()); in testForceSetCountryCode() 169 verify(mUwbCountryCode, never()).setOverrideCountryCode(any()); in testForceClearCountryCode() 178 verify(mUwbCountryCode).clearOverrideCountryCode(); in testForceClearCountryCode() 186 verify(mUwbCountryCode).getCountryCode(); in testGetCountryCode()
|
D | UwbServiceImplTest.java | 130 @Mock private UwbCountryCode mUwbCountryCode; field in UwbServiceImplTest 172 when(mUwbInjector.getUwbCountryCode()).thenReturn(mUwbCountryCode); in setUp()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbServiceCore.java | 134 private final UwbCountryCode mUwbCountryCode; field in UwbServiceCore 291 mUwbCountryCode = uwbCountryCode; in UwbServiceCore() 292 mUwbCountryCode.addListener(this); in UwbServiceCore() 390 + ", current country code = " + mUwbCountryCode.getCountryCode()); in onDeviceStatusNotificationReceived() 413 mUwbCountryCode.getCountryCode(), in onDeviceStatusNotificationReceived() 414 mUwbCountryCode.getCountryCodeStatus()); in onDeviceStatusNotificationReceived() 865 mUwbCountryCode.getCountryCode(), mUwbCountryCode.getCountryCodeStatus()); in getAdapterState() 1181 mUwbCountryCode.setCountryCode(true); in initializeHw()
|
D | UwbInjector.java | 109 private final UwbCountryCode mUwbCountryCode; field in UwbInjector 144 mUwbCountryCode = in UwbInjector() 161 mUwbCountryCode, mUwbSessionManager, uwbConfigurationManager, this, mLooper); in UwbInjector() 203 return mUwbCountryCode; in getUwbCountryCode()
|
D | UwbShellCommand.java | 237 private final UwbCountryCode mUwbCountryCode; field in UwbShellCommand 249 mUwbCountryCode = uwbInjector.getUwbCountryCode(); in UwbShellCommand() 1230 mUwbCountryCode.setOverrideCountryCode(countryCode); in onCommand() 1235 mUwbCountryCode.clearOverrideCountryCode(); in onCommand() 1242 pw.println("Uwb Country Code = " + mUwbCountryCode.getCountryCode()); in onCommand()
|