Home
last modified time | relevance | path

Searched refs:usage (Results 1 – 25 of 118) sorted by relevance

12345

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationCreateAllocationsTest.java36 Allocation[] createAllocationsHelper(int usage, int numAlloc) { in createAllocationsHelper() argument
39 return Allocation.createAllocations(mRS, t, usage, numAlloc); in createAllocationsHelper()
43 int usage = Allocation.USAGE_SCRIPT; in testCreateAllocations() local
47 allocArray = createAllocationsHelper(usage, numAlloc); in testCreateAllocations()
55 int usage = Allocation.USAGE_IO_INPUT; in testCreateAllocations_USAGE_IO_INPUT() local
60 allocArray = createAllocationsHelper(usage, MAX_NUM_IO_ALLOC + 1); in testCreateAllocations_USAGE_IO_INPUT()
65 allocArray = createAllocationsHelper(usage, numAlloc); in testCreateAllocations_USAGE_IO_INPUT()
74 int usage = Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_INPUT; in testGetProperties() local
75 Allocation[] allocArray = createAllocationsHelper(usage, numAlloc); in testGetProperties()
101 int usage = Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_INPUT; in testMultipleIoReceive_USAGE_IO_INPUT() local
[all …]
/cts/tests/media/
Dcopy_media.sh23 usage="Usage: $0 [-h] [-s serial]"
27 echo $usage
33 echo $usage
/cts/tests/mediapc/
Dcopy_media.sh23 usage="Usage: $0 [-h] [-s serial]"
27 echo $usage
33 echo $usage
/cts/tests/video/
Dcopy_media.sh23 usage="Usage: $0 [-h] [-s serial]"
27 echo $usage
33 echo $usage
/cts/tests/tests/mediastress/
Dcopy_media.sh23 usage="Usage: $0 [-h] [-s serial]"
27 echo $usage
33 echo $usage
/cts/tests/videocodec/
Dcopy_media.sh23 usage="Usage: $0 [-h] [-s serial]"
27 echo $usage
33 echo $usage
/cts/tests/tests/media/common/
Dcopy_media_utils.sh19 usage="Usage: $0 [-h] [-s serial]"
22 echo $usage
28 echo $usage
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferTest.cpp77 do { if (usage & AHARDWAREBUFFER_USAGE_ ## x) { os << #x << " "; } } while (0)
79 void PrintAhbUsage(std::ostream& os, uint64_t usage) { in PrintAhbUsage() argument
80 if (usage == 0) { in PrintAhbUsage()
84 switch (usage & AHARDWAREBUFFER_USAGE_CPU_READ_MASK) { in PrintAhbUsage()
90 switch (usage & AHARDWAREBUFFER_USAGE_CPU_WRITE_MASK) { in PrintAhbUsage()
143 PrintAhbUsage(*os, desc.usage); in PrintTo()
151 a.usage == b.usage && a.format == b.format; in operator ==()
183 desc.usage = AHARDWAREBUFFER_USAGE_CPU_READ_RARELY; in TEST()
204 desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in TEST()
215 desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in TEST()
[all …]
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioPlaybackCaptureTest.java106 for (int usage : matchingUsages) { in build()
107 apccBuilder.addMatchingUsage(usage); in build()
111 for (int usage : excludeUsages) { in build()
112 apccBuilder.excludeUsage(usage); in build()
179 @AttributeUsage int usage) { in createMediaPlayer() argument
185 .setUsage(usage) in createMediaPlayer()
349 private void doTestCaptureMatchingAllowedUsage(int usage) throws Exception { in doTestCaptureMatchingAllowedUsage() argument
350 mAPCTestConfig.matchingUsages = new int[]{ usage }; in doTestCaptureMatchingAllowedUsage()
351 testPlaybackCapture(OPT_IN, usage, EXPECT_DATA); in doTestCaptureMatchingAllowedUsage()
352 testPlaybackCapture(OPT_OUT, usage, EXPECT_SILENCE); in doTestCaptureMatchingAllowedUsage()
[all …]
DAudioDevicesForAttributesTest.kt50 for (usage in AudioAttributes.getSdkUsages()) { in testGetAudioDevicesForAttributes() variable
52 .setUsage(usage) in testGetAudioDevicesForAttributes()
/cts/tests/tests/app.usage/TestApp1/src/android/app/usage/cts/test1/
DTestService.java17 package android.app.usage.cts.test1;
23 import android.app.usage.UsageStatsManager;
24 import android.app.usage.cts.ITestReceiver;
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DFragmentTestActivity.java16 package android.app.usage.cts;
20 import android.app.usage.cts.R;
DCacheQuotaHintTest.java17 package android.app.usage.cts;
22 import android.app.usage.CacheQuotaHint;
23 import android.app.usage.UsageStats;
DActivityTransitionActivity2.java16 package android.app.usage.cts;
/cts/tests/tests/app.usage/
DAndroid.bp25 "android.app.usage.flags-aconfig-java",
106 "--rename-manifest-package android.app.usage.cts.test3",
118 "--rename-manifest-package android.app.usage.cts.test4",
131 "--rename-manifest-package android.app.usage.cts.testapi32",
144 "--rename-manifest-package android.app.usage.cts.test.assist",
157 "--rename-manifest-package android.app.usage.cts.test.exactalarm",
/cts/tests/tests/hardware/jni/
Dandroid_hardware_cts_HardwareBufferTest.cpp31 jint width, jint height, jint format, jint layers, jlong usage) { in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer() argument
38 desc.usage = usage; in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21128/test-app/src/android/security/cts/CVE_2023_21128_test/
DDeviceTest.java19 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_ACTIVE;
20 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_EXEMPTED;
21 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_NEVER;
/cts/tests/tests/view/res/raw/
DGeneric.kl434 key usage 0x0c0065 SCREENSHOT FALLBACK_USAGE_MAPPING
435 key usage 0x0c0067 WINDOW FALLBACK_USAGE_MAPPING
436 key usage 0x0c006F BRIGHTNESS_UP FALLBACK_USAGE_MAPPING
437 key usage 0x0c0070 BRIGHTNESS_DOWN FALLBACK_USAGE_MAPPING
438 key usage 0x0c0079 KEYBOARD_BACKLIGHT_UP FALLBACK_USAGE_MAPPING
439 key usage 0x0c007A KEYBOARD_BACKLIGHT_DOWN FALLBACK_USAGE_MAPPING
440 key usage 0x0c007C KEYBOARD_BACKLIGHT_TOGGLE FALLBACK_USAGE_MAPPING
441 key usage 0x0c0173 MEDIA_AUDIO_TRACK FALLBACK_USAGE_MAPPING
442 key usage 0x0c019C PROFILE_SWITCH FALLBACK_USAGE_MAPPING
443 key usage 0x0c01A2 ALL_APPS FALLBACK_USAGE_MAPPING
[all …]
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DReadDefaultUris.java57 private void playUri(final Uri uri, long timeToPlayMs, int usage, int contentType) in playUri() argument
63 new AudioAttributes.Builder().setUsage(usage).setContentType(contentType).build()); in playUri()
/cts/hostsidetests/compilation/
DAndroid.bp33 ":CompilationTestCases-package-dex-usage",
153 name: "CompilationTestCases-package-dex-usage",
156 "assets/package-dex-usage.textproto",
162 "< $(location assets/package-dex-usage.textproto) > $(out)",
163 out: ["package-dex-usage.pb"],
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/
DAppSearchStorageAugmenterDeviceTest.java25 import android.app.usage.StorageStats;
26 import android.app.usage.StorageStatsManager;
/cts/hostsidetests/usage/app/src/android/app/usage/app/
DTestActivity.java17 package android.app.usage.app;
/cts/tests/tests/media/misc/jni/
DAImageReaderCts.cpp50 uint64_t usage; member
265 uint64_t usage, in ImageReaderTestCase() argument
271 mUsage(usage), in ImageReaderTestCase()
402 if ((outDesc.usage & mUsage) != mUsage) { in HandleImageAvailable()
404 outDesc.usage, mUsage); in HandleImageAvailable()
520 kTestImageWidth, kTestImageHeight, combination.format, combination.usage, in Java_android_media_misc_cts_NativeImageReaderTest_testSucceedsWithSupportedUsageFormatNative()
524 combination.format, combination.usage); in Java_android_media_misc_cts_NativeImageReaderTest_testSucceedsWithSupportedUsageFormatNative()
/cts/tests/tests/hardware/res/raw/
Dgamevice_gv186_motioneventtests.json3 // This device produces a MOVE with coordinates in generic axes due to the HID usage
/cts/tests/tests/graphics/jni/
DImageReaderTestHelpers.cpp29 int32_t format, uint64_t usage, in ImageReaderHelper() argument
31 : mWidth(width), mHeight(height), mFormat(format), mUsage(usage), in ImageReaderHelper()

12345