Home
last modified time | relevance | path

Searched refs:disclosure (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/security/
DCellularIdentifierDisclosureTest.java39 android.telephony.CellularIdentifierDisclosure disclosure = in testEqualsAndHash() local
52 assertEquals(disclosure, anotherDislcosure); in testEqualsAndHash()
53 assertEquals(disclosure.hashCode(), anotherDislcosure.hashCode()); in testEqualsAndHash()
78 android.telephony.CellularIdentifierDisclosure disclosure = in testGetters() local
85 assertEquals(NAS_PROTOCOL_MESSAGE_ATTACH_REQUEST, disclosure.getNasProtocolMessage()); in testGetters()
86 assertEquals(CELLULAR_IDENTIFIER_IMSI, disclosure.getCellularIdentifier()); in testGetters()
87 assertEquals(false, disclosure.isEmergency()); in testGetters()
88 assertEquals("001001", disclosure.getPlmn()); in testGetters()
93 android.telephony.CellularIdentifierDisclosure disclosure = in testParcel() local
101 disclosure.writeToParcel(p, 0); in testParcel()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DCellularSecurityTransparencyStatsTest.java38 CellularIdentifierDisclosure disclosure = new CellularIdentifierDisclosure( in testLogIdentifierDisclosure_NullSimPlmn() local
42 mCellularSecurityStats.logIdentifierDisclosure(disclosure, null, null, true); in testLogIdentifierDisclosure_NullSimPlmn()
52 CellularIdentifierDisclosure disclosure = new CellularIdentifierDisclosure( in testLogIdentifierDisclosure_badSimPlmn() local
56 mCellularSecurityStats.logIdentifierDisclosure(disclosure, "INCORRECTLY", "FORMATTED", in testLogIdentifierDisclosure_badSimPlmn()
67 CellularIdentifierDisclosure disclosure = new CellularIdentifierDisclosure( in testLogIdentifierDisclosure_badDisclosurePlmn() local
71 mCellularSecurityStats.logIdentifierDisclosure(disclosure, "123", "456", true); in testLogIdentifierDisclosure_badDisclosurePlmn()
81 CellularIdentifierDisclosure disclosure = new CellularIdentifierDisclosure( in testLogIdentifierDisclosure_expectedGoodData() local
85 mCellularSecurityStats.logIdentifierDisclosure(disclosure, "123", "456", true); in testLogIdentifierDisclosure_expectedGoodData()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DCellularSecurityTransparencyStats.java41 public void logIdentifierDisclosure(CellularIdentifierDisclosure disclosure, String simMcc, in logIdentifierDisclosure() argument
49 String plmn = disclosure.getPlmn(); in logIdentifierDisclosure()
59 disclosure.getCellularIdentifier(), disclosure.getNasProtocolMessage(), in logIdentifierDisclosure()
60 disclosure.isEmergency(), notificationsEnabled); in logIdentifierDisclosure()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/security/
DCellularIdentifierDisclosureNotifier.java105 public void addDisclosure(Context context, int subId, CellularIdentifierDisclosure disclosure) { in addDisclosure() argument
106 Rlog.d(TAG, "Identifier disclosure reported: " + disclosure); in addDisclosure()
108 logDisclosure(subId, disclosure); in addDisclosure()
118 if (disclosure.isEmergency()) { in addDisclosure()
135 private void logDisclosure(int subId, CellularIdentifierDisclosure disclosure) { in logDisclosure() argument
137 mSerializedWorkQueue.execute(runLogDisclosure(subId, disclosure)); in logDisclosure()
144 CellularIdentifierDisclosure disclosure) { in runLogDisclosure() argument
155 mCellularSecurityTransparencyStats.logIdentifierDisclosure(disclosure, mcc, mnc, in runLogDisclosure()
DCellularNetworkSecuritySafetySource.java150 IdentifierDisclosure disclosure = new IdentifierDisclosure(count, start, end); in setIdentifierDisclosure() local
151 mIdentifierDisclosures.put(subId, disclosure); in setIdentifierDisclosure()
296 Context context, int subId, IdentifierDisclosure disclosure) { in getIdentifierDisclosureIssue() argument
297 if (!mIdentifierDisclosureIssuesEnabled || disclosure.getDisclosureCount() == 0) { in getIdentifierDisclosureIssue()
/frameworks/proto_logging/stats/atoms/telephony/security/
Dsecurity_extension_atoms.proto35 * A single cellular identifier disclosure
38 // The mobile country code of the SIM on which the disclosure occurred
40 // The mobile network code of the SIM on which the disclosure occurred
52 // Whether or not the user was notified for this disclosure
/frameworks/opt/telephony/flags/
Dnetwork.aconfig30 description: "Guards APIs for enabling and disabling identifier disclosure transparency"
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkIndication.java441 CellularIdentifierDisclosure disclosure = in cellularIdentifierDisclosed() local
445 new AsyncResult(null, disclosure, null)); in cellularIdentifierDisclosed()
DGsmCdmaPhone.java3763 CellularIdentifierDisclosure disclosure = (CellularIdentifierDisclosure) ar.result; in handleMessage() local
3766 && disclosure != null) { in handleMessage()
3767 mIdentifierDisclosureNotifier.addDisclosure(mContext, getSubId(), disclosure); in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java522 final CharSequence disclosure = getDisclosureText(organizationName); in updateLockScreenDisclosureMsg() local
529 .setMessage(disclosure) in updateLockScreenDisclosureMsg()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java2892 CellularIdentifierDisclosure disclosure = in testCellularIdentifierDisclosure_disclosureEventAddedToNotifier() local
2901 new AsyncResult(null, disclosure, null))); in testCellularIdentifierDisclosure_disclosureEventAddedToNotifier()
2905 .addDisclosure(eq(mContext), eq(subId), eq(disclosure)); in testCellularIdentifierDisclosure_disclosureEventAddedToNotifier()