/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 | 23 // A VirtualNetwork may be "secure" or not. 25 // A secure VPN is the usual type of VPN that grabs the default route (and thus all user traffic). 28 // A non-secure VPN ("bypassable" VPN) also grabs all user traffic by default. But all apps are 32 VirtualNetwork(unsigned netId, bool hasDns, bool secure);
|
H A D | VirtualNetwork.cpp | 24 VirtualNetwork::VirtualNetwork(unsigned netId, bool hasDns, bool secure) : argument 25 Network(netId), mHasDns(hasDns), mSecure(secure) {
|
H A D | RouteController.cpp | 476 bool secure, bool add) { 485 if (secure) { 503 WARN_UNUSED_RESULT int modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure, argument 514 uint32_t priority = secure ? RULE_PRIORITY_SECURE_VPN : RULE_PRIORITY_BYPASSABLE_VPN; 758 const UidRanges& uidRanges, bool secure, bool add, 766 if (int ret = modifyVpnUidRangeRule(table, range.first, range.second, secure, add)) { 786 if (int ret = modifyVpnSystemPermissionRule(netId, table, secure, add)) { 1002 bool secure, const UidRanges& uidRanges) { 1003 if (int ret = modifyVirtualNetwork(netId, interface, uidRanges, secure, ACTION_ADD, 1012 bool secure, cons 475 modifyVpnUidRangeRule(uint32_t table, uid_t uidStart, uid_t uidEnd, bool secure, bool add) argument 757 modifyVirtualNetwork(unsigned netId, const char* interface, const UidRanges& uidRanges, bool secure, bool add, bool modifyNonUidBasedRules) argument 1001 addInterfaceToVirtualNetwork(unsigned netId, const char* interface, bool secure, const UidRanges& uidRanges) argument 1011 removeInterfaceFromVirtualNetwork(unsigned netId, const char* interface, bool secure, const UidRanges& uidRanges) argument 1034 addUsersToVirtualNetwork(unsigned netId, const char* interface, bool secure, const UidRanges& uidRanges) argument 1040 removeUsersFromVirtualNetwork(unsigned netId, const char* interface, bool secure, const UidRanges& uidRanges) argument [all...] |
H A D | NetworkController.h | 64 int createVirtualNetwork(unsigned netId, bool hasDns, bool secure) WARN_UNUSED_RESULT;
|
H A D | NetworkController.cpp | 304 int NetworkController::createVirtualNetwork(unsigned netId, bool hasDns, bool secure) { argument 319 mNetworks[netId] = new VirtualNetwork(netId, hasDns, secure);
|
H A D | CommandListener.cpp | 1641 // network create <netId> vpn <hasDns> <secure> 1649 bool secure = atoi(argv[5]); local 1650 if (int ret = sNetCtrl->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 | 257 failure_record_t *record, bool secure, GateKeeperMessage *response) { 272 if (!WriteFailureRecord(uid, record, secure)) { 285 failure_record_t *record, bool secure) { 290 return WriteFailureRecord(uid, record, secure); 256 ThrottleRequest(uint32_t uid, uint64_t timestamp, failure_record_t *record, bool secure, GateKeeperMessage *response) argument 284 IncrementFailureRecord(uint32_t uid, secure_id_t user_id, uint64_t timestamp, failure_record_t *record, bool secure) argument
|