Namespaces

Enumerations

enum RpcCertificateFormat
Name Value
PEM 0
DER 1

Defined at line 25 of file ../../third_party/android/platform/frameworks/native/libs/binder/include/binder/RpcCertificateFormat.h

Records

Functions

  • void LightRefBase_reportIncStrongRequireStrongFailed (const void * thiz)
  • template <typename F>
    StaticString16<sizeof(F) / sizeof(char16_t)> <deduction guide for StaticString16> (const F & )
  • template <typename INTERFACE>
    sp<INTERFACE> interface_cast (const sp<IBinder> & obj)

    If this is a local object and the descriptor matches, this will return the

    actual local object which is implementing the interface. Otherwise, this will

    return a proxy to the interface without checking the interface descriptor.

    This means that subsequent calls may fail with BAD_TYPE.

    Defined at line 48 of file ../../third_party/android/platform/frameworks/native/libs/binder/include/binder/IInterface.h

  • template <typename INTERFACE>
    sp<INTERFACE> checked_interface_cast (const sp<IBinder> & obj)

    This is the same as interface_cast, except that it always checks to make sure

    the descriptor matches, and if it doesn't match, it will return nullptr.

    Defined at line 58 of file ../../third_party/android/platform/frameworks/native/libs/binder/include/binder/IInterface.h

  • template <typename T>
    sp<T> delegate (const sp<T> & binder)

    Used to manage AIDL's *Delegator types.

    This is used to:

    - create a new *Delegator object that delegates to the binder argument.

    - or return an existing *Delegator object that already delegates to the

    binder argument.

    - or return the underlying delegate binder if the binder argument is a

    *Delegator itself.

    Parameters

    binder - the binder to delegate to or unwrap

    Returns

    pointer to the *Delegator object or the unwrapped binder object

    Defined at line 62 of file ../../third_party/android/platform/frameworks/native/libs/binder/include/binder/Delegate.h

  • template <typename TYPE>
    int strictly_order_type (const TYPE & lhs, const TYPE & rhs)

    compare and order types

    Defined at line 124 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <typename TYPE>
    int compare_type (const TYPE & lhs, const TYPE & rhs)

    Defined at line 129 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <typename TYPE>
    void construct_type (TYPE * p, size_t n)

    create, destroy, copy and move types...

    Defined at line 138 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <typename TYPE>
    void destroy_type (TYPE * p, size_t n)

    Defined at line 148 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <typename TYPE>
    typename std::enable_if<traits<TYPE>::has_trivial_copy>::type copy_type (TYPE * d, const TYPE * s, size_t n)

    Defined at line 160 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <typename TYPE>
    typename std::enable_if<!traits<TYPE>::has_trivial_copy>::type copy_type (TYPE * d, const TYPE * s, size_t n)

    Defined at line 167 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • int compare_type (const String8 & lhs, const String8 & rhs)

    ---------------------------------------------------------------------------

    No user servicable parts below.

    Defined at line 174 of file ../../third_party/android/platform/system/core/include/utils/String8.h

  • template <typename TYPE>
    void splat_type (TYPE * where, const TYPE * what, size_t n)

    Defined at line 177 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • int strictly_order_type (const String8 & lhs, const String8 & rhs)

    Defined at line 179 of file ../../third_party/android/platform/system/core/include/utils/String8.h

  • template <typename TYPE>
    typename std::enable_if<use_trivial_move<TYPE>::value>::type move_forward_type (TYPE * d, const TYPE * s, size_t n)

    Defined at line 200 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <typename TYPE>
    typename std::enable_if<!use_trivial_move<TYPE>::value>::type move_forward_type (TYPE * d, const TYPE * s, size_t n)

    Defined at line 207 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <typename TYPE>
    typename std::enable_if<use_trivial_move<TYPE>::value>::type move_backward_type (TYPE * d, const TYPE * s, size_t n)

    Defined at line 227 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <typename TYPE>
    typename std::enable_if<!use_trivial_move<TYPE>::value>::type move_backward_type (TYPE * d, const TYPE * s, size_t n)

    Defined at line 234 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • int compare_type (const String16 & lhs, const String16 & rhs)

    ---------------------------------------------------------------------------

    No user servicable parts below.

    Defined at line 252 of file ../../third_party/android/platform/system/core/include/utils/String16.h

  • int strictly_order_type (const String16 & lhs, const String16 & rhs)

    Defined at line 257 of file ../../third_party/android/platform/system/core/include/utils/String16.h

  • template <>
    hash_t hash_type<bool> (const bool & value)

    Defined at line 321 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <>
    hash_t hash_type<signed char> (const int8_t & value)

    Defined at line 322 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <>
    hash_t hash_type<unsigned char> (const uint8_t & value)

    Defined at line 323 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <>
    hash_t hash_type<short> (const int16_t & value)

    Defined at line 324 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <>
    hash_t hash_type<unsigned short> (const uint16_t & value)

    Defined at line 325 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <>
    hash_t hash_type<int> (const int32_t & value)

    Defined at line 326 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <>
    hash_t hash_type<unsigned int> (const uint32_t & value)

    Defined at line 327 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <>
    hash_t hash_type<long> (const int64_t & value)

    Defined at line 328 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <>
    hash_t hash_type<unsigned long> (const uint64_t & value)

    Defined at line 329 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <>
    hash_t hash_type<float> (const float & value)

    Defined at line 330 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <>
    hash_t hash_type<double> (const double & value)

    Defined at line 331 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <typename T>
    hash_t hash_type (T *const & value)

    Defined at line 333 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

  • template <typename TKey>
    hash_t hash_type (const TKey & key)
  • template <typename TYPE>
    void move_forward_type (sp<TYPE> * d, const sp<TYPE> * s, size_t n)

    specialization for moving sp

    <

    > and wp

    <

    > types.

    these are used by the [Sorted|Keyed]Vector

    <

    > implementations

    sp

    <

    > and wp

    <

    > need to be handled specially, because they do not

    have trivial copy operation in the general case (see RefBase.cpp

    when DEBUG ops are enabled), but can be implemented very

    efficiently in most cases.

    Defined at line 760 of file ../../third_party/android/platform/system/core/include/utils/RefBase.h

  • template <typename TYPE>
    void move_backward_type (sp<TYPE> * d, const sp<TYPE> * s, size_t n)

    Defined at line 765 of file ../../third_party/android/platform/system/core/include/utils/RefBase.h

  • template <typename TYPE>
    void move_forward_type (wp<TYPE> * d, const wp<TYPE> * s, size_t n)

    Defined at line 770 of file ../../third_party/android/platform/system/core/include/utils/RefBase.h

  • template <typename TYPE>
    void move_backward_type (wp<TYPE> * d, const wp<TYPE> * s, size_t n)

    Defined at line 775 of file ../../third_party/android/platform/system/core/include/utils/RefBase.h

  • std::ostream & operator<< (std::ostream & to, const Parcel & parcel)

    ---------------------------------------------------------------------------

    Defined at line 1662 of file ../../third_party/android/platform/frameworks/native/libs/binder/include/binder/Parcel.h

  • std::string statusToString (status_t status)

    Human readable name of error

  • void sp_report_race ()

    For code size reasons, we do not want these inlined or templated.