Home | History | Annotate | Download | only in 1.0

Lines Matching refs:token

17 package android.hidl.token@1.0;
27 * to the interface until the token is destroyed by calling unregister.
29 * Must return empty token on failure.
31 * @param store Interface which can later be fetched with the returned token.
32 * @return token Opaque value which may be used as inputs to other functions.
34 createToken(interface store) generates (vec<uint8_t>token);
37 * Destory a token and the strong reference to the associated interface.
39 * @param token Token received from createToken
40 * @return success Whether or not the token was successfully unregistered.
42 unregister(vec<uint8_t> token) generates (bool success);
45 * Fetch an interface from a provided token.
47 * @param token Token received from createToken
49 * token or nullptr.
51 get(vec<uint8_t> token) generates (interface store);