Searched refs:usage (Results 1 - 23 of 23) sorted by relevance

/cts/hostsidetests/usage/app/src/android/app/usage/app/
H A DTestActivity.java17 package android.app.usage.app;
/cts/tests/tests/app.usage/src/android/app/usage/cts/
H A DFragmentTestActivity.java16 package android.app.usage.cts;
20 import android.app.usage.cts.R;
H A DActivities.java16 package android.app.usage.cts;
H A DFragmentTest.java16 package android.app.usage.cts;
20 import android.app.usage.cts.R;
H A 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;
H A DNetworkUsageStatsTest.java17 package android.app.usage.cts;
20 import android.app.usage.NetworkStatsManager;
21 import android.app.usage.NetworkStats;
389 assertTrue("No Rx bytes usage for uid " + Process.myUid(), totalRxBytes > 0);
390 assertTrue("No Rx packets usage for uid " + Process.myUid(), totalRxPackets > 0);
391 assertTrue("No Tx bytes usage for uid " + Process.myUid(), totalTxBytes > 0);
392 assertTrue("No Tx packets usage for uid " + Process.myUid(), totalTxPackets > 0);
444 assertTrue("No Rx bytes usage for uid " + Process.myUid(), totalRxBytes > 0);
445 assertTrue("No Rx packets usage for uid " + Process.myUid(), totalRxPackets > 0);
446 assertTrue("No Tx bytes usage fo
[all...]
H A DActivityTransitionActivity.java17 package android.app.usage.cts;
H A DActivityTransitionTest.java16 package android.app.usage.cts;
/cts/tools/cts-java-scanner/src/com/android/cts/javascanner/
H A DCtsJavaScanner.java29 private static void usage(String[] args) { method in class:CtsJavaScanner
46 usage(args);
52 usage(args);
57 usage(args);
69 usage(args);
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
H A DAllocationCache.java33 * Cache {@link Allocation} objects based on their type and usage.
77 public Allocation getOrCreateTyped(Type type, int usage) { argument
82 AllocationKey key = new AllocationKey(type, usage);
90 "Cache HIT (%d): type = '%s', usage = '%x'", sDebugHits, type, usage));
97 "Cache MISS (%d): type = '%s', usage = '%x'", sDebugMisses, type, usage));
100 return Allocation.createTyped(mRS, type, usage);
106 * <p>Future calls to getOrCreateTyped with the same type and usage may
109 * <p>Allocations that have usage {
211 AllocationKey(Type type, int usage) argument
[all...]
H A DAllocationInfo.java32 * their size, element, type, and usage.
37 * <p>Note that when creating a new {@link AllocationInfo} the usage flags <b>always</b> get ORd
53 * Create a new {@link AllocationInfo} holding the element, size, and usage
72 * and {@link Allocation#USAGE_SCRIPT usage}.
74 * <p>The usage is always ORd with {@link Allocation#USAGE_SCRIPT}.</p>
80 * @param usage Usage flags
89 public static AllocationInfo newInstance(Size size, int format, int usage) { argument
105 return new AllocationInfo(element, size, usage);
111 * with the default usage.
113 * <p>The default usage i
164 newInstance(Element element, Size size, int usage) argument
176 addExtraUsage(int usage) argument
192 changeFormatAndUsage(int format, int usage) argument
226 AllocationInfo(Element element, Size size, int usage) argument
[all...]
H A DScriptGraph.java200 * Builds a {@link ScriptGraph} by configuring input size/format/usage,
216 * script, using the default usage.
219 * {@code 0} usage.</p>
228 return configureInput(new Size(width, height), format, /*usage*/0);
235 * <p>The {@code usage} is always ORd together with {@link Allocation#USAGE_SCRIPT}.</p>
240 * @param usage Usage flags such as {@link Allocation#USAGE_IO_INPUT}
244 public Builder configureInput(int width, int height, int format, int usage) { argument
245 return configureInput(new Size(width, height), format, usage);
250 * script, using the default usage.
253 * {@code 0} usage
300 configureInput(Size size, int format, int usage) argument
[all...]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
H A DAllocationCreateAllocationsTest.java36 Allocation[] createAllocationsHelper(int usage, int numAlloc) { argument
39 return Allocation.createAllocations(mRS, t, usage, numAlloc);
43 int usage = Allocation.USAGE_SCRIPT;
47 allocArray = createAllocationsHelper(usage, numAlloc);
52 int usage = Allocation.USAGE_IO_INPUT;
57 allocArray = createAllocationsHelper(usage, MAX_NUM_IO_ALLOC + 1);
62 allocArray = createAllocationsHelper(usage, numAlloc);
68 int usage = Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_INPUT;
69 Allocation[] allocArray = createAllocationsHelper(usage, numAlloc);
92 int usage
[all...]
/cts/tools/cts-native-scanner/src/com/android/cts/nativescanner/
H A DCtsNativeScanner.java29 private static void usage(String[] args) { method in class:CtsNativeScanner
46 usage(args);
52 usage(args);
67 usage(args);
/cts/tools/selinux/
H A DSELinuxNeverallowTestGen.py7 usage = "Usage: ./gen_SELinux_CTS_neverallows.py <input policy file> <output cts java source>" variable
32 # check usage
34 print usage
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/
H A DCtsXmlGenerator.java37 private static void usage(String[] args) { method in class:CtsXmlGenerator
93 usage(args);
98 usage(args);
103 usage(args);
122 usage(args);
125 usage(args);
141 usage(args);
/cts/suite/audio_quality/executable/src/
H A Dmain.cpp54 void usage(char* bin) function
76 usage(argv[0]);
81 usage(argv[0]);
/cts/hostsidetests/usage/src/android/app/usage/cts/
H A DAppIdleHostTest.java17 package android.app.usage.cts;
26 private static final String TEST_APP_PACKAGE = "android.app.usage.app";
/cts/tools/dasm/src/java_cup/
H A DMain.java46 * <dd> print time usage summary
208 /** Print a "usage message" that described possible command line options,
210 * @param message a specific error message to preface the usage message by.
212 protected static void usage(String message) method in class:Main
231 " -time print time usage summary\n" +
260 usage("-package must have a name argument");
270 usage("-parser must have a name argument");
279 usage("-input must have a name argument");
289 usage("-symbols must have a name argument");
303 usage("
[all...]
/cts/hostsidetests/usage/
H A DAndroid.mk26 LOCAL_CTS_TEST_PACKAGE := android.host.app.usage
/cts/tools/dasm/etc/
H A Djava_cup-new.jarMETA-INF/ META-INF/MANIFEST.MF java_cup/ java_cup/runtime/ java_cup/runtime/symbol.class symbol. ...
H A Djava_cup.jarMETA-INF/ META-INF/MANIFEST.MF java_cup/ java_cup/action_part.class action_part.java package java_cup ...
H A Djava_cup.jar.oldMETA-INF/ META-INF/MANIFEST.MF java_cup/ java_cup/action_part.class action_part.java package java_cup ...

Completed in 534 milliseconds