Home
last modified time | relevance | path

Searched refs:MESSAGE (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsPermissionsTest.java41 private static final String MESSAGE = "msg"; field in SmsPermissionsTest
88 true /* persistMessageForNonDefaultSmsApp */, PACKAGE, MESSAGE)); in testCheckCallingSendTextPermissions_persist_grant()
93 Mockito.doThrow(new SecurityException(MESSAGE)).when(mMockContext) in testCheckCallingSendTextPermissions_persist_noGrant()
94 .enforceCallingPermission(Manifest.permission.SEND_SMS, MESSAGE); in testCheckCallingSendTextPermissions_persist_noGrant()
97 true /* persistMessageForNonDefaultSmsApp */, PACKAGE, MESSAGE); in testCheckCallingSendTextPermissions_persist_noGrant()
110 true /* persistMessageForNonDefaultSmsApp */, PACKAGE, MESSAGE)); in testCheckCallingSendTextPermissions_persist_noAppOps()
117 Mockito.doThrow(new SecurityException(MESSAGE)).when(mMockContext) in testCheckCallingSendTextPermissions_noPersist_grantViaCarrierApp()
118 .enforceCallingPermission(Manifest.permission.MODIFY_PHONE_STATE, MESSAGE); in testCheckCallingSendTextPermissions_noPersist_grantViaCarrierApp()
119 Mockito.doThrow(new SecurityException(MESSAGE)).when(mMockContext) in testCheckCallingSendTextPermissions_noPersist_grantViaCarrierApp()
120 .enforceCallingPermission(Manifest.permission.SEND_SMS, MESSAGE); in testCheckCallingSendTextPermissions_noPersist_grantViaCarrierApp()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dprotostream_objectwriter.cc429 this, master_type_.name() == kAnyType ? Item::ANY : Item::MESSAGE, in StartObject()
451 Push("struct_value", Item::MESSAGE, true, false); in StartObject()
490 Push("", Item::MESSAGE, false, false); in StartObject()
493 Push("value", Item::MESSAGE, true, false); in StartObject()
511 Push("struct_value", Item::MESSAGE, true, false); in StartObject()
525 Push(name, Item::MESSAGE, false, false); in StartObject()
537 Push(name, Item::MESSAGE, false, false); in StartObject()
538 Push("struct_value", Item::MESSAGE, true, false); in StartObject()
556 Push(name, IsAny(*field) ? Item::ANY : Item::MESSAGE, false, false); in StartObject()
607 current_.reset(new Item(this, Item::MESSAGE, false, false)); in StartList()
[all …]
Dprotostream_objectwriter.h191 MESSAGE, // Simple message enumerator
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/
Dfailure_list_cpp.txt37 ProtobufInput.PrematureEofBeforeKnownRepeatedValue.MESSAGE
38 ProtobufInput.PrematureEofInDelimitedDataForKnownNonRepeatedValue.MESSAGE
39 ProtobufInput.PrematureEofInDelimitedDataForKnownRepeatedValue.MESSAGE
48 ProtobufInput.PrematureEofInsideKnownRepeatedValue.MESSAGE
Dfailure_list_python_cpp.txt55 ProtobufInput.PrematureEofInDelimitedDataForKnownNonRepeatedValue.MESSAGE
56 ProtobufInput.PrematureEofInDelimitedDataForKnownRepeatedValue.MESSAGE
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DWireFormat.java88 MESSAGE(null); enumConstant
123 GROUP (JavaType.MESSAGE , WIRETYPE_START_GROUP ) { in GROUP() argument
128 MESSAGE (JavaType.MESSAGE , WIRETYPE_LENGTH_DELIMITED) { in MESSAGE() argument
243 case MESSAGE: in readPrimitiveField()
DExtensionRegistry.java253 FieldDescriptor.JavaType.MESSAGE) { in newExtensionInfo()
268 if (type.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in add()
280 if (type.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { in add()
364 field.getType() == FieldDescriptor.Type.MESSAGE && in add()
DMessageReflection.java70 field.getType() == Descriptors.FieldDescriptor.Type.MESSAGE && in writeMessageTo()
98 field.getType() == Descriptors.FieldDescriptor.Type.MESSAGE && in getSerializedSize()
144 if (field.getJavaType() == Descriptors.FieldDescriptor.JavaType.MESSAGE) { in isInitialized()
198 if (field.getJavaType() == Descriptors.FieldDescriptor.JavaType.MESSAGE) { in findMissingFields()
230 MESSAGE, EXTENSION_SET enumConstant
435 return ContainerType.MESSAGE; in getContainerType()
762 == Descriptors.FieldDescriptor.JavaType.MESSAGE) { in mergeFieldFrom()
771 } else if (target.getContainerType() == MergeTarget.ContainerType.MESSAGE) { in mergeFieldFrom()
833 case MESSAGE: { in mergeFieldFrom()
DFieldSet.java407 case MESSAGE: in verifyType()
455 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) { in isInitialized()
538 } else if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) { in mergeFromField()
617 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE && in writeMessageSetTo()
680 case MESSAGE : output.writeMessageNoTag ((MessageLite) value); break; in writeElementNoTag()
783 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE in getMessageSetSerializedSize()
861 case MESSAGE: in computeElementSizeNoTag()
DDescriptors.java980 return getType() == Type.MESSAGE && isRepeated() in isMapField()
1035 if (getJavaType() == JavaType.MESSAGE) { in getDefaultValue()
1090 if (getJavaType() != JavaType.MESSAGE) { in getMessageType()
1158 GROUP (JavaType.MESSAGE ),
1159 MESSAGE (JavaType.MESSAGE ), enumConstant
1202 MESSAGE(null); enumConstant
1342 type = Type.MESSAGE; in crossLink()
1351 if (getJavaType() == JavaType.MESSAGE) { in crossLink()
1373 if (getJavaType() == JavaType.MESSAGE || in crossLink()
1460 case MESSAGE: in crossLink()
[all …]
DDynamicMessage.java203 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in getField()
453 if (field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) {
500 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
531 && field.getJavaType() != FieldDescriptor.JavaType.MESSAGE
DGeneratedMessage.java175 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in isInitialized()
631 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
888 FieldDescriptor.JavaType.MESSAGE) {
1016 WireFormat.JavaType.MESSAGE &&
1100 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1267 FieldDescriptor.JavaType.MESSAGE) {
1486 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1853 if (descriptor.getJavaType() == FieldDescriptor.JavaType.MESSAGE ||
1877 case MESSAGE:
1953 if (getDescriptor().getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
[all …]
DTextFormat.java339 && (field.getType() == FieldDescriptor.Type.MESSAGE) in printSingleField()
357 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in printSingleField()
370 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in printSingleField()
448 case MESSAGE: in printFieldValue()
1534 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in mergeField()
1609 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in consumeFieldValue()
1700 case MESSAGE: in consumeFieldValue()
DMapEntry.java321 || field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { in newBuilderForField()
435 if (metadata.valueType.getJavaType() == WireFormat.JavaType.MESSAGE) { in isInitialized()
DGeneratedMessageV3.java176 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in isInitialized()
632 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
889 FieldDescriptor.JavaType.MESSAGE) {
1017 WireFormat.JavaType.MESSAGE &&
1101 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1268 FieldDescriptor.JavaType.MESSAGE) {
1487 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1752 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1768 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1926 || (!isOneofField && descriptor.getJavaType() == FieldDescriptor.JavaType.MESSAGE);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/
Dconstants.js183 MESSAGE: 11, property
241 case fieldTypes.MESSAGE:
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DUtils.java111 case MESSAGE: in checkType()
231 return fieldDescriptor.getType() == Descriptors.FieldDescriptor.Type.MESSAGE && in isMapEntry()
283 if (type == Descriptors.FieldDescriptor.Type.MESSAGE) { in validateTypeClass()
DRubyMessage.java520 case MESSAGE: in convert()
562 case MESSAGE: in wrapField()
583 if (type == Descriptors.FieldDescriptor.Type.MESSAGE) { in repeatedFieldForFieldDescriptor()
600 if (fieldDescriptor.getType() == Descriptors.FieldDescriptor.Type.MESSAGE) { in getField()
634 if (fieldDescriptor.getType() != Descriptors.FieldDescriptor.Type.MESSAGE || in getField()
683 if (fieldType == Descriptors.FieldDescriptor.Type.MESSAGE) { in setField()
741 if (valueField.getType() == Descriptors.FieldDescriptor.Type.MESSAGE) { in newMapForField()
DRubyRepeatedField.java80 if (fieldType == Descriptors.FieldDescriptor.Type.MESSAGE in initialize()
167 if (!(fieldType == Descriptors.FieldDescriptor.Type.MESSAGE && in push()
338 if (fieldType == Descriptors.FieldDescriptor.Type.MESSAGE) { in deepCopy()
DRubyMap.java350 case MESSAGE: in deepCopy()
422 case MESSAGE: in needTypeclass()
DRubyDescriptorPool.java146 if (fieldDescriptor.getType() == Descriptors.FieldDescriptor.Type.MESSAGE) { in buildFileDescriptor()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dextension_set_heavy.cc152 GOOGLE_DCHECK_TYPE(iter->second, OPTIONAL, MESSAGE); in GetMessage()
177 GOOGLE_DCHECK_TYPE(*extension, OPTIONAL, MESSAGE); in MutableMessage()
195 GOOGLE_DCHECK_TYPE(iter->second, OPTIONAL, MESSAGE); in ReleaseMessage()
223 GOOGLE_DCHECK_TYPE(iter->second, OPTIONAL, MESSAGE); in UnsafeArenaReleaseMessage()
248 GOOGLE_DCHECK_TYPE(*extension, REPEATED, MESSAGE); in MaybeNewRepeatedExtension()
526 HANDLE_TYPE( MESSAGE, Message, message); in InternalSerializeFieldWithCachedSizesToArray()
Dgenerated_message_reflection.cc961 USAGE_CHECK_ALL(ReleaseLast, REPEATED, MESSAGE); in ReleaseLast()
1458 USAGE_CHECK_ALL(GetMessage, SINGULAR, MESSAGE); in GetMessage()
1479 USAGE_CHECK_ALL(MutableMessage, SINGULAR, MESSAGE); in MutableMessage()
1514 USAGE_CHECK_ALL(SetAllocatedMessage, SINGULAR, MESSAGE); in UnsafeArenaSetAllocatedMessage()
1576 USAGE_CHECK_ALL(ReleaseMessage, SINGULAR, MESSAGE); in UnsafeArenaReleaseMessage()
1615 USAGE_CHECK_ALL(GetRepeatedMessage, REPEATED, MESSAGE); in GetRepeatedMessage()
1634 USAGE_CHECK_ALL(MutableRepeatedMessage, REPEATED, MESSAGE); in MutableRepeatedMessage()
1655 USAGE_CHECK_ALL(AddMessage, REPEATED, MESSAGE); in AddMessage()
1697 USAGE_CHECK_ALL(AddAllocatedMessage, REPEATED, MESSAGE); in AddAllocatedMessage()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskTree.java234 if (field.isRepeated() || field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { in merge()
260 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in merge()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBMessageTests+Serialization.m246 //%PDDM-DEFINE TEST_ROUNDTRIP_ONEOF(MESSAGE, FIELD, VALUE)
247 //%TEST_ROUNDTRIP_ONEOF_ADV(MESSAGE, FIELD, VALUE, )
248 //%PDDM-DEFINE TEST_ROUNDTRIP_ONEOF_ADV(MESSAGE, FIELD, VALUE, EQ_SUFFIX)
250 //% MESSAGE *orig = [[MESSAGE alloc] init];
252 //% XCTAssertEqual(orig.oOneOfCase, MESSAGE##_O_OneOfCase_Oneof##FIELD);
255 //% MESSAGE *msg = [MESSAGE parseFromData:data error:NULL];
256 //% XCTAssertEqual(msg.oOneOfCase, MESSAGE##_O_OneOfCase_Oneof##FIELD);

12