Avoid multiple initialization(s) for setup

- Avoid multiple registration of listeners and
  instantiation of class objects by checking
  the initialized state within setup/teardown
- Throw an exception if the context is null
- Add additional debugging information with the status

Change-Id: Iea1f0e7096ce961358073f721b22f19085f53e6f
CRs-Fixed: 2760836
1 file changed
tree: 197a96119184cf600fe383d41a14a629dbf0c065
  1. ims/
  2. internal/
  3. qti-hidl-wrapper/
  4. qti-utils/