Home
last modified time | relevance | path

Searched defs:message (Results 1 – 25 of 948) sorted by relevance

12345678910>>...38

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dtest_util.cc53 void TestUtil::SetAllFields(unittest::TestAllTypes* message) { in SetAllFields()
61 void TestUtil::SetOptionalFields(unittest::TestAllTypes* message) { in SetOptionalFields()
105 void TestUtil::AddRepeatedFields1(unittest::TestAllTypes* message) { in AddRepeatedFields1()
144 void TestUtil::AddRepeatedFields2(unittest::TestAllTypes* message) { in AddRepeatedFields2()
186 void TestUtil::SetDefaultFields(unittest::TestAllTypes* message) { in SetDefaultFields()
221 void TestUtil::ModifyRepeatedFields(unittest::TestAllTypes* message) { in ModifyRepeatedFields()
261 void TestUtil::SetOneofFields(unittest::TestAllTypes* message) { in SetOneofFields()
270 void TestUtil::ExpectAllFieldsSet(const unittest::TestAllTypes& message) { in ExpectAllFieldsSet()
478 void TestUtil::ExpectClear(const unittest::TestAllTypes& message) { in ExpectClear()
630 const unittest::TestAllTypes& message) { in ExpectRepeatedFieldsModified()
[all …]
Dtest_util_lite.cc49 void TestUtilLite::SetAllFields(unittest::TestAllTypesLite* message) { in SetAllFields()
166 void TestUtilLite::ModifyRepeatedFields(unittest::TestAllTypesLite* message) { in ModifyRepeatedFields()
198 const unittest::TestAllTypesLite& message) { in ExpectAllFieldsSet()
398 void TestUtilLite::ExpectClear(const unittest::TestAllTypesLite& message) { in ExpectClear()
544 const unittest::TestAllTypesLite& message) { in ExpectRepeatedFieldsModified()
632 void TestUtilLite::SetPackedFields(unittest::TestPackedTypesLite* message) { in SetPackedFields()
666 void TestUtilLite::ModifyPackedFields(unittest::TestPackedTypesLite* message) { in ModifyPackedFields()
686 const unittest::TestPackedTypesLite& message) { in ExpectPackedFieldsSet()
736 const unittest::TestPackedTypesLite& message) { in ExpectPackedClear()
757 const unittest::TestPackedTypesLite& message) { in ExpectPackedFieldsModified()
[all …]
Dmap_lite_test_util.cc38 void MapLiteTestUtil::SetMapFields(unittest::TestMapLite* message) { in SetMapFields()
44 void MapLiteTestUtil::SetArenaMapFields(unittest::TestArenaMapLite* message) { in SetArenaMapFields()
50 void MapLiteTestUtil::SetMapFieldsInitialized(unittest::TestMapLite* message) { in SetMapFieldsInitialized()
54 void MapLiteTestUtil::ModifyMapFields(unittest::TestMapLite* message) { in ModifyMapFields()
59 void MapLiteTestUtil::ExpectClear(const unittest::TestMapLite& message) { in ExpectClear()
63 void MapLiteTestUtil::ExpectMapFieldsSet(const unittest::TestMapLite& message) { in ExpectMapFieldsSet()
70 const unittest::TestArenaMapLite& message) { in ExpectArenaMapFieldsSet()
78 const unittest::TestMapLite& message) { in ExpectMapFieldsSetInitialized()
85 const unittest::TestMapLite& message) { in ExpectMapFieldsModified()
Dmap_test_util_impl.h114 void MapTestUtilImpl::SetMapFields(MapMessage* message) { in SetMapFields()
156 void MapTestUtilImpl::SetArenaMapFields(MapMessage* message) { in SetArenaMapFields()
199 void MapTestUtilImpl::SetMapFieldsInitialized(MapMessage* message) { in SetMapFieldsInitialized()
222 void MapTestUtilImpl::ModifyMapFields(MapMessage* message) { in ModifyMapFields()
243 void MapTestUtilImpl::ExpectClear(const MapMessage& message) { in ExpectClear()
267 void MapTestUtilImpl::ExpectMapFieldsSet(const MapMessage& message) { in ExpectMapFieldsSet()
325 void MapTestUtilImpl::ExpectArenaMapFieldsSet(const MapMessage& message) { in ExpectArenaMapFieldsSet()
386 const MapMessage& message) { in ExpectMapFieldsSetInitialized()
427 const MapMessage& message) { in ExpectMapFieldsModified()
Dreflection_ops_unittest.cc52 unittest::TestAllTypes message; in TEST() local
59 unittest::TestAllTypes message, message2; in TEST() local
73 unittest::TestAllExtensions message, message2; in TEST() local
83 unittest::TestOneof2 message, message2; in TEST() local
98 unittest::TestAllTypes message, message2; in TEST() local
125 unittest::TestAllExtensions message, message2; in TEST() local
192 unittest::TestAllTypes message; in TEST() local
202 unittest::TestAllTypes message; in TEST() local
223 unittest::TestAllExtensions message; in TEST() local
246 unittest::TestEmptyMessage message; in TEST() local
[all …]
Dlite_unittest.cc53 void ExpectMessageMerged(const google::protobuf::unittest::TestAllTypesLite& message) { in ExpectMessageMerged()
71 protobuf_unittest::TestAllTypesLite message; in SetAllTypesInEmptyMessageUnknownFields() local
80 protobuf_unittest::TestAllTypesLite message; in SetSomeTypesInEmptyMessageUnknownFields() local
102 protobuf_unittest::TestAllTypesLite message, message2, message3; in main() local
118 protobuf_unittest::TestAllExtensionsLite message, message2, message3; in main() local
134 protobuf_unittest::TestPackedTypesLite message, message2, message3; in main() local
150 protobuf_unittest::TestPackedExtensionsLite message, message2, message3; in main() local
220 protobuf_unittest::TestAllTypesLite message, message2; in main() local
236 protobuf_unittest::TestAllExtensionsLite message, message2; in main() local
252 protobuf_unittest::TestPackedTypesLite message, message2; in main() local
[all …]
Dmessage_unittest.cc77 protobuf_unittest::TestAllTypes message; in TEST() local
104 protobuf_unittest::TestAllTypes message; in TEST() local
115 unittest::TestAllTypes message; in TEST() local
128 unittest::TestPackedTypes message; in TEST() local
142 protobuf_unittest::TestAllTypes message; in TEST() local
149 protobuf_unittest::TestAllTypes message; in TEST() local
156 protobuf_unittest::TestAllTypes message; in TEST() local
168 protobuf_unittest::TestAllTypes message; in TEST() local
177 protobuf_unittest::TestAllTypes message; in TEST() local
184 unittest::TestRequired message; in TEST() local
[all …]
Dgenerated_message_reflection.cc748 bool GeneratedMessageReflection::HasField(const Message& message, in HasField()
764 int GeneratedMessageReflection::FieldSize(const Message& message, in FieldSize()
802 Message* message, const FieldDescriptor* field) const { in ClearField()
911 Message* message, in RemoveLast()
959 Message* message, in ReleaseLast()
979 Message* message, in SwapElements()
1032 const Message& message, in ListFields()
1163 const Message& message, in GetStringReference()
1186 Message* message, const FieldDescriptor* field, in SetString()
1213 const Message& message, const FieldDescriptor* field, int index) const { in GetRepeatedString() argument
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dtest_util.py50 def IsProto2(message): argument
53 def SetAllNonLazyFields(message): argument
196 def SetAllFields(message): argument
201 def SetAllExtensions(message): argument
343 def SetAllFieldsAndExtensions(message): argument
386 def ExpectAllFieldsSet(test_case, message): argument
627 def SetAllPackedFields(message): argument
650 def SetAllPackedExtensions(message): argument
676 def SetAllUnpackedFields(message): argument
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DMessageExtensions.cs47 public static void MergeFrom(this IMessage message, byte[] data) in MergeFrom()
61 public static void MergeFrom(this IMessage message, ByteString data) in MergeFrom()
75 public static void MergeFrom(this IMessage message, Stream input) in MergeFrom()
93 public static void MergeDelimitedFrom(this IMessage message, Stream input) in MergeDelimitedFrom()
107 public static byte[] ToByteArray(this IMessage message) in ToByteArray()
122 public static void WriteTo(this IMessage message, Stream output) in WriteTo()
136 public static void WriteDelimitedTo(this IMessage message, Stream output) in WriteDelimitedTo()
151 public static ByteString ToByteString(this IMessage message) in ToByteString()
/frameworks/base/location/tests/locationtests/src/android/location/
DLocationTest.java33 String message; in testConvert_DegreesToDouble() local
44 String message; in testConvert_MinutesToDouble() local
55 String message; in testConvert_SecondsToDouble() local
66 String message; in testConvert_SecondsToDouble2() local
77 String message; in testConvert_CoordinateToDegrees() local
86 String message; in testConvert_CoordinateToDegrees2() local
94 String message; in testConvert_CoordinateToMinutes() local
104 String message; in testConvert_CoordinateToMinutes2() local
114 String message; in testConvert_CoordinateToSeconds() local
126 String message; in testBearingTo() local
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/
DJsonFormatTest.java127 private void assertRoundTripEquals(Message message) throws Exception { in assertRoundTripEquals()
131 private void assertRoundTripEquals(Message message, TypeRegistry registry) throws Exception { in assertRoundTripEquals()
140 private String toJsonString(Message message) throws IOException { in toJsonString()
143 private String toCompactJsonString(Message message) throws IOException { in toCompactJsonString()
154 TestAllTypes message = builder.build(); in testAllFields() local
205 TestAllTypes message = in testUnknownEnumValues() local
235 TestAllTypes message = in testSpecialFloatValues() local
268 TestAllTypes message = builder.build(); in testParserAcceptStringForNumbericField() local
415 TestAllTypes message = builder.build(); in testParserAcceptNull() local
416 assertEquals(TestAllTypes.getDefaultInstance(), message); in testParserAcceptNull() local
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DTestUtil.java314 public static void setAllFields(TestAllTypes.Builder message) { in setAllFields()
460 public static void modifyRepeatedFields(TestAllTypes.Builder message) { in modifyRepeatedFields()
502 public static void assertAllFieldsSet(TestAllTypesOrBuilder message) { in assertAllFieldsSet()
717 public static void assertClear(TestAllTypesOrBuilder message) { in assertClear()
878 TestAllTypesOrBuilder message) { in assertRepeatedFieldsModified()
973 public static void setPackedFields(TestPackedTypes.Builder message) { in setPackedFields()
1009 public static void setUnpackedFields(TestUnpackedTypes.Builder message) { in setUnpackedFields()
1045 public static void assertPackedFieldsSet(TestPackedTypes message) { in assertPackedFieldsSet()
1094 public static void assertUnpackedFieldsSet(TestUnpackedTypes message) { in assertUnpackedFieldsSet()
1212 public static void setAllExtensions(TestAllExtensions.Builder message) { in setAllExtensions()
[all …]
DDynamicMessageTest.java65 Message message = builder.build(); in testDynamicMessageAccessors() local
79 Message message = builder.build(); in testSettersAfterBuild() local
96 Message message = builder.build(); in testUnknownFields() local
122 Message message = builder.build(); in testDynamicMessageExtensionAccessors() local
137 Message message = builder.build(); in testDynamicMessageRepeatedSetters() local
155 TestAllTypes message = TestUtil.getAllSet(); in testDynamicMessageSerializedSize() local
170 Message message = builder.build(); in testDynamicMessageSerialization() local
184 TestAllTypes message = builder.build(); in testDynamicMessageParsing() local
199 Message message = DynamicMessage.parseFrom( in testDynamicMessageExtensionParsing() local
214 Message message = builder.build(); in testDynamicMessagePackedSerialization() local
[all …]
DLazyFieldTest.java47 MessageLite message = TestUtil.getAllSet(); in testHashCode() local
59 TestAllExtensions message = TestUtil.getAllExtensionsSet(); in testHashCodeEx() local
70 MessageLite message = TestUtil.getAllSet(); in testGetValue() local
78 TestAllExtensions message = TestUtil.getAllExtensionsSet(); in testGetValueEx() local
86 MessageLite message = TestUtil.getAllSet(); in testEqualsObject() local
95 TestAllExtensions message = TestUtil.getAllExtensionsSet(); in testEqualsObjectEx() local
105 private LazyField createLazyFieldFromMessage(MessageLite message) { in createLazyFieldFromMessage()
DGeneratedMessageTest.java100 TestAllTypes message = builder.build(); in testMessageOrBuilder() local
298 TestAllTypes message = builder.build(); in testRepeatedSetters() local
361 TestAllTypes message = builder.build(); in testRepeatedAppend() local
444 TestAllTypes message = TestAllTypes.newBuilder() in testSettingForeignMessageUsingBuilder() local
458 TestAllTypes message = TestAllTypes.newBuilder() in testSettingRepeatedForeignMessageUsingBuilder() local
474 TestExtremeDefaultValues message = in testDefaults() local
499 TestAllTypes message = builder.build(); in testReflectionGetters() local
508 TestAllTypes message = builder.build(); in testReflectionSetters() local
523 TestAllTypes message = builder.build(); in testReflectionRepeatedSetters() local
548 TestAllTypes message = builder.build(); in testReflectionGetOneof() local
[all …]
DLazyFieldLiteTest.java51 MessageLite message = TestUtil.getAllSet(); in testGetValue() local
59 TestAllExtensions message = TestUtil.getAllExtensionsSet(); in testGetValueEx() local
67 MessageLite message = TestUtil.getAllSet(); in testSetValue() local
77 TestAllExtensions message = TestUtil.getAllExtensionsSet(); in testSetValueEx() local
87 MessageLite message = TestUtil.getAllSet(); in testGetSerializedSize() local
95 TestAllExtensions message = TestUtil.getAllExtensionsSet(); in testGetSerializedSizeEx() local
103 MessageLite message = TestUtil.getAllSet(); in testGetByteString() local
111 TestAllExtensions message = TestUtil.getAllExtensionsSet(); in testGetByteStringEx() local
119 TestAllExtensions message = TestUtil.getAllExtensionsSet(); in testMergeExtensions() local
179 TestAllTypes message = TestAllTypes.newBuilder().setOptionalInt32(1).build(); in testMergeInvalid() local
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevice.java238 boolean dispatchMessage(HdmiCecMessage message) { in dispatchMessage()
250 protected final boolean onMessage(HdmiCecMessage message) { in onMessage()
348 private boolean dispatchMessageToAction(HdmiCecMessage message) { in dispatchMessageToAction()
383 protected boolean handleGetCecVersion(HdmiCecMessage message) { in handleGetCecVersion()
394 protected boolean handleActiveSource(HdmiCecMessage message) { in handleActiveSource()
399 protected boolean handleInactiveSource(HdmiCecMessage message) { in handleInactiveSource()
404 protected boolean handleRequestActiveSource(HdmiCecMessage message) { in handleRequestActiveSource()
409 protected boolean handleGetMenuLanguage(HdmiCecMessage message) { in handleGetMenuLanguage()
417 protected boolean handleSetMenuLanguage(HdmiCecMessage message) { in handleSetMenuLanguage()
425 protected boolean handleGiveOsdName(HdmiCecMessage message) { in handleGiveOsdName()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java1658 Message message = mMessageCaptor.getValue(); in testDeletePersistentGroupSuccess() local
1670 Message message = mMessageCaptor.getValue(); in testDeletePersistentGroupFailureWhenP2pDisabled() local
1684 Message message = mMessageCaptor.getValue(); in testDeletePersistentGroupFailureWhenP2pUnsupported() local
2208 Message message = mMessageCaptor.getValue(); in testStopDiscoverySuccess() local
2222 Message message = mMessageCaptor.getValue(); in testStopDiscoveryFailureWhenNativeCallFailure() local
2234 Message message = mMessageCaptor.getValue(); in testStopDiscoveryFailureWhenP2pDisabled() local
2247 Message message = mMessageCaptor.getValue(); in testStopDiscoveryFailureWhenP2pUnsupported() local
2262 Message message = mMessageCaptor.getValue(); in testCancelConnectSuccess() local
2276 Message message = mMessageCaptor.getValue(); in testCancelConnectFailureWhenP2pInactive() local
2288 Message message = mMessageCaptor.getValue(); in testCancelConnectFailureWhenP2pDisabled() local
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Djson_format.py89 def MessageToJson(message, including_default_value_fields=False): argument
119 def ToJsonString(self, message): argument
123 def _MessageToJsonObject(self, message): argument
134 def _RegularMessageToJsonObject(self, message, js): argument
220 def _AnyMessageToJsonObject(self, message): argument
241 def _GenericMessageToJsonObject(self, message): argument
247 def _ValueMessageToJsonObject(self, message): argument
263 def _ListValueMessageToJsonObject(self, message): argument
268 def _StructMessageToJsonObject(self, message): argument
276 def _WrapperMessageToJsonObject(self, message): argument
[all …]
/frameworks/base/test-base/src/junit/framework/
DAssert.java18 static public void assertTrue(String message, boolean condition) { in assertTrue()
33 static public void assertFalse(String message, boolean condition) { in assertFalse()
46 static public void fail(String message) { in fail()
62 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals()
79 static public void assertEquals(String message, String expected, String actual) { in assertEquals()
98 static public void assertEquals(String message, double expected, double actual, double delta) { in assertEquals()
116 static public void assertEquals(String message, float expected, float actual, float delta) { in assertEquals()
133 static public void assertEquals(String message, long expected, long actual) { in assertEquals()
146 static public void assertEquals(String message, boolean expected, boolean actual) { in assertEquals()
159 static public void assertEquals(String message, byte expected, byte actual) { in assertEquals()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDynamicMessageTest.java62 Message message = builder.build(); in testDynamicMessageAccessors() local
76 Message message = builder.build(); in testSettersAfterBuild() local
93 Message message = builder.build(); in testUnknownFields() local
119 Message message = builder.build(); in testDynamicMessageExtensionAccessors() local
134 Message message = builder.build(); in testDynamicMessageRepeatedSetters() local
152 TestAllTypes message = TestUtil.getAllSet(); in testDynamicMessageSerializedSize() local
167 Message message = builder.build(); in testDynamicMessageSerialization() local
181 TestAllTypes message = builder.build(); in testDynamicMessageParsing() local
196 Message message = DynamicMessage.parseFrom( in testDynamicMessageExtensionParsing() local
211 Message message = builder.build(); in testDynamicMessagePackedSerialization() local
[all …]
DTestUtil.java226 public static void setAllFields(TestAllTypes.Builder message) { in setAllFields()
366 public static void modifyRepeatedFields(TestAllTypes.Builder message) { in modifyRepeatedFields()
408 public static void assertAllFieldsSet(TestAllTypesOrBuilder message) { in assertAllFieldsSet()
615 public static void assertClear(TestAllTypesOrBuilder message) { in assertClear()
771 TestAllTypesOrBuilder message) { in assertRepeatedFieldsModified()
866 public static void setPackedFields(TestPackedTypes.Builder message) { in setPackedFields()
902 public static void setUnpackedFields(TestUnpackedTypes.Builder message) { in setUnpackedFields()
938 public static void assertPackedFieldsSet(TestPackedTypes message) { in assertPackedFieldsSet()
987 public static void assertUnpackedFieldsSet(TestUnpackedTypes message) { in assertUnpackedFieldsSet()
1093 public static void setAllExtensions(TestAllExtensions.Builder message) { in setAllExtensions()
[all …]
/frameworks/base/test-runner/src/android/test/
DMoreAsserts.java67 String message, Object unexpected, Object actual) { in assertNotEqual()
87 String message, byte[] expected, byte[] actual) { in assertEquals()
113 String message, int[] expected, int[] actual) { in assertEquals()
139 String message, long[] expected, long[] actual) { in assertEquals()
166 String message, double[] expected, double[] actual) { in assertEquals()
194 String message, Object[] expected, Object[] actual) { in assertEquals()
220 String message, Set<? extends Object> expected, Set<? extends Object> actual) { in assertEquals()
249 String message, String expectedRegex, String actual) { in assertMatchesRegex()
277 String message, String expectedRegex, String actual) { in assertContainsRegex()
304 String message, String expectedRegex, String actual) { in assertNotMatchesRegex()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DTelephonyPermissions.java98 Context context, int subId, String callingPackage, String message) { in checkCallingOrSelfReadPhoneState()
105 Context context, int subId, String callingPackage, String message) { in checkCallingOrSelfReadPhoneStateNoThrow()
135 Context context, int subId, int pid, int uid, String callingPackage, String message) { in checkReadPhoneState()
156 String callingPackage, String message) { in checkReadPhoneState()
200 Context context, int pid, int uid, String callingPackage, String message) { in checkReadPhoneStateOnAnyActiveSub()
208 String callingPackage, String message) { in checkReadPhoneStateOnAnyActiveSub()
250 String callingPackage, String message) { in checkCallingOrSelfReadDeviceIdentifiers()
273 String callingPackage, String message) { in checkCallingOrSelfReadDeviceIdentifiers()
295 String callingPackage, String message) { in checkCallingOrSelfReadSubscriberIdentifiers()
310 String callingPackage, String message) { in checkReadDeviceIdentifiers()
[all …]

12345678910>>...38