Home
last modified time | relevance | path

Searched refs:RequirementConstants (Results 1 – 10 of 10) sorted by relevance

/cts/tests/mediapc/common/src/android/mediapc/cts/common/
DPerformanceClassEvaluator.java73 this.setMeasuredValue(RequirementConstants.API_NATIVE_LATENCY, latency); in setNativeLatency()
77 this.setMeasuredValue(RequirementConstants.API_JAVA_LATENCY, latency); in setJavaLatency()
83 .setId(RequirementConstants.API_NATIVE_LATENCY) in createR5_6__H_1_1()
84 .setPredicate(RequirementConstants.DOUBLE_LTE) in createR5_6__H_1_1()
93 .setId(RequirementConstants.API_JAVA_LATENCY) in createR5_6__H_1_1()
94 .setPredicate(RequirementConstants.DOUBLE_LTE) in createR5_6__H_1_1()
103 RequirementConstants.R5_6__H_1_1, in createR5_6__H_1_1()
118 this.setMeasuredValue(RequirementConstants.CODEC_INIT_LATENCY, codecInitLatencyMs); in setCodecInitLatencyMs()
133 RequirementConstants.CODEC_INIT_LATENCY) in createR5_1__H_1_7()
134 .setPredicate(RequirementConstants.LONG_LTE) in createR5_1__H_1_7()
[all …]
DCameraRequirement.java31 this.setMeasuredValue(RequirementConstants.REAR_CAMERA_240FPS_SUPPORTED, in setRear240FpsSupported()
42 .setId(RequirementConstants.REAR_CAMERA_240FPS_SUPPORTED) in create240FpsReq()
43 .setPredicate(RequirementConstants.BOOLEAN_EQ) in create240FpsReq()
49 return new Camera240FpsRequirement(RequirementConstants.R7_5__H_1_9, requirement); in create240FpsReq()
66 this.setMeasuredValue(RequirementConstants.REAR_CAMERA2_EXTENSION_NIGHT_SUPPORTED, in setCamera2NightExtensionSupported()
69 this.setMeasuredValue(RequirementConstants.FRONT_CAMERA2_EXTENSION_NIGHT_SUPPORTED, in setCamera2NightExtensionSupported()
76 this.setMeasuredValue(RequirementConstants.REAR_CAMERAX_EXTENSION_NIGHT_SUPPORTED, in setCameraXNightExtensionSupported()
79 this.setMeasuredValue(RequirementConstants.FRONT_CAMERAX_EXTENSION_NIGHT_SUPPORTED, in setCameraXNightExtensionSupported()
91 .setId(RequirementConstants.REAR_CAMERA2_EXTENSION_NIGHT_SUPPORTED) in createCameraExtensionReq()
92 .setPredicate(RequirementConstants.BOOLEAN_EQ) in createCameraExtensionReq()
[all …]
DEglRequirement.java34 RequirementConstants.EGL_EXT_PROTECTED_CONTENT) in createR7_1_4_1__H_1_2()
35 .setPredicate(RequirementConstants.BOOLEAN_EQ) in createR7_1_4_1__H_1_2()
40 RequirementConstants.EGL_IMG_CONTEXT_PRIORITY) in createR7_1_4_1__H_1_2()
41 .setPredicate(RequirementConstants.BOOLEAN_EQ) in createR7_1_4_1__H_1_2()
45 return new EglRequirement(RequirementConstants.R7_1_4_1__H_1_2, in createR7_1_4_1__H_1_2()
55 this.setMeasuredValue(RequirementConstants.EGL_IMG_CONTEXT_PRIORITY, supported); in setImageContextPrioritySupported()
60 this.setMeasuredValue(RequirementConstants.EGL_EXT_PROTECTED_CONTENT, supported); in setProtectedContentSupported()
DRequirement.java61 Map<Integer, RequirementConstants.Result> overallPerfClassResults = new HashMap<>(); in computePerformanceClass()
64 Map<Integer, RequirementConstants.Result> perfClassResults = rm.getPerformanceClass(); in computePerformanceClass()
67 RequirementConstants.Result res = perfClassResults.get(pc); in computePerformanceClass()
71 if (res == RequirementConstants.Result.UNMET) { in computePerformanceClass()
72 overallPerfClassResults.put(pc, RequirementConstants.Result.UNMET); in computePerformanceClass()
74 res == RequirementConstants.Result.MET) { in computePerformanceClass()
75 overallPerfClassResults.put(pc, RequirementConstants.Result.MET); in computePerformanceClass()
83 if (overallPerfClassResults.get(pc) == RequirementConstants.Result.MET) { in computePerformanceClass()
94 RequirementConstants.Result res = rm.meetsPerformanceClass(devicePerfClass); in checkPerformanceClass()
95 if (res == RequirementConstants.Result.UNMET) { in checkPerformanceClass()
[all …]
DRequirementConstants.java26 public class RequirementConstants { class
27 private static final String TAG = RequirementConstants.class.getSimpleName();
215 public static final BiPredicate<Long, Long> LONG_INFO = RequirementConstants.info();
216 public static final BiPredicate<Long, Long> LONG_GTE = RequirementConstants.gte();
217 public static final BiPredicate<Long, Long> LONG_LTE = RequirementConstants.lte();
219 public static final BiPredicate<Integer, Integer> INTEGER_INFO = RequirementConstants.info();
220 public static final BiPredicate<Integer, Integer> INTEGER_GTE = RequirementConstants.gte();
221 public static final BiPredicate<Integer, Integer> INTEGER_LTE = RequirementConstants.lte();
222 public static final BiPredicate<Integer, Integer> INTEGER_EQ = RequirementConstants.eq();
224 public static final BiPredicate<Double, Double> DOUBLE_INFO = RequirementConstants.info();
[all …]
DRequiredMeasurement.java79 public final RequirementConstants.Result meetsPerformanceClass(int mediaPerformanceClass) in meetsPerformanceClass()
88 return RequirementConstants.Result.NA; in meetsPerformanceClass()
91 return RequirementConstants.Result.UNMET; in meetsPerformanceClass()
93 return RequirementConstants.Result.MET; in meetsPerformanceClass()
100 public Map<Integer, RequirementConstants.Result> getPerformanceClass() { in getPerformanceClass()
101 Map<Integer, RequirementConstants.Result> perfClassResults = new HashMap<>(); in getPerformanceClass()
DRequirements.java.tmpl159 .setPredicate(RequirementConstants.{{template "CompMethod" $m}})
189 .setPredicate(RequirementConstants.{{template "CompMethod" $m}})
/cts/tests/mediapc/common/tests/src/android/mediapc/cts/common/
DRequirementTest.java43 .setPredicate(RequirementConstants.INTEGER_GTE) in create()
70 .setPredicate(RequirementConstants.INTEGER_GTE) in create()
78 .setPredicate(RequirementConstants.INTEGER_GTE) in create()
/cts/tests/mediapc/common/
DREADME.md14 ### Define Constants Under RequirementConstants
35 public static final BiPredicate<Double, Double> DOUBLE_GTE = RequirementConstants.gte();
79 this.setMeasuredValue(RequirementConstants.FILESYSTEM_IO_RATE, filesystemIoRate);
119 .setId(RequirementConstants.FILESYSTEM_IO_RATE)
120 .setPredicate(RequirementConstants.DOUBLE_GTE)
125 return new FileSystemRequirement(RequirementConstants.R8_2__H_1_1,
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java77 import android.mediapc.cts.common.RequirementConstants;
3407 this.setMeasuredValue(RequirementConstants.REAR_CAMERA_HWL_LEVEL, hwLevel);
3411 this.setMeasuredValue(RequirementConstants.FRONT_CAMERA_HWL_LEVEL, hwLevel);
3421 .setId(RequirementConstants.REAR_CAMERA_HWL_LEVEL)
3438 .setId(RequirementConstants.FRONT_CAMERA_HWL_LEVEL)
3453 return new PrimaryCameraHwLevelReq(RequirementConstants.R7_5__H_1_3,