Home
last modified time | relevance | path

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

/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceParentGroupTest.java66 PreferenceCategory category = new PreferenceCategory(mActivity); in parentViaCodeTest() local
67 assertNull(category.getParent()); in parentViaCodeTest()
72 screen.addPreference(category); in parentViaCodeTest()
73 assertEquals(screen, category.getParent()); in parentViaCodeTest()
75 category.addPreference(pref); in parentViaCodeTest()
76 assertEquals(category, pref.getParent()); in parentViaCodeTest()
78 screen.removePreference(category); in parentViaCodeTest()
79 assertNull(category.getParent()); in parentViaCodeTest()
81 category.removePreference(pref); in parentViaCodeTest()
94 PreferenceCategory category = (PreferenceCategory) screen.findPreference("pref_category"); in parentViaInflationTest() local
[all …]
/cts/tests/tests/opengl/src/android/opengl/cts/
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()
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
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTest.java119 for (String category : categories) { in testCategories()
120 int dashIndex = category.indexOf("-"); in testCategories()
123 category = category.substring(0, dashIndex).trim(); in testCategories()
125 requiredCategories.remove(category); in testCategories()
/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/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/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DSessionTest.kt79 assertEquals(CATEGORY_UNDEFINED, pm.getApplicationInfo(TEST_APK_PACKAGE_NAME, 0).category) in setAppCategory()
84 assertEquals(CATEGORY_MAPS, pm.getApplicationInfo(TEST_APK_PACKAGE_NAME, 0).category) in setAppCategory()
/cts/tests/tests/content/src/android/content/om/cts/
DOverlayInfoTest.java97 assertEquals(info.category, copyInfo.category); in testWriteToParcel()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsUsageMonitorShortCodeTest.java53 final int category; field in SmsUsageMonitorShortCodeTest.ShortCodeTest
55 ShortCodeTest(String countryIso, String destAddress, int category) { in ShortCodeTest() argument
58 this.category = category; in ShortCodeTest()
498 if (test.category != SMS_CATEGORY_NOT_SHORT_CODE in testSmsShortCodeDestination()
503 test.category, SmsManager.getDefault().checkSmsShortCodeDestination( in testSmsShortCodeDestination()
DTelephonyManagerTest.java1734 for (int category : categories) { in validateEmergencyServiceCategoryList()
1735 if (!EMERGENCY_SERVICE_CATEGORY_SET.contains(category)) { in validateEmergencyServiceCategoryList()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityMetricsLoggerTests.java130 int category, LogMaker log, long preUptimeMs, long postUptimeMs) { in assertMetricsLogs() argument
132 + " category:" + category, log); in assertMetricsLogs()
409 private LogMaker getMetricsLog(ComponentName componentName, int category) { in getMetricsLog() argument
411 new LogMaker(category)); in getMetricsLog()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DEphemeralTest.java485 String action, String category, String mimeType) { in makeArgs() argument
491 if (category != null && category.length() > 0) { in makeArgs()
492 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.java155 assertEquals(CATEGORY_PRODUCTIVITY, mApplicationInfo.category); in verifyOwnInfo()
190 assertEquals(CATEGORY_UNDEFINED, mApplicationInfo.category); in verifyDefaultValues()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java1152 final String category = testArgs.getString("category"); in testExposedActivity() local
1155 final Intent queryIntent = makeIntent(action, category, mimeType); in testExposedActivity()
1424 private static Intent makeIntent(String action, String category, String mimeType) { in makeIntent() argument
1426 if (category != null) { in makeIntent()
1427 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
21 # Enable the message, report, category or checker with the given id(s). You can