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.java42 private BluetoothPbapAuthenticator mAuthenticator; field in BluetoothPbapAuthenticatorTest
50 mAuthenticator = new BluetoothPbapAuthenticator(mMockPbapStateMachine); in setUp()
55 assertThat(mAuthenticator.mChallenged).isFalse(); in testConstructor()
56 assertThat(mAuthenticator.mAuthCancelled).isFalse(); in testConstructor()
57 assertThat(mAuthenticator.mSessionKey).isNull(); in testConstructor()
58 assertThat(mAuthenticator.mPbapStateMachine).isEqualTo(mMockPbapStateMachine); in testConstructor()
63 mAuthenticator.setChallenged(true); in testSetChallenged()
64 assertThat(mAuthenticator.mChallenged).isTrue(); in testSetChallenged()
66 mAuthenticator.setChallenged(false); in testSetChallenged()
67 assertThat(mAuthenticator.mChallenged).isFalse(); in testSetChallenged()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DPbapClientAccountAuthenticatorTest.java44 private PbapClientAccountAuthenticator mAuthenticator; field in PbapClientAccountAuthenticatorTest
53 mAuthenticator = new PbapClientAccountAuthenticator(mTargetContext); in setUp()
60 () -> mAuthenticator.editProperties(mResponse, null)); in editProperties_throwsUnsupportedOperationException()
67 () -> mAuthenticator.addAccount(mResponse, null, null, null, null)); in addAccount_throwsUnsupportedOperationException()
72 assertThat(mAuthenticator.confirmCredentials(mResponse, mAccount, null)).isNull(); in confirmCredentials_returnsNull()
79 () -> mAuthenticator.getAuthToken(mResponse, mAccount, null, null)); in getAuthToken_throwsUnsupportedOperationException()
84 assertThat(mAuthenticator.getAuthTokenLabel(null)).isNull(); in getAuthTokenLabel_returnsNull()
89 assertThat(mAuthenticator.updateCredentials(mResponse, mAccount, null, null)).isNull(); in updateCredentials_returnsNull()
94 Bundle result = mAuthenticator.hasFeatures(mResponse, mAccount, null); in hasFeatures_notSupported()
DPbapClientObexAuthenticatorTest.java35 private PbapClientObexAuthenticator mAuthenticator; field in PbapClientObexAuthenticatorTest
39 mAuthenticator = new PbapClientObexAuthenticator(); in setUp()
46 mAuthenticator.onAuthenticationChallenge( in onAuthenticationChallenge()
52 .isEqualTo(mAuthenticator.mSessionKey.getBytes()); in onAuthenticationChallenge()
59 assertThat(mAuthenticator.onAuthenticationResponse(userName)).isNull(); in onAuthenticationResponse()
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientAccountAuthenticatorService.java28 private PbapClientAccountAuthenticator mAuthenticator; field in PbapClientAccountAuthenticatorService
32 mAuthenticator = new PbapClientAccountAuthenticator(this); in onCreate()
37 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()