Home
last modified time | relevance | path

Searched refs:mAuthenticator (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapAuthenticatorTest.java41 private BluetoothPbapAuthenticator mAuthenticator; field in BluetoothPbapAuthenticatorTest
49 mAuthenticator = new BluetoothPbapAuthenticator(mMockPbapStateMachine); in setUp()
54 assertThat(mAuthenticator.mChallenged).isFalse(); in testConstructor()
55 assertThat(mAuthenticator.mAuthCancelled).isFalse(); in testConstructor()
56 assertThat(mAuthenticator.mSessionKey).isNull(); in testConstructor()
57 assertThat(mAuthenticator.mPbapStateMachine).isEqualTo(mMockPbapStateMachine); in testConstructor()
62 mAuthenticator.setChallenged(true); in testSetChallenged()
63 assertThat(mAuthenticator.mChallenged).isTrue(); in testSetChallenged()
65 mAuthenticator.setChallenged(false); in testSetChallenged()
66 assertThat(mAuthenticator.mChallenged).isFalse(); in testSetChallenged()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DAuthenticatorTest.java43 private Authenticator mAuthenticator; field in AuthenticatorTest
52 mAuthenticator = new Authenticator(mTargetContext); in setUp()
59 () -> mAuthenticator.editProperties(mResponse, null)); in editProperties_throwsUnsupportedOperationException()
66 () -> mAuthenticator.addAccount(mResponse, null, null, null, null)); in addAccount_throwsUnsupportedOperationException()
71 assertThat(mAuthenticator.confirmCredentials(mResponse, mAccount, null)).isNull(); in confirmCredentials_returnsNull()
78 () -> mAuthenticator.getAuthToken(mResponse, mAccount, null, null)); in getAuthToken_throwsUnsupportedOperationException()
83 assertThat(mAuthenticator.getAuthTokenLabel(null)).isNull(); in getAuthTokenLabel_returnsNull()
88 assertThat(mAuthenticator.updateCredentials(mResponse, mAccount, null, null)).isNull(); in updateCredentials_returnsNull()
93 Bundle result = mAuthenticator.hasFeatures(mResponse, mAccount, null); in hasFeatures_notSupported()
DBluetoothPbapObexAuthenticatorTest.java34 private BluetoothPbapObexAuthenticator mAuthenticator; field in BluetoothPbapObexAuthenticatorTest
38 mAuthenticator = new BluetoothPbapObexAuthenticator(); in setUp()
45 mAuthenticator.onAuthenticationChallenge( in onAuthenticationChallenge()
51 .isEqualTo(mAuthenticator.mSessionKey.getBytes()); in onAuthenticationChallenge()
58 assertThat(mAuthenticator.onAuthenticationResponse(userName)).isNull(); in onAuthenticationResponse()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DAuthenticationService.java23 private Authenticator mAuthenticator; field in AuthenticationService
27 mAuthenticator = new Authenticator(this); in onCreate()
32 return mAuthenticator.getIBinder(); in onBind()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/accounts/
DTestAuthService.java24 private Authenticator mAuthenticator; field in TestAuthService
28 mAuthenticator = new Authenticator(this); in onCreate()
33 return mAuthenticator.getIBinder(); in onBind()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/
DTestAuthenticationService.java26 private TestAuthenticator mAuthenticator; field in TestAuthenticationService
33 mAuthenticator = new TestAuthenticator(this); in onCreate()
48 return mAuthenticator.getIBinder(); in onBind()