Home
last modified time | relevance | path

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

/cts/tests/tests/security/jni/
Dandroid_security_cts_EncryptionTest.cpp47 jboolean rc = !strcmp(prop_value, "encrypted"); in android_security_cts_EncryptionTest_deviceIsEncrypted() local
48 ALOGE("EncryptionTest::deviceIsEncrypted: %d", rc); in android_security_cts_EncryptionTest_deviceIsEncrypted()
50 return rc; in android_security_cts_EncryptionTest_deviceIsEncrypted()
62 jboolean rc = false; in android_security_cts_EncryptionTest_cpuHasAes() local
67 rc = (features & ANDROID_CPU_ARM_FEATURE_AES) != 0; in android_security_cts_EncryptionTest_cpuHasAes()
69 rc = (features & ANDROID_CPU_ARM64_FEATURE_AES) != 0; in android_security_cts_EncryptionTest_cpuHasAes()
72 ALOGE("EncryptionTest::cpuHasAes: %d", rc); in android_security_cts_EncryptionTest_cpuHasAes()
73 return rc; in android_security_cts_EncryptionTest_cpuHasAes()
85 jboolean rc = false; in android_security_cts_EncryptionTest_cpuHasNeon() local
89 rc = (android_getCpuFeatures() & ANDROID_CPU_ARM_FEATURE_NEON) != 0; in android_security_cts_EncryptionTest_cpuHasNeon()
[all …]
/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/widget/src/android/widget/cts/
DAbsSpinnerTest.java189 Rect rc = new Rect(0, 0, 100, 100); in testPointToPosition() local
190 Rect rcChild0 = new Rect(0, 0, 20, rc.bottom); in testPointToPosition()
191 Rect rcChild1 = new Rect(rcChild0.right, 0, 70, rc.bottom); in testPointToPosition()
192 Rect rcChild2 = new Rect(rcChild1.right, 0, rc.right, rc.bottom); in testPointToPosition()
193 absSpinner.layout(rc.left, rc.top, rc.right, rc.bottom); in testPointToPosition()
202 assertEquals(0, absSpinner.pointToPosition(rcChild0.left + 1, rc.bottom - 1)); in testPointToPosition()
203 assertEquals(1, absSpinner.pointToPosition(rcChild1.left + 1, rc.bottom - 1)); in testPointToPosition()
204 assertEquals(2, absSpinner.pointToPosition(rcChild2.left + 1, rc.bottom - 1)); in testPointToPosition()
206 absSpinner.pointToPosition(rc.right + 1, rc.bottom - 1)); in testPointToPosition()
DTextViewTest.java1958 Rect rc = new Rect(); in testGetFocusedRect() local
1962 mTextView.getFocusedRect(rc); in testGetFocusedRect()
1963 assertEquals(mTextView.getScrollX(), rc.left); in testGetFocusedRect()
1964 assertEquals(mTextView.getScrollX() + mTextView.getWidth(), rc.right); in testGetFocusedRect()
1965 assertEquals(mTextView.getScrollY(), rc.top); in testGetFocusedRect()
1966 assertEquals(mTextView.getScrollY() + mTextView.getHeight(), rc.bottom); in testGetFocusedRect()
1970 mTextView.getFocusedRect(rc); in testGetFocusedRect()
1971 assertEquals(mTextView.getScrollX(), rc.left); in testGetFocusedRect()
1972 assertEquals(mTextView.getScrollX() + mTextView.getWidth(), rc.right); in testGetFocusedRect()
1973 assertEquals(mTextView.getScrollY(), rc.top); in testGetFocusedRect()
[all …]
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLayerDrawableTest.java446 Rect rc = new Rect(); in testGetPadding() local
447 layerDrawable.getPadding(rc); in testGetPadding()
448 assertEquals(0, rc.left); in testGetPadding()
449 assertEquals(0, rc.top); in testGetPadding()
450 assertEquals(0, rc.right); in testGetPadding()
451 assertEquals(0, rc.bottom); in testGetPadding()
455 layerDrawable.getPadding(rc); in testGetPadding()
456 assertEquals(padding0.left, rc.left); in testGetPadding()
457 assertEquals(padding0.top, rc.top); in testGetPadding()
458 assertEquals(padding0.right, rc.right); in testGetPadding()
[all …]
/cts/tools/dasm/src/dasm/
Dparser.cup704 /* Format: 12x, 22x, 32x, 21t, 21c (string@, type@), 31c, 35c, 3rc */
/cts/tests/tests/media/assets/
DfileSequence1.ts145 N7��%W#��HUN�(�ʧ���yf'%d1#�]o{��-^B){�D%��V�rc&wv���p���/Nw�
Dsegment000001.ts1936 N7��%W#��HUN�(�ʧ���yf'%d1#�]o{��-^B){�D%�G�V�rc&wv���p���/Nw�
DfileSequence0.ts287 …rames=0 weightp=0 keyint=300 keGyint_min=151 scenecut=0 intra_refresh=0 rc=abr mbtree=0 bitrate…
Dsegment000000.ts3 …rames=0 weightp=0 keyint=300 keyintG�_min=151 scenecut=0 intra_refresh=0 rc=abr mbtree=0 bitrate…