Home
last modified time | relevance | path

Searched refs:applyBasicPiiFilters (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java144 assertEquals("[EMAIL]", JobStatus.applyBasicPiiFilters("test@email.com")); in testApplyBasicPiiFilters_email()
145 assertEquals("[EMAIL]", JobStatus.applyBasicPiiFilters("test+plus@email.com")); in testApplyBasicPiiFilters_email()
146 assertEquals("[EMAIL]", JobStatus.applyBasicPiiFilters("t.e_st+plus-minus@email.com")); in testApplyBasicPiiFilters_email()
148 assertEquals("prefix:[EMAIL]", JobStatus.applyBasicPiiFilters("prefix:test@email.com")); in testApplyBasicPiiFilters_email()
150 assertEquals("not-an-email", JobStatus.applyBasicPiiFilters("not-an-email")); in testApplyBasicPiiFilters_email()
156 JobStatus.applyBasicPiiFilters("123-456-7890:test+plus@email.com")); in testApplyBasicPiiFilters_mixture()
158 JobStatus.applyBasicPiiFilters("prefix:123-456-7890:test+plus@email.com")); in testApplyBasicPiiFilters_mixture()
163 assertEquals("[PHONE]", JobStatus.applyBasicPiiFilters("123-456-7890")); in testApplyBasicPiiFilters_phone()
164 assertEquals("[PHONE]", JobStatus.applyBasicPiiFilters("+1-234-567-8900")); in testApplyBasicPiiFilters_phone()
166 assertEquals("prefix:[PHONE]", JobStatus.applyBasicPiiFilters("prefix:123-456-7890")); in testApplyBasicPiiFilters_phone()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java1371 static String applyBasicPiiFilters(@NonNull String val) { in applyBasicPiiFilters() method in JobStatus
1389 mFilteredDebugTags[i] = applyBasicPiiFilters(debugTags.valueAt(i)); in getFilteredDebugTags()
1406 mFilteredTraceTag = applyBasicPiiFilters(rawTag); in getFilteredTraceTag()