/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Options.kt | 767 var index = 0 in <lambda>() variable 768 while (index < args.size) { in <lambda>() 770 when (val arg = args[index]) { in <lambda>() 791 val path = getValue(args, ++index) in <lambda>() 796 val path = getValue(args, ++index) in <lambda>() 812 val listString = getValue(args, ++index) in <lambda>() 822 subtractApi = stringToExistingFile(getValue(args, ++index)) in <lambda>() 828 getValue(args, ++index) in <lambda>() 834 getValue(args, ++index) in <lambda>() 839 val nextArg = getValue(args, ++index) in <lambda>() [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/google/protobuf/ |
D | descriptor_pb2.py | 33 name='TYPE_DOUBLE', index=0, number=1, 37 name='TYPE_FLOAT', index=1, number=2, 41 name='TYPE_INT64', index=2, number=3, 45 name='TYPE_UINT64', index=3, number=4, 49 name='TYPE_INT32', index=4, number=5, 53 name='TYPE_FIXED64', index=5, number=6, 57 name='TYPE_FIXED32', index=6, number=7, 61 name='TYPE_BOOL', index=7, number=8, 65 name='TYPE_STRING', index=8, number=9, 69 name='TYPE_GROUP', index=9, number=10, [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/ |
D | audio_quality_measurement.py | 201 for index in range(0, rate * 2): 202 sample = 2.0 * math.pi * frequency * float(index) / float(rate) 319 for index in range(left_border, right_border): 320 result.append(temp[index - temp_left_border]) 359 for index in range(0, length): 360 while left_border < index - side_block_size: 363 while right_border < min(length, index + side_block_size): 367 left_average_value = float(left_block_sum) / (index - left_border + 1) 368 right_average_value = float(right_block_sum) / (right_border - index) 369 left_average_array[index] = left_average_value [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/ |
D | apollo_qa_pb2.py | 35 name='TRACE', index=0, number=1, 39 name='GET_VER_RESPONSE', index=1, number=2, 43 name='GET_CODEC_RESPONSE', index=2, number=3, 47 name='GET_DSP_STATUS_RESPONSE', index=3, number=4, 51 name='FACTORY_PLAY_SOUND', index=4, number=5, 55 name='FACTORY_INFO_REQUEST', index=5, number=6, 59 name='FACTORY_INFO_RESPONSE', index=6, number=7, 78 name='OTA_ERASE_PARTITION', index=0, number=1, 82 name='OTA_START_PARTITION_WRITE', index=1, number=2, 86 name='OTA_FINISHED_PARTITION_WRITE', index=2, number=3, [all …]
|
D | nanopb_pb2.py | 35 name='FT_DEFAULT', index=0, number=0, 39 name='FT_CALLBACK', index=1, number=1, 43 name='FT_POINTER', index=2, number=4, 47 name='FT_STATIC', index=3, number=2, 51 name='FT_IGNORE', index=4, number=3, 70 name='IS_DEFAULT', index=0, number=0, 74 name='IS_8', index=1, number=8, 78 name='IS_16', index=2, number=16, 82 name='IS_32', index=3, number=32, 86 name='IS_64', index=4, number=64, [all …]
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/ |
D | StringSearch.kt | 69 var index = startIndex + lookFor.length - 1 in find() variable 71 while (index <= endIndex) { in find() 72 if (index > reader.endIndex) { in find() 73 if (!reader.loadIndex(index)) return -1 in find() 79 while (reader.windowFor(index) !== reader.windowFor(index - lookFor.length + 1)) { in find() 81 while (lookForIndex >= 0 && reader[index] == lookFor[lookForIndex].toByte()) { in find() 82 index-- in find() 86 return index + 1 in find() 88 index += maxOf(skipLut[reader[index].toInt() and 0xFF], suffixSkip[lookForIndex]) in find() 90 if (index > reader.endIndex) { in find() [all …]
|
D | BufferReader.kt | 26 open class BufferReaderState(var buffer: ByteArray, var index: Int, var endIndexExclusive: Int) { in isDigit() variable in trebuchet.util.BufferReaderState 29 inline fun peek() = buffer[index] in isDigit() 31 inline fun isDigit() = buffer[index].isDigit() in isDigit() 34 index++ in isDigit() 38 index += count in isDigit() 42 while (index < endIndexExclusive && buffer[index] == char) { index++ } in isDigit() 50 while (index < endIndexExclusive && !cb(peek())) { index++ } in isDigit() 53 inline fun end() { index = endIndexExclusive } in isDigit() 56 val foundAt = search.find(buffer, index, endIndexExclusive) in isDigit() 57 index = if (foundAt != -1) foundAt else endIndexExclusive in isDigit() [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/loggers/protos/ |
D | bluetooth_metric_pb2.py | 35 name='SBC', index=0, number=0, 39 name='AAC', index=1, number=1, 43 name='APTX', index=2, number=2, 47 name='APTX_HD', index=3, number=3, 51 name='LDAC', index=4, number=4, 69 name='A2DP', index=0, number=0, 73 name='HFP', index=1, number=1, 77 name='HAP', index=2, number=2, 95 name='RFCOMM', index=0, number=0, 99 name='L2CAP', index=1, number=1, [all …]
|
/tools/dexter/slicer/ |
D | dex_ir.cc | 118 items[i]->index = i; in IndexItems() 130 if (irClass->index == dex::u4(-1)) { in TopSortClassIndex() 144 irClass->index = (*nextIndex)++; in TopSortClassIndex() 152 irClass->index = dex::u4(-1); in SortClassIndexes() 165 SLICER_CHECK(a->decl->index != b->decl->index || a == b); in SortEncodedFields() 166 return a->decl->index < b->decl->index; in SortEncodedFields() 174 SLICER_CHECK(a->decl->index != b->decl->index || a == b); in SortEncodedMethods() 175 return a->decl->index < b->decl->index; in SortEncodedMethods() 206 return a->descriptor->index < b->descriptor->index; in Normalize() 213 if (a->return_type->index != b->return_type->index) { in Normalize() [all …]
|
D | reader.cc | 73 const char* Reader::GetStringMUTF8(dex::u4 index) const { in GetStringMUTF8() 74 if (index == dex::kNoIndex) { in GetStringMUTF8() 77 const dex::u1* strData = GetStringData(index); in GetStringMUTF8() 89 void Reader::CreateClassIr(dex::u4 index) { in CreateClassIr() argument 90 auto ir_class = GetClass(index); in CreateClassIr() 121 ir::Class* Reader::GetClass(dex::u4 index) { in GetClass() argument 122 SLICER_CHECK(index != dex::kNoIndex); in GetClass() 123 auto& p = dex_ir_->classes_map[index]; in GetClass() 127 auto newClass = ParseClass(index); in GetClass() 130 dex_ir_->classes_indexes.MarkUsedIndex(index); in GetClass() [all …]
|
D | writer.cc | 37 return ir_node != nullptr ? ir_node->index : dex::kNoIndex; in OptIndex() 135 WriteIntValue<dex::u4>(type, ir_value->u.string_value->index, data); in WriteEncodedValue() 139 WriteIntValue<dex::u4>(type, ir_value->u.type_value->index, data); in WriteEncodedValue() 143 WriteIntValue<dex::u4>(type, ir_value->u.field_value->index, data); in WriteEncodedValue() 147 WriteIntValue<dex::u4>(type, ir_value->u.method_value->index, data); in WriteEncodedValue() 151 WriteIntValue<dex::u4>(type, ir_value->u.enum_value->index, data); in WriteEncodedValue() 201 data.PushULeb128(ir_annotation->type->index); in WriteAnnotation() 204 data.PushULeb128(irAnnotationElement->name->index); in WriteAnnotation() 569 dexTypeId->descriptor_idx = ir_type->descriptor->index; in FillTypes() 579 dexProtoId->shorty_idx = irProto->shorty->index; in FillProtos() [all …]
|
/tools/asuite/atest/tools/tradefederation/core/proto/ |
D | test_record_pb2.py | 38 name='UNKNOWN', index=0, number=0, 42 name='PASS', index=1, number=1, 46 name='FAIL', index=2, number=2, 50 name='IGNORED', index=3, number=3, 54 name='ASSUMPTION_FAILURE', index=4, number=4, 73 name='UNSET', index=0, number=0, 77 name='TEST_FAILURE', index=1, number=1, 81 name='TIMED_OUT', index=2, number=2, 85 name='CANCELLED', index=3, number=3, 89 name='INFRA_FAILURE', index=4, number=10, [all …]
|
D | metric_measurement_pb2.py | 34 name='DIRECTIONALITY_UNSPECIFIED', index=0, number=0, 38 name='UP_BETTER', index=1, number=1, 42 name='DOWN_BETTER', index=2, number=2, 46 name='CLOSER_BETTER', index=3, number=3, 65 name='RAW', index=0, number=0, 69 name='PROCESSED', index=1, number=1, 98 name='single_string', full_name='tradefed.metric.Measurements.single_string', index=0, 105 name='single_int', full_name='tradefed.metric.Measurements.single_int', index=1, 112 name='single_double', full_name='tradefed.metric.Measurements.single_double', index=2, 119 name='string_values', full_name='tradefed.metric.Measurements.string_values', index=3, [all …]
|
/tools/tradefederation/core/atest/proto/ |
D | internal_user_log_pb2.py | 40 name='command_line', full_name='AtestLogEventInternal.AtestStartEvent.command_line', index=0, 47 …name='test_references', full_name='AtestLogEventInternal.AtestStartEvent.test_references', index=1, 54 name='cwd', full_name='AtestLogEventInternal.AtestStartEvent.cwd', index=2, 61 name='os', full_name='AtestLogEventInternal.AtestStartEvent.os', index=3, 91 name='duration', full_name='AtestLogEventInternal.AtestExitEvent.duration', index=0, 98 name='exit_code', full_name='AtestLogEventInternal.AtestExitEvent.exit_code', index=1, 105 name='stacktrace', full_name='AtestLogEventInternal.AtestExitEvent.stacktrace', index=2, 112 name='logs', full_name='AtestLogEventInternal.AtestExitEvent.logs', index=3, 142 name='duration', full_name='AtestLogEventInternal.FindTestFinishEvent.duration', index=0, 149 name='success', full_name='AtestLogEventInternal.FindTestFinishEvent.success', index=1, [all …]
|
D | external_user_log_pb2.py | 63 name='duration', full_name='AtestLogEventExternal.AtestExitEvent.duration', index=0, 70 name='exit_code', full_name='AtestLogEventExternal.AtestExitEvent.exit_code', index=1, 100 name='duration', full_name='AtestLogEventExternal.FindTestFinishEvent.duration', index=0, 107 name='success', full_name='AtestLogEventExternal.FindTestFinishEvent.success', index=1, 137 name='duration', full_name='AtestLogEventExternal.BuildFinishEvent.duration', index=0, 144 name='success', full_name='AtestLogEventExternal.BuildFinishEvent.success', index=1, 174 name='duration', full_name='AtestLogEventExternal.RunnerFinishEvent.duration', index=0, 181 name='success', full_name='AtestLogEventExternal.RunnerFinishEvent.success', index=1, 188 name='runner_name', full_name='AtestLogEventExternal.RunnerFinishEvent.runner_name', index=2, 218 name='duration', full_name='AtestLogEventExternal.RunTestsFinishEvent.duration', index=0, [all …]
|
/tools/asuite/atest/proto/ |
D | internal_user_log_pb2.py | 40 name='command_line', full_name='AtestLogEventInternal.AtestStartEvent.command_line', index=0, 47 …name='test_references', full_name='AtestLogEventInternal.AtestStartEvent.test_references', index=1, 54 name='cwd', full_name='AtestLogEventInternal.AtestStartEvent.cwd', index=2, 61 name='os', full_name='AtestLogEventInternal.AtestStartEvent.os', index=3, 91 name='duration', full_name='AtestLogEventInternal.AtestExitEvent.duration', index=0, 98 name='exit_code', full_name='AtestLogEventInternal.AtestExitEvent.exit_code', index=1, 105 name='stacktrace', full_name='AtestLogEventInternal.AtestExitEvent.stacktrace', index=2, 112 name='logs', full_name='AtestLogEventInternal.AtestExitEvent.logs', index=3, 142 name='duration', full_name='AtestLogEventInternal.FindTestFinishEvent.duration', index=0, 149 name='success', full_name='AtestLogEventInternal.FindTestFinishEvent.success', index=1, [all …]
|
D | external_user_log_pb2.py | 63 name='duration', full_name='AtestLogEventExternal.AtestExitEvent.duration', index=0, 70 name='exit_code', full_name='AtestLogEventExternal.AtestExitEvent.exit_code', index=1, 100 name='duration', full_name='AtestLogEventExternal.FindTestFinishEvent.duration', index=0, 107 name='success', full_name='AtestLogEventExternal.FindTestFinishEvent.success', index=1, 137 name='duration', full_name='AtestLogEventExternal.BuildFinishEvent.duration', index=0, 144 name='success', full_name='AtestLogEventExternal.BuildFinishEvent.success', index=1, 174 name='duration', full_name='AtestLogEventExternal.RunnerFinishEvent.duration', index=0, 181 name='success', full_name='AtestLogEventExternal.RunnerFinishEvent.success', index=1, 188 name='runner_name', full_name='AtestLogEventExternal.RunnerFinishEvent.runner_name', index=2, 218 name='duration', full_name='AtestLogEventExternal.RunTestsFinishEvent.duration', index=0, [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/ |
D | light_lib.py | 62 def getInfo(self, index): argument 74 test_args = {"index": index} 80 def getCurrentSimpleValue(self, index): argument 95 test_args = {"index": index} 101 def setSimpleValue(self, index, value): argument 115 test_args = {"index": index, "value": value} 121 def getCurrentBrightnessValue(self, index): argument 136 test_args = {"index": index} 142 def setBrightnessValue(self, index, value): argument 156 test_args = {"index": index, "value": value} [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | Javadoc.kt | 217 val index = existingDoc.indexOf('\n') in trimDocIndent() constant 218 if (index == -1) { in trimDocIndent() 222 return existingDoc.substring(0, index + 1) + in trimDocIndent() 223 existingDoc.substring(index + 1).trimIndent().split('\n').joinToString(separator = "\n") { in trimDocIndent() 240 val index = existingDoc.indexOf('\n') in insertInto() constant 241 val prefixWithStar = index == -1 || existingDoc[index + 1] == '*' || in insertInto() 242 existingDoc[index + 1] == ' ' && existingDoc[index + 2] == '*' in insertInto() 524 var index = 0 in containsLinkTags() variable 526 index = documentation.indexOf('@', index) in containsLinkTags() 527 if (index == -1) { in containsLinkTags() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | AndroidBinXmlParser.java | 165 public int getAttributeNameResourceId(int index) throws XmlParserException { in getAttributeNameResourceId() argument 166 return getAttribute(index).getNameResourceId(); in getAttributeNameResourceId() 176 public String getAttributeName(int index) throws XmlParserException { in getAttributeName() argument 177 return getAttribute(index).getName(); in getAttributeName() 188 public String getAttributeNamespace(int index) throws XmlParserException { in getAttributeNamespace() argument 189 return getAttribute(index).getNamespace(); in getAttributeNamespace() 200 public int getAttributeValueType(int index) throws XmlParserException { in getAttributeValueType() argument 201 int type = getAttribute(index).getValueType(); in getAttributeValueType() 225 public int getAttributeIntValue(int index) throws XmlParserException { in getAttributeIntValue() argument 226 return getAttribute(index).getIntValue(); in getAttributeIntValue() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextTypeItem.kt | 90 val index = erased.indexOf('[') in asClass() constant 91 if (index != -1) { in asClass() 92 erased.substring(0, index) in asClass() 283 val index = s.indexOf('<') in markRecent() constant 284 if (index != -1) { in markRecent() 286 for (i in index..s.length) { in markRecent() 294 s.substring(0, index) in markRecent() 296 s.substring(0, index) + s.substring(i + 1) in markRecent() 302 return s.substring(0, index) in markRecent() 373 val index = s.indexOf('@') in markRecent() constant [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | OptionSetter.java | 582 Integer index = freqMap.get(className); in makeOptionMap() local 583 index = index == null ? 1 : index + 1; in makeOptionMap() 584 freqMap.put(className, index); in makeOptionMap() 585 addOptionsForObject(objectSource, optionMap, index, null); in makeOptionMap() 589 index = freqMap.get(deviceObject.getClass().getName()); in makeOptionMap() 590 index = index == null ? 1 : index + 1; in makeOptionMap() 591 freqMap.put(deviceObject.getClass().getName(), index); in makeOptionMap() local 594 if (tracked != null && !index.equals(tracked)) { in makeOptionMap() 595 index = tracked; in makeOptionMap() 597 addOptionsForObject(deviceObject, optionMap, index, in makeOptionMap() [all …]
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | FatType.java | 37 long readEntry(byte[] data, int index) { in readEntry() argument 38 final int idx = (int) (index * 1.5); in readEntry() 43 if ((index % 2) == 0) { in readEntry() 51 void writeEntry(byte[] data, int index, long entry) { in writeEntry() argument 52 final int idx = (int) (index * 1.5); in writeEntry() 54 if ((index % 2) == 0) { in writeEntry() 70 long readEntry(byte[] data, int index) { in readEntry() argument 71 final int idx = index << 1; in readEntry() 78 void writeEntry(byte[] data, int index, long entry) { in writeEntry() argument 79 final int idx = index << 1; in writeEntry() [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/power/loggers/protos/ |
D | power_metric_pb2.py | 36 …power', full_name='wireless.android.platform.testing.power.metrics.PowerMetric.avg_power', index=0, 43 …testbed', full_name='wireless.android.platform.testing.power.metrics.PowerMetric.testbed', index=1, 50 …, full_name='wireless.android.platform.testing.power.metrics.PowerMetric.cellular_metric', index=2, 57 …='branch', full_name='wireless.android.platform.testing.power.metrics.PowerMetric.branch', index=3, 64 …ild_id', full_name='wireless.android.platform.testing.power.metrics.PowerMetric.build_id', index=4, 71 …='target', full_name='wireless.android.platform.testing.power.metrics.PowerMetric.target', index=5, 78 …ent', full_name='wireless.android.platform.testing.power.metrics.PowerMetric.avg_current', index=6, 85 …voltage', full_name='wireless.android.platform.testing.power.metrics.PowerMetric.voltage', index=7, 92 …ame='wireless.android.platform.testing.power.metrics.PowerMetric.test_suite_display_name', index=8, 99 …name='wireless.android.platform.testing.power.metrics.PowerMetric.test_case_display_name', index=9, [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/loggers/protos/ |
D | telephony_metric_pb2.py | 34 name='UNAVAILABLE_NETWORK_TYPE', index=0, number=-2, 38 name='CALL_SETUP_FAILURE', index=1, number=-1, 42 name='SUCCESS', index=2, number=0, 46 name='INITIATE_FAILED', index=3, number=1, 50 name='NO_RING_EVENT_OR_ANSWER_FAILED', index=4, number=2, 54 name='NO_CALL_ID_FOUND', index=5, number=3, 58 name='CALL_STATE_NOT_ACTIVE_DURING_ESTABLISHMENT', index=6, number=4, 62 name='AUDIO_STATE_NOT_INCALL_DURING_ESTABLISHMENT', index=7, number=5, 66 name='AUDIO_STATE_NOT_INCALL_AFTER_CONNECTED', index=8, number=6, 70 name='CALL_DROP_OR_WRONG_STATE_DURING_ESTABLISHMENT', index=9, number=7, [all …]
|