Home
last modified time | relevance | path

Searched defs:res (Results 1 – 25 of 71) sorted by relevance

123

/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_CommonDataKinds_ImTest.java56 int res = Im.getProtocolLabelResource(type); in assertGetProtocolLabel() local
64 int res = Im.getProtocolLabelResource(Im.PROTOCOL_CUSTOM); in assertCustomProtocolLabel() local
70 int res = Im.getTypeLabelResource(type); in assertGetTypeLabel() local
78 int res = Im.getTypeLabelResource(Im.TYPE_CUSTOM); in assertCustomTypeLabel() local
DContactsContract_CommonDataKinds_StructuredPostalTest.java42 int res = StructuredPostal.getTypeLabelResource(type); in assertGetTypeLabel() local
50 int res = StructuredPostal.getTypeLabelResource(StructuredPostal.TYPE_CUSTOM); in assertCustomTypeLabel() local
DContactsContract_CommonDataKinds_OrganizationTest.java42 int res = Organization.getTypeLabelResource(type); in assertGetTypeLabel() local
50 int res = Organization.getTypeLabelResource(Im.TYPE_CUSTOM); in assertCustomTypeLabel() local
DContactsContract_CommonDataKinds_RelationTest.java53 int res = Relation.getTypeLabelResource(type); in assertGetTypeLabel() local
61 int res = Relation.getTypeLabelResource(Relation.TYPE_CUSTOM); in assertCustomTypeLabel() local
DContactsContract_CommonDataKinds_EmailTest.java43 int res = Email.getTypeLabelResource(type); in assertGetTypeLabel() local
51 int res = Email.getTypeLabelResource(Email.TYPE_CUSTOM); in assertCustomTypeLabel() local
DContactsContract_CommonDataKinds_PhoneTest.java59 int res = Phone.getTypeLabelResource(type); in assertGetTypeLabel() local
67 int res = Phone.getTypeLabelResource(Phone.TYPE_CUSTOM); in assertCustomTypeLabel() local
DContactsContract_CommonDataKinds_SipAddressTest.java42 int res = SipAddress.getTypeLabelResource(type); in assertGetTypeLabel() local
50 int res = SipAddress.getTypeLabelResource(SipAddress.TYPE_CUSTOM); in assertCustomTypeLabel() local
DSettings_NameValueTableTest.java72 Uri res = NameValueTable.getUriFor(uri, name); in testGetUriFor() local
74 assertEquals(Uri.withAppendedPath(uri, name), res); in testGetUriFor() local
DContactsContract_CommonDataKinds_EventTest.java33 int res = Event.getTypeResource(type); in assertGetTypeLabel() local
/cts/tests/tests/content/src/android/content/res/cts/
DArrayTest.java34 private void checkEntry(final int resid, final int index, final Object res, in checkEntry()
41 final String[] res = mResources.getStringArray(resid); in checkStringArray() local
49 final CharSequence[] res = mResources.getTextArray(resid); in checkTextArray() local
57 final int[] res = mResources.getIntArray(resid); in checkIntArray() local
DConfigTest.java58 private static void checkValue(final Resources res, final int resId, in checkValue()
74 private static void checkValue(final Resources res, final int resId, in checkValue()
216 private static void checkPair(Resources res, int[] notResIds, in checkPair()
240 Resources res = config.getResources(); in testAllEmptyConfigs() local
444 Resources res = config.getResources(); in testAllClassicConfigs() local
653 Resources res = config.getResources(); in testDensity() local
721 Resources res = config.getResources(); in testScreenSize() local
766 Resources res = config.getResources(); in testNewScreenSize() local
902 Resources res = config.getResources(); in testPrecidence() local
1007 Resources res = config.getResources(); in testCombinations() local
[all …]
DResourceNameTest.java29 final Resources res = mContext.getResources(); in testGetResourceName() local
46 final Resources res = mContext.getResources(); in testGetResourceIdentifier() local
DPluralResourcesTest.java52 final Resources res = resourcesForLanguage("en"); in testPlurals() local
79 final Resources res = resourcesForLanguage("cs"); in testCzech() local
DPrivateAttributeTest.java32 final Resources res = getContext().getResources(); in testNoAttributesAfterLastPublicAttribute() local
DColorStateListTest.java50 final Resources res = getContext().getResources(); in testColorStateList() local
DFractionTest.java79 float res = mValue.getFraction(base, pbase); in tryFraction() local
DResourcesTest.java136 private static void checkGetText1(final Resources res, final int resId, in checkGetText1()
147 private static void checkGetText2(final Resources res, final int resId, in checkGetText2()
437 final Resources res = resourcesForLanguage("cs"); in testGetQuantityText() local
521 final String[] res = mResources.getStringArray(resid); in checkStringArray() local
528 private void checkEntry(final int resid, final int index, final Object res, in checkEntry()
535 final CharSequence[] res = mResources.getTextArray(resid); in checkTextArray() local
/cts/tests/tests/telecom/src/android/telecom/cts/
DNumberDialingTest.java42 final Object[] res = new Object[1]; in testEndInPound() local
/cts/tests/tests/mediastress/jni/
Dnative-media-jni.cpp115 XAresult res = (*playerBQItf)->Enqueue(playerBQItf, NULL /*pBufferContext*/, in enqueueInitialBuffers() local
133 XAresult res; in AndroidBufferQueueCallback() local
214 XAresult res; in StreamChangeCallback() local
287 XAresult res; in Java_android_mediastress_cts_NativeMediaActivity_createEngine() local
317 XAresult res; in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer() local
425 XAresult res; in Java_android_mediastress_cts_NativeMediaActivity_playOrPauseMediaPlayer() local
/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp83 SLresult res; in open() local
210 SLresult res = (*mPlay)->SetPlayState(mPlay, playState); in setPlayState() local
225 SLresult res = (*mPlay)->GetPlayState(mPlay, &playState); in getPlayState() local
242 SLresult res = (*mPlay)->GetPosition(mPlay, &pos); in getPositionInMsec() local
268 SLresult res = (*mBufferQueue)->Clear(mBufferQueue); in flush() local
317 SLresult res = (*mBufferQueue)->GetState(mBufferQueue, &state); in logBufferState() local
348 SLresult res; in BufferQueueCallback() local
387 status_t res; in Java_android_media_cts_AudioTrackNative_nativeTest() local
496 status_t res = track->getPositionInMsec(&pos); in Java_android_media_cts_AudioTrackNative_nativeGetPositionInMsec() local
Daudio-record-native.cpp87 SLresult res; in open() local
222 SLresult res = (*mRecord)->SetRecordState(mRecord, recordState); in setRecordState() local
237 SLresult res = (*mRecord)->GetRecordState(mRecord, &recordState); in getRecordState() local
254 SLresult res = (*mRecord)->GetPosition(mRecord, &pos); in getPositionInMsec() local
280 SLresult res = (*mBufferQueue)->Clear(mBufferQueue); in flush() local
340 SLresult res = (*mBufferQueue)->GetState(mBufferQueue, &state); in logBufferState() local
404 SLresult res; in BufferQueueCallback() local
445 status_t res; in Java_android_media_cts_AudioRecordNative_nativeTest() local
553 status_t res = record->getPositionInMsec(&pos); in Java_android_media_cts_AudioRecordNative_nativeGetPositionInMsec() local
Dappendix-b-1-1-buffer-queue.cpp59 SLresult res; in BufferQueueCallback() local
75 SLresult res; in TestPlayMusicBufferQueue() local
/cts/tests/tests/nativemedia/xa/src/
DXAObjectCreationTest.cpp38 bool IsOk(XAresult res) { in IsOk()
50 XAresult res; member in XAObjectCreationTest
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerTest.java125 ContentResolver res = mContext.getContentResolver(); in testMediaScanner() local
267 ContentResolver res = mContext.getContentResolver(); in testWildcardPaths() local
334 ContentResolver res = mContext.getContentResolver(); in testCanonicalize() local
380 int res; field in MediaScannerTest.MediaScanEntry
488 ContentResolver res = mContext.getContentResolver(); in testEncodingDetection() local
/cts/tests/tests/widget/src/android/widget/cts/
DTwoLineListItemTest.java82 Resources res = mActivity.getResources(); in testGetTexts() local

123