drm: refactor resourcemanager death handling
media.resource.manager Binder death notification is refactored as it: - doesn't connect with the resource.manager upon death. So, the following changes are made with this CL: - Reconnect with the resource.manager upon death - Re-register all the resources, so that resource.manager will have all the resource information to help with drm session reclaim. - Replacing the deprecated API AServiceManager_getService with AServiceManager_waitForService. Bug: 284031542 Test: atest android.media.misc.cts.ResourceManagerTest Test: atest android.resourcemanager.cts.ResourceManagerHostJUnit4Test Test: DrmSessionManagerTest Test: DrmSessionManager_test Test: MediaDrmClearkeyTest.testGetNumberOfSessions Merged-In: If0468444741a076321dbf3666628dc89833f2dc9 Change-Id: If0468444741a076321dbf3666628dc89833f2dc9
Loading
Please register or sign in to comment