Home
last modified time | relevance | path

Searched refs:descriptor (Results 1 – 25 of 57) sorted by relevance

123

/tools/dexter/slicer/
Ddex_format.cc56 std::string DescriptorToDecl(const char* descriptor) { in DescriptorToDecl() argument
60 while (*descriptor == '[') { in DescriptorToDecl()
62 ++descriptor; in DescriptorToDecl()
65 if (*descriptor == 'L') { in DescriptorToDecl()
66 for (++descriptor; *descriptor != ';'; ++descriptor) { in DescriptorToDecl()
67 SLICER_CHECK(*descriptor != '\0'); in DescriptorToDecl()
68 ss << (*descriptor == '/' ? '.' : *descriptor); in DescriptorToDecl()
71 ss << PrimitiveTypeName(*descriptor); in DescriptorToDecl()
74 SLICER_CHECK(descriptor[1] == '\0'); in DescriptorToDecl()
86 char DescriptorToShorty(const char* descriptor) { in DescriptorToShorty() argument
[all …]
Ddex_ir_builder.cc25 return ::strcmp(class_descriptor, method_decl->parent->descriptor->c_str()) == 0 in Match()
94 Type* Builder::GetType(String* descriptor) { in GetType() argument
97 if (ir_type->descriptor == descriptor) { in GetType()
104 ir_type->descriptor = descriptor; in GetType()
137 ss << dex::DescriptorToShorty(return_type->descriptor->c_str()); in CreateShorty()
140 ss << dex::DescriptorToShorty(param_type->descriptor->c_str()); in CreateShorty()
Ddex_ir.cc59 method_key.class_descriptor = method->decl->parent->descriptor; in GetKey()
72 return method_key.class_descriptor == method->decl->parent->descriptor && in Compare()
79 return dex::DescriptorToDecl(descriptor->c_str()); in Decl()
83 switch (*descriptor->c_str()) { in GetCategory()
104 ss << type->descriptor->c_str(); in Signature()
108 ss << return_type->descriptor->c_str(); in Signature()
206 return a->descriptor->index < b->descriptor->index; in Normalize()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/targetprep/
DTargetSetupError.java60 public TargetSetupError(String reason, DeviceDescriptor descriptor) { in TargetSetupError() argument
61 this(reason, null, descriptor, true, null); in TargetSetupError()
72 public TargetSetupError(String reason, DeviceDescriptor descriptor, ErrorIdentifier errorId) { in TargetSetupError() argument
73 this(reason, null, descriptor, true, errorId); in TargetSetupError()
110 public TargetSetupError(String reason, Throwable cause, DeviceDescriptor descriptor) { in TargetSetupError() argument
111 this(reason, cause, descriptor, true, null); in TargetSetupError()
124 String reason, Throwable cause, DeviceDescriptor descriptor, ErrorIdentifier errorId) { in TargetSetupError() argument
125 this(reason, cause, descriptor, true, errorId); in TargetSetupError()
138 String reason, Throwable cause, DeviceDescriptor descriptor, boolean deviceSide) { in TargetSetupError() argument
139 this(reason, cause, descriptor, deviceSide, null); in TargetSetupError()
[all …]
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DListDevicesOp.java110 for (DeviceDescriptor descriptor : devices) { in packResponseIntoJson()
112 deviceStateJson.put(SERIAL, descriptor.getSerial()); in packResponseIntoJson()
113 deviceStateJson.put(IS_STUB, descriptor.isStubDevice()); in packResponseIntoJson()
114 deviceStateJson.put(STATE, descriptor.getState().toString()); in packResponseIntoJson()
115 deviceStateJson.put(PRODUCT, descriptor.getProduct()); in packResponseIntoJson()
116 deviceStateJson.put(PRODUCT_VARIANT, descriptor.getProductVariant()); in packResponseIntoJson()
117 deviceStateJson.put(SDK_VERSION, descriptor.getSdkVersion()); in packResponseIntoJson()
118 deviceStateJson.put(BUILD_ID, descriptor.getBuildId()); in packResponseIntoJson()
119 deviceStateJson.put(BATTERY_LEVEL, descriptor.getBatteryLevel()); in packResponseIntoJson()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationDescriptorTest.java75 ConfigurationDescriptor descriptor = config.getConfigurationDescription(); in testSerialization() local
76 descriptor.setModuleName("test"); in testSerialization()
77 assertEquals("test", descriptor.getModuleName()); in testSerialization()
78 File serialized = SerializationUtil.serialize(descriptor); in testSerialization()
91 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testProtoSerialization() local
92 descriptor.setSandboxed(true); in testProtoSerialization()
93 Descriptor protoDescriptor = descriptor.toProto(); in testProtoSerialization()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceFailedToBootError.java33 public DeviceFailedToBootError(String reason, DeviceDescriptor descriptor) { in DeviceFailedToBootError() argument
34 super(reason, descriptor); in DeviceFailedToBootError()
44 String reason, DeviceDescriptor descriptor, ErrorIdentifier errorId) { in DeviceFailedToBootError() argument
45 super(reason, descriptor, errorId); in DeviceFailedToBootError()
/tools/tradefederation/core/res/jacoco/
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...
/tools/dexter/slicer/export/slicer/
Ddex_ir_builder.h58 Type* GetType(String* descriptor);
65 Type* GetType(const char* descriptor) { in GetType() argument
66 return GetType(GetAsciiString(descriptor)); in GetType()
Ddex_format.h306 std::string DescriptorToDecl(const char* descriptor);
309 char DescriptorToShorty(const char* descriptor);
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationContextTest.java155 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testProtoSerialize() local
156 descriptor.setModuleName("module"); in testProtoSerialize()
157 context.setConfigurationDescriptor(descriptor); in testProtoSerialize()
176 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testProtoSerialize_moduleContext() local
177 descriptor.setModuleName("module"); in testProtoSerialize_moduleContext()
178 context.setConfigurationDescriptor(descriptor); in testProtoSerialize_moduleContext()
DSandboxedInvocationExecutionTest.java147 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testSandboxInvocation() local
148 descriptor.setSandboxed(true); in testSandboxInvocation()
150 Configuration.CONFIGURATION_DESCRIPTION_TYPE_NAME, descriptor); in testSandboxInvocation()
212 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testParentSandboxInvocation_sharding() local
218 Configuration.CONFIGURATION_DESCRIPTION_TYPE_NAME, descriptor); in testParentSandboxInvocation_sharding()
241 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testParentSandboxInvocation() local
245 Configuration.CONFIGURATION_DESCRIPTION_TYPE_NAME, descriptor); in testParentSandboxInvocation()
301 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testInvocation_sharding_notTests() local
305 Configuration.CONFIGURATION_DESCRIPTION_TYPE_NAME, descriptor); in testInvocation_sharding_notTests()
364 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testInvocation_preInvocationFailing() local
[all …]
/tools/carrier_settings/python/
Dcompare.py20 from google.protobuf import descriptor
36 if desc.label is descriptor.FieldDescriptor.LABEL_REPEATED:
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceAvdInfo.java146 File f, DeviceDescriptor descriptor, int remoteAdbPort) throws TargetSetupError { in parseGceInfoFromFile() argument
155 return parseGceInfoFromString(data, descriptor, remoteAdbPort); in parseGceInfoFromFile()
167 String data, DeviceDescriptor descriptor, int remoteAdbPort) throws TargetSetupError { in parseGceInfoFromString() argument
217 throw new TargetSetupError(String.format("acloud errors: %s", data), descriptor); in parseGceInfoFromString()
219 throw new TargetSetupError(String.format("acloud errors: %s", errors), descriptor); in parseGceInfoFromString()
DRemoteAndroidVirtualDevice.java439 DeviceDescriptor descriptor = super.getDeviceDescriptor(); in getDeviceDescriptor() local
440 if (!getInitialSerial().equals(descriptor.getSerial())) { in getDeviceDescriptor()
442 descriptor = in getDeviceDescriptor()
444 descriptor, in getDeviceDescriptor()
446 getInitialSerial() + "[" + descriptor.getSerial() + "]"); in getDeviceDescriptor()
448 return descriptor; in getDeviceDescriptor()
/tools/tradefederation/core/src/com/android/tradefed/device/
DRemoteAndroidDevice.java312 DeviceDescriptor descriptor = super.getDeviceDescriptor(); in getDeviceDescriptor() local
315 descriptor = in getDeviceDescriptor()
317 descriptor, in getDeviceDescriptor()
321 return descriptor; in getDeviceDescriptor()
DBackgroundDeviceAction.java62 public BackgroundDeviceAction(String command, String descriptor, ITestDevice device, in BackgroundDeviceAction() argument
66 mDescriptor = descriptor; in BackgroundDeviceAction()
DLargeOutputReceiver.java55 public LargeOutputReceiver(String descriptor, String serialNumber, long maxDataSize) { in LargeOutputReceiver() argument
56 mDescriptor = descriptor; in LargeOutputReceiver()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DTargetSetupErrorTest.java62 DeviceDescriptor descriptor = in testSerialization_withIDevice() local
77 TargetSetupError exception = new TargetSetupError("reason", descriptor); in testSerialization_withIDevice()
/tools/dexter/dexter/
Ddexter.cc252 const char* descriptor = reader.GetStringMUTF8(typeId.descriptor_idx); in ListClasses() local
253 printf(" %s\n", dex::DescriptorToDecl(descriptor).c_str()); in ListClasses()
361 std::string descriptor = ClassNameToDescriptor(extract_class_); in ProcessDex() local
362 dex::u4 class_idx = reader.FindClassIndex(descriptor.c_str()); in ProcessDex()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DPushFilePreparer.java140 private void fail(String message, DeviceDescriptor descriptor) throws TargetSetupError { in fail() argument
142 throw new TargetSetupError(message, descriptor); in fail()
150 public final Map<String, File> getPushSpecs(DeviceDescriptor descriptor) in getPushSpecs() argument
156 fail(String.format("Invalid pushspec: '%s'", Arrays.asList(pair)), descriptor); in getPushSpecs()
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_gatt_utils.py150 for descriptor in descriptor_uuids:
153 characteristic, descriptor, test_value)
156 characteristic, descriptor)
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/
DFormattedGeneratorReporterTest.java188 DeviceDescriptor descriptor = null; in testFinalizedResults_skipped() local
189 mReporter.invocationFailed(new TargetSetupError("Invocation failed.", descriptor)); in testFinalizedResults_skipped()
/tools/asuite/atest/proto/
Dcommon_pb2.py8 from google.protobuf import descriptor as _descriptor

123