Home
last modified time | relevance | path

Searched refs:category (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/preference2/src/android/preference2/cts/
DPreferenceParentGroupTest.java65 PreferenceCategory category = new PreferenceCategory(mActivity); in parentViaCodeTest() local
66 assertNull(category.getParent()); in parentViaCodeTest()
71 screen.addPreference(category); in parentViaCodeTest()
72 assertEquals(screen, category.getParent()); in parentViaCodeTest()
74 category.addPreference(pref); in parentViaCodeTest()
75 assertEquals(category, pref.getParent()); in parentViaCodeTest()
77 screen.removePreference(category); in parentViaCodeTest()
78 assertNull(category.getParent()); in parentViaCodeTest()
80 category.removePreference(pref); in parentViaCodeTest()
93 PreferenceCategory category = (PreferenceCategory) screen.findPreference("pref_category"); in parentViaInflationTest() local
[all …]
/cts/tests/tests/opengl/src/android/opengl/cts/
DGL2JniLibOne.java24 public static native void init(int category, int subcategory, int width, int height); in init() argument
26 public static native float[] draw(int category, int subcategory, float[] color); in draw() argument
DOpenGLES20NativeActivityOne.java91 public OpenGLES20View(Context context, int category, int testCase, CountDownLatch latch) { in OpenGLES20View() argument
94 mRenderer = new GL2Renderer(category, testCase, latch); in OpenGLES20View()
117 public GL2Renderer(int category, int testcase, CountDownLatch latch) { in GL2Renderer() argument
118 this.mCategory = category; in GL2Renderer()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTest.java177 for (String category : categories) { in testCategories()
178 int dashIndex = category.indexOf("-"); in testCategories()
181 category = category.substring(0, dashIndex).trim(); in testCategories()
183 requiredCategories.remove(category); in testCategories()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/data/
DVideoProvider.java65 private static Movie buildMovieInfo(String category, in buildMovieInfo() argument
75 movie.setCategory(category); in buildMovieInfo()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/model/
DMovie.java92 public void setCategory(String category) { in setCategory() argument
93 mCategory = category; in setCategory()
/cts/tests/tests/telephony/src/android/telephony/cts/
DSmsUsageMonitorShortCodeTest.java62 final int category; field in SmsUsageMonitorShortCodeTest.ShortCodeTest
64 ShortCodeTest(String countryIso, String destAddress, int category) { in ShortCodeTest() argument
67 this.category = category; in ShortCodeTest()
506 test.category, monitor.checkDestination(test.address, test.countryIso)); in testSmsUsageMonitor()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DEphemeralTest.java421 String action, String category, String mimeType) { in makeArgs() argument
427 if (category != null && category.length() > 0) { in makeArgs()
428 testArgs.put("category", category); in makeArgs()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/
DWidgetCtsProvider.java172 int category = -1; in getInstruction() local
180 category = options.getInt(AppWidgetManager.OPTION_APPWIDGET_HOST_CATEGORY, -1); in getInstruction()
216 if (category == AppWidgetProviderInfo.WIDGET_CATEGORY_KEYGUARD) { in getInstruction()
218 } else if (category == AppWidgetProviderInfo.WIDGET_CATEGORY_HOME_SCREEN) { in getInstruction()
/cts/tests/tests/content/src/android/content/pm/cts/
DApplicationInfoTest.java148 assertEquals(CATEGORY_PRODUCTIVITY, mApplicationInfo.category); in verifyOwnInfo()
183 assertEquals(CATEGORY_UNDEFINED, mApplicationInfo.category); in verifyDefaultValues()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java1154 final String category = testArgs.getString("category"); in testExposedActivity() local
1157 final Intent queryIntent = makeIntent(action, category, mimeType); in testExposedActivity()
1426 private static Intent makeIntent(String action, String category, String mimeType) { in makeIntent() argument
1428 if (category != null) { in makeIntent()
1429 intent.addCategory(category); in makeIntent()
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/
DStorageStatsTest.java244 assertEquals(ApplicationInfo.CATEGORY_VIDEO, a.category); in testVerifyCategory()
245 assertEquals(ApplicationInfo.CATEGORY_UNDEFINED, b.category); in testVerifyCategory()
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile7 # Disable the message, report, category or checker with the given id(s). You
18 # Enable the message, report, category or checker with the given id(s). You can