CPC G06F 9/541 (2013.01) [G06F 8/64 (2013.01); G06F 9/3867 (2013.01); G06F 9/4406 (2013.01); G06F 9/4806 (2013.01); G06F 9/545 (2013.01)] | 10 Claims |
1. A method comprising:
loading into memory a first application programming interface (API) set schema that associates an API set contract with a first host binary, the API set contract defining a set of APIs;
loading into the memory a second API set schema that associates the API set contract with a second host binary, the first host binary and the second host binary being executables of same-type subsystems that share a base operating system in a device;
receiving an API call from an application executing on the device, the API including a request to resolve the API set contract to an associated host binary file;
evaluating, by the base operating system of the device, a runtime context of the API call to determine an application identifier for the application that initiated the request to resolve the API set contract to the associated host binary file;
selecting, by the base operating system of the device, the first API set schema instead of the second API set schema to resolve the request based on the application identifier; and
executing elements of the first host binary instead of the second host binary responsive to selecting the first API set schema.
|