Home
last modified time | relevance | path

Searched refs:pc (Results 1 – 15 of 15) sorted by relevance

/cts/tests/mediapc/common/tests/src/android/mediapc/cts/common/
DRequirementsTest.java46 var pc = req.computePerformanceClass(); in hdrDisplay_noHdr_1000nits() local
47 assertThat(pc).isEqualTo(0); in hdrDisplay_noHdr_1000nits()
57 var pc = req.computePerformanceClass(); in hdrDisplay_900nits() local
58 assertThat(pc).isEqualTo(0); in hdrDisplay_900nits()
68 var pc = req.computePerformanceClass(); in hdrDisplay_1000nits() local
69 assertThat(pc).isEqualTo(35); in hdrDisplay_1000nits()
80 var pc = req.computePerformanceClass(); in sequentialWrite_90mbps() local
81 assertThat(pc).isEqualTo(0); in sequentialWrite_90mbps()
90 var pc = req.computePerformanceClass(); in sequentialWrite_100mbps() local
91 assertThat(pc).isEqualTo(30); in sequentialWrite_100mbps()
[all …]
DRequirementTest.java91 int pc; in computePerformanceClass_0() local
94 pc = testReq.computePerformanceClass(); in computePerformanceClass_0()
95 assertThat(pc).isEqualTo(0); in computePerformanceClass_0()
101 int pc; in computePerformanceClass_30() local
104 pc = testReq.computePerformanceClass(); in computePerformanceClass_30()
105 assertThat(pc).isEqualTo(30); in computePerformanceClass_30()
111 int pc; in computePerformanceClass_31() local
114 pc = testReq.computePerformanceClass(); in computePerformanceClass_31()
115 assertThat(pc).isEqualTo(31); in computePerformanceClass_31()
121 int pc; in computePerformanceClass_32() local
[all …]
/cts/tests/mediapc/common/src/android/mediapc/cts/common/
DRequirement.java66 for (Integer pc: perfClassResults.keySet()) { in computePerformanceClass()
67 RequirementConstants.Result res = perfClassResults.get(pc); in computePerformanceClass()
72 overallPerfClassResults.put(pc, RequirementConstants.Result.UNMET); in computePerformanceClass()
73 } else if (!overallPerfClassResults.containsKey(pc) && in computePerformanceClass()
75 overallPerfClassResults.put(pc, RequirementConstants.Result.MET); in computePerformanceClass()
82 for (int pc: overallPerfClassResults.keySet()) { in computePerformanceClass()
83 if (overallPerfClassResults.get(pc) == RequirementConstants.Result.MET) { in computePerformanceClass()
84 perfClass = Math.max(perfClass, pc); in computePerformanceClass()
DRequiredMeasurement.java102 for (Integer pc: this.expectedValues().keySet()) { in getPerformanceClass()
103 perfClassResults.put(pc, this.meetsPerformanceClass(pc)); in getPerformanceClass()
/cts/tests/simplecpu/jni/
DCpuNativeJni.cpp77 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; in qsort_local() local
105 pc = pd = (char *)a + (n - 1) * es; in qsort_local()
107 while (pb <= pc && (r = cmp(pb, a)) <= 0) { in qsort_local()
115 while (pb <= pc && (r = cmp(pc, a)) >= 0) { in qsort_local()
118 swap(pc, pd); in qsort_local()
121 pc -= es; in qsort_local()
123 if (pb > pc) in qsort_local()
125 swap(pb, pc); in qsort_local()
128 pc -= es; in qsort_local()
141 r = min(pd - pc, pn - pd - (int)es); in qsort_local()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DFlashlightTest.java85 CameraCharacteristics pc = mCameraManager.getCameraCharacteristics(id); in testTurnOnTorchWithStrengthLevel() local
86 assertNull(pc.get(CameraCharacteristics.FLASH_INFO_STRENGTH_DEFAULT_LEVEL)); in testTurnOnTorchWithStrengthLevel()
87 assertNull(pc.get(CameraCharacteristics.FLASH_INFO_STRENGTH_MAXIMUM_LEVEL)); in testTurnOnTorchWithStrengthLevel()
102 CameraCharacteristics pc = mCameraManager.getCameraCharacteristics(id); in testTurnOnTorchWithStrengthLevel() local
103 if (pc.get(CameraCharacteristics.FLASH_INFO_STRENGTH_DEFAULT_LEVEL) != null) { in testTurnOnTorchWithStrengthLevel()
104 defaultLevel = pc.get(CameraCharacteristics.FLASH_INFO_STRENGTH_DEFAULT_LEVEL); in testTurnOnTorchWithStrengthLevel()
106 if (pc.get(CameraCharacteristics.FLASH_INFO_STRENGTH_MAXIMUM_LEVEL) != null) { in testTurnOnTorchWithStrengthLevel()
107 maxLevel = pc.get(CameraCharacteristics.FLASH_INFO_STRENGTH_MAXIMUM_LEVEL); in testTurnOnTorchWithStrengthLevel()
DExtendedCameraCharacteristicsTest.java3006 CameraCharacteristics pc = in testLogicalCameraCharacteristics() local
3009 float[] poseRotation = pc.get(CameraCharacteristics.LENS_POSE_ROTATION); in testLogicalCameraCharacteristics()
3010 float[] poseTranslation = pc.get(CameraCharacteristics.LENS_POSE_TRANSLATION); in testLogicalCameraCharacteristics()
3011 Integer poseReference = pc.get(CameraCharacteristics.LENS_POSE_REFERENCE); in testLogicalCameraCharacteristics()
3012 float[] cameraIntrinsics = pc.get( in testLogicalCameraCharacteristics()
3014 float[] distortion = getLensDistortion(pc); in testLogicalCameraCharacteristics()
3015 Integer facing = pc.get(CameraCharacteristics.LENS_FACING); in testLogicalCameraCharacteristics()
3016 Rect precorrectionArray = pc.get( in testLogicalCameraCharacteristics()
3023 pc.get(CameraCharacteristics.SENSOR_INFO_TIMESTAMP_SOURCE); in testLogicalCameraCharacteristics()
/cts/tests/mediapc/src/android/mediapc/cts/
DFrameDropTestBase.java195 int pc = 0; in getAchievedPerfClass() local
197 pc = frameDropCount <= MAX_FRAME_DROP_FOR_30S_30FPS_PC_R ? Build.VERSION_CODES.R : 0; in getAchievedPerfClass()
199 pc = frameDropCount <= MAX_FRAME_DROP_FOR_30S_60FPS_PC_T ? Build.VERSION_CODES.TIRAMISU in getAchievedPerfClass()
203 return pc; in getAchievedPerfClass()
/cts/hostsidetests/gwp_asan/common/proto/
Dtombstone.proto117 uint64 pc = 2; field
/cts/tests/devicepolicy/telephony/src/android/devicepolicy/cts/telephony/
DWorkProfileTelephonyTest.java521 try (PermissionContext pc = TestApis.permissions().withPermission(READ_CALL_LOG, in allManagedSubscriptions_accessWorkCallLogFromWorkProfile_works() argument
528 try (PermissionContext pc = TestApis.permissions().withPermission(WRITE_CALL_LOG)) { in allManagedSubscriptions_accessWorkCallLogFromWorkProfile_works() argument
568 try (PermissionContext pc = TestApis.permissions().withPermission(READ_CALL_LOG, in allManagedSubscriptions_accessWorkCallLogFromPersonalProfile_fails() argument
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c431 struct binder_ptr_cookie *pc = dat; in handle_cmd() local
435 buf_uintptr(buf, pc->ptr); in handle_cmd()
436 buf_uintptr(buf, pc->cookie); in handle_cmd()
/cts/tests/tests/security/res/raw/
Dcve_2019_2245.ts1110 �I@�r '��ݨ����]b������4��C���&��"`i��A���!ˊ,��pc��җD�SU1!:-����O2�ekd���p�������G�1�1f��…
6921 …�1Ftjт6*ۣD�]��%��;A�|�##ʹV��YdeFu�4L�+"-=�C.��>��lS��h��Hɤ���pc�U�dd1c4�SsV�B�%.�U…
Dcve_2018_13925.ts1111 �I@�r '��ݨ����]b������4��C���&��"`i��A���!ˊ,��pc��җD�SU1!:-����O2�ekd���p�������G�1�1f��…
Dcve_2019_2244.ts1110 �I@�r '��ݨ����]b������4��C���&��"`i��A���!ˊ,��pc��җD�SU1!:-����O2�ekd���p�������G�1�1f��…
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt13165 field public static final String FEATURE_PC = "android.hardware.type.pc";