/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHal.java | 77 String methodStr = "setLogLevel"; in setLogLevel() local 79 return handleNullHal(methodStr); in setLogLevel() 139 String methodStr = "setupIface"; in setupIface() local 141 return handleNullHal(methodStr); in setupIface() 155 String methodStr = "teardownIface"; in teardownIface() local 157 return handleNullHal(methodStr); in teardownIface() 168 String methodStr = "isInitializationStarted"; in isInitializationStarted() local 170 return handleNullHal(methodStr); in isInitializationStarted() 182 String methodStr = "isInitializationComplete"; in isInitializationComplete() local 184 return handleNullHal(methodStr); in isInitializationComplete() [all …]
|
D | SupplicantP2pIfaceHalAidlImpl.java | 137 String methodStr = "setDebugParams"; in setDebugParams() local 138 if (!checkSupplicantAndLogFailure(methodStr)) { in setDebugParams() 145 handleRemoteException(e, methodStr); in setDebugParams() 147 handleServiceSpecificException(e, methodStr); in setDebugParams() 159 final String methodStr = "initialize"; in initialize() local 181 handleRemoteException(e, methodStr); in initialize() 221 String methodStr = "addIface"; in addIface() local 222 if (!checkSupplicantAndLogFailure(methodStr)) { in addIface() 228 handleRemoteException(e, methodStr); in addIface() 230 handleServiceSpecificException(e, methodStr); in addIface() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaNetworkHalAidlImpl.java | 643 final String methodStr = "setDppKeys"; in saveDppConnectionConfig() local 644 if (!checkStaNetworkAndLogFailure(methodStr)) { in saveDppConnectionConfig() 655 handleRemoteException(e, methodStr); in saveDppConnectionConfig() 657 handleServiceSpecificException(e, methodStr); in saveDppConnectionConfig() 1221 final String methodStr = "getId"; in getId() local 1222 if (!checkStaNetworkAndLogFailure(methodStr)) { in getId() 1229 handleRemoteException(e, methodStr); in getId() 1231 handleServiceSpecificException(e, methodStr); in getId() 1249 final String methodStr = "registerCallback"; in registerCallback() local 1250 if (!checkStaNetworkAndLogFailure(methodStr)) { in registerCallback() [all …]
|
D | SupplicantStaIfaceHal.java | 921 String methodStr = "setupIface"; in setupIface() local 923 return handleNullHal(methodStr); in setupIface() 937 String methodStr = "teardownIface"; in teardownIface() local 939 return handleNullHal(methodStr); in teardownIface() 951 String methodStr = "registerDeathHandler"; in registerDeathHandler() local 953 return handleNullHal(methodStr); in registerDeathHandler() 965 String methodStr = "deregisterDeathHandler"; in deregisterDeathHandler() local 967 return handleNullHal(methodStr); in deregisterDeathHandler() 978 String methodStr = "isInitializationStarted"; in isInitializationStarted() local 980 return handleNullHal(methodStr); in isInitializationStarted() [all …]
|
D | SupplicantStaNetworkHalHidlImpl.java | 1394 final String methodStr = "getId"; in getId() local 1395 if (!checkISupplicantStaNetworkAndLogFailure(methodStr)) return false; in getId() 1403 checkStatusAndLogFailure(status, methodStr); in getId() 1408 handleRemoteException(e, methodStr); in getId() 1425 final String methodStr = "registerCallback"; in registerCallback() local 1426 if (!checkISupplicantStaNetworkAndLogFailure(methodStr)) return false; in registerCallback() 1429 return checkStatusAndLogFailure(status, methodStr); in registerCallback() 1431 handleRemoteException(e, methodStr); in registerCallback() 1441 final String methodStr = "registerCallback_1_4"; in registerCallback_1_4() local 1444 if (!checkISupplicantStaNetworkAndLogFailure(methodStr)) return false; in registerCallback_1_4() [all …]
|
D | SupplicantStaIfaceHalAidlImpl.java | 297 String methodStr = "addIface"; in addIface() local 298 if (!checkSupplicantAndLogFailure(methodStr)) { in addIface() 304 handleRemoteException(e, methodStr); in addIface() 306 handleServiceSpecificException(e, methodStr); in addIface() 322 final String methodStr = "teardownIface"; in teardownIface() local 323 if (checkStaIfaceAndLogFailure(ifaceName, methodStr) == null) { in teardownIface() 326 if (!checkSupplicantAndLogFailure(methodStr)) { in teardownIface() 339 handleRemoteException(e, methodStr); in teardownIface() 341 handleServiceSpecificException(e, methodStr); in teardownIface() 443 final String methodStr = "startDaemon"; in startDaemon() local [all …]
|
D | SupplicantStaIfaceHalHidlImpl.java | 433 final String methodStr = "setupIface"; in setupIface() local 434 if (checkSupplicantStaIfaceAndLogFailure(ifaceName, methodStr) != null) return false; in setupIface() 562 final String methodStr = "teardownIface"; in teardownIface() local 563 if (checkSupplicantStaIfaceAndLogFailure(ifaceName, methodStr) == null) return false; in teardownIface() 713 final String methodStr = "terminate"; in terminate_V1_1() local 714 if (!checkSupplicantAndLogFailure(methodStr)) return; in terminate_V1_1() 718 handleRemoteException(e, methodStr); in terminate_V1_1() 720 handleNoSuchElementException(e, methodStr); in terminate_V1_1() 1380 final String methodStr = "addNetwork"; in addNetwork() local 1381 ISupplicantStaIface iface = checkSupplicantStaIfaceAndLogFailure(ifaceName, methodStr); in addNetwork() [all …]
|
D | HostapdHal.java | 124 String methodStr = "isApInfoCallbackSupported"; in isApInfoCallbackSupported() local 126 return handleNullIHostapd(methodStr); in isApInfoCallbackSupported() 145 String methodStr = "registerApCallback"; in registerApCallback() local 147 return handleNullIHostapd(methodStr); in registerApCallback() 165 String methodStr = "addAccessPoint"; in addAccessPoint() local 167 return handleNullIHostapd(methodStr); in addAccessPoint() 181 String methodStr = "removeAccessPoint"; in removeAccessPoint() local 183 return handleNullIHostapd(methodStr); in removeAccessPoint() 200 String methodStr = "forceClientDisconnect"; in forceClientDisconnect() local 202 return handleNullIHostapd(methodStr); in forceClientDisconnect() [all …]
|
D | HostapdHalAidlImp.java | 176 String methodStr = "registerCallback"; in registerCallback() local 177 if (!checkHostapdAndLogFailure(methodStr)) { in registerCallback() 184 handleRemoteException(e, methodStr); in registerCallback() 186 handleServiceSpecificException(e, methodStr); in registerCallback() 230 final String methodStr = "addAccessPoint"; in addAccessPoint() local 231 Log.d(TAG, methodStr + ": " + ifaceName); in addAccessPoint() 232 if (!checkHostapdAndLogFailure(methodStr)) { in addAccessPoint() 248 handleRemoteException(e, methodStr); in addAccessPoint() 250 handleServiceSpecificException(e, methodStr); in addAccessPoint() 265 final String methodStr = "removeAccessPoint"; in removeAccessPoint() local [all …]
|
D | HostapdHalHidlImp.java | 316 String methodStr = "registerCallback_1_1"; in registerCallback() local 317 if (!checkHostapdAndLogFailure(methodStr)) { in registerCallback() 324 return checkStatusAndLogFailure(status, methodStr); in registerCallback() 326 handleRemoteException(e, methodStr); in registerCallback() 335 String methodStr = "registerCallback_1_3"; in registerCallback_1_3() local 336 if (!checkHostapdAndLogFailure(methodStr)) { in registerCallback_1_3() 344 return checkStatusAndLogFailure12(status, methodStr); in registerCallback_1_3() 346 handleRemoteException(e, methodStr); in registerCallback_1_3() 439 final String methodStr = "addAccessPoint"; in addAccessPoint() local 444 if (!checkHostapdAndLogFailure(methodStr)) return false; in addAccessPoint() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiChipAidlImpl.java | 94 final String methodStr = "configureChip"; in configureChip() local 97 if (!checkIfaceAndLogFailure(methodStr)) return false; in configureChip() 101 handleRemoteException(e, methodStr); in configureChip() 103 handleServiceSpecificException(e, methodStr); in configureChip() 115 final String methodStr = "createApIface"; in createApIface() local 118 if (!checkIfaceAndLogFailure(methodStr)) return null; in createApIface() 122 handleRemoteException(e, methodStr); in createApIface() 124 handleServiceSpecificException(e, methodStr); in createApIface() 136 final String methodStr = "createBridgedApIface"; in createBridgedApIface() local 139 if (!checkIfaceAndLogFailure(methodStr)) return null; in createBridgedApIface() [all …]
|
D | WifiChipHidlImpl.java | 93 String methodStr = "configureChip"; in configureChip() local 94 return validateAndCall(methodStr, false, in configureChip() 95 () -> configureChipInternal(methodStr, modeId)); in configureChip() 104 String methodStr = "createApIface"; in createApIface() local 105 return validateAndCall(methodStr, null, in createApIface() 106 () -> createApIfaceInternal(methodStr)); in createApIface() 115 String methodStr = "createBridgedApIface"; in createBridgedApIface() local 116 return validateAndCall(methodStr, null, in createBridgedApIface() 117 () -> createBridgedApIfaceInternal(methodStr)); in createBridgedApIface() 126 String methodStr = "createNanIface"; in createNanIface() local [all …]
|
D | WifiApIfaceHidlImpl.java | 48 final String methodStr = "getName"; in getName() local 49 return validateAndCall(methodStr, null, in getName() 50 () -> getNameInternal(methodStr)); in getName() 57 final String methodStr = "getBridgedInstances"; in getBridgedInstances() local 58 return validateAndCall(methodStr, null, in getBridgedInstances() 59 () -> getBridgedInstancesInternal(methodStr)); in getBridgedInstances() 66 final String methodStr = "getFactoryMacAddress"; in getFactoryMacAddress() local 67 return validateAndCall(methodStr, null, in getFactoryMacAddress() 68 () -> getFactoryMacAddressInternal(methodStr)); in getFactoryMacAddress() 75 final String methodStr = "setCountryCode"; in setCountryCode() local [all …]
|
D | WifiApIfaceAidlImpl.java | 48 final String methodStr = "getName"; in getName() local 50 if (!checkIfaceAndLogFailure(methodStr)) return null; in getName() 57 handleRemoteException(e, methodStr); in getName() 59 handleServiceSpecificException(e, methodStr); in getName() 71 final String methodStr = "getBridgedInstances"; in getBridgedInstances() local 74 if (!checkIfaceAndLogFailure(methodStr)) return null; in getBridgedInstances() 77 Log.e(TAG, methodStr + " received a null array from the HAL"); in getBridgedInstances() 82 handleRemoteException(e, methodStr); in getBridgedInstances() 84 handleServiceSpecificException(e, methodStr); in getBridgedInstances() 96 final String methodStr = "getFactoryMacAddress"; in getFactoryMacAddress() local [all …]
|
D | WifiStaIfaceHidlImpl.java | 94 final String methodStr = "registerFrameworkCallback"; in registerFrameworkCallback() local 95 return validateAndCall(methodStr, false, in registerFrameworkCallback() 96 () -> registerFrameworkCallbackInternal(methodStr, callback)); in registerFrameworkCallback() 104 final String methodStr = "getName"; in getName() local 105 return validateAndCall(methodStr, null, in getName() 106 () -> getNameInternal(methodStr)); in getName() 114 final String methodStr = "configureRoaming"; in configureRoaming() local 115 return validateAndCall(methodStr, false, in configureRoaming() 116 () -> configureRoamingInternal(methodStr, bssidBlocklist, ssidAllowlist)); in configureRoaming() 123 final String methodStr = "enableLinkLayerStatsCollection"; in enableLinkLayerStatsCollection() local [all …]
|
D | WifiStaIfaceAidlImpl.java | 98 final String methodStr = "registerFrameworkCallback"; in registerFrameworkCallback() local 100 if (!checkIfaceAndLogFailure(methodStr)) return false; in registerFrameworkCallback() 114 handleRemoteException(e, methodStr); in registerFrameworkCallback() 116 handleServiceSpecificException(e, methodStr); in registerFrameworkCallback() 128 final String methodStr = "getName"; in getName() local 130 if (!checkIfaceAndLogFailure(methodStr)) return null; in getName() 137 handleRemoteException(e, methodStr); in getName() 139 handleServiceSpecificException(e, methodStr); in getName() 151 final String methodStr = "configureRoaming"; in configureRoaming() local 154 if (!checkIfaceAndLogFailure(methodStr)) return false; in configureRoaming() [all …]
|
D | WifiNanIfaceAidlImpl.java | 108 final String methodStr = "registerFrameworkCallback"; in registerFrameworkCallback() local 110 if (!checkIfaceAndLogFailure(methodStr)) return false; in registerFrameworkCallback() 124 handleRemoteException(e, methodStr); in registerFrameworkCallback() 126 handleServiceSpecificException(e, methodStr); in registerFrameworkCallback() 138 final String methodStr = "getName"; in getName() local 140 if (!checkIfaceAndLogFailure(methodStr)) return null; in getName() 146 handleRemoteException(e, methodStr); in getName() 148 handleServiceSpecificException(e, methodStr); in getName() 159 final String methodStr = "getCapabilities"; in getCapabilities() local 162 if (!checkIfaceAndLogFailure(methodStr)) return false; in getCapabilities() [all …]
|
D | WifiNanIfaceHidlImpl.java | 88 final String methodStr = "registerFrameworkCallback"; in registerFrameworkCallback() local 89 return validateAndCall(methodStr, false, in registerFrameworkCallback() 90 () -> registerFrameworkCallbackInternal(methodStr, callback)); in registerFrameworkCallback() 97 final String methodStr = "getName"; in getName() local 98 return validateAndCall(methodStr, null, in getName() 99 () -> getNameInternal(methodStr)); in getName() 106 final String methodStr = "getCapabilities"; in getCapabilities() local 107 return validateAndCall(methodStr, false, in getCapabilities() 108 () -> getCapabilitiesInternal(methodStr, transactionId)); in getCapabilities() 119 final String methodStr = "enableAndConfigure"; in enableAndConfigure() local [all …]
|
D | WifiHalAidlImpl.java | 70 final String methodStr = "getChip"; in getChip() local 73 if (!checkWifiAndLogFailure(methodStr)) return null; in getChip() 77 handleRemoteException(e, methodStr); in getChip() 79 handleServiceSpecificException(e, methodStr); in getChip() 91 final String methodStr = "getChipIds"; in getChipIds() local 94 if (!checkWifiAndLogFailure(methodStr)) return null; in getChipIds() 102 handleRemoteException(e, methodStr); in getChipIds() 104 handleServiceSpecificException(e, methodStr); in getChipIds() 130 final String methodStr = "registerHalCallback"; in registerHalCallback() local 132 if (!checkWifiAndLogFailure(methodStr)) return false; in registerHalCallback() [all …]
|
D | WifiHalHidlImpl.java | 74 final String methodStr = "getChip"; in getChip() local 75 return validateAndCall(methodStr, null, in getChip() 76 () -> getChipInternal(methodStr, chipId)); in getChip() 87 final String methodStr = "getChipIds"; in getChipIds() local 88 return validateAndCall(methodStr, null, in getChipIds() 89 () -> getChipIdsInternal(methodStr)); in getChipIds() 99 final String methodStr = "registerEventCallback"; in registerEventCallback() local 100 return validateAndCall(methodStr, false, in registerEventCallback() 131 final String methodStr = "start"; in start() local 132 return validateAndCall(methodStr, WifiHal.WIFI_STATUS_ERROR_UNKNOWN, in start() [all …]
|
D | WifiRttControllerAidlImpl.java | 72 final String methodStr = "setup"; in setup() local 74 if (!checkIfaceAndLogFailure(methodStr)) return false; in setup() 78 handleRemoteException(e, methodStr); in setup() 81 handleServiceSpecificException(e, methodStr); in setup() 117 final String methodStr = "validate"; in validate() local 119 if (!checkIfaceAndLogFailure(methodStr)) return false; in validate() 125 handleRemoteException(e, methodStr); in validate() 127 handleServiceSpecificException(e, methodStr); in validate() 149 final String methodStr = "rangeRequest"; in rangeRequest() local 151 if (!checkIfaceAndLogFailure(methodStr)) return false; in rangeRequest() [all …]
|
D | WifiP2pIfaceAidlImpl.java | 45 final String methodStr = "getName"; in getName() local 47 if (!checkIfaceAndLogFailure(methodStr)) return null; in getName() 54 handleRemoteException(e, methodStr); in getName() 56 handleServiceSpecificException(e, methodStr); in getName() 62 private boolean checkIfaceAndLogFailure(String methodStr) { in checkIfaceAndLogFailure() argument 64 Log.e(TAG, "Unable to call " + methodStr + " because iface is null."); in checkIfaceAndLogFailure() 70 private void handleRemoteException(RemoteException e, String methodStr) { in handleRemoteException() argument 72 Log.e(TAG, methodStr + " failed with remote exception: " + e); in handleRemoteException() 75 private void handleServiceSpecificException(ServiceSpecificException e, String methodStr) { in handleServiceSpecificException() argument 76 Log.e(TAG, methodStr + " failed with service-specific exception: " + e); in handleServiceSpecificException()
|
D | WifiRttControllerHidlImpl.java | 84 final String methodStr = "setup"; in setup() local 85 return validateAndCall(methodStr, false, in setup() 86 () -> setupInternal(methodStr)); in setup() 111 final String methodStr = "validate"; in validate() local 112 return validateAndCall(methodStr, false, in validate() 113 () -> validateInternal(methodStr)); in validate() 128 final String methodStr = "rangeRequest"; in rangeRequest() local 129 return validateAndCall(methodStr, false, in rangeRequest() 130 () -> rangeRequestInternal(methodStr, cmdId, request)); in rangeRequest() 137 final String methodStr = "rangeCancel"; in rangeCancel() local [all …]
|
D | WifiP2pIfaceHidlImpl.java | 43 final String methodStr = "getName"; in getName() local 45 handleNullIface(methodStr); in getName() 52 if (isOk(status, methodStr)) { in getName() 58 Log.e(TAG, "Exception in " + methodStr + ": " + e); in getName() 63 private boolean isOk(WifiStatus status, String methodStr) { in isOk() argument 65 Log.e(TAG, methodStr + " failed with status: " + status); in isOk() 69 private void handleNullIface(String methodStr) { in handleNullIface() argument 70 Log.e(TAG, "Cannot call " + methodStr + " because mWifiP2pIface is null"); in handleNullIface()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadHalAidlImpl.java | 69 final String methodStr = String.format("initOffload(%d, %d, %s)", in initOffload() local 80 logAndIgnoreException(e, methodStr); in initOffload() 83 mLog.i(methodStr); in initOffload() 89 final String methodStr = "stopOffload()"; in stopOffload() local 93 logAndIgnoreException(e, methodStr); in stopOffload() 98 mLog.i(methodStr); in stopOffload() 110 final String methodStr = String.format("getForwardedStats(%s)", upstream); in getForwardedStats() local 114 logAndIgnoreException(e, methodStr); in getForwardedStats() 116 mLog.i(methodStr); in getForwardedStats() 122 final String methodStr = String.format("setLocalPrefixes([%s])", in setLocalPrefixes() local [all …]
|