Searched refs:HeadsetObjectsFactory (Results 1 – 5 of 5) sorted by relevance
28 public class HeadsetObjectsFactory { class29 private static final String TAG = HeadsetObjectsFactory.class.getSimpleName();30 private static HeadsetObjectsFactory sInstance;33 private HeadsetObjectsFactory() {} in HeadsetObjectsFactory() method in HeadsetObjectsFactory40 public static HeadsetObjectsFactory getInstance() { in getInstance()43 sInstance = new HeadsetObjectsFactory(); in getInstance()54 private static void setInstanceForTesting(HeadsetObjectsFactory objectsFactory) { in setInstanceForTesting()
157 mSystemInterface = HeadsetObjectsFactory.getInstance().makeSystemInterface(this); in start()160 mNativeInterface = HeadsetObjectsFactory.getInstance().getNativeInterface(); in start()220 HeadsetObjectsFactory.getInstance().destroyStateMachine(stateMachine); in stop()314 stateMachine = HeadsetObjectsFactory.getInstance() in messageFromNative()779 stateMachine = HeadsetObjectsFactory.getInstance() in connect()1901 HeadsetObjectsFactory.getInstance().destroyStateMachine(stateMachine); in removeStateMachine()
82 @Spy private HeadsetObjectsFactory mObjectsFactory = HeadsetObjectsFactory.getInstance();99 Method method = HeadsetObjectsFactory.class.getDeclaredMethod("setInstanceForTesting", in setUp()100 HeadsetObjectsFactory.class); in setUp()165 Method method = HeadsetObjectsFactory.class.getDeclaredMethod("setInstanceForTesting", in tearDown()166 HeadsetObjectsFactory.class); in tearDown()168 method.invoke(null, (HeadsetObjectsFactory) null); in tearDown()
149 @Spy private HeadsetObjectsFactory mObjectsFactory = HeadsetObjectsFactory.getInstance();175 Method method = HeadsetObjectsFactory.class.getDeclaredMethod("setInstanceForTesting", in setUp()176 HeadsetObjectsFactory.class); in setUp()249 Method method = HeadsetObjectsFactory.class.getDeclaredMethod("setInstanceForTesting", in tearDown()250 HeadsetObjectsFactory.class); in tearDown()252 method.invoke(null, (HeadsetObjectsFactory) null); in tearDown()
130 mHeadsetStateMachine = HeadsetObjectsFactory.getInstance() in setUp()140 HeadsetObjectsFactory.getInstance().destroyStateMachine(mHeadsetStateMachine); in tearDown()