Lines Matching refs:isOk
177 if (!status.isOk()) { in runCommand()
201 if (!status.isOk()) { in runCommand()
241 if (!status.isOk()) { in runCommand()
256 if (!status.isOk()) { in runCommand()
267 if (!status.isOk()) { in runCommand()
303 if (status.isOk()) { in runCommand()
320 if (status.isOk()) { in runCommand()
337 if (status.isOk()) { in runCommand()
397 if (status.isOk()) { in runCommand()
490 if (status.isOk()) { in runCommand()
522 if (status.isOk()) { in runCommand()
568 int rc = !mNetd->bandwidthRemoveInterfaceQuota(argv[2]).isOk(); in runCommand()
579 int rc = !mNetd->bandwidthSetInterfaceQuota(argv[2], bytes).isOk(); in runCommand()
592 rc = !mNetd->bandwidthAddNaughtyApp(uid).isOk(); in runCommand()
607 rc = !mNetd->bandwidthRemoveNaughtyApp(uid).isOk(); in runCommand()
622 rc = !mNetd->bandwidthAddNiceApp(uid).isOk(); in runCommand()
637 rc = !mNetd->bandwidthRemoveNiceApp(uid).isOk(); in runCommand()
650 int rc = !mNetd->bandwidthSetGlobalAlert(bytes).isOk(); in runCommand()
661 int rc = !mNetd->bandwidthSetInterfaceAlert(argv[2], bytes).isOk(); in runCommand()
670 int rc = !mNetd->bandwidthRemoveInterfaceAlert(argv[2]).isOk(); in runCommand()
700 if (!status.isOk()) { in runCommand()
715 if (!status.isOk()) { in runCommand()
789 int res = !mNetd->firewallSetFirewallType(parseFirewallType(argv[2])).isOk(); in runCommand()
799 int res = !mNetd->firewallSetInterfaceRule(argv[2], parseRule(argv[3])).isOk(); in runCommand()
819 int res = !mNetd->firewallSetUidRule(childChain, uid, parseRule(argv[4])).isOk(); in runCommand()
829 int res = !mNetd->firewallEnableChildChain(parseChildChain(argv[2]), true).isOk(); in runCommand()
839 int res = !mNetd->firewallEnableChildChain(parseChildChain(argv[2]), false).isOk(); in runCommand()
859 rc = !mNetd->clatdStop(argv[2]).isOk(); in runCommand()
865 rc = !mNetd->clatdStart(argv[2], argv[3], &v6Addr).isOk(); in runCommand()
931 int res = !mNetd->strictUidCleartextPenalty(uid, penalty).isOk(); in runCommand()
1010 if (!status.isOk()) { in runCommand()
1027 if (Status status = mNetd->networkAddInterface(netId, argv[4]); !status.isOk()) { in runCommand()
1032 if (Status status = mNetd->networkRemoveInterface(netId, argv[4]); !status.isOk()) { in runCommand()
1056 if (Status status = mNetd->networkCreateVpn(netId, secure); !status.isOk()) { in runCommand()
1073 if (Status status = mNetd->networkCreatePhysical(netId, permission); !status.isOk()) { in runCommand()
1090 if (Status status = mNetd->networkDestroy(netId); !status.isOk()) { in runCommand()
1114 if (Status status = mNetd->networkSetDefault(netId); !status.isOk()) { in runCommand()
1171 if (!status.isOk()) in runCommand()
1194 !status.isOk()) { in runCommand()
1200 !status.isOk()) { in runCommand()