diff options
-rw-r--r-- | current.txt | 1 | ||||
-rw-r--r-- | neuralnetworks/1.2/IDevice.hal | 16 |
2 files changed, 9 insertions, 8 deletions
diff --git a/current.txt b/current.txt index fbb9752c04..b7383ea18f 100644 --- a/current.txt +++ b/current.txt @@ -574,6 +574,7 @@ cfa81f229b69f9011c58f48264fcb552447430fe68610eac514e811e65bc306a android.hardwar # ABI preserving changes to HALs during Android R b69a7615c508acf5c5201efd1bfa3262167874fc3594e2db5a3ff93addd8ac75 android.hardware.keymaster@4.0::IKeymasterDevice ad431c8de51c07934a068e3043d8dd0537ac4d3158627706628b123f42df48dc android.hardware.neuralnetworks@1.0::IPreparedModel +fb382e986c10b8fbb797a8546e8f9ea6d1107bfe6f3fb7e57f6bbbf1f807a906 android.hardware.neuralnetworks@1.2::IDevice aafcc10cf04ab247e86d4582586c71c6b4c2b8c479241ffa7fe37deb659fc942 android.hardware.neuralnetworks@1.2::IPreparedModel 1a6e2bd289f22931c526b21916910f1d4c436b7acb9556e4243de4ce8e6cc2e4 android.hardware.soundtrigger@2.0::ISoundTriggerHwCallback fd65298e1e09e0e3c781ab18305920d757dbe55a3b459ce17814ec5cf6dfee99 android.hardware.wifi@1.0::IWifiP2pIface diff --git a/neuralnetworks/1.2/IDevice.hal b/neuralnetworks/1.2/IDevice.hal index d83f9e6758..ff20c12867 100644 --- a/neuralnetworks/1.2/IDevice.hal +++ b/neuralnetworks/1.2/IDevice.hal @@ -64,14 +64,14 @@ interface IDevice extends @1.1::IDevice { * results, the developer could choose an ACCELERATOR type device for ML * workloads, and reserve GPU for graphical rendering. * - * @param status Error status returned from querying the device type. Must be: - * - NONE if the query was successful - * - DEVICE_UNAVAILABLE if driver is offline or busy - * - GENERAL_FAILURE if the query resulted in an - * unspecified error - * @param type The DeviceType of the device. Please note, this is not a - * bitfield of DeviceTypes. Each device must only be of a - * single DeviceType. + * @return status Error status returned from querying the device type. Must be: + * - NONE if the query was successful + * - DEVICE_UNAVAILABLE if driver is offline or busy + * - GENERAL_FAILURE if the query resulted in an + * unspecified error + * @return type The DeviceType of the device. Please note, this is not a + * bitfield of DeviceTypes. Each device must only be of a + * single DeviceType. */ getType() generates (ErrorStatus status, DeviceType type); |