Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 149) sorted by relevance

123456

/tools/dexter/slicer/
Ddex_ir.cc118 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 …]
Dreader.cc73 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 …]
Dwriter.cc37 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/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/
Daudio_quality_measurement.py201 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/fuchsia_lib/
Dlight_lib.py62 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/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/google/protobuf/
Ddescriptor_pb2.py33 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_tests/acts_contrib/test_utils/bt/protos/
Dbluetooth_pb2.py34 name='A2DP_SOURCE_CODEC_UNKNOWN', index=0, number=0,
39 name='A2DP_SOURCE_CODEC_SBC', index=1, number=1,
44 name='A2DP_SOURCE_CODEC_AAC', index=2, number=2,
49 name='A2DP_SOURCE_CODEC_APTX', index=3, number=3,
54 name='A2DP_SOURCE_CODEC_APTX_HD', index=4, number=4,
59 name='A2DP_SOURCE_CODEC_LDAC', index=5, number=5,
80 name='PROFILE_UNKNOWN', index=0, number=0,
85 name='HEADSET', index=1, number=1,
90 name='A2DP', index=2, number=2,
95 name='HEALTH', index=3, number=3,
[all …]
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatType.java37 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/asuite/atest/tools/asuite/atest/tf_proto/
Dtest_record_pb2.py38 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 …]
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/
Daudiowear_pb2.py33 name='UNKNOWN_MESSAGE_GROUP', index=0, number=0,
37 name='DEVICE_INPUT', index=1, number=1,
41 name='OTA', index=2, number=2,
45 name='DEVICE_CAPABILITY', index=3, number=3,
49 name='DEVICE_STATUS', index=4, number=4,
53 name='LOGGING', index=5, number=5,
57 name='SENSORS', index=6, number=6,
61 name='COMPANION_STATUS', index=7, number=7,
65 name='DEVICE_COMMAND', index=8, number=8,
69 name='BISTO_SETTINGS', index=9, number=9,
[all …]
Dnanopb_pb2.py35 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/test/connectivity/acts_tests/acts_contrib/test_utils/bt/loggers/protos/
Dbluetooth_metric_pb2.py35 name='SBC', index=0, number=0,
40 name='AAC', index=1, number=1,
45 name='APTX', index=2, number=2,
50 name='APTX_HD', index=3, number=3,
55 name='LDAC', index=4, number=4,
75 name='A2DP', index=0, number=0,
80 name='HFP', index=1, number=1,
85 name='HAP', index=2, number=2,
105 name='RFCOMM', index=0, number=0,
110 name='L2CAP', index=1, number=1,
[all …]
/tools/test/connectivity/acts/framework/acts/libs/testtracker/protos/gen/
Dtesttracker_result_pb2.py34 name='STATUS_UNKNOWN', index=0, number=0,
38 name='PASSED', index=1, number=1,
42 name='FAILED', index=2, number=2,
46 name='ERROR', index=3, number=3,
50 name='INTERRUPTED', index=4, number=4,
54 name='CANCELLED', index=5, number=5,
58 name='FILTERED', index=6, number=6,
62 name='SKIPPED', index=7, number=7,
66 name='SUPPRESSED', index=8, number=8,
70 name='BLOCKED', index=9, number=9,
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/loggers/protos/
Dtelephony_metric_pb2.py35 name='UNAVAILABLE_NETWORK_TYPE', index=0, number=-2,
40 name='CALL_SETUP_FAILURE', index=1, number=-1,
45 name='SUCCESS', index=2, number=0,
50 name='INITIATE_FAILED', index=3, number=1,
55 name='NO_RING_EVENT_OR_ANSWER_FAILED', index=4, number=2,
60 name='NO_CALL_ID_FOUND', index=5, number=3,
65 name='CALL_STATE_NOT_ACTIVE_DURING_ESTABLISHMENT', index=6, number=4,
70 name='AUDIO_STATE_NOT_INCALL_DURING_ESTABLISHMENT', index=7, number=5,
75 name='AUDIO_STATE_NOT_INCALL_AFTER_CONNECTED', index=8, number=6,
80 name='CALL_DROP_OR_WRONG_STATE_DURING_ESTABLISHMENT', index=9, number=7,
[all …]
/tools/asuite/atest/proto/
Dinternal_user_log_pb2.py40 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 …]
Dexternal_user_log_pb2.py63 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-py2/proto/
Dinternal_user_log_pb2.py40 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 …]
Dexternal_user_log_pb2.py63 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/dexter/slicer/export/slicer/
Dreader.h49 const char* GetStringMUTF8(dex::u4 index) const;
61 void CreateClassIr(dex::u4 index);
66 ir::Class* GetClass(dex::u4 index);
67 ir::Type* GetType(dex::u4 index);
68 ir::FieldDecl* GetFieldDecl(dex::u4 index);
69 ir::MethodDecl* GetMethodDecl(dex::u4 index);
70 ir::Proto* GetProto(dex::u4 index);
71 ir::String* GetString(dex::u4 index);
90 ir::Class* ParseClass(dex::u4 index);
92 ir::Type* ParseType(dex::u4 index);
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/
DDownloadStressTest.py113 for index, url in enumerate(download_urls):
114 self.log.info('Create and start thread %d.' % index)
126 for index, t in enumerate(download_threads):
132 raise signals.TestFailure('Thread %d timedout' % index)
134 for index in range(0, len(self.download_threads_result)):
135 if not self.download_threads_result[index]:
136 self.log.info("Download failed for %d" % index)
138 index)
144 for index in range(self.num_of_iterations):
168 for index, t in enumerate(download_threads):
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/x509/
DTBSCertificate.java36 index = 0,
41 @Asn1Field(index = 1, type = Asn1Type.INTEGER)
44 @Asn1Field(index = 2, type = Asn1Type.SEQUENCE)
47 @Asn1Field(index = 3, type = Asn1Type.CHOICE)
50 @Asn1Field(index = 4, type = Asn1Type.SEQUENCE)
53 @Asn1Field(index = 5, type = Asn1Type.CHOICE)
56 @Asn1Field(index = 6, type = Asn1Type.SEQUENCE)
59 @Asn1Field(index = 7,
66 @Asn1Field(index = 8,
73 @Asn1Field(index = 9,
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DAndroidBinXmlParser.java165 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/asuite/atest-py2/tools/
Datest_tools.py82 for index in INDEXES:
83 if os.path.isfile(index):
84 os.remove(index)
201 def _index_testable_modules(index): argument
209 with open(index, 'wb') as cache:
216 def _index_cc_classes(output, index): argument
230 _dump_index(dump_file=index, output=output,
234 def _index_java_classes(output, index): argument
247 _dump_index(dump_file=index, output=output,
251 def _index_packages(output, index): argument
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/loggers/protos/
Dpower_metric_pb2.py37 …power', full_name='wireless.android.platform.testing.power.metrics.PowerMetric.avg_power', index=0,
44 …testbed', full_name='wireless.android.platform.testing.power.metrics.PowerMetric.testbed', index=1,
51 …, full_name='wireless.android.platform.testing.power.metrics.PowerMetric.cellular_metric', index=2,
58 …='branch', full_name='wireless.android.platform.testing.power.metrics.PowerMetric.branch', index=3,
65 …ild_id', full_name='wireless.android.platform.testing.power.metrics.PowerMetric.build_id', index=4,
72 …='target', full_name='wireless.android.platform.testing.power.metrics.PowerMetric.target', index=5,
79 …ent', full_name='wireless.android.platform.testing.power.metrics.PowerMetric.avg_current', index=6,
86 …voltage', full_name='wireless.android.platform.testing.power.metrics.PowerMetric.voltage', index=7,
93 …ame='wireless.android.platform.testing.power.metrics.PowerMetric.test_suite_display_name', index=8,
100 …name='wireless.android.platform.testing.power.metrics.PowerMetric.test_case_display_name', index=9,
[all …]
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DLoopSummary.java54 void addToMetricData(DeviceMetricData runData, int index, MetricSummary.TimeType type) { in addToMetricData() argument
56 getMetricKey(type, index, "frame_count"), in addToMetricData()
63 getMetricKey(type, index, "duration"), in addToMetricData()
66 getMetricKey(type, index, "jank_rate"), in addToMetricData()
71 getMetricKey(type, index, "min_frametime"), in addToMetricData()
74 getMetricKey(type, index, "max_frametime"), in addToMetricData()
77 getMetricKey(type, index, "frametime"), in addToMetricData()
80 getMetricKey(type, index, "90th_percentile"), in addToMetricData()
83 getMetricKey(type, index, "95th_percentile"), in addToMetricData()
86 getMetricKey(type, index, "99th_percentile"), in addToMetricData()
[all …]

123456