Searched refs:mFastPairAdvertiser (Results 1 – 2 of 2) sorted by relevance
129 private FastPairAdvertiser mFastPairAdvertiser; field in FastPairAdvertiserTest185 mFastPairAdvertiser = new FastPairAdvertiser(mMockContext); in setUp()229 mFastPairAdvertiser.advertiseModelId(TEST_MODEL_ID, mCallback); in testAdvertiseModelIdFromStopped_advertisingSucceeds()237 assertThat(mFastPairAdvertiser.getAdvertisingState()) in testAdvertiseModelIdFromStopped_advertisingSucceeds()245 assertThat(mFastPairAdvertiser.getAdvertisingState()) in testAdvertiseModelIdFromStopped_advertisingSucceeds()247 assertThat(mFastPairAdvertiser.isAdvertising()).isTrue(); in testAdvertiseModelIdFromStopped_advertisingSucceeds()257 mFastPairAdvertiser.advertiseModelId(TEST_MODEL_ID, mCallback); in testAdvertiseModelIdWhileStarted_doNothing()262 assertThat(mFastPairAdvertiser.getAdvertisingState()) in testAdvertiseModelIdWhileStarted_doNothing()264 assertThat(mFastPairAdvertiser.isAdvertising()).isTrue(); in testAdvertiseModelIdWhileStarted_doNothing()269 mFastPairAdvertiser.advertiseAccountKeys(TEST_EMPTY_ACCOUNT_KEYS, mCallback); in testAdvertiseAccountKeyFilterNoKeys_advertisingSucceeds()[all …]
57 private final FastPairAdvertiser mFastPairAdvertiser; field in FastPairProvider178 mFastPairAdvertiser = new FastPairAdvertiser(mContext); in FastPairProvider()231 mFastPairAdvertiser.stopAdvertising(); in advertiseModelId()232 mFastPairAdvertiser.advertiseModelId(mModelId, mAdvertiserCallbacks); in advertiseModelId()237 mFastPairAdvertiser.stopAdvertising(); in advertiseAccountKeys()238 mFastPairAdvertiser.advertiseAccountKeys(mFastPairAccountKeyStorage.getAllAccountKeys(), in advertiseAccountKeys()244 mFastPairAdvertiser.stopAdvertising(); in stopAdvertising()274 mFastPairAdvertiser.dump(writer); in dump()