I need to collect information on all available DRM plugins. Android's document on DRM mentions that all available plugins can be found under
DrmManagerClient.getAvailableDrmEngines() gives you the info of all the available engines.
There's no reason to read these from the file location yourself. From the DRM docs
Plug-ins are loaded automatically when DrmManagerService is launched