Home
last modified time | relevance | path

Searched refs:rc (Results 1 – 25 of 88) sorted by relevance

1234

/cts/tests/tests/os/src/android/os/cts/
DRemoteCallbackListTest.java89 MockRemoteCallbackList<IInterface> rc = new MockRemoteCallbackList<IInterface>(); in testRemoteCallbackList() local
97 rc.register(null); in testRemoteCallbackList()
104 rc.unregister(null); in testRemoteCallbackList()
112 assertTrue(rc.register(mSecondaryService)); in testRemoteCallbackList()
113 int index = rc.beginBroadcast(); in testRemoteCallbackList()
115 IInterface actual = rc.getBroadcastItem(index - 1); in testRemoteCallbackList()
119 rc.finishBroadcast(); in testRemoteCallbackList()
120 assertTrue(rc.unregister(mSecondaryService)); in testRemoteCallbackList()
122 rc.register(mSecondaryService); in testRemoteCallbackList()
123 rc.beginBroadcast(); in testRemoteCallbackList()
[all …]
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_FrameRateCtsActivity.cpp50 int rc = AHardwareBuffer_allocate(&desc, &mBuffer); in Buffer() local
51 if (rc < 0 || mBuffer == nullptr) { in Buffer()
52 ALOGE("AHardwareBuffer_allocate failed: %s (%d)", strerror(-rc), -rc); in Buffer()
59 rc = AHardwareBuffer_lockAndGetInfo(mBuffer, AHARDWAREBUFFER_USAGE_CPU_WRITE_RARELY, in Buffer()
63 if (rc == INVALID_OPERATION) { in Buffer()
69 rc = AHardwareBuffer_lock(mBuffer, AHARDWAREBUFFER_USAGE_CPU_WRITE_RARELY, in Buffer()
73 if (rc < 0 || buf == nullptr) { in Buffer()
74 ALOGE("%s failed: %s (%d)", lockFunctionName.c_str(), strerror(-rc), -rc); in Buffer()
97 rc = AHardwareBuffer_unlock(mBuffer, /*fence=*/nullptr); in Buffer()
98 if (rc < 0) { in Buffer()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DAbsSpinnerTest.java198 Rect rc = new Rect(0, 0, 100, 100); in testPointToPosition() local
199 Rect rcChild0 = new Rect(0, 0, 20, rc.bottom); in testPointToPosition()
200 Rect rcChild1 = new Rect(rcChild0.right, 0, 70, rc.bottom); in testPointToPosition()
201 Rect rcChild2 = new Rect(rcChild1.right, 0, rc.right, rc.bottom); in testPointToPosition()
202 absSpinner.layout(rc.left, rc.top, rc.right, rc.bottom); in testPointToPosition()
211 assertEquals(0, absSpinner.pointToPosition(rcChild0.left + 1, rc.bottom - 1)); in testPointToPosition()
212 assertEquals(1, absSpinner.pointToPosition(rcChild1.left + 1, rc.bottom - 1)); in testPointToPosition()
213 assertEquals(2, absSpinner.pointToPosition(rcChild2.left + 1, rc.bottom - 1)); in testPointToPosition()
215 absSpinner.pointToPosition(rc.right + 1, rc.bottom - 1)); in testPointToPosition()
DTextViewTest.java2832 Rect rc = new Rect(); in testGetFocusedRect() local
2837 mTextView.getFocusedRect(rc); in testGetFocusedRect()
2838 assertEquals(mTextView.getScrollX(), rc.left); in testGetFocusedRect()
2839 assertEquals(mTextView.getScrollX() + mTextView.getWidth(), rc.right); in testGetFocusedRect()
2840 assertEquals(mTextView.getScrollY(), rc.top); in testGetFocusedRect()
2841 assertEquals(mTextView.getScrollY() + mTextView.getHeight(), rc.bottom); in testGetFocusedRect()
2845 mTextView.getFocusedRect(rc); in testGetFocusedRect()
2846 assertEquals(mTextView.getScrollX(), rc.left); in testGetFocusedRect()
2847 assertEquals(mTextView.getScrollX() + mTextView.getWidth(), rc.right); in testGetFocusedRect()
2848 assertEquals(mTextView.getScrollY(), rc.top); in testGetFocusedRect()
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0334/
Dpoc.c33 int fd, rc; in main() local
37 rc = ioctl(fd, tmp_DRM_IOCTL_TEGRA_OPEN_CHANNEL, &open_args); in main()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLayerDrawableTest.java448 Rect rc = new Rect(); in testAccessPadding() local
449 layerDrawable.getPadding(rc); in testAccessPadding()
450 assertEquals(0, rc.left); in testAccessPadding()
451 assertEquals(0, rc.top); in testAccessPadding()
452 assertEquals(0, rc.right); in testAccessPadding()
453 assertEquals(0, rc.bottom); in testAccessPadding()
457 layerDrawable.getPadding(rc); in testAccessPadding()
458 assertEquals(padding0.left, rc.left); in testAccessPadding()
459 assertEquals(padding0.top, rc.top); in testAccessPadding()
460 assertEquals(padding0.right, rc.right); in testAccessPadding()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DFrameRateCtsActivity.java227 int rc = 0; in setFrameRate() local
231 rc = nativeWindowSetFrameRate(mSurface, frameRate, compatibility, in setFrameRate()
247 return rc; in setFrameRate()
263 int rc = setFrameRate(frameRate, compatibility, changeFrameRateStrategy); in setInvalidFrameRate() local
267 rc == -EINVAL); in setInvalidFrameRate()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp3903 auto rc = ACameraManager_registerExtendedAvailabilityCallback(mCameraManager.get(), in initialize() local
3905 if (rc != ACAMERA_OK) { in initialize()
3906 LOG_ERROR(errorString, "Register availability callback failed: rc %d", rc); in initialize()
3907 return rc; in initialize()
3911 rc = ACameraManager_getCameraIdList(mCameraManager.get(), &cameraIdList); in initialize()
3912 if (rc != ACAMERA_OK) { in initialize()
3913 LOG_ERROR(errorString, "Get camera id list failed: ret %d", rc); in initialize()
3914 return rc; in initialize()
3918 return rc; in initialize()
3945 auto rc = ctx->initialize(); in Java_android_hardware_multiprocess_camera_cts_CameraEvictionTest_initializeAvailabilityCallbacksNative() local
[all …]
/cts/tests/tests/view/jni/
Dandroid_view_cts_ChoreographerNativeTest.cpp120 int rc = vasprintf(&msg, format, args); in fail() local
/cts/tests/tests/media/assets/hls_variant/165340/
D12.ts541 …�r��%��jj���]��S���k��?�l�-�ϣtԿ��E9�>v1h��Q�/ޗ���ƃ����֔����K�N�3G���<�drc�*�}�kW�~�z�����Nv�M…
D17.ts613 …Q���2��v�Cڸr;X�JEf%����X�e$���2`fhTWu���۩�÷��3�����B��$�2rc�����Š�ȘJB�s�=�5��7…
D04.ts77 … � .�El��������w�H�]�(VG���3L]�d}��G��o�v�fL);�A?�O�������֍�ޥ� 5����rc�ID������Gܩl�l삩�q
D22.ts582 H��G#¿V��X���ͬ ��g7�3e����(��s�_�Z�#|� �rc��q~L�Inj�c@Tz_q�
/cts/tests/tests/media/assets/hls_variant/387360/
D15.ts455 �t�h24�]>�&��=���}7 K�z4jӐ������^Tجڽ_��'�p̴�=���O�P�dWL�aWD�6$Yw�+���=Yf����w-��K��!rc���O���…
1279 …$c����=���~c_����I����*��Vy#��%�l���BN$�c�#�ـP��aZ���s�zL�/��t���^rc�=MD����v4xԓ���R�Yqh䙄…
D06.ts117 …�����C}�]qH���c��2T�`�(L�'5s+��k�%6[3�g���mw��Sm-B�[w��\�J�J9�Yd4�S*rc�m����Y;6�MWΙR�X�T7…
D09.ts397 …k�Z" ����@�����\�(�>��z���6��G��D��@��r�>������q�0��o�"xb��rc��z���5,���҉�˃/�S�U?…
D11.ts443 #DOV�cz���g���DR֡-��)U�*b�;� Bų��|H�()���\HL%>D�l�X�˦�Bu�~��3:�rc�G���Y4G�����-3����i u�…
/cts/tests/tests/media/assets/hls_variant/344388/
D20.ts1023 …��C4I�,�����HH��'~����2u�� x��Xvt�*l���F�r�%:?_���)�=���w%m����z�F��rc["7���ܖ2��T�Pf�xڀ�…
D18.ts114 …)���ۙT��ƿ�#5���3?���bSS�ګh��Ss�~���{�%h�D�m�����2R����4s��EꌥLr��"rc�G��e�:��E����j�l�…
D21.ts706 …|��L~N�w(�l�jG�.q��lf9�_q�a����d�δ%%��1��%QW���ަ���܀��{�n$-rc���|�h�a������~7��t�…
D11.ts375 ����/c��l�0’��f^K�'(�"��/}��A%K|���b�)4�HL�/^8�b�6$��r4��~�x�Bf��o0u/|��I7�]E���,O�+��Ґrc
/cts/tests/tests/media/assets/hls_variant/765178/
D08.ts709 T��K��5�q�����U���rc���M^�F�ǔ�D����� /б����{���Ò��Y|�r0������戢�Fge�E<��>��bIt��09��…
1505 dr躃�ն�����OQ~5>�[�N[XO~��c�<qU��l6�C�xS�t^�,wª�^�iRGE�#6�X�g�K\��rc�� K�j�Z���y�Έ�b�Ԕ�G��� …
1683 …�# ��9�?|�j� &�����z��T�bư6�,� F��G�/k�Y8G�XUe�d!4Eb��4�����~Ai�u�L=�rc&�>�!1��gp�o"?c����B…
3272 !�|k�rc�*X�GfKBÄ6��e*Z����]��&1�ߔ��\����2��a�`f�=x*.Y,��/eG������ri������gW�z� �.O�Hە�MLU…
D14.ts783 …5��~�9_���t�7Jo/�2�4����笥^Z��&B�w�^u��7����ȝjI4OM�~�f�s��ݺ�}�-��rc�Q?1�7όaP���G�?IL�…
1100 … ��3߷���s��o?�c�w~�NU��� 2 ��wx��J���g�|��!�i���8L,��Ч�[™�6�i��rc� �MCkY��c4X����e…
D09.ts89 �4lά�����A�Ú�f���Ʊ=����z�:��74�QG��aU�����f�4���O�>v �����m�;xl���8��?��ԙ�� U������|rc�/N�…
631 V�������+!n��V�z��s�_\%\��W���a?:���F�Lյ��j ~)�� 5�r�+���!�������L�O�H��-)G�f/�S��rc�a…
/cts/tests/tests/media/assets/unmuxed_1500k/
D00.ts539 …�u�b�Kʀ�rQd��h��F�G�V�� ��*wkHU�����/�b6q�^��L�F��!C���C��F"��?rc|N+�G�p��U�.�c0<O_…

1234