Home
last modified time | relevance | path

Searched refs:setField (Results 1 – 25 of 165) sorted by relevance

1234567

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSubscriptionManager.java253 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()
DShadowLocaleData.java73 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()
DShadowMessageQueue.java13 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()
DShadowSystemServiceRegistry.java37 ReflectionHelpers.setField( in reset()
40 ReflectionHelpers.setField(staticServiceFetcherClass, o, "mCachedInstance", null); in reset()
DShadowAccessibilityManager.java65 …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()
DShadowTypedArray.java40 ReflectionHelpers.setField(typedArray, "mData", data); in create()
41 ReflectionHelpers.setField(typedArray, "mLength", len); in create()
42 ReflectionHelpers.setField(typedArray, "mIndices", indices); in create()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_expr_FieldAccessExpr.txt2 …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/
DWireFormatTest.java278 .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()
DTestUtil.java2802 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 …]
DMessageTest.java172 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()
DUnknownEnumValueTest.java136 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()
DGeneratedMessageTest.java1120 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/
DFieldAccessExpr.java46 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/
DFieldAccessExpr.java48 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/
DParallelUniverse.java176 ReflectionHelpers.setField(activityThread, "mCompatConfiguration", configuration); in setUpApplicationState()
204 ReflectionHelpers.setField(data, "processName", "org.robolectric"); in setUpApplicationState()
205 ReflectionHelpers.setField(data, "appInfo", applicationInfo); in setUpApplicationState()
206 ReflectionHelpers.setField(activityThread, "mBoundApplication", data); in setUpApplicationState()
218 .setField(ActivityThread.class, activityThread, "mInitialApplication", application); in setUpApplicationState()
232 ReflectionHelpers.setField(loadedApk, "mResources", appResources); in setUpApplicationState()
233 ReflectionHelpers.setField(loadedApk, "mApplication", application); in setUpApplicationState()
333 ReflectionHelpers.setField(activityThread, "mInstrumentation", androidInstrumentation); in createInstrumentation()
/external/grpc-grpc/examples/node/static_codegen/route_guide/
Droute_guide_pb.js184 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/filter/
DTerminalMockCandidateFilter.java14 import static org.mockito.internal.util.reflection.FieldSetter.setField;
36 setField(injectee, candidateFieldToBeInjected,matchingMock); in filterCandidate()
/external/clang/test/Modules/
Dmodule-private.cpp27 vs.setField(1); // expected-error{{no member named 'setField' in 'VisibleStruct'}} in test_broken()
92 virtual void setField(int f);
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/
DSpyOnInjectedFieldsHandler.java18 import static org.mockito.internal.util.reflection.FieldSetter.setField;
47 setField(fieldOwner, field, mock); in processInjection()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageReflection.java271 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/util/reflection/
DInstanceField.java9 import static org.mockito.internal.util.reflection.FieldSetter.setField;
53 setField(instance, field,value); in set()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_expr_FieldAccessExpr.txt8 Line 46) setField(field) ==> void
15 Line 54) setField(field) ==> void
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskTree.java247 destination.setField(field, source.getField(field)); in merge()
259 destination.setField(field, source.getField(field)); in merge()
268 destination.setField(field, source.getField(field)); in merge()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenNumberFormatTestUtility.java215 if (!setField(columnNames.get(i), columnValues.get(i))) { in run()
302 return setField(parts.get(1), parts.get(2)); in setTupleField()
305 private boolean setField(String name, String value) { in setField() method in DataDrivenNumberFormatTestUtility
307 tuple.setField(name, Utility.unescape(value)); in setField()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenNumberFormatTestUtility.java218 if (!setField(columnNames.get(i), columnValues.get(i))) { in run()
305 return setField(parts.get(1), parts.get(2)); in setTupleField()
308 private boolean setField(String name, String value) { in setField() method in DataDrivenNumberFormatTestUtility
310 tuple.setField(name, Utility.unescape(value)); in setField()

1234567