/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
D | ConfigFactory.java | 63 byte[] template = null; in ConfigFactory() 67 template = new byte[inputStream.available()]; in ConfigFactory() 68 inputStream.read(template); in ConfigFactory() 69 templateProto = StatsdConfig.parseFrom(template); in ConfigFactory() 171 private void addEventMetric(EventMetric template, int suffix, StatsdConfig.Builder config) { in addEventMetric() argument 172 EventMetric.Builder metric = template.toBuilder() in addEventMetric() 173 .setId(template.getId() + suffix) in addEventMetric() 174 .setWhat(template.getWhat() + suffix); in addEventMetric() 175 if (template.hasCondition()) { in addEventMetric() 176 metric.setCondition(template.getCondition() + suffix); in addEventMetric() [all …]
|
/frameworks/compile/mclinker/include/mcld/Script/ |
D | Operator.h | 113 template <Operator::Type TYPE> 123 template <> 125 template <> 127 template <> 131 template <> 133 template <> 135 template <> 137 template <> 140 template <> 142 template <> [all …]
|
D | BinaryOp.h | 27 template <Operator::Type TYPE> 52 template <> 55 template <> 58 template <> 61 template <> 64 template <> 67 template <> 70 template <> 73 template <> 75 template <> [all …]
|
D | UnaryOp.h | 27 template <Operator::Type TYPE> 45 template <> 48 template <> 51 template <> 54 template <> 58 template <> 61 template <> 64 template <> 67 template <> 70 template <> [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | NetworkPolicyEditor.java | 99 public boolean hasLimitedPolicy(NetworkTemplate template) { in hasLimitedPolicy() argument 100 final NetworkPolicy policy = getPolicy(template); in hasLimitedPolicy() 104 public NetworkPolicy getOrCreatePolicy(NetworkTemplate template) { in getOrCreatePolicy() argument 105 NetworkPolicy policy = getPolicy(template); in getOrCreatePolicy() 107 policy = buildDefaultPolicy(template); in getOrCreatePolicy() 113 public NetworkPolicy getPolicy(NetworkTemplate template) { in getPolicy() argument 115 if (policy.template.equals(template)) { in getPolicy() 122 public NetworkPolicy getPolicyMaybeUnquoted(NetworkTemplate template) { in getPolicyMaybeUnquoted() argument 123 NetworkPolicy policy = getPolicy(template); in getPolicyMaybeUnquoted() 127 return getPolicy(buildUnquotedNetworkTemplate(template)); in getPolicyMaybeUnquoted() [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | variant.h | 18 template <typename T> 22 template <std::size_t I, typename... Types> 26 template <std::size_t I, typename... Types> 39 template <typename...> 41 template <typename T, typename U> 47 template <typename T, typename... Args> 51 template <typename R, typename T, typename... Args> 55 template <typename R, typename T, typename... Args> 60 template <typename... Types> 62 template <typename T, typename U> [all …]
|
D | type_operators.h | 23 template <typename T> 27 template <typename A, typename B> 31 template <typename... T> 33 template <typename A, typename B> 35 template <typename A, typename B, typename... Rest> 52 template <typename A, typename B> 57 template <template <typename, typename...> class TT, typename A, typename B, 65 template <template <typename, typename, typename...> class TT, typename KeyA, 73 template <typename A, typename B, typename C, typename D> 80 template <typename A, typename B, typename C, typename D> [all …]
|
D | remote_method_type.h | 17 template <int Opcode_, typename Signature_> 27 template <typename... Params> 28 using RewriteArgs = typename Traits::template RewriteArgs<Params...>; 30 template <typename ReturnType, typename... Params> 32 typename Traits::template RewriteSignature<ReturnType, Params...>; 34 template <template <typename> class Wrapper, typename ReturnType, 37 typename Traits::template RewriteSignatureWrapReturn<Wrapper, ReturnType, 40 template <typename ReturnType> 41 using RewriteReturn = typename Traits::template RewriteReturn<ReturnType>; 46 template <typename... MethodTypes> [all …]
|
D | remote_method.h | 27 template <typename RemoteMethodType> 30 std::is_same<typename RemoteMethodType::Traits::template Arg<0>, 34 template <typename RemoteMethodType> 39 template <typename RemoteMethodType> 47 template <typename RemoteMethodType> 49 template <typename RemoteMethodType> 56 template <typename T> 59 template <> 62 template <> 65 template <> [all …]
|
/frameworks/av/media/libmediahelper/include/media/ |
D | convert.h | 53 template <typename srcType, typename dstType> 62 template <typename T> 64 template <typename T> 68 template <> 70 template <> 72 template <> 74 template <> 76 template <> 78 template <> 80 template <> [all …]
|
/frameworks/rs/cpp/util/ |
D | StrongPointer.h | 34 template<typename T> class wp; 45 template<typename U> \ 49 template<typename U> \ 56 template<typename U> \ 63 template <typename T> 71 template<typename U> sp(U* other); // NOLINT, implicit 72 template<typename U> sp(const sp<U>& other); // NOLINT, implicit 81 template<typename U> sp& operator = (const sp<U>& other); 82 template<typename U> sp& operator = (U* other); 107 template<typename Y> friend class sp; [all …]
|
D | TypeHelpers.h | 34 template <typename T> struct trait_trivial_ctor { enum { value = false }; }; 35 template <typename T> struct trait_trivial_dtor { enum { value = false }; }; 36 template <typename T> struct trait_trivial_copy { enum { value = false }; }; 37 template <typename T> struct trait_trivial_move { enum { value = false }; }; 38 template <typename T> struct trait_pointer { enum { value = false }; }; 39 template <typename T> struct trait_pointer<T*> { enum { value = true }; }; 41 template <typename TYPE> 57 template <typename T, typename U> 73 template<> struct trait_trivial_ctor< T > { enum { value = true }; }; 76 template<> struct trait_trivial_dtor< T > { enum { value = true }; }; [all …]
|
D | RefBase.h | 46 template<typename U> \ 50 template<typename U> \ 164 template <class T> 198 template <typename T> 209 template<typename U> explicit wp(U* other); 210 template<typename U> explicit wp(const sp<U>& other); 211 template<typename U> explicit wp(const wp<U>& other); 221 template<typename U> wp& operator = (U* other); 222 template<typename U> wp& operator = (const wp<U>& other); 223 template<typename U> wp& operator = (const sp<U>& other); [all …]
|
/frameworks/base/tools/aapt2/util/ |
D | Maybe.h | 34 template <typename T> 46 template <typename U> 51 template <typename U> 56 template <typename U> 61 template <typename U> 95 template <typename U> 98 template <typename U> 101 template <typename U> 111 template <typename T> 114 template <typename T> [all …]
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | AData.h | 95 template<typename T, typename ...Args> 111 template<typename T> 118 template<> 124 template<> 142 template<typename ...Ts> 160 template< 177 template< 192 template< 207 template<typename T> 224 template< [all …]
|
D | TypeTraits.h | 36 template<typename T> 48 template<typename T, 59 template<typename T, typename U> 67 template<typename T, typename U> 77 template<typename T> 85 template<typename T> 97 template<typename T, typename ...Us> 104 template<typename T, typename ...Us> 110 template<typename T, typename U, typename ...Us> 116 template<typename T> [all …]
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | LEB128.h | 22 template <typename IntType> 25 template <typename IntType> 28 template <typename IntType> 35 template <typename IntType> 51 template <> 54 template <> 60 template <> 63 template <> 71 template <> 78 template <> [all …]
|
/frameworks/native/services/sensorservice/ |
D | vec.h | 36 template <typename TYPE, size_t SIZE> 39 template <typename TYPE, size_t SIZE> 44 template <typename T> inline T min(T a, T b) { return a<b ? a : b; } in min() 45 template <typename T> inline T max(T a, T b) { return a>b ? a : b; } in max() 47 template < template<typename T, size_t S> class VEC, 61 template < 62 template<typename T, size_t S> class VLHS, 63 template<typename T, size_t S> class VRHS, 76 template < 77 template<typename T, size_t S> class VLHS, [all …]
|
D | RingBuffer.h | 35 template <class T> 121 template <class... Args> 173 template <class T> 176 template <class T> 180 template <class T> 193 template <class T> 200 template <class T> 205 template <class T> 210 template <class T> 215 template <class T> [all …]
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | StringPiece.h | 43 template <typename TChar> 94 template <typename TChar> 97 template <typename TChar> 100 template <typename TChar> 104 template <typename TChar> 108 template <> 112 template <> 116 template <typename TChar> 120 template <typename TChar> 128 template <typename TChar> [all …]
|
/frameworks/native/libs/binder/include/binder/ |
D | SafeInterface.h | 49 template <typename E> 57 template <typename E> 62 template <typename T> 67 template <typename T> 72 template <typename T> 78 template <typename T> 83 template <typename T> 88 template <typename T> 93 template <typename NH> 99 template <typename NH> [all …]
|
/frameworks/base/tools/aapt2/test/ |
D | Common.h | 54 template <typename T = Value> 68 template <> 74 template <typename T = Value> 80 template <typename T = Value> 111 template <typename T> 118 template std::ostream& operator<<<Item>(std::ostream&, const Item&); 119 template std::ostream& operator<<<Reference>(std::ostream&, const Reference&); 120 template std::ostream& operator<<<Id>(std::ostream&, const Id&); 121 template std::ostream& operator<<<RawString>(std::ostream&, const RawString&); 122 template std::ostream& operator<<<String>(std::ostream&, const String&); [all …]
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | EndianUtils.h | 43 template<typename T> 49 template<typename T> 123 template<typename T> 131 template<typename T> 166 template<> 171 template<> 176 template<> 181 template<> 186 template<> 191 template<> [all …]
|
/frameworks/av/media/codec2/vndk/include/ |
D | C2ErrnoUtils.h | 24 template<int N> constexpr c2_status_t _c2_errno2status_impl(); 25 template<> constexpr c2_status_t _c2_errno2status_impl<0>() { return C2_OK; } 26 template<> constexpr c2_status_t _c2_errno2status_impl<EINVAL>() { return C2_BAD_VALUE; } 27 template<> constexpr c2_status_t _c2_errno2status_impl<EACCES>() { return C2_REFUSED; } 28 template<> constexpr c2_status_t _c2_errno2status_impl<EPERM>() { return C2_REFUSED; } 29 template<> constexpr c2_status_t _c2_errno2status_impl<ENOMEM>() { return C2_NO_MEMORY; } 32 template<int... N> struct _c2_map_errno_impl; 33 template<int E, int ... N> struct _c2_map_errno_impl<E, N...> { 42 template<> struct _c2_map_errno_impl<> { 48 template<int... N>
|
/frameworks/av/media/libmedia/include/media/ |
D | RingBuffer.h | 35 template <class T> 121 template <class... Args> 173 template <class T> 176 template <class T> 180 template <class T> 193 template <class T> 200 template <class T> 205 template <class T> 210 template <class T> 215 template <class T> [all …]
|