Home
last modified time | relevance | path

Searched refs:CLASS_NAME (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdTechIdentifierValidatorTest.java23 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()
DJsonValidatorTest.java25 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()
DAdTechUriValidatorTest.java30 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/
DResolverListAdapterTest.kt47 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 …]
DShortcutSelectionLogicTest.kt37 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/
DAdServicesErrorStatsTest.java30 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()
DAbstractAdServicesErrorLoggerTest.java41 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/
DCustomAudienceBlobValidatorTest.java54 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 …]
DFetchCustomAudienceImplTest.java56 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/
DBluetoothDetailsRelatedToolsControllerTest.java56 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/
DAccessibilitySlicePreferenceControllerTest.java52 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()
DRestrictedPreferenceHelperTest.java68 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);
DAccessibilityDetailsSettingsFragmentTest.java68 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()
DAccessibilitySettingsTest.java98 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/
DAdServicesErrorLoggerImplTest.java45 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/
DNodeBuilderTest.java49 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/
DInCallLiveDataTest.java65 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/
DTopicsApiLoggingHostTest.java77 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/
DSettingsSearchIndexablesProviderTest.java109 assertThat(cursor.getString(7)).isEqualTo(FakeSettingsFragment.CLASS_NAME); in testRawColumnFetched()
127 assertThat(cursor.getString(2)).isEqualTo(FakeSettingsFragment.CLASS_NAME); in testResourcesColumnFetched()
DFakeSettingsFragment.java43 public static final String CLASS_NAME = FakeSettingsFragment.class.getName(); field in FakeSettingsFragment
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DIndexDatabaseHelper.java68 String CLASS_NAME = "class_name"; field
124 IndexColumns.CLASS_NAME +
DDatabaseIndexingManager.java20 …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/
DFakeSettingsFragment.java42 public static final String CLASS_NAME = FakeSettingsFragment.class.getName(); field in FakeSettingsFragment
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DProtectedSignalsServiceImpl.java88 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/
DCustomAudienceBlobValidator.java37 @VisibleForTesting public static final String CLASS_NAME = CustomAudienceBlob.class.getName(); field in CustomAudienceBlobValidator

12