/tools/dexter/slicer/ |
D | dex_format.cc | 65 std::string DescriptorToDecl(const char* descriptor) { in DescriptorToDecl() argument 69 while (*descriptor == '[') { in DescriptorToDecl() 71 ++descriptor; in DescriptorToDecl() 74 if (*descriptor == 'L') { in DescriptorToDecl() 75 for (++descriptor; *descriptor != ';'; ++descriptor) { in DescriptorToDecl() 76 SLICER_CHECK_NE(*descriptor, '\0'); in DescriptorToDecl() 77 ss << (*descriptor == '/' ? '.' : *descriptor); in DescriptorToDecl() 80 ss << PrimitiveTypeName(*descriptor); in DescriptorToDecl() 83 SLICER_CHECK_EQ(descriptor[1], '\0'); in DescriptorToDecl() 95 char DescriptorToShorty(const char* descriptor) { in DescriptorToShorty() argument [all …]
|
D | dex_ir_builder.cc | 25 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()
|
D | dex_ir.cc | 58 method_key.class_descriptor = method->decl->parent->descriptor; in GetKey() 71 return method_key.class_descriptor == method->decl->parent->descriptor && in Compare() 78 return dex::DescriptorToDecl(descriptor->c_str()); in Decl() 82 switch (*descriptor->c_str()) { in GetCategory() 103 ss << type->descriptor->c_str(); in Signature() 107 ss << return_type->descriptor->c_str(); in Signature() 214 return a->descriptor->index < b->descriptor->index; in Normalize()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/targetprep/ |
D | BuildError.java | 38 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() 70 String reason, DeviceDescriptor descriptor, Throwable cause, ErrorIdentifier errorId) { in BuildError() argument 71 super(reason + " " + descriptor, cause, errorId); in BuildError() [all …]
|
D | TargetSetupError.java | 60 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/src/com/android/tradefed/targetprep/ |
D | DeviceFailedToBootError.java | 37 public DeviceFailedToBootError(String reason, DeviceDescriptor descriptor) { in DeviceFailedToBootError() argument 38 super(reason, descriptor); in DeviceFailedToBootError() 49 String reason, DeviceDescriptor descriptor, ErrorIdentifier errorId) { in DeviceFailedToBootError() argument 50 super(reason, descriptor, errorId); in DeviceFailedToBootError() 62 String reason, DeviceDescriptor descriptor, Throwable cause, ErrorIdentifier errorId) { in DeviceFailedToBootError() argument 63 super(reason, descriptor, cause, errorId); in DeviceFailedToBootError()
|
/tools/tradefederation/core/javatests/com/android/tradefed/config/ |
D | ConfigurationDescriptorTest.java | 75 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/device/cloud/ |
D | RemoteAndroidVirtualDevice.java | 73 DeviceDescriptor descriptor = super.getDeviceDescriptor(shortDescriptor); in getDeviceDescriptor() local 74 if (descriptor != null && getConnection() instanceof DefaultConnection) { in getDeviceDescriptor() 76 if (!initialSerial.equals(descriptor.getSerial())) { in getDeviceDescriptor() 78 descriptor = in getDeviceDescriptor() 80 descriptor, in getDeviceDescriptor() 82 initialSerial + "[" + descriptor.getSerial() + "]"); in getDeviceDescriptor() 85 return descriptor; in getDeviceDescriptor()
|
/tools/tradefederation/core/src/com/android/tradefed/monitoring/collector/ |
D | DeviceInternetAccessibilityResourceMetricCollector.java | 66 DeviceDescriptor descriptor, IDeviceManager deviceManager) { in getDeviceResourceMetrics() argument 71 final float avgPing = getAveragePing(descriptor, deviceManager, PING_CMD); in getDeviceResourceMetrics() 75 final float avgPing6 = getAveragePing(descriptor, deviceManager, PING6_CMD); in getDeviceResourceMetrics() 85 DeviceDescriptor descriptor, IDeviceManager deviceManager, String command) { in getAveragePing() argument 88 deviceManager, descriptor.getSerial(), command, mCmdTimeoutMs); in getAveragePing()
|
D | DeviceWifiResourceMetricCollector.java | 81 DeviceDescriptor descriptor, IDeviceManager deviceManager) { in getDeviceResourceMetrics() argument 84 descriptor, deviceManager, WIFI_SIGNAL_CMD, WIFI_SIGNAL_PATTERN); in getDeviceResourceMetrics() 87 descriptor, deviceManager, WIFI_STATUS_CMD, WIFI_STATUS_PATTERN); in getDeviceResourceMetrics() 119 DeviceDescriptor descriptor, in getWifiCmdResponseMatcher() argument 125 deviceManager, descriptor.getSerial(), cmd, CMD_TIMEOUT_MS); in getWifiCmdResponseMatcher()
|
/tools/tradefederation/core/src/com/android/tradefed/service/management/ |
D | DeviceManagementGrpcServer.java | 104 for (DeviceDescriptor descriptor : mDeviceManager.listAllDevices(true)) { in getDevicesStatus() 105 responseBuilder.addDeviceStatus(descriptorToStatus(descriptor)); in getDevicesStatus() 109 DeviceDescriptor descriptor = mDeviceManager.getDeviceDescriptor(serial); in getDevicesStatus() local 110 responseBuilder.addDeviceStatus(descriptorToStatus(descriptor)); in getDevicesStatus() 172 DeviceDescriptor descriptor = mDeviceManager.getDeviceDescriptor(serial); in reserveDevice() local 173 if (descriptor == null) { in reserveDevice() 181 if (DeviceAllocationState.Allocated.equals(descriptor.getState())) { in reserveDevice() 187 } else if (DeviceAllocationState.Unavailable.equals(descriptor.getState())) { in reserveDevice() 261 private DeviceStatus descriptorToStatus(DeviceDescriptor descriptor) { in descriptorToStatus() argument 263 deviceStatusBuilder.setDeviceId(descriptor.getSerial()); in descriptorToStatus() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/monitoring/ |
D | LabResourceDeviceMonitor.java | 251 .filter(descriptor -> !descriptor.isTemporary()) in scheduleMetricizeTask() 253 for (DeviceDescriptor descriptor : descriptors) { in scheduleMetricizeTask() 257 if (ClusterHostUtil.isLocalhostIpPort(descriptor.getSerial())) { in scheduleMetricizeTask() 260 builder.addDevice(buildMonitoredDevice(descriptor, mMetricCollectors)); in scheduleMetricizeTask() 349 DeviceDescriptor descriptor, Collection<IResourceMetricCollector> collectors) { in buildMonitoredDevice() argument 352 .putIdentifier(DEVICE_SERIAL_KEY, descriptor.getSerial()) in buildMonitoredDevice() 362 descriptor, in buildMonitoredDevice() 372 .setTag(descriptor.getState().name()) in buildMonitoredDevice() 375 if (!descriptor.getDeviceClass().equals(TestDevice.class.getSimpleName())) { in buildMonitoredDevice() 385 descriptor, in buildMonitoredDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | RemoteAndroidDevice.java | 102 DeviceDescriptor descriptor = super.getDeviceDescriptor(shortDescriptor); in getDeviceDescriptor() local 110 descriptor = new DeviceDescriptor(descriptor, initialIp, initialOffset); in getDeviceDescriptor() 113 return descriptor; in getDeviceDescriptor()
|
/tools/netsim/rust/proto/src/ |
D | common.rs | 72 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::Laz… in enum_descriptor() constant 73 … descriptor.get(|| file_descriptor().enum_by_package_relative_name("ChipKind").unwrap()).clone() in enum_descriptor() 76 fn descriptor(&self) -> ::protobuf::reflect::EnumValueDescriptor { in descriptor() method 102 fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { in file_descriptor_proto() 103 …static file_descriptor_proto_lazy: ::protobuf::rt::Lazy<::protobuf::descriptor::FileDescriptorProt… in file_descriptor_proto()
|
D | frontend.rs | 134 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method 135 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::… in descriptor() variable 136 …descriptor.get(|| file_descriptor().message_by_package_relative_name("VersionResponse").unwrap()).… in descriptor() 257 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method 258 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::… in descriptor() constant 259 …descriptor.get(|| file_descriptor().message_by_package_relative_name("CreateDeviceRequest").unwrap… in descriptor() 380 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method 381 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::… in descriptor() constant 382 …descriptor.get(|| file_descriptor().message_by_package_relative_name("CreateDeviceResponse").unwra… in descriptor() 502 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method [all …]
|
D | hci_packet.rs | 152 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method 153 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::… in descriptor() constant 154 …descriptor.get(|| file_descriptor().message_by_package_relative_name("HCIPacket").unwrap()).clone() in descriptor() 218 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::Laz… in enum_descriptor() constant 219 …descriptor.get(|| super::file_descriptor().enum_by_package_relative_name("HCIPacket.PacketType").u… in enum_descriptor() 222 fn descriptor(&self) -> ::protobuf::reflect::EnumValueDescriptor { in descriptor() method 253 fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { in file_descriptor_proto() 254 …static file_descriptor_proto_lazy: ::protobuf::rt::Lazy<::protobuf::descriptor::FileDescriptorProt… in file_descriptor_proto()
|
D | model.rs | 170 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method 171 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::… in descriptor() variable 172 … descriptor.get(|| file_descriptor().message_by_package_relative_name("Position").unwrap()).clone() in descriptor() 328 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method 329 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::… in descriptor() constant 330 …descriptor.get(|| file_descriptor().message_by_package_relative_name("Orientation").unwrap()).clon… in descriptor() 802 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method 803 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::… in descriptor() constant 804 … descriptor.get(|| file_descriptor().message_by_package_relative_name("Chip").unwrap()).clone() in descriptor() 839 fn descriptor() -> ::protobuf::reflect::OneofDescriptor { in descriptor() method [all …]
|
D | packet_streamer.rs | 326 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method 327 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::… in descriptor() constant 328 …descriptor.get(|| file_descriptor().message_by_package_relative_name("PacketRequest").unwrap()).cl… in descriptor() 361 fn descriptor() -> ::protobuf::reflect::OneofDescriptor { in descriptor() method 362 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::OneofDescriptor> = ::protobuf::rt::La… in descriptor() variable 363 …descriptor.get(|| <super::PacketRequest as ::protobuf::MessageFull>::descriptor().oneof_by_name("r… in descriptor() 670 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method 671 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::… in descriptor() constant 672 …descriptor.get(|| file_descriptor().message_by_package_relative_name("PacketResponse").unwrap()).c… in descriptor() 705 fn descriptor() -> ::protobuf::reflect::OneofDescriptor { in descriptor() method [all …]
|
D | startup.rs | 135 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method 136 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::… in descriptor() constant 137 …descriptor.get(|| file_descriptor().message_by_package_relative_name("StartupInfo").unwrap()).clon… in descriptor() 278 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method 279 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::… in descriptor() constant 280 …descriptor.get(|| super::file_descriptor().message_by_package_relative_name("StartupInfo.Device").… in descriptor() 420 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method 421 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::… in descriptor() constant 422 … descriptor.get(|| file_descriptor().message_by_package_relative_name("ChipInfo").unwrap()).clone() in descriptor() 687 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method [all …]
|
D | configuration.rs | 338 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method 339 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::… in descriptor() variable 340 …descriptor.get(|| file_descriptor().message_by_package_relative_name("ControllerFeatures").unwrap(… in descriptor() 553 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method 554 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::… in descriptor() variable 555 …descriptor.get(|| file_descriptor().message_by_package_relative_name("ControllerQuirks").unwrap())… in descriptor() 731 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method 732 …static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::… in descriptor() variable 733 …descriptor.get(|| file_descriptor().message_by_package_relative_name("VendorFeatures").unwrap()).c… in descriptor() 969 fn descriptor() -> ::protobuf::reflect::MessageDescriptor { in descriptor() method [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/ |
D | SandboxedInvocationExecutionTest.java | 153 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testSandboxInvocation() local 154 descriptor.setSandboxed(true); in testSandboxInvocation() 156 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() 296 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testInvocation_sharding_notTests() local 300 Configuration.CONFIGURATION_DESCRIPTION_TYPE_NAME, descriptor); in testInvocation_sharding_notTests() 353 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testInvocation_preInvocationFailing() local [all …]
|
D | InvocationContextTest.java | 155 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/dexter/slicer/export/slicer/ |
D | dex_ir_builder.h | 58 Type* GetType(String* descriptor); 65 Type* GetType(const char* descriptor) { in GetType() argument 66 return GetType(GetAsciiString(descriptor)); in GetType()
|
/tools/tradefederation/core/aoa_helper/src/com/android/helper/aoa/ |
D | AoaHID.java | 115 AoaHID(Integer[] descriptor) { in AoaHID() argument 116 mDescriptor = ImmutableList.copyOf(descriptor); in AoaHID()
|
/tools/carrier_settings/python/ |
D | compare.py | 20 from google.protobuf import descriptor 36 if desc.label is descriptor.FieldDescriptor.LABEL_REPEATED:
|