/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowPeriodicSync.java | 18 setField("account", account); in __constructor__() 19 setField("authority", authority); in __constructor__() 20 setField("period", period); in __constructor__() 21 setField("extras", extras); in __constructor__() 25 private void setField(String name, Object obj) throws Exception { in setField() method in ShadowPeriodicSync
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowLocaleData.java | 74 ReflectionHelpers.setField(localeData, "timeFormat12", "h:mm a"); in setEnUsLocaleData() 75 ReflectionHelpers.setField(localeData, "timeFormat24", "HH:mm"); in setEnUsLocaleData() 93 ReflectionHelpers.setField(localeData, "percent", '%'); in setEnUsLocaleData() 102 ReflectionHelpers.setField(localeData, "perMill", '‰'); in setEnUsLocaleData() 113 ReflectionHelpers.setField(localeData, "minusSign", '-'); in setEnUsLocaleData()
|
D | ShadowAccessibilityManager.java | 60 …ReflectionHelpers.setField(accessibilityManager, "mHandler", new MyHandler(context.getMainLooper()… in createInstance() 64 …ReflectionHelpers.setField(accessibilityManager, "mHandler", new MyHandler(context.getMainLooper()… in createInstance() 113 ReflectionHelpers.setField(realAccessibilityManager, "mIsEnabled", enabled); in setEnabled()
|
D | ShadowTypedArray.java | 34 ReflectionHelpers.setField(typedArray, "mData", data); in create() 35 ReflectionHelpers.setField(typedArray, "mLength", len); in create() 36 ReflectionHelpers.setField(typedArray, "mIndices", indices); in create()
|
D | ShadowMessage.java | 10 import static org.robolectric.util.ReflectionHelpers.setField; 120 setField(realMessage, "next", next); in setNext()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/ |
D | com_github_javaparser_ast_expr_FieldAccessExpr.txt | 2 …Line 48) setField(field) ==> com.github.javaparser.ast.expr.FieldAccessExpr.setField(java.lang.Str… 5 …Line 55) setField(field) ==> com.github.javaparser.ast.expr.FieldAccessExpr.setField(java.lang.Str…
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | WireFormatTest.java | 278 .setField(descriptor.findFieldByName("my_int"), 1L) in testInterleavedFieldsAndExtensions() 279 .setField(descriptor.findFieldByName("my_string"), "foo") in testInterleavedFieldsAndExtensions() 280 .setField(descriptor.findFieldByName("my_float"), 1.0F) in testInterleavedFieldsAndExtensions() 281 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testInterleavedFieldsAndExtensions() 282 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") in testInterleavedFieldsAndExtensions() 316 .setField(descriptor.findFieldByName("my_int"), 1L) in testParseMultipleExtensionRangesDynamic() 317 .setField(descriptor.findFieldByName("my_string"), "foo") in testParseMultipleExtensionRangesDynamic() 318 .setField(descriptor.findFieldByName("my_float"), 1.0F) in testParseMultipleExtensionRangesDynamic() 319 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testParseMultipleExtensionRangesDynamic() 320 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") in testParseMultipleExtensionRangesDynamic()
|
D | TestUtil.java | 2802 message.setField(f("optional_int32" ), 101 ); in setAllFieldsViaReflection() 2803 message.setField(f("optional_int64" ), 102L); in setAllFieldsViaReflection() 2804 message.setField(f("optional_uint32" ), 103 ); in setAllFieldsViaReflection() 2805 message.setField(f("optional_uint64" ), 104L); in setAllFieldsViaReflection() 2806 message.setField(f("optional_sint32" ), 105 ); in setAllFieldsViaReflection() 2807 message.setField(f("optional_sint64" ), 106L); in setAllFieldsViaReflection() 2808 message.setField(f("optional_fixed32" ), 107 ); in setAllFieldsViaReflection() 2809 message.setField(f("optional_fixed64" ), 108L); in setAllFieldsViaReflection() 2810 message.setField(f("optional_sfixed32"), 109 ); in setAllFieldsViaReflection() 2811 message.setField(f("optional_sfixed64"), 110L); in setAllFieldsViaReflection() [all …]
|
D | MessageTest.java | 172 builder.setField(descriptor.findFieldByName("a"), 1); in testRequiredDynamic() 174 builder.setField(descriptor.findFieldByName("b"), 1); in testRequiredDynamic() 176 builder.setField(descriptor.findFieldByName("c"), 1); in testRequiredDynamic() 186 builder.setField(descriptor.findFieldByName("optional_message"), in testRequiredDynamicForeign() 190 builder.setField(descriptor.findFieldByName("optional_message"), in testRequiredDynamicForeign()
|
D | UnknownEnumValueTest.java | 136 builder.setField(optionalNestedEnumField, in testUnknownEnumValueInReflectionApi() 167 builder.setField(optionalNestedEnumField, unknown6543); in testUnknownEnumValueInReflectionApi() 188 builder.setField(optionalNestedEnumField, in testUnknownEnumValueWithDynamicMessage() 217 builder.setField(optionalNestedEnumField, in testUnknownEnumValueWithDynamicMessage() 226 builder.setField(optionalNestedEnumField, in testUnknownEnumValueWithDynamicMessage()
|
D | GeneratedMessageTest.java | 1120 fieldBuilder1.setField(subFieldDescriptor1, 1); in testGetFieldBuilder() 1121 builder1.setField(fieldDescriptor, fieldBuilder1.build()); in testGetFieldBuilder() 1129 foreignFieldBuilder1.setField(subForeignFieldDescriptor1, 2); in testGetFieldBuilder() 1130 builder1.setField(foreignFieldDescriptor, foreignFieldBuilder1.build()); in testGetFieldBuilder() 1138 importFieldBuilder1.setField(subImportFieldDescriptor1, 3); in testGetFieldBuilder() 1139 builder1.setField(importFieldDescriptor, importFieldBuilder1.build()); in testGetFieldBuilder() 1149 fieldBuilder2.setField(subFieldDescriptor2, 1); in testGetFieldBuilder() 1150 builder2.setField(fieldDescriptor, fieldBuilder2.build()); in testGetFieldBuilder() 1158 foreignFieldBuilder2.setField(subForeignFieldDescriptor2, 2); in testGetFieldBuilder() 1159 builder2.setField(foreignFieldDescriptor, foreignFieldBuilder2.build()); in testGetFieldBuilder() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/expr/ |
D | FieldAccessExpr.java | 46 setField(field); in FieldAccessExpr() 54 setField(field); in FieldAccessExpr() 81 public void setField(final String field) { in setField() method in FieldAccessExpr
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
D | ParallelUniverse.java | 156 ReflectionHelpers.setField(activityThread, "mCompatConfiguration", configuration); in setUpApplicationState() 179 ReflectionHelpers.setField(data, "processName", "org.robolectric"); in setUpApplicationState() 180 ReflectionHelpers.setField(data, "appInfo", applicationInfo); in setUpApplicationState() 181 ReflectionHelpers.setField(activityThread, "mBoundApplication", data); in setUpApplicationState() 188 …ReflectionHelpers.setField(ActivityThread.class, activityThread, "mInitialApplication", applicatio… in setUpApplicationState() 195 ReflectionHelpers.setField(loadedApk, "mResources", appResources); in setUpApplicationState() 196 ReflectionHelpers.setField(loadedApk, "mApplication", application); in setUpApplicationState() 274 ReflectionHelpers.setField(activityThread, "mInstrumentation", androidInstrumentation); in initInstrumentation()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/ |
D | FieldAccessExpr.java | 48 setField(field); in FieldAccessExpr() 55 setField(field); in FieldAccessExpr() 78 public FieldAccessExpr setField(final String field) { in setField() method in FieldAccessExpr
|
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/filter/ |
D | TerminalMockCandidateFilter.java | 14 import static org.mockito.internal.util.reflection.FieldSetter.setField; 36 setField(injectee, candidateFieldToBeInjected,matchingMock); in filterCandidate()
|
/external/clang/test/Modules/ |
D | module-private.cpp | 27 vs.setField(1); // expected-error{{no member named 'setField' in 'VisibleStruct'}} in test_broken() 92 virtual void setField(int f);
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | MessageReflection.java | 271 MergeTarget setField(Descriptors.FieldDescriptor field, Object value); in setField() method 394 public MergeTarget setField(Descriptors.FieldDescriptor field, Object value) { in setField() method in MessageReflection.BuilderAdapter 395 builder.setField(field, value); in setField() 581 public MergeTarget setField(Descriptors.FieldDescriptor field, Object value) { in setField() method in MessageReflection.ExtensionAdapter 582 extensions.setField(field, value); in setField() 864 target.setField(field, value); in mergeFieldFrom() 974 target.setField(field, value); in mergeMessageSetExtensionFromBytes() 979 target.setField(field, lazyField); in mergeMessageSetExtensionFromBytes() 991 target.setField(field, value); in eagerlyMergeMessageSetExtension()
|
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/ |
D | SpyOnInjectedFieldsHandler.java | 18 import static org.mockito.internal.util.reflection.FieldSetter.setField; 47 setField(fieldOwner, field, mock); in processInjection()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/ |
D | ActivityController.java | 129 ReflectionHelpers.setField(component, "mDecor", component.getWindow().getDecorView()); in visible() 261 ReflectionHelpers.setField(Activity.class, component, "mChangingConfigurations", true); in configurationChange() 262 ReflectionHelpers.setField(Activity.class, component, "mConfigChangeFlags", changedBits); in configurationChange() 316 ReflectionHelpers.setField( in configurationChange()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DataDrivenNumberFormatTestUtility.java | 198 if (!setField(columnNames.get(i), columnValues.get(i))) { in run() 268 return setField(parts.get(1), parts.get(2)); in setTupleField() 271 private boolean setField(String name, String value) { in setField() method in DataDrivenNumberFormatTestUtility 273 tuple.setField(name, Utility.unescape(value)); in setField()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DataDrivenNumberFormatTestUtility.java | 201 if (!setField(columnNames.get(i), columnValues.get(i))) { in run() 271 return setField(parts.get(1), parts.get(2)); in setTupleField() 274 private boolean setField(String name, String value) { in setField() method in DataDrivenNumberFormatTestUtility 276 tuple.setField(name, Utility.unescape(value)); in setField()
|
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
D | InstanceField.java | 9 import static org.mockito.internal.util.reflection.FieldSetter.setField; 53 setField(instance, field,value); in set()
|
/external/annotation-tools/asmx/test/perf/org/objectweb/asm/ |
D | SERPPerfTest.java | 102 code.getfield().setField(name, "_counter", "I"); in counterAdaptClass() 105 code.putfield().setField(name, "_counter", "I"); in counterAdaptClass()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/ |
D | com_github_javaparser_ast_expr_FieldAccessExpr.txt | 8 Line 46) setField(field) ==> void 15 Line 54) setField(field) ==> void
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowMessageQueueTest.java | 9 import static org.robolectric.util.ReflectionHelpers.setField; 108 setField(queue, quitField, true); in enqueueMessage_returnsFalse_whenQuitting() 114 setField(queue, quitField, true); in enqueueMessage_doesntSchedule_whenQuitting()
|