/cts/tests/tests/text/src/android/text/cts/ |
D | LayoutMinimumLineHeightTest.kt | 49 private fun getMetrics(text: String, paint: TextPaint): Pair<Int, Int> { in getMetrics() method in android.text.cts.LayoutMinimumLineHeightTest 105 val originalMetrics = getMetrics(text, paint) in Layout_expandToReserveMinimumFontMetrics() 125 val originalMetrics = getMetrics(text, paint) in StaticLayout_expandToReserveMinimumFontMetrics() 145 val originalMetrics = getMetrics(text, paint) in DynamicLayout_expandToReserveMinimumFontMetrics() 165 val originalMetrics = getMetrics(text, paint) in Layout_useActualFont() 185 val originalMetrics = getMetrics(text, paint) in StaticLayout_useActualFont() 205 val originalMetrics = getMetrics(text, paint) in DynamicLayout_useActualFont()
|
/cts/tests/mediapc/common/src/android/mediapc/cts/common/ |
D | CodecMetrics.java | 24 public static CodecMetrics getMetrics(double fps, double fdps) { in getMetrics() method in CodecMetrics
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmMetricsTest.java | 72 PersistableBundle metrics = drm.getMetrics(); in testGetMetricsEmpty() 100 PersistableBundle metrics = drm.getMetrics(); in testGetMetricsSession() 157 PersistableBundle metrics = drm.getMetrics(); in testGetMetricsGetKeyRequest()
|
D | MediaDrmTest.java | 147 PersistableBundle metrics = drm.getMetrics(); in testPlaybackComponent()
|
/cts/hostsidetests/adpf/src/android/adpf/cts/ |
D | ADPFHintSessionHostJUnit4Test.java | 163 assertNotNull("No metrics were returned.", result.getMetrics()); in testAdpfHintSession() 164 String isSupportedStr = result.getMetrics().get(IS_HINT_SESSION_SUPPORTED_KEY); in testAdpfHintSession() 177 Map<String, String> metrics = result.getMetrics(); in testAdpfHintSession()
|
/cts/hostsidetests/adpf/app/hintsession/src/android/adpf/hintsession/app/ |
D | ADPFHintSessionDeviceTest.java | 78 Map<String, String> metrics = activity.getMetrics(); in testAdpfHintSession()
|
D | ADPFHintSessionDeviceActivity.java | 161 public Map<String, String> getMetrics() { in getMetrics() method in ADPFHintSessionDeviceActivity
|
/cts/tests/tests/util/src/android/util/cts/ |
D | DisplayMetricsTest.java | 66 display.getMetrics(outMetrics); in testDisplayMetricsOp()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | FeatureTest.java | 120 mWindowManager.getDefaultDisplay().getMetrics(dm); in getScreenSizeInInches()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | CodecTranscoderTestBase.java | 19 import static android.mediapc.cts.common.CodecMetrics.getMetrics; 417 return getMetrics(0.0, 0.0); in doTranscode() 441 return getMetrics(fps, mFrameDrops / 30); in doTranscode() 451 return getMetrics(-1.0, 0.0); in call() 550 return getMetrics(fps, mFrameDrops / 30); in doTranscode()
|
D | CodecTestBase.java | 21 import static android.mediapc.cts.common.CodecMetrics.getMetrics; 967 return getMetrics(0.0, 0.0); in doDecode() 978 return getMetrics(0.0, 0.0); in doDecode() 1001 return getMetrics(fps, mFrameDrops / 30); in doDecode() 1011 return getMetrics(-1.0, 0.0); in call() 1111 return getMetrics(fps, mFrameDrops / 30); in doEncode()
|
D | MultiCodecPerfTestBase.java | 22 import static android.mediapc.cts.common.CodecMetrics.getMetrics; 192 return getMetrics(measuredParams, framesDroppedPerSecond); in invokeWithThread()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | RenderService.java | 75 displayContext.getDisplay().getMetrics(metrics); in getSurfaceControlViewHost()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | DialogLauncherActivity.java | 80 display.getMetrics(metrics); in maximizeDialog()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/performancehintmanager/ |
D | PerformanceHintManagerStatsTests.java | 257 String tidsStr = result.getMetrics().get(CONTENT_KEY_RESULT_TIDS); in testAdpfHintSessionTidCleanupIsPushed() 258 int uid = Integer.parseInt(result.getMetrics().get(CONTENT_KEY_UID)); in testAdpfHintSessionTidCleanupIsPushed()
|
/cts/tests/tests/content/src/android/content/wm/cts/ |
D | ContextRegisterComponentCallbacksTest.java | 171 secondaryDisplay.getMetrics(displayMetrics); in testRegisterComponentCallbacksOnWindowContext()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | ActivityManagerGetConfigTests.java | 372 display.getMetrics(metrics); in testDeviceConfig() 386 display.getMetrics(metrics); in testDeviceConfigWithSecondaryDisplay()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowMetricsTestHelper.java | 144 display.getMetrics(displayMetrics); in assertMetricsMatchDisplay()
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/ |
D | MainFragment.java | 138 getActivity().getWindowManager().getDefaultDisplay().getMetrics(mMetrics);
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaPlayerTestBase.java | 230 PersistableBundle metrics = mMediaPlayer.getMetrics(); in playLoadedVideo()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/ |
D | ReportUtils.java | 200 return report.getMetrics(0); in getStatsLogReport()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | LowRamDeviceTest.java | 86 windowManager.getDefaultDisplay().getMetrics(mDisplayMetrics); in setUp()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | WindowPolicyTests.java | 212 display.getMetrics(displayMetrics); in testOptOutEdgeToEdgeDisplayMetrics()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | MediaCodecTest.java | 1178 PersistableBundle metrics = encoder.getMetrics(); in testDequeueSurface() 1256 PersistableBundle metrics = encoder.getMetrics(); in testReconfigureWithoutSurface() 1319 PersistableBundle metrics = mediaCodec.getMetrics(); in testDecodeAfterFlush() 1340 metrics = mediaCodec.getMetrics(); in testDecodeAfterFlush() 1361 PersistableBundle metrics = mediaCodec.getMetrics(); in testDecodeAfterFlush() 1435 PersistableBundle metrics = mediaCodec.getMetrics(); in runDecodeTillFirstOutput()
|
/cts/hostsidetests/angle/src/android/angle/cts/ |
D | CtsAngleDeveloperOptionHostTest.java | 108 final String glRenderer = testResult.getMetrics().get(NATIVE_GL_RENDERER); in checkNativeDriver()
|