/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowLocaleData.java | 73 ReflectionHelpers.setField(localeData, "timeFormat12", "h:mm a"); in setEnUsLocaleData() 74 ReflectionHelpers.setField(localeData, "timeFormat24", "HH:mm"); in setEnUsLocaleData() 92 ReflectionHelpers.setField(localeData, "percent", '%'); in setEnUsLocaleData() 100 ReflectionHelpers.setField(localeData, "perMill", '‰'); in setEnUsLocaleData() 110 ReflectionHelpers.setField(localeData, "minusSign", '-'); in setEnUsLocaleData() 119 ReflectionHelpers.setField(localeData, "currencySymbol", "$"); in setEnUsLocaleData() 120 ReflectionHelpers.setField(localeData, "internationalCurrencySymbol", "USD"); in setEnUsLocaleData() 121 ReflectionHelpers.setField(localeData, "yesterday", "Yesterday"); in setEnUsLocaleData()
|
D | ShadowSubscriptionManager.java | 253 ReflectionHelpers.setField(subscriptionInfo, "mId", id); in setId() 258 ReflectionHelpers.setField(subscriptionInfo, "mIccId", iccId); in setIccId() 263 ReflectionHelpers.setField(subscriptionInfo, "mSimSlotIndex", index); in setSimSlotIndex() 268 ReflectionHelpers.setField(subscriptionInfo, "mDisplayName", name); in setDisplayName() 273 ReflectionHelpers.setField(subscriptionInfo, "mCarrierName", carrierName); in setCarrierName() 278 ReflectionHelpers.setField(subscriptionInfo, "mIconTint", iconTint); in setIconTint() 283 ReflectionHelpers.setField(subscriptionInfo, "mNumber", number); in setNumber() 288 ReflectionHelpers.setField(subscriptionInfo, "mDataRoaming", dataRoaming); in setDataRoaming() 293 ReflectionHelpers.setField(subscriptionInfo, "mCountryIso", countryIso); in setCountryIso()
|
D | ShadowMessageQueue.java | 13 import static org.robolectric.util.ReflectionHelpers.setField; 85 setField(realQueue, "mMessages", msg); in setHead() 90 setField(realQueue, "mIdleHandlers", new ArrayList<>()); in reset() 91 setField(realQueue, "mNextBarrierToken", 0); in reset()
|
D | ShadowSystemServiceRegistry.java | 37 ReflectionHelpers.setField( in reset() 40 ReflectionHelpers.setField(staticServiceFetcherClass, o, "mCachedInstance", null); in reset()
|
D | ShadowAccessibilityManager.java | 65 …ReflectionHelpers.setField(accessibilityManager, "mHandler", new MyHandler(context.getMainLooper()… in createInstance() 69 …ReflectionHelpers.setField(accessibilityManager, "mHandler", new MyHandler(context.getMainLooper()… in createInstance() 121 ReflectionHelpers.setField(realAccessibilityManager, "mIsEnabled", enabled); in setEnabled()
|
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | WireFormatTest.java | 212 .setField(descriptor.findFieldByName("my_int"), 1L) in testInterleavedFieldsAndExtensions() 213 .setField(descriptor.findFieldByName("my_string"), "foo") in testInterleavedFieldsAndExtensions() 214 .setField(descriptor.findFieldByName("my_float"), 1.0F) in testInterleavedFieldsAndExtensions() 215 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testInterleavedFieldsAndExtensions() 216 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") in testInterleavedFieldsAndExtensions() 250 .setField(descriptor.findFieldByName("my_int"), 1L) in testParseMultipleExtensionRangesDynamic() 251 .setField(descriptor.findFieldByName("my_string"), "foo") in testParseMultipleExtensionRangesDynamic() 252 .setField(descriptor.findFieldByName("my_float"), 1.0F) in testParseMultipleExtensionRangesDynamic() 253 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testParseMultipleExtensionRangesDynamic() 254 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") in testParseMultipleExtensionRangesDynamic()
|
D | TestUtil.java | 2043 message.setField(f("optional_int32" ), 101 ); in setAllFieldsViaReflection() 2044 message.setField(f("optional_int64" ), 102L); in setAllFieldsViaReflection() 2045 message.setField(f("optional_uint32" ), 103 ); in setAllFieldsViaReflection() 2046 message.setField(f("optional_uint64" ), 104L); in setAllFieldsViaReflection() 2047 message.setField(f("optional_sint32" ), 105 ); in setAllFieldsViaReflection() 2048 message.setField(f("optional_sint64" ), 106L); in setAllFieldsViaReflection() 2049 message.setField(f("optional_fixed32" ), 107 ); in setAllFieldsViaReflection() 2050 message.setField(f("optional_fixed64" ), 108L); in setAllFieldsViaReflection() 2051 message.setField(f("optional_sfixed32"), 109 ); in setAllFieldsViaReflection() 2052 message.setField(f("optional_sfixed64"), 110L); in setAllFieldsViaReflection() [all …]
|
D | MessageTest.java | 173 builder.setField(descriptor.findFieldByName("a"), 1); in testRequiredDynamic() 175 builder.setField(descriptor.findFieldByName("b"), 1); in testRequiredDynamic() 177 builder.setField(descriptor.findFieldByName("c"), 1); in testRequiredDynamic() 187 builder.setField(descriptor.findFieldByName("optional_message"), in testRequiredDynamicForeign() 191 builder.setField(descriptor.findFieldByName("optional_message"), in testRequiredDynamicForeign()
|
D | GeneratedMessageTest.java | 843 fieldBuilder1.setField(subFieldDescriptor1, 1); in testGetFieldBuilder() 844 builder1.setField(fieldDescriptor, fieldBuilder1.build()); in testGetFieldBuilder() 852 foreignFieldBuilder1.setField(subForeignFieldDescriptor1, 2); in testGetFieldBuilder() 853 builder1.setField(foreignFieldDescriptor, foreignFieldBuilder1.build()); in testGetFieldBuilder() 861 importFieldBuilder1.setField(subImportFieldDescriptor1, 3); in testGetFieldBuilder() 862 builder1.setField(importFieldDescriptor, importFieldBuilder1.build()); in testGetFieldBuilder() 872 fieldBuilder2.setField(subFieldDescriptor2, 1); in testGetFieldBuilder() 873 builder2.setField(fieldDescriptor, fieldBuilder2.build()); in testGetFieldBuilder() 881 foreignFieldBuilder2.setField(subForeignFieldDescriptor2, 2); in testGetFieldBuilder() 882 builder2.setField(foreignFieldDescriptor, foreignFieldBuilder2.build()); in testGetFieldBuilder() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/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 | 211 .setField(descriptor.findFieldByName("my_int"), 1L) in testInterleavedFieldsAndExtensions() 212 .setField(descriptor.findFieldByName("my_string"), "foo") in testInterleavedFieldsAndExtensions() 213 .setField(descriptor.findFieldByName("my_float"), 1.0F) in testInterleavedFieldsAndExtensions() 214 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testInterleavedFieldsAndExtensions() 215 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") in testInterleavedFieldsAndExtensions() 269 .setField(descriptor.findFieldByName("my_int"), 1L) in testParseMultipleExtensionRangesDynamic() 270 .setField(descriptor.findFieldByName("my_string"), "foo") in testParseMultipleExtensionRangesDynamic() 271 .setField(descriptor.findFieldByName("my_float"), 1.0F) in testParseMultipleExtensionRangesDynamic() 272 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testParseMultipleExtensionRangesDynamic() 273 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") in testParseMultipleExtensionRangesDynamic()
|
D | FieldPresenceTest.java | 239 .setField(optionalInt32Field, 1) in testFieldPresenceDynamicMessage() 240 .setField(optionalStringField, "x") in testFieldPresenceDynamicMessage() 241 .setField(optionalBytesField, ByteString.copyFromUtf8("y")) in testFieldPresenceDynamicMessage() 242 .setField(optionalNestedEnumField, nonDefaultEnumValueDescriptor) in testFieldPresenceDynamicMessage() 254 .setField(optionalInt32Field, 0) in testFieldPresenceDynamicMessage() 255 .setField(optionalStringField, "") in testFieldPresenceDynamicMessage() 256 .setField(optionalBytesField, ByteString.EMPTY) in testFieldPresenceDynamicMessage() 257 .setField(optionalNestedEnumField, defaultEnumValueDescriptor) in testFieldPresenceDynamicMessage()
|
D | MessageTest.java | 174 builder.setField(descriptor.findFieldByName("a"), 1); in testRequiredDynamic() 176 builder.setField(descriptor.findFieldByName("b"), 1); in testRequiredDynamic() 178 builder.setField(descriptor.findFieldByName("c"), 1); in testRequiredDynamic() 188 builder.setField(descriptor.findFieldByName("optional_message"), TEST_REQUIRED_UNINITIALIZED); in testRequiredDynamicForeign() 191 builder.setField(descriptor.findFieldByName("optional_message"), TEST_REQUIRED_INITIALIZED); in testRequiredDynamicForeign()
|
D | TestUtil.java | 2815 message.setField(f("optional_int32"), 101); in setAllFieldsViaReflection() 2816 message.setField(f("optional_int64"), 102L); in setAllFieldsViaReflection() 2817 message.setField(f("optional_uint32"), 103); in setAllFieldsViaReflection() 2818 message.setField(f("optional_uint64"), 104L); in setAllFieldsViaReflection() 2819 message.setField(f("optional_sint32"), 105); in setAllFieldsViaReflection() 2820 message.setField(f("optional_sint64"), 106L); in setAllFieldsViaReflection() 2821 message.setField(f("optional_fixed32"), 107); in setAllFieldsViaReflection() 2822 message.setField(f("optional_fixed64"), 108L); in setAllFieldsViaReflection() 2823 message.setField(f("optional_sfixed32"), 109); in setAllFieldsViaReflection() 2824 message.setField(f("optional_sfixed64"), 110L); in setAllFieldsViaReflection() [all …]
|
D | UnknownEnumValueTest.java | 139 builder.setField(optionalNestedEnumField, enumType.findValueByNumberCreatingIfUnknown(4321)); in testUnknownEnumValueInReflectionApi() 166 builder.setField(optionalNestedEnumField, unknown6543); in testUnknownEnumValueInReflectionApi() 187 builder.setField(optionalNestedEnumField, enumType.findValueByNumberCreatingIfUnknown(4321)); in testUnknownEnumValueWithDynamicMessage() 216 builder.setField(optionalNestedEnumField, enumType.findValueByNumberCreatingIfUnknown(4321)); in testUnknownEnumValueWithDynamicMessage() 224 builder.setField(optionalNestedEnumField, enumType.findValueByNumberCreatingIfUnknown(0)); in testUnknownEnumValueWithDynamicMessage()
|
/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/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/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
D | ParallelUniverse.java | 186 ReflectionHelpers.setField(activityThread, "mCompatConfiguration", configuration); in setUpApplicationState() 200 ReflectionHelpers.setField(activityThread, "mConfigurationController", configController); in setUpApplicationState() 229 ReflectionHelpers.setField(data, "processName", "org.robolectric"); in setUpApplicationState() 230 ReflectionHelpers.setField(data, "appInfo", applicationInfo); in setUpApplicationState() 231 ReflectionHelpers.setField(activityThread, "mBoundApplication", data); in setUpApplicationState() 243 .setField(ActivityThread.class, activityThread, "mInitialApplication", application); in setUpApplicationState() 257 ReflectionHelpers.setField(loadedApk, "mResources", appResources); in setUpApplicationState() 258 ReflectionHelpers.setField(loadedApk, "mApplication", application); in setUpApplicationState() 293 .setField(ActivityThread.class, activityThread, "mInitialApplication", application); in createInitialApplication() 393 ReflectionHelpers.setField(activityThread, "mInstrumentation", androidInstrumentation); in createInstrumentation()
|
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | FieldMaskTree.java | 253 destination.setField(field, childBuilder.buildPartial()); in merge() 258 destination.setField(field, source.getField(field)); in merge() 270 destination.setField(field, source.getField(field)); in merge() 274 destination.setField( in merge() 284 destination.setField(field, source.getField(field)); in merge()
|
/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/llvm-project/clang/test/Modules/ |
D | module-private.cpp | 25 vs.setField(1); // expected-error{{no member named 'setField' in 'VisibleStruct'}} in test_broken() 94 virtual void setField(int f);
|
/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/grpc-grpc/examples/node/static_codegen/route_guide/ |
D | route_guide_pb.js | 184 jspb.Message.setField(this, 1, value); 199 jspb.Message.setField(this, 2, value); 574 jspb.Message.setField(this, 1, value); 789 jspb.Message.setField(this, 2, value); 984 jspb.Message.setField(this, 1, value); 999 jspb.Message.setField(this, 2, value); 1014 jspb.Message.setField(this, 3, value); 1029 jspb.Message.setField(this, 4, value);
|
/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/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()
|