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()
148 mSystemInterface = HeadsetObjectsFactory.getInstance().makeSystemInterface(this); in start()152 mNativeInterface = HeadsetObjectsFactory.getInstance().getNativeInterface(); in start()211 HeadsetObjectsFactory.getInstance().destroyStateMachine(stateMachine); in stop()304 stateMachine = HeadsetObjectsFactory.getInstance() in messageFromNative()697 stateMachine = HeadsetObjectsFactory.getInstance() in connect()1796 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()167 Method method = HeadsetObjectsFactory.class.getDeclaredMethod("setInstanceForTesting", in tearDown()168 HeadsetObjectsFactory.class); in tearDown()170 method.invoke(null, (HeadsetObjectsFactory) null); in tearDown()
149 @Spy private HeadsetObjectsFactory mObjectsFactory = HeadsetObjectsFactory.getInstance();174 Method method = HeadsetObjectsFactory.class.getDeclaredMethod("setInstanceForTesting", in setUp()175 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()
125 mHeadsetStateMachine = HeadsetObjectsFactory.getInstance() in setUp()135 HeadsetObjectsFactory.getInstance().destroyStateMachine(mHeadsetStateMachine); in tearDown()