/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/ |
D | HostInfoStore.java | 117 public void addResult(String name, int value) throws IOException { in addResult() argument 120 mJsonWriter.value(value); in addResult() 127 public void addResult(String name, long value) throws IOException { in addResult() argument 130 mJsonWriter.value(value); in addResult() 137 public void addResult(String name, float value) throws IOException { in addResult() argument 140 mJsonWriter.value(value); in addResult() 147 public void addResult(String name, double value) throws IOException { in addResult() argument 150 mJsonWriter.value(value); in addResult() 157 public void addResult(String name, boolean value) throws IOException { in addResult() argument 160 mJsonWriter.value(value); in addResult() [all …]
|
D | MetricsReportLog.java | 84 public void addValue(String source, String message, double value, ResultType type, in addValue() argument 86 super.addValue(source, message, value, type, unit); in addValue() 88 store.addResult(message, value); in addValue() 98 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() argument 99 super.addValue(message, value, type, unit); in addValue() 101 store.addResult(message, value); in addValue() 139 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() argument 141 store.addResult(message, value); in addValue() 151 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue() argument 153 store.addResult(message, value); in addValue() [all …]
|
D | PropertyUtil.java | 107 String value = matcher.group(2); in getClientIds() local 109 clientIds.put(name, value); // only add name-value pair for client ids in getClientIds() 123 public static boolean propertyEquals(ITestDevice device, String property, String value) in propertyEquals() argument 125 if (value == null) { in propertyEquals() 128 return value.equals(device.getProperty(property)); in propertyEquals() 141 String value = device.getProperty(property); in propertyMatches() local 142 return (value == null) ? false : value.matches(regex); in propertyMatches() 150 String value = device.getProperty(property); in getPropertyInt() local 151 if (value == null) { in getPropertyInt() 155 return Integer.parseInt(value); in getPropertyInt()
|
/test/vti/test_serving/gae/webapp/src/endpoint/ |
D | endpoint_base.py | 60 def GetAttributes(self, value, assigned_only=False): argument 72 if inspect.isclass(value): 77 if (issubclass(value, messages.Message) 78 or issubclass(value, ndb.Model)): 80 x[0] for x in value.__dict__.items() 87 if isinstance(value, messages.Message): 89 x.name for x in value.all_fields() 91 value.get_assigned_value(x.name) not in [None, []]) 93 elif isinstance(value, ndb.Model): 95 x for x in list(value.to_dict()) [all …]
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | InfoStore.java | 73 abstract void addResult(String name, int value) throws IOException; in addResult() argument 78 abstract void addResult(String name, long value) throws IOException; in addResult() argument 83 abstract void addResult(String name, float value) throws IOException; in addResult() argument 88 abstract void addResult(String name, double value) throws IOException; in addResult() argument 93 abstract void addResult(String name, boolean value) throws IOException; in addResult() argument 98 abstract void addResult(String name, String value) throws IOException; in addResult() argument 177 protected static String checkString(String value) { in checkString() argument 178 if (value == null || value.isEmpty()) { in checkString() 181 if (value.length() > MAX_STRING_LENGTH) { in checkString() 182 return value.substring(0, MAX_STRING_LENGTH); in checkString() [all …]
|
/test/vti/test_serving/gae/frontend/src/app/ |
D | app.component.ts | 32 set sideNavOpened(value: boolean) { 33 this._sideNavOpened = value; 34 if (!value) { 38 selectedEntity: {name: string; value: any[]}[] = []; 47 Object.keys(entity).forEach(function(value){ 48 if (value !== 'urlsafe_key') { 50 name: value, 51 value: (entity[value] instanceof Array) ? entity[value] : [entity[value]]
|
/test/vti/dashboard/src/test/java/com/android/vts/util/ |
D | StatSummaryTest.java | 54 double value = rand.nextInt(1000); in testMin() local 55 if (value < min) min = value; in testMin() 56 test.updateStats(value); in testMin() 69 double value = rand.nextInt(1000); in testMax() local 70 if (value > max) max = value; in testMax() 71 test.updateStats(value); in testMax() 108 int value = rand.nextInt(1000); in testMerge() local 109 test.updateStats(value); in testMerge() 110 all.updateStats(value); in testMerge() 113 int value = rand.nextInt(1000); in testMerge() local [all …]
|
/test/vti/test_serving/gae/frontend/src/app/shared/filter/ |
D | filter.component.ts | 33 {value: FilterCondition.EqualTo, text: 'is equal to', sign: '='}, 34 {value: FilterCondition.LessThan, text: 'is less than', sign: '<'}, 35 {value: FilterCondition.GreaterThan, text: 'is greater than', sign: '>'}, 36 {value: FilterCondition.LessThanOrEqualTo, text: 'is less than or equal to', sign: '<='}, 37 {value: FilterCondition.GreaterThanOrEqualTo, text: 'is greater than or equal to', sign: '>='}, 38 {value: FilterCondition.NotEqualTo, text: 'is not equal to', sign: '!='}, 39 {value: FilterCondition.Has, text: 'has', sign: 'has'}, 49 this.currentFilter.value = ''; 62 this.currentFilter.value = ''; 70 this.currentFilter.value = ''; [all …]
|
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/ |
D | show_suite_release.jsp | 22 <c:set var="timeZone" value="America/Los_Angeles"/> 64 …var url = '<c:out value="${requestScope['javax.servlet.forward.servlet_path']}" escapeXml="false">… 65 …var params = $.deparam('<c:out value="${requestScope['javax.servlet.forward.query_string']}" escap… 121 <b>Plan: </b><span><c:out value="${plan}"></c:out></span> 130 …<input id="deviceBranch" type="text" value="<c:out value="${branch}"></c:out>" autocomplete="off" … 134 … <input id="host" type="text" value="<c:out value="${hostName}"></c:out>" autocomplete="off" /> 138 …<input id="deviceBuildId" type="text" value="<c:out value="${buildId}"></c:out>" autocomplete="off… 144 …<input id="deviceName" type="text" value="<c:out value="${deviceName}"></c:out>" autocomplete="off… 164 …<a class="<c:out value="${testCategoryType == '1' ? 'active' : 'inactive'}"></c:out>" href="${requ… 167 …<a class="<c:out value="${testCategoryType == '4' ? 'active' : 'inactive'}"></c:out>" href="${requ… [all …]
|
D | show_coverage_overview.jsp | 49 $.each(inputIdList, function( index, value ) { 50 var selectId = value.charAt(0).toUpperCase() + value.slice(1) 53 queryParam += value + "=" + result.trim() + "&"; 300 pieSliceText: 'value', 303 tooltip: {showColorCode: true, ignoreBounds: false, text: 'value'}, 353 <c:set var="branchVal" value='${fn:replace(branch, "\\\"", "")}'></c:set> 355 …<option value="" <c:if test="${empty branch}">disabled selected</c:if> >Choose your branch</option> 357 …<option value="${branchOption}" ${branchVal == branchOption ? 'selected' : ''}>${branchOption}</op… 363 <c:set var="deviceVal" value='${fn:replace(device, "\\\"", "")}'></c:set> 365 …<option value="" <c:if test="${empty device}">disabled selected</c:if> >Choose your device</option> [all …]
|
/test/vti/dashboard/src/main/webapp/js/ |
D | search_header.js | 22 var value = input.val(); 23 if (valueSet.has(value) || !value) { 31 var value = config.value; 41 if (value) { 42 input.attr('value', value); 52 config.value = input.val(); 66 if (values && values.length > 0 && value) { 136 container, label, value, filters, checkboxes, expand, onRefreshCallback) { argument 141 $('<span></span>').text(value).appendTo(header); 163 filters[keyName].value = defaultValue; [all …]
|
/test/vts/drivers/hal/libcodecoverage/ |
D | GcdaFile.h | 79 inline unsigned FromFile(unsigned value) { in FromFile() argument 81 value = (value >> 16) | (value << 16); in FromFile() 82 value = ((value & 0xff00ff) << 8) | ((value >> 8) & 0xff00ff); in FromFile() 84 return value; in FromFile()
|
/test/vts/runners/target/vts_hal_hidl_target/ |
D | VtsHalHidlTargetTestBase.cpp | 26 char value[PROP_VALUE_MAX] = {0}; in PropertyGet() local 27 __system_property_get(name, value); in PropertyGet() 28 return value; in PropertyGet() 38 std::string value(env_value); in VtsGetStub() local 39 if (value.compare("true") || value.compare("True") || value.compare("1")) { in VtsGetStub()
|
/test/vts-testcase/performance/fmq_benchmark/ |
D | FmqPerformanceTest.py | 122 (label, value) = read_result.split(": ") 124 read_latency.append(int(value)) 129 (label, value) = write_result.split(": ") 131 write_latency.append(int(value)) 149 for label, value in zip(read_label, read_latency): 152 value, self.THRESHOLD[bits][label], 154 value, label, self.THRESHOLD[bits][label])) 156 for label, value in zip(write_label, write_latency): 159 value, self.THRESHOLD[bits][label], 161 value, label, self.THRESHOLD[bits][label]))
|
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
D | StatSummary.java | 79 public void updateStats(double value) { in updateStats() argument 82 mean = oldMean + (value - oldMean) / n; in updateStats() 83 sumSq = sumSq + (value - mean) * (value - oldMean); in updateStats() 84 if (value < min) min = value; in updateStats() 85 if (value > max) max = value; in updateStats()
|
/test/vti/test_serving/gae/webapp/src/testing/ |
D | unittest_base.py | 118 value = kwargs[arg] 120 value = self.GetRandomString() 122 value = 0 124 value = False 128 if device._properties[arg]._repeated and type(value) is not list: 129 value = [value] 130 setattr(device, arg, value) 233 value = kwargs[arg] 235 value = self.GetRandomString() 237 value = 0 [all …]
|
/test/vti/dashboard/src/main/java/com/android/vts/proto/ |
D | TestSuiteResultMessageProto.java | 2382 Object value) { in setField() argument 2383 return (Builder) super.setField(field, value); in setField() 2395 int index, Object value) { in setRepeatedField() argument 2396 return (Builder) super.setRepeatedField(field, index, value); in setRepeatedField() 2400 Object value) { in addRepeatedField() argument 2401 return (Builder) super.addRepeatedField(field, value); in addRepeatedField() 2623 java.lang.String value) { in setAccessToken() argument 2624 if (value == null) { in setAccessToken() 2628 accessToken_ = value; in setAccessToken() 2653 com.google.protobuf.ByteString value) { in setAccessTokenBytes() argument [all …]
|
D | VtsReportMessage.java | 79 return value; in getNumber() 86 public static TestCaseResult valueOf(int value) { in valueOf() argument 87 return forNumber(value); in valueOf() 90 public static TestCaseResult forNumber(int value) { in forNumber() argument 91 switch (value) { in forNumber() 138 private final int value; field in VtsReportMessage.TestCaseResult 140 private TestCaseResult(int value) { in TestCaseResult() argument 141 this.value = value; in TestCaseResult() 201 return value; in getNumber() 208 public static VtsTestType valueOf(int value) { in valueOf() argument [all …]
|
/test/vti/test_serving/gae/frontend/src/app/menu/ |
D | cdk-detail-row.directive.ts | 33 set appCdkDetailRow(value: any) { 34 if (value !== this.row) { 35 this.row = value; 41 set template(value: TemplateRef<any>) { 42 if (value !== this.tRef) { 43 this.tRef = value;
|
/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/ |
D | KernelProcFileTestBase.py | 79 t.value = int(t.value, 0) 84 t.value = float(t.value) 89 t.value = int(t.value) 108 t.lexer.lineno += len(t.value) 115 (t.value[0], t.lexer.lineno, t.value.split()[0]))
|
D | ProcVmallocInfoTest.py | 28 t.value = t.value.split('+') 47 t.value = [t.value[:4], int(t.value[5:], 16)] 52 t.value = t.value.split('=', 1)
|
/test/vts-testcase/kernel/api/bpf_native_test/ |
D | kern.c | 30 stats_value* value = bpf_##the_map##_lookup_elem(&sock_cookie); \ in DEFINE_BPF_MAP() 31 if (!value) { \ in DEFINE_BPF_MAP() 34 value = bpf_##the_map##_lookup_elem(&sock_cookie); \ in DEFINE_BPF_MAP() 36 if (value) { \ in DEFINE_BPF_MAP() 37 __sync_fetch_and_add(&value->rxPackets, 1); \ in DEFINE_BPF_MAP() 38 __sync_fetch_and_add(&value->rxBytes, skb->len); \ in DEFINE_BPF_MAP()
|
/test/vti/test_serving/gae/frontend/src/app/shared/ |
D | dict.pipe.ts | 20 transform(value: Object): any { 22 for (const key in value) { 23 if (value.hasOwnProperty(key)) { 24 dict.push({key: key, value: value[key]});
|
/test/vts-testcase/kernel/api/proc/ |
D | KernelProcFileTestBase.py | 80 t.value = int(t.value, 0) 85 t.value = float(t.value) 90 t.value = int(t.value) 109 t.lexer.lineno += len(t.value) 116 (t.value[0], t.lexer.lineno, t.value.split()[0]))
|
D | ProcVmallocInfoTest.py | 28 t.value = t.value.split('+') 47 t.value = [t.value[:4], int(t.value[5:], 16)] 52 t.value = t.value.split('=', 1)
|