/system/extras/tests/storage/ |
H A D | wipe_blkdev.c | 51 static int wipe_block_device(int fd, u64 len, int secure) argument 59 if (secure) { 68 secure ? "Secure" : "Nonsecure", errno); 82 int secure = 0; local 95 secure = 1; 127 ret = wipe_block_device(fd, len, secure);
|
/system/netd/server/ |
H A D | RouteController.h | 50 static int addInterfaceToVirtualNetwork(unsigned netId, const char* interface, bool secure, 52 static int removeInterfaceFromVirtualNetwork(unsigned netId, const char* interface, bool secure, 59 static int addUsersToVirtualNetwork(unsigned netId, const char* interface, bool secure, 61 static int removeUsersFromVirtualNetwork(unsigned netId, const char* interface, bool secure,
|
H A D | VirtualNetwork.h | 25 // A VirtualNetwork may be "secure" or not. 27 // A secure VPN is the usual type of VPN that grabs the default route (and thus all user traffic). 30 // A non-secure VPN ("bypassable" VPN) also grabs all user traffic by default. But all apps are 34 VirtualNetwork(unsigned netId, bool hasDns, bool secure);
|
H A D | VirtualNetwork.cpp | 26 VirtualNetwork::VirtualNetwork(unsigned netId, bool hasDns, bool secure) : argument 27 Network(netId), mHasDns(hasDns), mSecure(secure) {
|
H A D | RouteController.cpp | 491 bool secure, bool add) { 500 if (secure) { 518 WARN_UNUSED_RESULT int modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure, argument 529 uint32_t priority = secure ? RULE_PRIORITY_SECURE_VPN : RULE_PRIORITY_BYPASSABLE_VPN; 791 const UidRanges& uidRanges, bool secure, bool add, 799 if (int ret = modifyVpnUidRangeRule(table, range.first, range.second, secure, add)) { 819 if (int ret = modifyVpnSystemPermissionRule(netId, table, secure, add)) { 1035 bool secure, const UidRanges& uidRanges) { 1036 if (int ret = modifyVirtualNetwork(netId, interface, uidRanges, secure, ACTION_ADD, 1045 bool secure, cons 490 modifyVpnUidRangeRule(uint32_t table, uid_t uidStart, uid_t uidEnd, bool secure, bool add) argument 790 modifyVirtualNetwork(unsigned netId, const char* interface, const UidRanges& uidRanges, bool secure, bool add, bool modifyNonUidBasedRules) argument 1034 addInterfaceToVirtualNetwork(unsigned netId, const char* interface, bool secure, const UidRanges& uidRanges) argument 1044 removeInterfaceFromVirtualNetwork(unsigned netId, const char* interface, bool secure, const UidRanges& uidRanges) argument 1075 addUsersToVirtualNetwork(unsigned netId, const char* interface, bool secure, const UidRanges& uidRanges) argument 1081 removeUsersFromVirtualNetwork(unsigned netId, const char* interface, bool secure, const UidRanges& uidRanges) argument [all...] |
H A D | NetworkController.h | 65 int createVirtualNetwork(unsigned netId, bool hasDns, bool secure) WARN_UNUSED_RESULT;
|
H A D | NetworkController.cpp | 338 int NetworkController::createVirtualNetwork(unsigned netId, bool hasDns, bool secure) { argument 353 mNetworks[netId] = new VirtualNetwork(netId, hasDns, secure);
|
H A D | CommandListener.cpp | 1618 // network create <netId> vpn <hasDns> <secure> 1626 bool secure = atoi(argv[5]); local 1627 if (int ret = gCtls->netCtrl.createVirtualNetwork(netId, hasDns, secure)) {
|
/system/gatekeeper/include/gatekeeper/ |
H A D | gatekeeper.h | 120 * The failure record should be written to hardware-backed secure storage, such as 123 * If 'secure' is false, password is operating in a fallback mode. Implementations 124 * may store the failure record in memory or in non-secure storage if this value is false. 129 bool secure) = 0; 134 * Must be persisted in secure storage if the target device supports it. 136 * If 'secure' is false, password is operating in a fallback mode. Implementations 137 * may store the failure record in memory or in non-secure storage if this value is false. 141 virtual bool ClearFailureRecord(uint32_t uid, secure_id_t user_id, bool secure) = 0; 146 * Must be persisted in secure storage if the target device supports it. 148 * If 'secure' i [all...] |
/system/gatekeeper/ |
H A D | gatekeeper.cpp | 279 failure_record_t *record, bool secure, GateKeeperMessage *response) { 294 if (!WriteFailureRecord(uid, record, secure)) { 307 failure_record_t *record, bool secure) { 312 return WriteFailureRecord(uid, record, secure); 278 ThrottleRequest(uint32_t uid, uint64_t timestamp, failure_record_t *record, bool secure, GateKeeperMessage *response) argument 306 IncrementFailureRecord(uint32_t uid, secure_id_t user_id, uint64_t timestamp, failure_record_t *record, bool secure) argument
|
/system/sepolicy/ |
H A D | file_contexts | 241 /data/secure/backup(/.*)? u:object_r:backup_data_file:s0
|