/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | AdTechIdentifierValidatorTest.java | 23 private static final String CLASS_NAME = "class"; field in AdTechIdentifierValidatorTest 27 new AdTechIdentifierValidator(CLASS_NAME, FIELD_NAME); 41 CLASS_NAME, in testNullIdentifier() 51 CLASS_NAME, in testEmptyIdentifier() 61 CLASS_NAME, in testMissingHost() 71 CLASS_NAME, in testMissingDomainIdentifier() 81 CLASS_NAME, in testDomainHasPort()
|
D | JsonValidatorTest.java | 25 private static final String CLASS_NAME = "class"; field in JsonValidatorTest 28 private final JsonValidator mJsonValidator = new JsonValidator(CLASS_NAME, FIELD_NAME); 48 String.format(JsonValidator.SHOULD_BE_A_VALID_JSON, CLASS_NAME, FIELD_NAME)); in testValidJsonArray() 55 String.format(JsonValidator.SHOULD_BE_A_VALID_JSON, CLASS_NAME, FIELD_NAME)); in testInvalidJson()
|
D | AdTechUriValidatorTest.java | 30 private static final String CLASS_NAME = "class"; field in AdTechUriValidatorTest 37 CLASS_NAME, 56 CLASS_NAME, in testNullUri_hasViolation() 67 CLASS_NAME, in testNoHostUri_hasViolation() 94 CLASS_NAME, in testNotHttpsHost_hasViolation()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ |
D | ResolverListAdapterTest.kt | 47 private const val CLASS_NAME = "org.pkg.app.TheClass" constant 69 val resolvedTargets = createResolvedComponents(ComponentName(PKG_NAME, CLASS_NAME)) in test_oneTargetNoLastChosen_oneTargetInAdapter() 118 val resolvedTargets = createResolvedComponents(ComponentName(PKG_NAME, CLASS_NAME)) in test_oneTargetThatWasLastChosen_NoTargetsInAdapter() 167 val resolvedTargets = createResolvedComponents(ComponentName(PKG_NAME, CLASS_NAME)) in test_oneTargetLastChosenNotInTheList_oneTargetInAdapter() 181 on { lastChosen } doReturn createResolveInfo(PKG_NAME_TWO, CLASS_NAME, userHandle) in test_oneTargetLastChosenNotInTheList_oneTargetInAdapter() 218 val resolvedTargets = createResolvedComponents(ComponentName(PKG_NAME, CLASS_NAME)) in test_oneTargetThatWasLastChosenFilteringDisabled_oneTargetInAdapter() 290 ComponentName(PKG_NAME, CLASS_NAME), in testTwoTargets() 291 ComponentName(PKG_NAME_TWO, CLASS_NAME), in testTwoTargets() 367 ComponentName(PKG_NAME, CLASS_NAME), in test_twoTargetsLastChosenNotInTheList_twoTargetsInAdapter() 368 ComponentName(PKG_NAME_TWO, CLASS_NAME), in test_twoTargetsLastChosenNotInTheList_twoTargetsInAdapter() [all …]
|
D | ShortcutSelectionLogicTest.kt | 37 private const val CLASS_NAME = "./MainActivity" in <lambda>() constant 53 ComponentName(pkg, CLASS_NAME), in <lambda>()
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/errorlogging/ |
D | AdServicesErrorStatsTest.java | 30 private static final String CLASS_NAME = "TopicsService"; field in AdServicesErrorStatsTest 41 .setClassName(CLASS_NAME) in testBuilderCreateSuccess() 49 expect.that(errorData.getClassName()).isEqualTo(CLASS_NAME); in testBuilderCreateSuccess() 60 .setClassName(CLASS_NAME) in testBuilderCreateSuccess_lineNumberMissing_ppapiNameMissing() 67 expect.that(errorData.getClassName()).isEqualTo(CLASS_NAME); in testBuilderCreateSuccess_lineNumberMissing_ppapiNameMissing()
|
D | AbstractAdServicesErrorLoggerTest.java | 41 private static final String CLASS_NAME = "TopicsService"; field in AbstractAdServicesErrorLoggerTest 87 createSQLiteExceptionWith3StackTraceElements(CLASS_NAME, METHOD_NAME, LINE_NUMBER); in testLogErrorInternal() 97 .setClassName(CLASS_NAME) in testLogErrorInternal() 116 Exception exception = createSQLiteException(CLASS_NAME, METHOD_NAME, LINE_NUMBER); in testLogErrorWithExceptionInfo_errorLoggingFlagEnabled() 128 .setClassName(CLASS_NAME) in testLogErrorWithExceptionInfo_errorLoggingFlagEnabled() 151 .setClassName(CLASS_NAME) in testLogErrorWithExceptionInfo_fullyQualifiedClassName_errorLoggingFlagEnabled()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | CustomAudienceBlobValidatorTest.java | 54 import static com.android.adservices.service.customaudience.CustomAudienceBlobValidator.CLASS_NAME; 118 new AdTechIdentifierValidator(CLASS_NAME, AD_TECH_ROLE_BUYER); 623 CLASS_NAME, in testValidator_invalidBuyer_emptyIdentifier() 643 CLASS_NAME, in testValidator_invalidBuyer_missingHost() 663 CLASS_NAME, in testValidator_invalidBuyer_domainHasPath() 683 CLASS_NAME, in testValidator_invalidBuyer_domainHasPort() 713 CLASS_NAME, in testValidator_invalidBiddingLogicUri_invalidBuyer_unset() 734 CLASS_NAME, in testValidator_invalidBiddingLogicUri_invalidBuyer_emptyIdentifier() 755 CLASS_NAME, in testValidator_invalidBiddingLogicUri_invalidBuyer_missingHost() 784 CLASS_NAME, in testValidator_invalidBiddingLogicUri_invalidBuyer_domainHasPath() [all …]
|
D | FetchCustomAudienceImplTest.java | 56 import static com.android.adservices.service.customaudience.CustomAudienceBlobValidator.CLASS_NAME; 563 CLASS_NAME, in testImpl_invalidRequest_invalidName_throws() 590 CLASS_NAME, in testImpl_invalidRequest_invalidActivationTime_throws() 622 CLASS_NAME, in testImpl_invalidRequest_invalidExpirationTime_throws() 659 CLASS_NAME, in testImpl_invalidRequest_invalidUserBiddingSignals_throws() 800 CLASS_NAME, in testImpl_invalidFused_invalidField()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsRelatedToolsControllerTest.java | 56 private static final String CLASS_NAME = PACKAGE_NAME + ".test_a11y_service"; field in BluetoothDetailsRelatedToolsControllerTest 102 List.of(getMockAccessibilityServiceInfo(PACKAGE_NAME, CLASS_NAME))); in displayPreference_oneRelatedToolsMatchA11yService_showOnePreference() 104 List.of(new ComponentName(PACKAGE_NAME, CLASS_NAME))); in displayPreference_oneRelatedToolsMatchA11yService_showOnePreference() 115 List.of(getMockAccessibilityServiceInfo(PACKAGE_NAME, CLASS_NAME))); in displayPreference_oneRelatedToolsNotMatchA11yService_showNoPreference() 117 List.of(new ComponentName(PACKAGE_NAME2, CLASS_NAME))); in displayPreference_oneRelatedToolsNotMatchA11yService_showNoPreference() 128 List.of(getMockAccessibilityServiceInfo(PACKAGE_NAME, CLASS_NAME))); in displayPreference_noRelatedTools_showNoPreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilitySlicePreferenceControllerTest.java | 52 private final String CLASS_NAME = "com.android.settings.fake.classname"; field in AccessibilitySlicePreferenceControllerTest 53 private final String SERVICE_NAME = PACKAGE_NAME + "/" + CLASS_NAME; 139 serviceInfo.name = CLASS_NAME; in getFakeServiceList() 147 ComponentName componentName = new ComponentName(PACKAGE_NAME, CLASS_NAME); in getFakeServiceList()
|
D | RestrictedPreferenceHelperTest.java | 68 private static final String CLASS_NAME = PACKAGE_NAME + ".test_a11y_service"; field in RestrictedPreferenceHelperTest 69 private static final ComponentName COMPONENT_NAME = new ComponentName(PACKAGE_NAME, CLASS_NAME); 79 PACKAGE_NAME, CLASS_NAME);
|
D | AccessibilityDetailsSettingsFragmentTest.java | 68 private static final String CLASS_NAME = PACKAGE_NAME + ".fake_a11y_service"; field in AccessibilityDetailsSettingsFragmentTest 69 private static final String COMPONENT_NAME = PACKAGE_NAME + "/" + CLASS_NAME; 197 serviceInfo.name = CLASS_NAME; in getMockAccessibilityServiceInfo()
|
D | AccessibilitySettingsTest.java | 98 private static final String CLASS_NAME = PACKAGE_NAME + ".test_a11y_service"; field in AccessibilitySettingsTest 99 private static final ComponentName COMPONENT_NAME = new ComponentName(PACKAGE_NAME, CLASS_NAME); 113 PACKAGE_NAME, CLASS_NAME);
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/common/src/com/android/adservices/errorlogging/ |
D | AdServicesErrorLoggerImplTest.java | 45 private static final String CLASS_NAME = "TopicsService"; field in AdServicesErrorLoggerImplTest 105 Exception exception = createSQLiteException(CLASS_NAME, METHOD_NAME, LINE_NUMBER); in testLogErrorWithExceptionInfo_errorLoggingFlagEnabled() 117 .setClassName(CLASS_NAME) in testLogErrorWithExceptionInfo_errorLoggingFlagEnabled() 140 .setClassName(CLASS_NAME) in testLogErrorWithExceptionInfo_fullyQualifiedClassName_errorLoggingFlagEnabled()
|
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ |
D | NodeBuilderTest.java | 49 private static final String CLASS_NAME = "class_name"; field in NodeBuilderTest 147 AccessibilityNodeInfo node = mNodeBuilder.setClassName(CLASS_NAME).build(); in testSetClassName() 148 assertThat(node.getClassName().toString()).isEqualTo(CLASS_NAME); in testSetClassName()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/ndo/ |
D | InCallLiveDataTest.java | 65 private static final String CLASS_NAME = "com.package.name.class"; field in InCallLiveDataTest 126 ComponentName componentName = new ComponentName(PACKAGE_NAME, CLASS_NAME); in createMockCallDetails()
|
/packages/modules/AdServices/adservices/tests/cts/hosttests/src/com/android/adservices/cts/ |
D | TopicsApiLoggingHostTest.java | 77 private static final String CLASS_NAME = "TARGETING"; field in TopicsApiLoggingHostTest 127 assertThat(adServicesApiCalled.getApiClass().toString()).isEqualTo(CLASS_NAME); in testGetTopicsLog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | SettingsSearchIndexablesProviderTest.java | 109 assertThat(cursor.getString(7)).isEqualTo(FakeSettingsFragment.CLASS_NAME); in testRawColumnFetched() 127 assertThat(cursor.getString(2)).isEqualTo(FakeSettingsFragment.CLASS_NAME); in testResourcesColumnFetched()
|
D | FakeSettingsFragment.java | 43 public static final String CLASS_NAME = FakeSettingsFragment.class.getName(); field in FakeSettingsFragment
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexDatabaseHelper.java | 68 String CLASS_NAME = "class_name"; field 124 IndexColumns.CLASS_NAME +
|
D | DatabaseIndexingManager.java | 20 …atic com.android.settings.intelligence.search.indexing.IndexDatabaseHelper.IndexColumns.CLASS_NAME; 247 values.put(CLASS_NAME, dataRow.className); in insertIndexData()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/search/ |
D | FakeSettingsFragment.java | 42 public static final String CLASS_NAME = FakeSettingsFragment.class.getName(); field in FakeSettingsFragment
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/ |
D | ProtectedSignalsServiceImpl.java | 88 public static final String CLASS_NAME = "ProtectedSignalsServiceImpl"; field in ProtectedSignalsServiceImpl 126 new AdTechUriValidator(ADTECH_CALLER_NAME, "", CLASS_NAME, FIELD_NAME), in ProtectedSignalsServiceImpl()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ |
D | CustomAudienceBlobValidator.java | 37 @VisibleForTesting public static final String CLASS_NAME = CustomAudienceBlob.class.getName(); field in CustomAudienceBlobValidator
|