/external/guice/core/src/com/google/inject/util/ |
Modules.java | 27 import com.google.inject.Binding; 66 * modules. If a key is bound in both sets of modules, only the binding from the override modules 86 * modules. If a key is bound in both sets of modules, only the binding from the override modules 207 @Override public <T> Void visit(Binding<T> binding) { 208 overriddenKeys.add(binding.getKey()); 209 return super.visit(binding); 224 // overridden binding once so things still blow up if the module binds the same thing 229 @Override public <T> Void visit(Binding<T> binding) { [all...] |
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_script_group2_gatherscatter.java | 83 ScriptGroup.Binding binding; local 85 binding = new ScriptGroup.Binding(s.getFieldID_a_in(), unbound); 87 binding = new ScriptGroup.Binding(s.getFieldID_a_in(), f); 91 new ScriptGroup.Binding(s.getFieldID_reduction_stride(), stride), 92 binding);
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_script_group2_gatherscatter.java | 81 ScriptGroup.Binding binding; local 83 binding = new ScriptGroup.Binding(s.getFieldID_a_in(), unbound); 85 binding = new ScriptGroup.Binding(s.getFieldID_a_in(), f); 89 new ScriptGroup.Binding(s.getFieldID_reduction_stride(), stride), 90 binding);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/binding/ |
BindingBase.java | 16 package com.android.messaging.datamodel.binding; 19 * The binding class keeps track of a binding between a ui component and an item of BindableData 22 * NOTE: Ensure that the UI component uses the same binding instance for it's whole lifetime 23 * (DO NOT CREATE A NEW BINDING EACH TIME A NEW PIECE OF DATA IS BOUND)... 25 * The ui component owns the binding instance. 26 * It can use it [isBound(data)] to see if the binding still binds to the right piece of data 28 * Upon binding the data is informed of a unique binding key generated in this class and can use 33 * Creates a new exclusively owned binding for the owner object [all...] |
DetachableBinding.java | 16 package com.android.messaging.datamodel.binding; 21 * An extension on {@link Binding} that allows for temporary data detachment from the UI component. 27 public class DetachableBinding<T extends BindableData> extends Binding<T> {
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
BlockedParticipantsData.java | 29 import com.android.messaging.datamodel.binding.BindableData; 30 import com.android.messaging.datamodel.binding.BindingBase; 84 final BindingBase<BlockedParticipantsData> binding) { 86 args.putString(BINDING_ID, binding.getBindingId());
|
/external/guice/core/src/com/google/inject/internal/ |
InternalInjectorCreator.java | 21 import com.google.inject.Binding; 124 stopwatch.resetAndLog("Binding initialization"); 129 stopwatch.resetAndLog("Binding indexing"); 135 stopwatch.resetAndLog("Binding validation"); 168 * code build a just-in-time binding from another thread. 189 * while we're binding these singletons are not be eager. 192 @SuppressWarnings("unchecked") // casting Collection<Binding> to Collection<BindingImpl> is safe 196 for (final BindingImpl<?> binding : candidateBindings) { 197 if (isEagerSingleton(injector, binding, stage)) { 200 Dependency<?> dependency = Dependency.get(binding.getKey()) [all...] |
Initializer.java | 24 import com.google.inject.Binding; 61 * @param binding the binding that caused this initializable to be created, if it exists. 64 <T> Initializable<T> requestInjection(InjectorImpl injector, T instance, Binding<T> binding, 69 binding == null ? null : injector.provisionListenerStore.get(binding); 79 injector, instance, binding == null ? null : binding.getKey(), provisionCallback, source);
|
/external/guice/core/test/com/google/inject/spi/ |
ElementsTest.java | 28 import com.google.inject.Binding; 152 private <T> T getInstance(Binding<T> binding) { 153 return binding.acceptTargetVisitor(Elements.<T>getInstanceVisitor()); 166 @Override public <T> Void visit(Binding<T> command) { 175 @Override public <T> Void visit(Binding<T> command) { 204 @Override public <T> Void visit(Binding<T> command) { 213 @Override public <T> Void visit(Binding<T> command) { 222 @Override public <T> Void visit(Binding<T> command) { 231 @Override public <T> Void visit(Binding<T> command) [all...] |
ModuleRewriterTest.java | 21 import com.google.inject.Binding; 52 // create a rewriter that rewrites the binding to 'Wine' with a binding to 'Beer' 56 @Override public <T> Element visit(Binding<T> binding) { 57 T target = binding.acceptTargetVisitor(Elements.<T>getInstanceVisitor()); 62 return binding; 74 // the wine binding is dropped
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
BindingGraph.java | 36 import dagger.internal.codegen.Binding.Type; 183 // binding for the component itself 222 for (ContributionBinding binding : moduleDescriptor.bindings()) { 223 explicitBindingsBuilder.add(binding); 267 for (B binding : bindings) { 268 builder.put(binding.key(), binding); 301 * {@code Map<K, Provider<V>>} will resolve to a single implicit binding for the latter map 315 // If the key is Map<K, V>, get its implicit binding keys, which are either 344 for (ContributionBinding binding [all...] |
MembersInjectorGenerator.java | 89 ClassName nameGeneratedType(MembersInjectionBinding binding) { 90 return membersInjectorNameForType(binding.bindingElement()); 95 MembersInjectionBinding binding) { 96 return FluentIterable.from(binding.injectionSites()) 106 Optional<? extends Element> getElementForErrorReporting(MembersInjectionBinding binding) { 107 return Optional.of(binding.bindingElement()); 111 ImmutableSet<JavaWriter> write(ClassName generatedTypeName, MembersInjectionBinding binding) { 113 if (binding.injectionSites().isEmpty()) { 119 checkState(!binding.hasNonDefaultTypeParameters()); 121 TypeName injectedTypeName = TypeNames.forTypeMirror(binding.key().type()) [all...] |
ContributionBinding.java | 57 abstract class ContributionBinding extends Binding { 75 /** Represents a valid non-collection binding. */ 103 * binding's enclosed element, as this will return the subclass whereas the enclosed element will 109 * Returns whether this binding is synthetic, i.e., not explicitly tied to code, but generated 120 * The kind of contribution this binding represents. Defines which elements can specify this kind 125 * A binding that is not explicitly tied to an element, but generated implicitly by the 138 /** An implicit binding to a {@link Component @Component}-annotated type. */ 167 * The kind of this contribution binding. 177 public boolean apply(ContributionBinding binding) { 178 return binding.bindingKind().equals(kind) [all...] |
/external/google-breakpad/src/common/ |
test_assembler.cc | 47 Label::Label() : value_(new Binding()) { } 48 Label::Label(uint64_t value) : value_(new Binding(value)) { } 105 Binding *base; 115 Binding *label_base, *this_base; 127 Label::Binding::Binding() : base_(this), addend_(), reference_count_(1) { } 129 Label::Binding::Binding(uint64_t addend) 132 Label::Binding::~Binding() { [all...] |
/frameworks/compile/mclinker/unittests/ |
StaticResolverTest.cpp | 78 ASSERT_TRUE(mcld::ResolveInfo::Global == new_sym->binding()); 79 ASSERT_TRUE(mcld::ResolveInfo::Global == old_sym->binding()); 105 ASSERT_TRUE(mcld::ResolveInfo::Global == new_sym->binding()); 106 ASSERT_TRUE(mcld::ResolveInfo::Global == old_sym->binding()); 132 ASSERT_TRUE(mcld::ResolveInfo::Global == new_sym->binding()); 133 ASSERT_TRUE(mcld::ResolveInfo::Global == old_sym->binding()); 153 ASSERT_TRUE(mcld::ResolveInfo::Global == new_sym->binding()); 154 ASSERT_TRUE(mcld::ResolveInfo::Weak == old_sym->binding()); 182 ASSERT_TRUE(mcld::ResolveInfo::Weak == old_sym->binding()); 183 ASSERT_TRUE(mcld::ResolveInfo::Global == new_sym->binding()); [all...] |
/external/vulkan-validation-layers/demos/ |
cube.vert | 31 layout(std140, binding = 0) uniform buf {
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
InvalidateAllTest.java | 27 public void onBound(ViewDataBinding binding) { 28 super.onBound(binding);
|
/hardware/intel/common/libva/va/ |
va_compat.h | 89 #define VA_CPP_HELPER_ALIAS_(func, major, minor, micro, binding) \ 91 #func binding "VA_API_" #major "." #minor "." #micro)
|
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
Multibinder.java | 33 import com.google.inject.Binding; 76 * <p>With this binding, a {@link Set}{@code <Snack>} can now be injected: 91 * <p>The set's iteration order is consistent with the binding order. This is 102 * injected (unless the binding is also scoped). 121 * itself bound with no binding annotation. 129 * itself bound with no binding annotation. 226 * Returns a binding builder used to add a new element in the set. Each 231 * {@code to} methods on the returned binding builder. 234 * to specify a binding scope. 242 * each of the set's elements. Each binding is given an annotation tha 331 Binding<T> binding = (Binding<T>) entry; local 430 Binding<?> binding = (Binding<?>) element; local [all...] |
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
ServletDefinitionTest.java | 27 import com.google.inject.Binding; 54 Binding binding = createMock(Binding.class); local 56 expect(binding.acceptScopingVisitor((BindingScopingVisitor) anyObject())) 59 .andReturn(binding); 66 replay(injector, binding); 100 verify(injector, binding, servletContext);
|
/external/dbus-binding-generator/ |
Android.mk | 20 LOCAL_MODULE := libdbus-binding-gen-host 43 LOCAL_MODULE := dbus-binding-generator 49 LOCAL_STATIC_LIBRARIES := libdbus-binding-gen-host libexpat 54 LOCAL_MODULE := dbus-binding-generator-tests 61 LOCAL_STATIC_LIBRARIES := libdbus-binding-gen-host libgmock_host libexpat
|
/external/deqp/framework/opengl/ |
gluDrawUtil.cpp | 224 const BindingPoint& binding = cur->binding; local 225 if (binding.type == BindingPoint::TYPE_NAME) 227 DE_ASSERT(binding.location >= 0); 228 int location = gl.getAttribLocation(program, binding.name.c_str()); 231 // Add binding.location as an offset to accommodate matrices. 232 *out = VertexArrayBinding(BindingPoint(location + binding.location), cur->pointer); 259 const BindingPoint& binding = cur->binding; local 261 if (binding.type != BindingPoint::TYPE_LOCATION [all...] |
/external/deqp/modules/gles31/functional/ |
es31fVertexAttributeBindingStateQueryTests.cpp | 21 * \brief Vertex attribute binding state query tests. 138 // switch random va to random binding 140 const int binding = rnd.getInt(0, 16); local 142 gl.glVertexAttribBinding(va, binding); 145 verifyStateAttributeInteger(result, gl, GL_VERTEX_ATTRIB_BINDING, va, binding, m_verifier); 283 for (int binding = 0; binding < maxBindings; ++binding) 284 verifyStateIndexedInteger(result, gl, GL_VERTEX_BINDING_DIVISOR, binding, 0, m_verifier); 318 const int binding = rnd.getInt(0, maxBindings-1) local 396 const int binding = rnd.getInt(0, maxBindings-1); local 474 const int binding = rnd.getInt(0, maxBindings-1); local [all...] |
/external/webrtc/webrtc/p2p/base/ |
relayserver.cc | 86 // Deleting the binding will cause it to be removed from the map. 201 if (int_conn->binding()->HasMagicCookie(bytes, size)) { 215 RelayServerConnection* ext_conn = int_conn->binding()->GetExternalConnection( 241 ext_conn->binding()->GetInternalConnection( 258 // The initial packet should have a username (which identifies the binding). 271 // The binding should already be present. 274 LOG(LS_WARNING) << "Dropping packet: no binding with username"; 278 // Add this authenticted connection to the binding. 281 ext_conn->binding()->AddExternalConnection(ext_conn); 289 RelayServerConnection* int_conn = ext_conn->binding()->GetInternalConnection 348 RelayServerBinding* binding; local [all...] |
/prebuilts/tools/common/m2/repository/com/jakewharton/butterknife/7.0.1/ |
butterknife-7.0.1.jar | |