Home
last modified time | relevance | path

Searched refs:Privacy (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/cmds/incidentd/tests/
DPrivacyFilter_test.cpp74 void assertStrip(uint8_t privacyPolicy, std::string expected, Privacy* policy) {
83 Privacy* privacy, ...) {
84 Privacy* list[size + 1];
89 Privacy* p = va_arg(args, Privacy*);
97 Privacy* create_privacy(uint32_t field_id, uint8_t type, uint8_t privacyPolicy) {
98 Privacy* p = new_uninit_privacy();
107 Privacy* create_message_privacy(uint32_t field_id, Privacy** children) {
108 Privacy* p = new_uninit_privacy();
123 std::vector<Privacy*> privacies;
125 Privacy* new_uninit_privacy() {
[all …]
Dsection_list.cpp56 Privacy sub_field_1{1, 1, NULL, PRIVACY_POLICY_LOCAL, NULL};
57 Privacy sub_field_2{2, 9, NULL, PRIVACY_POLICY_AUTOMATIC, NULL};
59 Privacy* list[] = {&sub_field_1, &sub_field_2, NULL};
61 Privacy field_0{0, 11, list, PRIVACY_POLICY_EXPLICIT, NULL};
62 Privacy field_1{1, 9, NULL, PRIVACY_POLICY_AUTOMATIC, NULL};
64 Privacy* final_list[] = {&field_0, &field_1};
66 const Privacy** PRIVACY_POLICY_LIST = const_cast<const Privacy**>(final_list);
/frameworks/base/cmds/incidentd/src/
DPrivacy.h39 struct Privacy { struct
49 Privacy** children; argument
61 uint64_t encode_field_id(const Privacy* p); argument
64 const Privacy* lookup(const Privacy* p, uint32_t fieldId);
78 bool CheckPremission(const Privacy* privacy,
DPrivacy.cpp31 uint64_t encode_field_id(const Privacy* p) { return (uint64_t)p->type << 32 | p->field_id; } in encode_field_id()
33 string Privacy::toString() const { in toString()
43 const Privacy* lookup(const Privacy* p, uint32_t fieldId) { in lookup()
88 bool PrivacySpec::CheckPremission(const Privacy* privacy, const uint8_t defaultDest) const { in CheckPremission()
DPrivacyFilter.cpp91 const Privacy* parentPolicy, const PrivacySpec& spec, int depth) { in strip_field()
97 const Privacy* policy = lookup(parentPolicy, fieldId); in strip_field()
126 FieldStripper(const Privacy* restrictions, const sp<ProtoReader>& data,
151 const Privacy* mRestrictions;
172 FieldStripper::FieldStripper(const Privacy* restrictions, const sp<ProtoReader>& data, in FieldStripper()
254 PrivacyFilter::PrivacyFilter(int sectionId, const Privacy* restrictions) in PrivacyFilter()
DPrivacyFilter.h65 PrivacyFilter(int sectionId, const Privacy* restrictions);
90 const Privacy* mRestrictions;
Dsection_list.h40 extern const Privacy** PRIVACY_POLICY_LIST;
Dincidentd_util.h41 const Privacy* get_privacy_of_section(int id);
Dincidentd_util.cpp32 const Privacy* get_privacy_of_section(int id) { in get_privacy_of_section()
37 const Privacy* p = PRIVACY_POLICY_LIST[mid]; in get_privacy_of_section()
Dreport_file.proto42 * Privacy policy at which this report should be shared.
DIncidentService.cpp597 static void printPrivacy(const Privacy* p, FILE* out, String8 indent) { in printPrivacy()
614 const Privacy* p = get_privacy_of_section(sectionId); in cmd_privacy()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyChipBuilderTest.kt36 val bar2 = PrivacyItem(Privacy.TYPE_CAMERA, PrivacyApplication( in testGenerateAppsList()
38 val bar3 = PrivacyItem(Privacy.TYPE_LOCATION, PrivacyApplication( in testGenerateAppsList()
40 val foo0 = PrivacyItem(Privacy.TYPE_MICROPHONE, PrivacyApplication( in testGenerateAppsList()
42 val baz1 = PrivacyItem(Privacy.TYPE_CAMERA, PrivacyApplication( in testGenerateAppsList()
55 assertEquals(listOf(Privacy.TYPE_CAMERA, Privacy.TYPE_LOCATION), typesList[0]) in testGenerateAppsList()
56 assertEquals(listOf(Privacy.TYPE_CAMERA), typesList[1]) in testGenerateAppsList()
57 assertEquals(listOf(Privacy.TYPE_MICROPHONE), typesList[2]) in testGenerateAppsList()
/frameworks/proto_logging/stats/enums/app/
Dtvsettings_enums.proto254 // TvSettings > Privacy
257 // TvSettings > Privacy > Location
260 // TvSettings > Privacy > Location > Location status (radio button)
263 // TvSettings > Privacy > Location > Location status (radio button) >
267 // TvSettings > Privacy > Location > Location status (radio button) > Off
270 // TvSettings > Privacy > Location > Scanning always available (toggle)
273 // TvSettings > Privacy > Location > [An app that had recent requests]
276 // TvSettings > Privacy > Usage & Diagnostics
279 // TvSettings > Privacy > Usage & Diagnostics > On (Toggle)
282 // TvSettings > Privacy > Ads
[all …]
Dsettings_enums.proto581 // OPEN: QS Sensor Privacy Mode tile shown
582 // ACTION: QS Sensor Privacy Mode tile tapped
1457 // OPEN: Settings > Security&Privacy > Private Space > Set up
1462 // OPEN: Settings > Security&Privacy > Private Space > Cancel
1467 // OPEN: Settings > Security&Privacy > Private Space > Set up > Wait 15 sec
1472 // OPEN: Settings > Security&Privacy > Private Space > Set up > Error > Try again
1477 // OPEN: Settings > Security&Privacy > Private Space > Set up > Error > Cancel
1482 // OPEN: Settings > Security&Privacy > Private Space >
1488 // OPEN: Settings > Security&Privacy > Private Space >
1494 // OPEN: Settings > Security&Privacy > Private Space > Set up > Wait 15 sec >
[all …]
/frameworks/base/core/java/android/hardware/
DOWNERS10 # Sensor Privacy
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DNetworkRequestEntry.java123 @Privacy
DWifiEntry.java140 public @interface Privacy {} annotation in WifiEntry
658 @Privacy
664 public void setPrivacy(@Privacy int privacy) { in setPrivacy()
DHotspotNetworkEntry.java307 @Privacy
DPasspointWifiEntry.java411 @Privacy
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyItem.kt20 typealias Privacy = PrivacyType typealias
/frameworks/base/core/java/android/view/contentprotection/flags/
Dcontent_protection_flags.aconfig21 …description: "If true, content protection setting ui is displayed in Settings > Privacy & Security…
/frameworks/base/nfc/
Djarjar-rules.txt37 rule com.android.incident.Privacy* com.android.nfc.x.@0
/frameworks/base/cmds/incidentd/
DAndroid.bp108 "src/Privacy.cpp",
/frameworks/av/media/libaaudio/fuzzer/
DREADME.md21 10. Audio Privacy Sensitivity (parameter name: `privacySensitive`)
/frameworks/base/packages/SystemUI/docs/device-entry/
Dglossary.md8 …r lock screen notification settings: `Settings > Display > Lock screen > Privacy`</li><li>Message …

12