Home
last modified time | relevance | path

Searched refs:descriptor (Results 1 – 25 of 66) 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 …]
DBuildError.java38 public BuildError(String reason, DeviceDescriptor descriptor) { in BuildError() argument
39 super(reason + " " + descriptor, null); in BuildError()
40 if (descriptor != null) { in BuildError()
41 mDeviceSerial = descriptor.getSerial(); in BuildError()
53 public BuildError(String reason, DeviceDescriptor descriptor, ErrorIdentifier errorId) { in BuildError() argument
54 super(reason + " " + descriptor, errorId); in BuildError()
55 if (descriptor != null) { in BuildError()
56 mDeviceSerial = descriptor.getSerial(); in BuildError()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
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 …]
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()
/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/test/connectivity/acts/framework/acts/test_utils/bt/
Dgatts_lib.py231 descriptor = self.dut.droid.gattServerCreateBluetoothGattDescriptor(
235 descriptor, desc['value'])
238 descriptor, desc['instance_id'])
239 self.descriptor_list.append(descriptor)
240 return descriptor
257 descriptor = self._setup_descriptor(desc)
259 characteristic, descriptor)
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/testtype/suite/
DModuleDefinitionTest.java372 ConfigurationDescriptor descriptor = config.getConfigurationDescription(); in testCreateModule() local
373 descriptor.setAbi(new Abi("armeabi-v7a", "32")); in testCreateModule()
374 descriptor.addMetadata(ITestSuite.PARAMETER_KEY, Arrays.asList("instant_app", "multi_abi")); in testCreateModule()
390 ConfigurationDescriptor descriptor = config.getConfigurationDescription(); in testCreateModule_withParams() local
391 descriptor.setAbi(new Abi("armeabi-v7a", "32")); in testCreateModule_withParams()
392 descriptor.addMetadata( in testCreateModule_withParams()
586 ConfigurationDescriptor descriptor = config.getConfigurationDescription(); in testParseTokens() local
587 descriptor.addMetadata(ITestSuite.TOKEN_KEY, Arrays.asList("SIM_CARD")); in testParseTokens()
1072 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testAbiSetting() local
1073 descriptor.setAbi(new Abi("arm", "32")); in testAbiSetting()
[all …]
DSuiteModuleLoaderTest.java411 ConfigurationDescriptor descriptor = instantModule.getConfigurationDescription(); in testFilterParameterized() local
414 descriptor in testFilterParameterized()
420 descriptor in testFilterParameterized()
424 assertEquals("armeabi-v7a", descriptor.getAbi().getName()); in testFilterParameterized()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
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()
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()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceFailedToBootError.java37 public DeviceFailedToBootError(String reason, DeviceDescriptor descriptor) { in DeviceFailedToBootError() argument
38 super(reason, descriptor); in DeviceFailedToBootError()
48 String reason, DeviceDescriptor descriptor, ErrorIdentifier errorId) { in DeviceFailedToBootError() argument
49 super(reason, descriptor, errorId); in DeviceFailedToBootError()
/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()
/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()
Dexperimental.cc209 ::strcmp(ir_method->decl->prototype->return_type->descriptor->c_str(), "V") == 0; in StressExitHook()
365 if (std::strcmp(ir_method->decl->parent->descriptor->c_str(), kTracerClass) == 0) { in CodeCoverage()
449 auto class_descriptor = decl->parent->descriptor; in StressFindMethod()
/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/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto46 // descriptor.proto must be optimized for speed because reflection-based
243 // extensions when we build a descriptor, at which point all protos have been
381 // Disables the generation of the standard "descriptor()" accessor, which can
383 // from proto1 easier; new code should avoid fields named "descriptor".
397 // The parsed descriptor looks like:
569 // options protos in descriptor objects (e.g. returned by Descriptor::options(),
/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()
/tools/test/connectivity/acts_tests/tests/google/bt/gatt/
DGattOverBrEdrTest.py488 for descriptor in descriptor_uuids:
491 characteristic, descriptor, test_value)
494 characteristic, descriptor)
/tools/repohooks/tools/
Dspelling.txt373 desciptor||descriptor
377 descritptor||descriptor
378 desctiptor||descriptor
379 desriptor||descriptor
/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()

123