/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/ |
D | GattEnum.py | 67 "evt": GattCbStrings.CHAR_WRITE_REQ.value, 68 "err": GattCbErr.CHAR_WRITE_REQ_ERR.value 71 "evt": GattCbStrings.EXEC_WRITE.value, 72 "err": GattCbErr.EXEC_WRITE_ERR.value 75 "evt": GattCbStrings.CHAR_WRITE.value, 76 "err": GattCbErr.CHAR_WRITE_ERR.value 79 "evt": GattCbStrings.DESC_WRITE_REQ.value, 80 "err": GattCbErr.DESC_WRITE_REQ_ERR.value 83 "evt": GattCbStrings.DESC_WRITE.value, 84 "err": GattCbErr.DESC_WRITE_ERR.value [all …]
|
/tools/security/gdb/gdb_json_printer/gdb_json_printer/ |
D | printers.py | 39 if self.value is None or self.value.is_optimized_out: 64 'ctype': str(self.value.type), 84 def __init__(self, value, visited_addresses_and_types=None): argument 95 self.value = value 101 if hasattr(self.value, 'address') and self.value.address is not None: 102 self.address = hex(intptr(self.value.address)) 126 return address_str + "_" + str(self.value.type.strip_typedefs()) 141 gdb.TYPE_CODE_ENUM: {'type': 'enum', 'value_func': lambda value: str(int(value))}, 142 gdb.TYPE_CODE_INT: {'type': 'int', 'value_func': lambda value: str(int(value))}, 143 gdb.TYPE_CODE_FLT: {'type': 'float', 'value_func': lambda value: str(float(value))}, [all …]
|
/tools/acloud/public/data/ |
D | default.config | 25 value: "1,32,24,checker-sliding" 30 value: "1,640,480,checker-fixed" 35 value: "512" 40 value: "2048" 45 value: "default" 50 value: "37.422,122.084,100,0,1,1" 60 value: "cpu:4,resolution:720x1280,dpi:320,memory:6g" 65 value: "cpu:4,resolution:1280x800,dpi:160,memory:6g" 70 value: "cpu:4,resolution:320x320,dpi:240,memory:2g" 75 value: "cpu:4,resolution:2560x1800,dpi:320,memory:6g" [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | UAnnotationItem.kt | 182 value: UExpression?, in <lambda>() 191 when (value) { in <lambda>() 193 is ULiteralExpression -> sb.append(CodePrinter.constantToSource(value.value)) in <lambda>() 195 when (val resolved = value.resolve()) { in <lambda>() 223 sb.append(value.sourcePsi?.text ?: value.asSourceString()) in <lambda>() 228 appendValue(codebase, sb, value.leftOperand, target, showDefaultAttrs) in <lambda>() 230 sb.append(value.operator.text) in <lambda>() 232 appendValue(codebase, sb, value.rightOperand, target, showDefaultAttrs) in <lambda>() 235 if (value.isArrayInitializer()) { in <lambda>() 238 for (initializer in value.valueArguments) { in <lambda>() [all …]
|
D | PsiAnnotationItem.kt | 94 parameter.name ?: ATTR_VALUE, parameter.value ?: continue in <lambda>() 150 list.add(Pair(attr.name, attr.value)) in <lambda>() 197 value: PsiAnnotationMemberValue?, in <lambda>() 206 when (value) { in <lambda>() 208 is PsiLiteral -> sb.append(constantToSource(value.value)) in <lambda>() 210 when (val resolved = value.resolve()) { in <lambda>() 239 sb.append(value.text) in <lambda>() 244 appendValue(codebase, sb, value.lOperand, target, showDefaultAttrs) in <lambda>() 246 sb.append(value.operationSign.text) in <lambda>() 248 appendValue(codebase, sb, value.rOperand, target, showDefaultAttrs) in <lambda>() [all …]
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/ |
D | LittleEndianUtils.java | 98 public static void writeUnsigned4Le(@Nonnull ByteBuffer output, long value) in writeUnsigned4Le() argument 101 Preconditions.checkArgument(value >= 0, "value (%s) < 0", value); in writeUnsigned4Le() 103 value <= 0x00000000ffffffffL, in writeUnsigned4Le() 105 value); in writeUnsigned4Le() 107 output.put((byte) (value & 0xff)); in writeUnsigned4Le() 108 output.put((byte) ((value >> 8) & 0xff)); in writeUnsigned4Le() 109 output.put((byte) ((value >> 16) & 0xff)); in writeUnsigned4Le() 110 output.put((byte) ((value >> 24) & 0xff)); in writeUnsigned4Le() 120 public static void writeUnsigned2Le(@Nonnull ByteBuffer output, int value) in writeUnsigned2Le() argument 123 Preconditions.checkArgument(value >= 0, "value (%s) < 0", value); in writeUnsigned2Le() [all …]
|
/tools/asuite/atest/unittest_data/ |
D | VtsAndroidTest.xml.data | 2 <option name="config-descriptor:metadata" key="plan" value="vts-treble" /> 4 <option name="abort-on-push-failure" value="false"/> 5 <option name="push-group" value="push_file1.push"/> 6 … <option name="push" value="DATA/lib/libhidl-gen-hash.so->/data/local/tmp/32/libhidl-gen-hash.so"/> 7 …<option name="push" value="DATA/lib64/libhidl-gen-hash.so->/data/local/tmp/64/libhidl-gen-hash.so"… 8 …<option name="push" value="hal-hidl-hash/frameworks/hardware/interfaces/current.txt->/data/local/t… 9 …<option name="push" value="hal-hidl-hash/hardware/interfaces/current.txt->/data/local/tmp/hardware… 10 …<option name="push" value="hal-hidl-hash/system/hardware/interfaces/current.txt->/data/local/tmp/s… 11 …<option name="push" value="hal-hidl-hash/system/libhidl/transport/current.txt->/data/local/tmp/sys… 15 <option name="test-module-name" value="VtsTestName"/> [all …]
|
D | AndroidTest.xml.data | 2 <option name="test-suite-tag" value="cts" /> 3 <option name="not-shardable" value="true" /> 4 <option name="config-descriptor:metadata" key="component" value="graphics" /> 6 <option name="cleanup-apks" value="true" /> 7 <option name="test-file-name" value="CtsJankDeviceTestCases.apk" /> 8 <option name="test-file-name" value="is_not_module.apk" /> 9 …<option name="push" value="GtsEmptyTestApp.apk->/data/local/tmp/gts/packageinstaller/GtsEmptyTestA… 13 <option name="package" value="android.jank.cts" /> 14 <option name="runtime-hint" value="11m20s" /> 16 <option name="perf_arg" value="perf-setup.sh" />
|
D | AndroidDalvikTest.xml.data | 2 <option name="test-suite-tag" value="cts" /> 3 <option name="not-shardable" value="true" /> 4 <option name="config-descriptor:metadata" key="component" value="graphics" /> 6 <option name="cleanup-apks" value="true" /> 7 <option name="test-file-name" value="CtsJankDeviceTestCases.apk" /> 8 <option name="test-file-name" value="is_not_module.apk" /> 9 …<option name="push" value="GtsEmptyTestApp.apk->/data/local/tmp/gts/packageinstaller/GtsEmptyTestA… 13 <option name="package" value="android.jank.cts" /> 14 <option name="runtime-hint" value="11m20s" /> 16 <option name="perf_arg" value="perf-setup.sh" />
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | LittleEndian.java | 73 public static void setInt8(byte[] dst, int offset, int value) { in setInt8() argument 74 dst[offset] = (byte) value; in setInt8() 80 public static void setInt16(byte[] dst, int offset, int value) { in setInt16() argument 81 dst[offset + 0] = (byte) (value & 0xFF); in setInt16() 82 dst[offset + 1] = (byte) ((value >>> 8) & 0xFF); in setInt16() 88 public static void setInt32(byte[] dst, int offset, long value) in setInt32() argument 91 if (value > Integer.MAX_VALUE) { in setInt32() 93 value + " can not be represented in a 32bit dword"); in setInt32() 96 dst[offset + 0] = (byte) (value & 0xFF); in setInt32() 97 dst[offset + 1] = (byte) ((value >>> 8) & 0xFF); in setInt32() [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/ |
D | jaybird_x3.py | 43 self._ensure_config_contains_relays(button.value for button in Buttons) 49 self.relays[Buttons.POWER.value].set_nc_for(LONG_PRESS_WAIT_TIME) 56 self.relays[Buttons.POWER.value].set_nc_for(POWER_ON_WAIT_TIME) 64 self.relays[Buttons.POWER.value].set_nc_for(LONG_PRESS_WAIT_TIME) 69 self.relays[Buttons.POWER.value].set_nc_for(SHORT_PRESS_WAIT_TIME) 74 self.relays[Buttons.POWER.value].set_nc_for(MED_PRESS_WAIT_TIME) 79 self.relays[Buttons.POWER.value].set_nc_for(SHORT_PRESS_WAIT_TIME) 84 self.relays[Buttons.POWER.value].set_nc_for(MED_PRESS_WAIT_TIME) 89 self.relays[Buttons.VOLUME_UP.value].set_nc_for(MED_PRESS_WAIT_TIME) 94 self.relays[Buttons.VOLUME_DOWN.value].set_nc_for(MED_PRESS_WAIT_TIME) [all …]
|
D | earstudio_receiver.py | 40 self._ensure_config_contains_relays(button.value for button in Buttons) 51 self.relays[Buttons.PLAY_PAUSE.value].set_nc_for(MEDIUM_PRESS_WAIT_TIME) 60 self.relays[Buttons.PLAY_PAUSE.value].set_nc_for(LONG_PRESS_WAIT_TIME) 69 self.relays[Buttons.PLAY_PAUSE.value].set_nc_for(SHORT_PRESS_WAIT_TIME) 78 self.relays[Buttons.PLAY_PAUSE.value].set_nc_for(SHORT_PRESS_WAIT_TIME) 86 self.relays[Buttons.PLAY_PAUSE.value].set_nc_for(MEDIUM_PRESS_WAIT_TIME) 94 self.relays[Buttons.PLAY_PAUSE.value].set_nc_for(SHORT_PRESS_WAIT_TIME) 99 self.relays[Buttons.NEXT.value].set_nc_for(SHORT_PRESS_WAIT_TIME) 109 self.relays[Buttons.NEXT.value].set_nc_for(MEDIUM_PRESS_WAIT_TIME) 114 self.relays[Buttons.PREVIOUS.value].set_nc_for(SHORT_PRESS_WAIT_TIME) [all …]
|
D | i6s_headset.py | 41 self._ensure_config_contains_relays(button.value for button in Buttons) 49 self.relays[Buttons.PAIR.value].set_no_for(PAIRING_MODE_WAIT_TIME) 53 self.relays[Buttons.PAIR.value].set_no_for(PAIRING_MODE_WAIT_TIME) 57 self.relays[Buttons.POWER.value].set_no_for(WAIT_TIME) 65 self.relays[Buttons.PLAY_PAUSE.value].set_no_for(WAIT_TIME) 69 self.relays[Buttons.NEXT.value].set_no_for(WAIT_TIME) 73 self.relays[Buttons.PREVIOUS.value].set_no_for(WAIT_TIME) 77 self.relays[Buttons.VOLUME_UP.value].set_no_for(WAIT_TIME) 81 self.relays[Buttons.VOLUME_DOWN.value].set_no_for(WAIT_TIME) 86 self.relays[Buttons.POWER.value].set_no_for(WAIT_TIME) [all …]
|
D | dongles.py | 44 self._ensure_config_contains_relay(Buttons.ACTION.value) 51 self.relays[Buttons.ACTION.value].set_nc_for( 56 self.relays[Buttons.ACTION.value].set_nc_for( 61 self.relays[Buttons.ACTION.value].set_nc_for( 82 self._ensure_config_contains_relays(button.value for button in Buttons) 97 self.relays[Buttons.ACTION.value].set_nc_for( 102 self.relays[Buttons.ACTION.value].set_nc_for( 108 self.relays[Buttons.ACTION.value].set_nc_for( 114 self.relays[Buttons.NEXT.value].set_nc_for( 120 self.relays[Buttons.PREVIOUS.value].set_nc_for(
|
/tools/test/connectivity/acts/framework/acts/ |
D | config_parser.py | 45 for k in keys.Config.reserved_keys.value: 48 if (k == keys.Config.key_test_paths.value 49 or k == keys.Config.key_log_path.value): 94 for file_path_key in keys.Config.file_path_keys.value: 191 testbeds = configs[keys.Config.key_testbed.value] 195 tb_dict[testbed[keys.Config.key_testbed_name.value]] = testbed 201 testbed[keys.Config.key_testbed_name.value] = name 214 if (keys.Config.key_log_path.value not in configs 218 configs[keys.Config.key_log_path.value] = os.environ[_ENV_ACTS_LOGPATH] 219 if (keys.Config.key_test_paths.value not in configs [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/engine/ |
D | calibration.py | 36 def add(self, channel, origin, granularity, value): argument 83 def add(self, channel, origin, granularity, value): argument 95 window.append(value) 121 def add(self, channel, origin, granularity, value): argument 133 self._calibrations[(channel, origin, granularity)] = value 164 value = calibration_collection.get(*key) 168 value = calibration_error 169 self._calibrations[key] = value 177 value = self._calibrations[(channel, origin, granularity)] 178 if isinstance(value, CalibrationError): [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | ZipUtils.java | 296 static void setUnsignedInt16(ByteBuffer buffer, int offset, int value) { in setUnsignedInt16() argument 297 if ((value < 0) || (value > 0xffff)) { in setUnsignedInt16() 298 throw new IllegalArgumentException("uint16 value of out range: " + value); in setUnsignedInt16() 300 buffer.putShort(offset, (short) value); in setUnsignedInt16() 303 static void setUnsignedInt32(ByteBuffer buffer, int offset, long value) { in setUnsignedInt32() argument 304 if ((value < 0) || (value > 0xffffffffL)) { in setUnsignedInt32() 305 throw new IllegalArgumentException("uint32 value of out range: " + value); in setUnsignedInt32() 307 buffer.putInt(offset, (int) value); in setUnsignedInt32() 310 public static void putUnsignedInt16(ByteBuffer buffer, int value) { in putUnsignedInt16() argument 311 if ((value < 0) || (value > 0xffff)) { in putUnsignedInt16() [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_retail_ap/ |
D | netgear_r7000.py | 145 for key, value in self.config_page_fields.items(): 149 config_item = browser.find_by_name(value) 155 config_item = browser.find_by_name(value) 158 config_item.first.value] 162 config_item.first.value] 165 config_item.first.value] 169 self.ap_settings[key[0]][key[1]] = item.value 171 config_item = browser.find_by_name(value) 173 key[1]] = config_item.first.value 193 for key, value in self.config_page_fields.items(): [all …]
|
D | netgear_rax200.py | 227 for key, value in self.config_page_fields.items(): 231 config_item = browser.find_by_name(value) 237 config_item = browser.find_by_name(value) 243 config_item.first.value] 247 config_item.first.value] 250 config_item.first.value] 254 self.ap_settings[key[0]][key[1]] = item.value 256 config_item = browser.find_by_name(value) 258 key[1]] = config_item.first.value 281 for key, value in self.config_page_fields.items(): [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | power_metrics.py | 75 def __init__(self, value, unit_type, unit, name=None): argument 80 self.value = value 104 return self.value == other.to_unit(self.unit).value 107 return self.value < other.to_unit(self.unit).value 118 return Metric(self.value + other.to_unit(self.unit).value, 125 return Metric(self.value - other.to_unit(self.unit).value, 131 return '%g%s' % (self.value, self.unit) 146 new_value = self.value * ( 192 SECOND).value 200 SECOND).value [all …]
|
/tools/tradefederation/prebuilts/filegroups/tradefed/ |
D | tradefed-test-framework.jar | ... .google.protobuf.Descriptors$FieldDescriptor field
Object value
public android.SectionFlags$Builder clearField (com. ... |
D | tradefed-isolation.jar | ... .google.protobuf.Descriptors$FieldDescriptor field
Object value
public com.android.tradefed.isolation.FilterSpec ... |
/tools/test/connectivity/acts_tests/tests/google/bt/performance/ |
D | BtInterferenceRSSITest.py | 35 def set(self, attenuator, value): argument 36 self.log.debug("Set attenuator %s to %s" % (attenuator.idx, value)) 37 attenuator.set_atten(int(value)) 39 def wait_seconds(self, attenuator, value): argument 41 (attenuator.idx, value)) 42 time.sleep(float(value)) 49 method, value = action.split(":") 50 getattr(self, method)(attenuator, value) 52 def set_all_attenuators(self, value): argument 54 attenuator.set_atten(value)
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/bt/ |
D | hfp_lib.py | 210 def setSpeakerGain(self, value): argument 220 test_args = {"value": value } 226 def setMicrophoneGain(self, value): argument 236 test_args = {"value": value } 242 def setServiceAvailable(self, value): argument 252 test_args = {"value": value } 258 def setRoaming(self, value): argument 268 test_args = {"value": value } 274 def setSignalStrength(self, value): argument 284 test_args = {"value": value } [all …]
|
/tools/test/graphicsbenchmark/performance_tests/deviceside/src/com/android/game/qualification/device/ |
D | GameQualificationTest.java | 66 @Parameter(value = 0) 69 @Parameter(value = 1) 101 boolean value = Boolean.valueOf(argument.getValue()); in startApp() 102 intent.putExtra(argument.getKey(), value); in startApp() local 106 byte value = Byte.valueOf(argument.getValue()); in startApp() 107 intent.putExtra(argument.getKey(), value); in startApp() local 111 int value = Integer.valueOf(argument.getValue()); in startApp() local 112 intent.putExtra(argument.getKey(), value); in startApp() local 116 long value = Long.valueOf(argument.getValue()); in startApp() local 117 intent.putExtra(argument.getKey(), value); in startApp() local [all …]
|