Loading compatibility_matrices/compatibility_matrix.9.xml +1 −1 Original line number Diff line number Diff line Loading @@ -185,7 +185,7 @@ </hal> <hal format="aidl" optional="true"> <name>android.hardware.contexthub</name> <version>2</version> <version>3</version> <interface> <name>IContextHub</name> <instance>default</instance> Loading contexthub/aidl/Android.bp +1 −1 Original line number Diff line number Diff line Loading @@ -49,6 +49,6 @@ aidl_interface { }, ], frozen: true, frozen: false, } contexthub/aidl/aidl_api/android.hardware.contexthub/current/android/hardware/contexthub/IContextHubCallback.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -39,5 +39,6 @@ interface IContextHubCallback { void handleContextHubAsyncEvent(in android.hardware.contexthub.AsyncEventType evt); void handleTransactionResult(in int transactionId, in boolean success); void handleNanSessionRequest(in android.hardware.contexthub.NanSessionRequest request); byte[16] getUuid(); const int CONTEXTHUB_NAN_TRANSACTION_TIMEOUT_MS = 10000; } contexthub/aidl/android/hardware/contexthub/IContextHubCallback.aidl +8 −0 Original line number Diff line number Diff line Loading @@ -90,6 +90,14 @@ interface IContextHubCallback { */ void handleNanSessionRequest(in NanSessionRequest request); /** * This callback is passed to the HAL implementation to allow the HAL to request a UUID that * uniquely identifies an IContextHubCallback. * * @return a byte array representating the UUID */ byte[16] getUuid(); /** * Amount of time, in milliseconds, that a handleNanSessionRequest can be pending before the * Contexthub service must respond. Loading contexthub/aidl/default/Android.bp +2 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ cc_library_static { shared_libs: [ "libbase", "libbinder_ndk", "android.hardware.contexthub-V2-ndk", "android.hardware.contexthub-V3-ndk", ], export_include_dirs: ["include"], srcs: [ Loading @@ -50,7 +50,7 @@ cc_binary { shared_libs: [ "libbase", "libbinder_ndk", "android.hardware.contexthub-V2-ndk", "android.hardware.contexthub-V3-ndk", ], static_libs: [ "libcontexthubexampleimpl", Loading Loading
compatibility_matrices/compatibility_matrix.9.xml +1 −1 Original line number Diff line number Diff line Loading @@ -185,7 +185,7 @@ </hal> <hal format="aidl" optional="true"> <name>android.hardware.contexthub</name> <version>2</version> <version>3</version> <interface> <name>IContextHub</name> <instance>default</instance> Loading
contexthub/aidl/Android.bp +1 −1 Original line number Diff line number Diff line Loading @@ -49,6 +49,6 @@ aidl_interface { }, ], frozen: true, frozen: false, }
contexthub/aidl/aidl_api/android.hardware.contexthub/current/android/hardware/contexthub/IContextHubCallback.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -39,5 +39,6 @@ interface IContextHubCallback { void handleContextHubAsyncEvent(in android.hardware.contexthub.AsyncEventType evt); void handleTransactionResult(in int transactionId, in boolean success); void handleNanSessionRequest(in android.hardware.contexthub.NanSessionRequest request); byte[16] getUuid(); const int CONTEXTHUB_NAN_TRANSACTION_TIMEOUT_MS = 10000; }
contexthub/aidl/android/hardware/contexthub/IContextHubCallback.aidl +8 −0 Original line number Diff line number Diff line Loading @@ -90,6 +90,14 @@ interface IContextHubCallback { */ void handleNanSessionRequest(in NanSessionRequest request); /** * This callback is passed to the HAL implementation to allow the HAL to request a UUID that * uniquely identifies an IContextHubCallback. * * @return a byte array representating the UUID */ byte[16] getUuid(); /** * Amount of time, in milliseconds, that a handleNanSessionRequest can be pending before the * Contexthub service must respond. Loading
contexthub/aidl/default/Android.bp +2 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ cc_library_static { shared_libs: [ "libbase", "libbinder_ndk", "android.hardware.contexthub-V2-ndk", "android.hardware.contexthub-V3-ndk", ], export_include_dirs: ["include"], srcs: [ Loading @@ -50,7 +50,7 @@ cc_binary { shared_libs: [ "libbase", "libbinder_ndk", "android.hardware.contexthub-V2-ndk", "android.hardware.contexthub-V3-ndk", ], static_libs: [ "libcontexthubexampleimpl", Loading