/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/energy/ |
D | TabPaneEnergyAnomaly.ts | 39 let values = Object.values(bean[index]); 40 if (values[TabPaneEnergyAnomaly.VALUE_INDEX]) { 41 let apps = values[TabPaneEnergyAnomaly.VALUE_INDEX].split(','); 45 filterAppMap.set(values[0] + values[1], findAppNameIndex); 49 if (values[TabPaneEnergyAnomaly.KEY_INDEX] == 'APPNAME') { 51 filterAppMap.set(values[0] + values[1], findAppNameIndex); 58 let values = Object.values(bean[index]); 60 if (filterAppMap.get(values[0] + values[1]) == -1) { 63 findAppNameIndex = filterAppMap.get(values[0] + values[1]); 65 if (!set.has(values[0])) { [all …]
|
D | TabPaneSystemDetails.ts | 175 let values = this.getConvertData(data); 178 for (let index = 0; index < values.length; index++) { 179 let filterData: any = values[index]; 254 let values = this.getConvertData(data); 258 for (let index = 0; index < values.length; index++) { 259 let filterData: any = values[index]; 287 let values = this.getConvertData(data); 291 for (let index = 0; index < values.length; index++) { 292 let filterData: any = values[index]; 331 return Object.values(convertItem);
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/energy/ |
D | TabPaneEnergyAnomaly.ts | 39 let values = Object.values(bean[index]); 40 if (values[TabPaneEnergyAnomaly.VALUE_INDEX]) { 41 let apps = values[TabPaneEnergyAnomaly.VALUE_INDEX].split(','); 45 filterAppMap.set(values[0] + values[1], findAppNameIndex); 49 if (values[TabPaneEnergyAnomaly.KEY_INDEX] == 'APPNAME') { 51 filterAppMap.set(values[0] + values[1], findAppNameIndex); 58 let values = Object.values(bean[index]); 60 if (filterAppMap.get(values[0] + values[1]) == -1) { 63 findAppNameIndex = filterAppMap.get(values[0] + values[1]); 65 if (!set.has(values[0])) { [all …]
|
D | TabPaneSystemDetails.ts | 183 let values = this.getConvertData(data); 186 for (let index = 0; index < values.length; index++) { 187 let filterData: any = values[index]; 262 let values = this.getConvertData(data); 266 for (let index = 0; index < values.length; index++) { 267 let filterData: any = values[index]; 295 let values = this.getConvertData(data); 299 for (let index = 0; index < values.length; index++) { 300 let filterData: any = values[index]; 339 return Object.values(convertItem);
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/ |
D | Matrix.ets | 59 public setValues(values: number[]) { 60 this.data = values; 112 var values = matrix.getValues(); 113 this.postScale(values[Matrix.MSCALE_X],values[Matrix.MSCALE_Y]); 114 this.postTranslate(values[Matrix.MTRANS_X],values[Matrix.MTRANS_Y]); 115 // this.data[Matrix.MTRANS_X] = values[Matrix.MTRANS_X] * this.data[Matrix.MSCALE_X] 116 // this.data[Matrix.MSCALE_X] *= values[Matrix.MSCALE_X] 117 // this.data[Matrix.MSCALE_Y] *= values[Matrix.MSCALE_Y] 138 var values: number[] = matrix.getValues(); 139 values[Matrix.MSCALE_X] = 1 / (this.data[Matrix.MSCALE_X] / 1) [all …]
|
D | Transformer.ets | 29 * transforming values into pixels on the screen and backwards. 36 * matrix to map the values to the screen pixels 51 * Prepares the matrix that transforms values to pixels. Calculates the 102 * y values transformed with all matrices for the SCATTERCHART. 139 * y values transformed with all matrices for the BUBBLECHART. 175 * y values transformed with all matrices for the LINECHART. 213 * y values transformed with all matrices for the CANDLESTICKCHART. 264 var values: number[] = matrix.getValues(); 266 lastNum = beforeNum * values[Matrix.MSCALE_X] + values[Matrix.MTRANS_X] 268 lastNum = beforeNum * values[Matrix.MSCALE_Y] + values[Matrix.MTRANS_Y] [all …]
|
/developtools/profiler/host/smartperf/ide/src/trace/component/setting/ |
D | SpProbesConfig.ts | 38 let values = []; 40 values.push(litCheckBoxElement.value); 43 values.push(this.hitrace.value); 45 info('traceConfig is :', values); 46 return values; 57 let values = []; 62 values.push(litCheckBoxElement.value); 64 log('memoryConfig size is :' + values.length); 65 return values; 76 let values = []; [all …]
|
/developtools/smartperf_host/ide/src/trace/component/metrics/ |
D | MemAggStrategy.ts | 33 let values = metricData[sqlIndex].value.split(splitChar); 34 for (let index = 0; index < values.length; index++) { 42 let values = metricData[sqlIndex].value.split(splitChar); variable 47 oomScoreValue = values[indexScore]; 55 value: values[index],
|
/developtools/profiler/host/smartperf/ide/src/trace/component/metrics/ |
D | MemAggStrategy.ts | 33 let values = metricData[sqlIndex].value.split(splitChar); 36 for (let index = 0; index < values.length; index++) { 42 let values = metricData[sqlIndex].value.split(splitChar); variable 47 oomScoreValue = values[indexScore]; 55 value: values[index],
|
/developtools/smartperf_host/ide/src/trace/component/setting/ |
D | SpProbesConfig.ts | 38 let values = []; 40 values.push(litCheckBoxElement.value); 43 values.push(this.hitrace.value); 45 info('traceConfig is :', values); 46 return values; 57 let values = []; 62 values.push(litCheckBoxElement.value); 64 log('memoryConfig size is :' + values.length); 65 return values; 76 let values = []; [all …]
|
/developtools/hiperf/src/ |
D | option.cpp | 118 std::vector<int> &values) in GetValueFromString() argument 124 values.push_back(std::stoi(stringValues.front())); in GetValueFromString() 127 return values.size() > 0; // convert successed ? in GetValueFromString() 136 std::vector<std::string> &values) in GetValueFromString() argument 138 values = StringSplit(optionValue, ","); in GetValueFromString() 140 VectorToString(values).c_str(), optionValue.c_str()); in GetValueFromString() 141 return values.size() > 0; // convert successed ? in GetValueFromString()
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/interfaces/datasets/ |
D | IDataSet.ets | 58 * Returns the number of y-values this DataSet represents -> the size of the y-values array 66 * Calculates the minimum and maximum x and y values (mXMin, mXMax, mYMin, mYMax). 71 …* Calculates the min and max y-values from the Entry closest to the given fromX to the Entry close… 88 * @param closestToY If there are multiple y-values for the specified x-value, 107 * @param closestToY If there are multiple y-values for the specified x-value, 124 * Returns the Entry object found at the given index (NOT xIndex) in the values array. 140 * @param closestToY If there are multiple y-values for the specified x-value, 172 * values of the DataSet and the value-sum. 181 … * Entries are added to their appropriate index in the values array respective to their x-position. 183 * values of the DataSet and the value-sum. [all …]
|
/developtools/global_resource_tool/src/ |
D | json_compiler.cpp | 200 …](const Json::Value &arrayItem, const ResourceItem &resourceItem, vector<string> &values) -> bool { in HandleStringArray() argument 210 values.push_back(value.asString()); in HandleStringArray() 219 …](const Json::Value &arrayItem, const ResourceItem &resourceItem, vector<string> &values) -> bool { in HandleIntegerArray() argument 223 values.push_back(arrayItem.asString()); in HandleIntegerArray() 235 … [this](const Json::Value &arrayItem, const ResourceItem &resourceItem, vector<string> &values) { in HandleTheme() argument 236 return ParseAttribute(arrayItem, resourceItem, values); in HandleTheme() 250 …rs, this](const Json::Value &arrayItem, const ResourceItem &resourceItem, vector<string> &values) { in HandlePlural() argument 261 values.push_back(quantityValue); in HandlePlural() 262 values.push_back(arrayItem[TAG_VALUE].asString()); in HandlePlural() 357 vector<string> values; in ParseValueArray() local [all …]
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/animation/ |
D | ChartAnimator.ets | 22 /** The phase of drawn values on the y-axis. 0 - 1 */ 25 /** The phase of drawn values on the x-axis. 0 - 1 */ 53 * Animates values along the X axis, in a linear fashion. 62 * Animates values along the X axis. 76 * Animates values along both the X and Y axes, in a linear fashion. 87 * Animates values along both the X and Y axes. 110 * Animates values along both the X and Y axes. 135 * Animates values along the Y axis, in a linear fashion. 145 * Animates values along the Y axis.
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/sdk/ |
D | TabPaneSdkCounter.ts | 62 let values = sdkVal.sdkCounterIds[index].split('-'); 63 let value = values[0]; 64 componentId = Number(values[1]); 81 let values = Object.values(dataResult); 88 let counterValue = values[counterKeyIndex];
|
D | TabPaneSdkSlice.ts | 62 let values = sdkSliceVal.sdkSliceIds[index].split('-'); 63 let value = values[0]; 64 componentId = Number(values[1]); 82 let values = Object.values(dataResult); 89 let sliceValue = values[sliceKeyIndex];
|
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/sdk/ |
D | TabPaneSdkCounter.ts | 62 let values = sdkVal.sdkCounterIds[index].split('-'); 63 let value = values[0]; 64 componentId = Number(values[1]); 81 let values = Object.values(dataResult); 88 let counterValue = values[counterKeyIndex];
|
D | TabPaneSdkSlice.ts | 62 let values = sdkSliceVal.sdkSliceIds[index].split('-'); 63 let value = values[0]; 64 componentId = Number(values[1]); 82 let values = Object.values(dataResult); 89 let sliceValue = values[sliceKeyIndex];
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/renderer/ |
D | DataRenderer.ets | 48 * paint used for highlighting values 55 * paint object for drawing values (text representing values of chart 88 * Returns the Paint object this renderer uses for drawing the values 148 * Loops over all Entrys and draws their values. 184 * Draws all highlight indicators for the values that are currently highlighted. 187 * @param indices the highlighted values
|
D | AxisRenderer.ets | 33 /** transformer to transform values to screen pixels and return */ 42 * paint for the x-label values 111 * Returns the Transformer object used for transforming the axis values. 121 * Computes the axis values. 153 * Sets up the axis values. Computes the desired number of labels between the two given extremes. 172 // Find out how much spacing (in y value space) between axis values 177 // This is used to avoid repeated values when rounding values for display.
|
/developtools/integration_verification/cases/smoke/basic/screenshot32/acls_check/ |
D | read_acl_whitelist.py | 44 values = it.get('acls') 45 acls_dict[key] = values
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/ |
D | DataSet.ets | 23 * groups of values inside the Chart (e.g. the values for a specific line in the 24 * LineChart, or the values of a specific group of bars in the BarChart). 56 * Creates a new DataSet object with the given values (entries) it represents. Also, a 157 // * @param values 160 public setValues(values : JArrayList<T>) : void { 161 this.setEntries(values); 250 var values : JArrayList<T> = this.getEntries(); 251 if (!values) { 252 values = new JArrayList<T>(); 258 values.add(e); [all …]
|
/developtools/profiler/host/smartperf/trace_streamer/src/trace_data/ |
D | trace_data_db.cpp | 205 std::vector<std::string> values = {}; in SearchData() local 216 values.clear(); in SearchData() 223 values.push_back(left.substr(0, pos + 1)); in SearchData() 226 values.push_back(left); in SearchData() 234 return values; in SearchData() 243 if (!values.empty()) { in SearchData() 244 return values; in SearchData() 265 return values; in SearchData()
|
/developtools/smartperf_host/trace_streamer/src/trace_data/ |
D | trace_data_db.cpp | 205 std::vector<std::string> values = {}; in SearchData() local 216 values.clear(); in SearchData() 223 values.push_back(left.substr(0, pos + 1)); in SearchData() 226 values.push_back(left); in SearchData() 234 return values; in SearchData() 243 if (!values.empty()) { in SearchData() 244 return values; in SearchData() 265 return values; in SearchData()
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/ |
D | Temperature.ets | 439 let values = new JArrayList<EntryOhos>(); 445 …values.add(new EntryOhos(Number(index).valueOf(), Number(gpDataCur.systemHTemp).valueOf() / 1000)); 456 let set1 = new LineDataSet(values, "SystemHTemp(℃)"); 475 let values = new JArrayList<EntryOhos>(); 481 …values.add(new EntryOhos(Number(index).valueOf(), Number(gpDataCur.batteryTemp).valueOf() / 1000)); 492 let set1 = new LineDataSet(values, "BatteryTemp(℃)"); 511 let values = new JArrayList<EntryOhos>(); 517 …values.add(new EntryOhos(Number(index).valueOf(), Number(gpDataCur.shellFrontTemp).valueOf() / 100… 528 let set1 = new LineDataSet(values, "ShellFrontTemp(℃)"); 547 let values = new JArrayList<EntryOhos>(); [all …]
|