Home
last modified time | relevance | path

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

12

/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()
52 int usage = Allocation.USAGE_IO_INPUT; in testCreateAllocations_USAGE_IO_INPUT() local
57 allocArray = createAllocationsHelper(usage, MAX_NUM_IO_ALLOC + 1); in testCreateAllocations_USAGE_IO_INPUT()
62 allocArray = createAllocationsHelper(usage, numAlloc); in testCreateAllocations_USAGE_IO_INPUT()
68 int usage = Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_INPUT; in testGetProperties() local
69 Allocation[] allocArray = createAllocationsHelper(usage, numAlloc); in testGetProperties()
92 int usage = Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_INPUT; in testMultipleIoReceive_USAGE_IO_INPUT() local
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DAllocationCache.java77 public Allocation getOrCreateTyped(Type type, int usage) { in getOrCreateTyped() argument
82 AllocationKey key = new AllocationKey(type, usage); in getOrCreateTyped()
90 "Cache HIT (%d): type = '%s', usage = '%x'", sDebugHits, type, usage)); in getOrCreateTyped()
97 "Cache MISS (%d): type = '%s', usage = '%x'", sDebugMisses, type, usage)); in getOrCreateTyped()
100 return Allocation.createTyped(mRS, type, usage); in getOrCreateTyped()
122 int usage = allocation.getUsage(); in returnToCache() local
123 AllocationKey key = new AllocationKey(allocation.getType(), usage); in returnToCache()
130 if ((usage & Allocation.USAGE_IO_INPUT) != 0) { in returnToCache()
133 if ((usage & Allocation.USAGE_IO_OUTPUT) != 0) { in returnToCache()
211 public AllocationKey(Type type, int usage) { in AllocationKey() argument
[all …]
DAllocationInfo.java89 public static AllocationInfo newInstance(Size size, int format, int usage) { in newInstance() argument
105 return new AllocationInfo(element, size, usage); in newInstance()
164 public static AllocationInfo newInstance(Element element, Size size, int usage) { in newInstance() argument
165 return new AllocationInfo(element, size, usage); in newInstance()
176 public AllocationInfo addExtraUsage(int usage) { in addExtraUsage() argument
177 return new AllocationInfo(mElement, mSize, mUsage | usage); in addExtraUsage()
192 public AllocationInfo changeFormatAndUsage(int format, int usage) { in changeFormatAndUsage() argument
193 return newInstance(getSize(), format, usage); in changeFormatAndUsage()
226 private AllocationInfo(Element element, Size size, int usage) { in AllocationInfo() argument
232 mUsage = usage; in AllocationInfo()
DScriptGraph.java244 public Builder configureInput(int width, int height, int format, int usage) { in configureInput() argument
245 return configureInput(new Size(width, height), format, usage); in configureInput()
300 public Builder configureInput(Size size, int format, int usage) { in configureInput() argument
305 mUsage = usage | Allocation.USAGE_SCRIPT; in configureInput()
/cts/tools/cts-java-scanner/src/com/android/cts/javascanner/
DCtsJavaScanner.java29 private static void usage(String[] args) { in usage() method in CtsJavaScanner
46 usage(args); in main()
52 usage(args); in main()
57 usage(args); in main()
69 usage(args); in getArg()
/cts/tools/cts-native-scanner/src/com/android/cts/nativescanner/
DCtsNativeScanner.java29 private static void usage(String[] args) { in usage() method in CtsNativeScanner
46 usage(args); in main()
52 usage(args); in main()
67 usage(args); in getArg()
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/
DCtsXmlGenerator.java37 private static void usage(String[] args) { in usage() method in CtsXmlGenerator
93 usage(args); in main()
98 usage(args); in main()
103 usage(args); in main()
122 usage(args); in main()
125 usage(args); in main()
141 usage(args); in getArg()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DFragmentTestActivity.java16 package android.app.usage.cts;
20 import android.app.usage.cts.R;
DActivities.java16 package android.app.usage.cts;
DFragmentTest.java16 package android.app.usage.cts;
20 import android.app.usage.cts.R;
DUsageStatsTest.java17 package android.app.usage.cts;
22 import android.app.usage.UsageEvents;
23 import android.app.usage.UsageStats;
24 import android.app.usage.UsageStatsManager;
DNetworkUsageStatsTest.java17 package android.app.usage.cts;
20 import android.app.usage.NetworkStatsManager;
21 import android.app.usage.NetworkStats;
DActivityTransitionActivity.java17 package android.app.usage.cts;
DActivityTransitionTest.java16 package android.app.usage.cts;
/cts/suite/audio_quality/executable/src/
Dmain.cpp54 void usage(char* bin) in usage() function
76 usage(argv[0]); in main()
81 usage(argv[0]); in main()
/cts/tools/selinux/
DSELinuxNeverallowTestGen.py7 usage = "Usage: ./gen_SELinux_CTS_neverallows.py <input policy file> <output cts java source>" variable
34 print usage
/cts/tools/dasm/src/java_cup/
DMain.java212 protected static void usage(String message) in usage() method in Main
260 usage("-package must have a name argument"); in parse_args()
270 usage("-parser must have a name argument"); in parse_args()
279 usage("-input must have a name argument"); in parse_args()
289 usage("-symbols must have a name argument"); in parse_args()
303 usage("-expect must have a name argument"); in parse_args()
309 usage("-expect must be followed by a decimal integer"); in parse_args()
316 usage("-out must have a path argument"); in parse_args()
326 usage("-out argument must be a valid existing path"); in parse_args()
341 usage("Unrecognized option \"" + argv[i] + "\""); in parse_args()
/cts/hostsidetests/usage/app/src/android/app/usage/app/
DTestActivity.java17 package android.app.usage.app;
/cts/hostsidetests/usage/
DAndroid.mk26 LOCAL_CTS_TEST_PACKAGE := android.host.app.usage
/cts/tests/tests/os/jni/seccomp-tests/
DREADME.android8 - Remove usage of pthread_cancel()
/cts/hostsidetests/usage/src/android/app/usage/cts/
DAppIdleHostTest.java17 package android.app.usage.cts;
/cts/tools/dasm/etc/
Djava_cup-new.jarMETA-INF/ META-INF/MANIFEST.MF java_cup/ java_cup/runtime/ java_cup/ ...
Djava_cup.jarMETA-INF/ META-INF/MANIFEST.MF java_cup/ java_cup/action_part.class action_part ...
Djava_cup.jar.oldMETA-INF/ META-INF/MANIFEST.MF java_cup/ java_cup/action_part.class action_part ...
/cts/tests/expectations/
Dknownfailures.txt14 "android.app.usage.cts.UsageStatsTest"

12