Home
last modified time | relevance | path

Searched refs:access (Results 1 – 25 of 43) sorted by relevance

12

/packages/services/Car/vehicle_network_service/
DVehiclePropertyAccessControl.cpp74 const xmlChar* access) { in accessToInt() argument
75 if (!value || !property || !uid || !access) { in accessToInt()
80 if (xmlStrcmp(access, (const xmlChar *)"r") == 0) { in accessToInt()
83 else if (xmlStrcmp(access, (const xmlChar *)"w") == 0) { in accessToInt()
86 else if ((xmlStrcmp(access, (const xmlChar *)"rw") == 0) in accessToInt()
87 || (xmlStrcmp(access, (const xmlChar *)"wr") == 0)) { in accessToInt()
91 ALOGE("Unknown access tag %s for UID %s in PROPERTY %s\n",access, uid, in accessToInt()
102 int32_t access) { in updateOrCreate() argument
116 (*uidAccessMap)[uid] = access; in updateOrCreate()
122 (*uidAccessMap)[uid] = access; in updateOrCreate()
[all …]
DVehiclePropertyAccessControl.h46 const xmlChar* uid, const xmlChar* access);
47 bool updateOrCreate(int32_t uid, int32_t property, int32_t access);
DInternalPropertyDef.c25 .access = VEHICLE_PROP_ACCESS_READ_WRITE,
/packages/services/Car/tests/libvehiclenetwork-native-test/
DTestPropertyDef.c25 .access = VEHICLE_PROP_ACCESS_READ_WRITE,
35 .access = VEHICLE_PROP_ACCESS_READ_WRITE,
45 .access = VEHICLE_PROP_ACCESS_READ_WRITE,
55 .access = VEHICLE_PROP_ACCESS_READ_WRITE,
65 .access = VEHICLE_PROP_ACCESS_READ_WRITE,
75 .access = VEHICLE_PROP_ACCESS_READ_WRITE,
85 .access = VEHICLE_PROP_ACCESS_READ_WRITE,
95 .access = VEHICLE_PROP_ACCESS_READ_WRITE,
107 .access = VEHICLE_PROP_ACCESS_READ_WRITE,
117 .access = VEHICLE_PROP_ACCESS_READ_WRITE,
[all …]
DIVehicleNetworkTest.cpp86 ASSERT_EQ(config->access, newConfig->access); in TEST_F()
117 if ((config->access & VEHICLE_PROP_ACCESS_READ) == 0) { // cannot read in TEST_F()
143 if ((config->access & VEHICLE_PROP_ACCESS_WRITE) == 0) { // cannot write in TEST_F()
162 if (((config->access & VEHICLE_PROP_ACCESS_READ) == 0) || in TEST_F()
DVehicleNetworkTest.cpp93 ASSERT_EQ(config->access, newConfig->access); in TEST_F()
115 if ((config->access & VEHICLE_PROP_ACCESS_READ) == 0) { // cannot read in TEST_F()
141 if ((config->access & VEHICLE_PROP_ACCESS_WRITE) == 0) { // cannot write in TEST_F()
159 if (((config->access & VEHICLE_PROP_ACCESS_READ) == 0) || in TEST_F()
DAudioPropertyDef.c26 .access = VEHICLE_PROP_ACCESS_READ_WRITE,
36 .access = VEHICLE_PROP_ACCESS_READ_WRITE,
/packages/services/Car/car_product/sepolicy/
Dbluetooth.te1 # Allow access to wc_transport.* properties.
4 # Allow access to /dev/ttyHS0
10 # Allow access to /persist/.bt_nv.bin.
13 # Allow access to /bt_firmware files.
16 # Allow access to bt_power sysfs nodes.
Drmt_storage.te13 # Allow access to /dev/uio0.
16 # Allow access to /dev/smem_log.
19 # Allow access to modem related block devices.
22 # Allow access to SSD related block devices.
31 # Wake lock access.
Dueventd.te1 # Allow read access to firmware related files.
4 # Write access to thermal related sysfs nodes.
7 # Allow write access to usb related sysfs nodes.
10 # Allow write access to bt_power sysfs nodes.
Dqcom-post-boot.te14 # Allow access to /dev/ttyHS0.
19 # Write access to thermal related sysfs nodes.
27 # Write access to mpdecision related sysfs nodes.
39 # Write access to /sys/devices/system/cpu/*.
42 # Write access to dynamically generated files under /sys/devices/system/cpufreq/ondemand/*.
Dtime_daemon.te7 # Allow access to /dev/smem_log.
10 # Add rules for access permissions
14 # Allo access to /data/time/*.
Dqmuxd.te8 # Allow access to /dev/hsicctl*.
11 # Allow access to /sys/devices/virtual/smdpkt/smdcntl*/open_timeout.
14 # Allow access to /sys/devices/virtual/hsicctl/hsicctl*/modem_wait.
Dthermal-engine.te15 # Allow access to /dev/smem_log.
24 # Allow access to /dev/uio0.
27 # Write access to thermal related sysfs nodes.
Dstart_hci_filter.te6 # Allow access to /dev/ttyHS0
9 # Allow access to wc_transport.* properties.
/packages/apps/Nfc/src/com/android/nfc/
DNfceeAccessControl.java84 boolean access = false; in check()
93 access = true; in check()
99 mUidCache.put(uid, access); in check()
100 return access; in check()
111 Boolean access = mUidCache.get(info.uid); in check() local
112 if (access == null) { in check()
113 access = checkPackageNfceeAccess(info.packageName); in check()
114 mUidCache.put(info.uid, access); in check()
116 return access; in check()
/packages/services/Car/tests/vehiclenetworkservice_unit_tests/
DVehiclePropertyAccessControlForTesting.cpp25 const xmlChar* uid, const xmlChar* access) { in accessToInt() argument
26 return VehiclePropertyAccessControl::accessToInt(value, property, uid, access); in accessToInt()
29 …clePropertyAccessControlForTesting::updateOrCreate(int32_t uid, int32_t property, int32_t access) { in updateOrCreate() argument
30 return VehiclePropertyAccessControl::updateOrCreate(uid, property, access); in updateOrCreate()
DVehiclePropertyAccessControlForTesting.h18 const xmlChar* uid, const xmlChar* access);
19 bool updateOrCreate(int32_t uid, int32_t property, int32_t access);
/packages/services/Car/libvehiclenetwork/tool/
Dvehiclehal_code_gen.py63 self.access = ""
74 if self.access != "":
75 r.append("access:" + self.access)
154 if p.access != "":
155 accesses = p.access.split('|')
221 prop.access = words[i]
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jar ... value String prop static synthetic java.lang.String access$000 (java.lang.String, java ...
/packages/apps/Settings/src/com/android/settings/notification/
DZenAccessSettings.java135 final boolean access = (Boolean) newValue; in reloadList()
136 if (access) { in reloadList()
172 private static void setAccess(final Context context, final String pkg, final boolean access) { in setAccess() argument
177 mgr.setNotificationPolicyAccessGranted(pkg, access); in setAccess()
/packages/services/Car/libvehiclenetwork/java/src/com/android/car/vehiclenetwork/
DVehiclePropConfigUtil.java66 public static VehiclePropConfig.Builder getBuilder(int property, int access, int changeMode, in getBuilder() argument
71 setAccess(access). in getBuilder()
/packages/services/Telecomm/libs/
Dguava.jar ... .util.concurrent.TimeUnit unit static synthetic long access$700 (com.google.common.util ...
/packages/services/Car/libvehiclenetwork/include/
DVehicleNetworkDataTypes.h88 if (l.access != r.access) { in isTheSame()
/packages/apps/TV/usbtuner/libs/
Dexoplayer_1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12