gxben / aosp-ethernet

Android Ethernet AOSP
Other
45 stars 35 forks source link

jb 4.2.2 error #2

Open xianyo opened 10 years ago

xianyo commented 10 years ago

frameworks/base/core/java/android/net/ConnectivityManager.java:877: cannot find symbol symbol : method getTetherableEthernetRegexs() location: interface android.net.IConnectivityManager return mService.getTetherableEthernetRegexs(); ^ target Symbolic: libcamera_client (out/target/product/pq_common/symbols/system/lib/libcamera_client.so) frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:172: cannot find symbol symbol : variable Status location: class android.net.ethernet.EthernetConfigStore if(config != null && config.status == Status.DISABLED) { ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:173: cannot find symbol symbol : method enableNetwork(int,boolean) location: class android.net.ethernet.EthernetNative if(mEthernetNative.enableNetwork(config.networkId, false)) { ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:175: cannot find symbol symbol : variable Status location: class android.net.ethernet.EthernetConfigStore config.status = Status.ENABLED; ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:183: cannot find symbol symbol : method saveConfig() location: class android.net.ethernet.EthernetNative mEthernetNative.saveConfig(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:221: cannot find symbol symbol : method saveConfig() location: class android.net.ethernet.EthernetNative mEthernetNative.saveConfig(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:249: cannot find symbol symbol : method enableNetwork(int,boolean) location: class android.net.ethernet.EthernetNative mEthernetNative.enableNetwork(netId, false); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:250: cannot find symbol symbol : variable Status location: class android.net.ethernet.EthernetConfigStore mConfiguredNetworks.get(netId).status = Status.ENABLED; ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:252: cannot find symbol symbol : method saveConfig() location: class android.net.ethernet.EthernetNative mEthernetNative.saveConfig(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:264: cannot find symbol symbol : variable Status location: class android.net.ethernet.EthernetConfigStore config.status = Status.CURRENT; ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:268: cannot find symbol symbol : variable Status location: class android.net.ethernet.EthernetConfigStore if (config.status == Status.CURRENT) { ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:269: cannot find symbol symbol : variable Status location: class android.net.ethernet.EthernetConfigStore config.status = Status.ENABLED; ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:286: cannot find symbol symbol : method removeNetwork(int) location: class android.net.ethernet.EthernetNative if (mEthernetNative.removeNetwork(netId)) { ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:287: cannot find symbol symbol : method saveConfig() location: class android.net.ethernet.EthernetNative mEthernetNative.saveConfig(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:334: cannot find symbol symbol : method removeNetwork(int) location: class android.net.ethernet.EthernetNative boolean ret = mEthernetNative.removeNetwork(netId); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:377: cannot find symbol symbol : method enableNetwork(int,boolean) location: class android.net.ethernet.EthernetNative boolean ret = mEthernetNative.enableNetwork(netId, disableOthers); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:380: cannot find symbol symbol : variable Status location: class android.net.ethernet.EthernetConfigStore if (config != null) config.status = Status.ENABLED; ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:404: cannot find symbol symbol : method disableNetwork(int) location: class android.net.ethernet.EthernetNative boolean ret = mEthernetNative.disableNetwork(netId); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:408: cannot find symbol symbol : variable Status location: class android.net.ethernet.EthernetConfigStore if (config != null && config.status != Status.DISABLED) { ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:409: cannot find symbol symbol : variable Status location: class android.net.ethernet.EthernetConfigStore config.status = Status.DISABLED; ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:425: cannot find symbol symbol : method saveConfig() location: class android.net.ethernet.EthernetNative return mEthernetNative.saveConfig(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:552: cannot find symbol symbol : method listNetworks() location: class android.net.ethernet.EthernetNative String listStr = mEthernetNative.listNetworks(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:598: cannot find symbol symbol : variable Status location: class android.net.ethernet.EthernetConfigStore if (config.status != Status.DISABLED) { ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:599: cannot find symbol symbol : variable Status location: class android.net.ethernet.EthernetConfigStore config.status = Status.DISABLED; ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:910: cannot find symbol symbol : method addNetwork() location: class android.net.ethernet.EthernetNative netId = mEthernetNative.addNetwork(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:925: cannot find symbol symbol : variable networkNameVarName location: class android.net.ethernet.EthernetConfiguration EthernetConfiguration.networkNameVarName, ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:931: cannot find symbol symbol : method setNetworkVariable(int,java.lang.String,java.lang.String) location: class android.net.ethernet.EthernetNative if (!mEthernetNative.setNetworkVariable( ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:945: cannot find symbol symbol : method removeNetwork(int) location: class android.net.ethernet.EthernetNative mEthernetNative.removeNetwork(netId); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:1100: cannot find symbol symbol : variable networkNameVarName location: class android.net.ethernet.EthernetConfiguration value = mEthernetNative.getNetworkVariable(netId, EthernetConfiguration.networkNameVarName); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetConfigStore.java:1107: cannot find symbol symbol : method getNetworkVariable(int,java.lang.String) location: class android.net.ethernet.EthernetNative value = mEthernetNative.getNetworkVariable(netId, EthernetConfiguration.priorityVarName); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetInfo.java:48: cannot find symbol symbol : variable mNetworkName location: class android.net.ethernet.EthernetInfo mNetworkName = null; ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetInfo.java:59: cannot find symbol symbol : variable mNetworkName location: class android.net.ethernet.EthernetInfo mNetworkName = source.mNetworkName; ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetInfo.java:59: cannot find symbol symbol : variable mNetworkName location: class android.net.ethernet.EthernetInfo mNetworkName = source.mNetworkName; ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetInfo.java:67: cannot find symbol symbol : variable mNetworkName location: class android.net.ethernet.EthernetInfo mNetworkName = networkName; ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetInfo.java:77: cannot find symbol symbol : variable mNetworkName location: class android.net.ethernet.EthernetInfo if (mNetworkName != null) { ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetInfo.java:78: cannot find symbol symbol : variable mNetworkName location: class android.net.ethernet.EthernetInfo String unicode = mNetworkName.toString(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetInfo.java:86: cannot find symbol symbol : variable mNetworkName location: class android.net.ethernet.EthernetInfo return mNetworkName; ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetInfo.java:142: cannot find symbol symbol : variable mNetworkName location: class android.net.ethernet.EthernetInfo sb.append("Name: ").append(mNetworkName == null ? "" : mNetworkName). ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetInfo.java:142: cannot find symbol symbol : variable mNetworkName location: class android.net.ethernet.EthernetInfo sb.append("Name: ").append(mNetworkName == null ? "" : mNetworkName). ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetInfo.java:157: cannot find symbol symbol : variable mNetworkName location: class android.net.ethernet.EthernetInfo dest.writeString(mNetworkName); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetManager.java:571: cannot find symbol symbol : method getEthernetEnabledState() location: interface android.net.ethernet.IEthernetManager return mService.getEthernetEnabledState(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetMonitor.java:83: cannot find symbol symbol : variable Log location: class android.net.ethernet.EthernetMonitor.MonitorThread Log.d(TAG, "Poll Ethernet netlink events"); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetMonitor.java:91: cannot find symbol symbol : variable Log location: class android.net.ethernet.EthernetMonitor.MonitorThread Log.d(TAG, "Event [" + eventStr + "]"); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetMonitor.java:93: cannot find symbol symbol : method isEqual(java.lang.String) location: class java.lang.String if (EVENT_PHY_UP_STR.isEqual(eventStr)) { ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetMonitor.java:97: cannot find symbol symbol : method isEqual(java.lang.String) location: class java.lang.String else if (EVENT_PHY_DOWN_STR.isEqual(eventStr)) { ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetMonitor.java:101: cannot find symbol symbol : method isEqual(java.lang.String) location: class java.lang.String else if (EVENT_CONNECTED_STR.isEqual(eventStr)) { ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetMonitor.java:105: cannot find symbol symbol : method isEqual(java.lang.String) location: class java.lang.String else if (EVENT_DISCONNECTED_STR.isEqual(eventStr)) { ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:360: cannot find symbol symbol : variable ETHERNET_SUSPEND_OPTIMIZATIONS_ENABLED location: class android.provider.Settings.Global Settings.Global.ETHERNET_SUSPEND_OPTIMIZATIONS_ENABLED, 1) == 1); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:392: cannot find symbol symbol : variable ETHERNET_SUSPEND_OPTIMIZATIONS_ENABLED location: class android.provider.Settings.Global Settings.Global.ETHERNET_SUSPEND_OPTIMIZATIONS_ENABLED), false, ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:397: cannot find symbol symbol : variable ETHERNET_SUSPEND_OPTIMIZATIONS_ENABLED location: class android.provider.Settings.Global Settings.Global.ETHERNET_SUSPEND_OPTIMIZATIONS_ENABLED, 1) == 1); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:414: cannot find symbol symbol : variable mDdefaultState location: class android.net.ethernet.EthernetStateMachine addState(mConnectModeState, mDdefaultState); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:654: cannot find symbol symbol : variable CMD_SET_SUSPEND_OPT_ENABLED location: class android.net.ethernet.EthernetStateMachine case CMD_SET_SUSPEND_OPT_ENABLED: ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:672: cannot find symbol symbol : variable CMD_SET_SUSPEND_OPT_ENABLED location: class android.net.ethernet.EthernetStateMachine sendMessage(obtainMessage(CMD_SET_SUSPEND_OPT_ENABLED, 0, 0)); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:676: cannot find symbol symbol : variable CMD_SET_SUSPEND_OPT_ENABLED location: class android.net.ethernet.EthernetStateMachine sendMessage(obtainMessage(CMD_SET_SUSPEND_OPT_ENABLED, 1, 0)); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:772: cannot find symbol symbol : method setSuspendOptimizations(boolean) location: class android.net.ethernet.EthernetNative mEthernetNative.setSuspendOptimizations(true); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:776: cannot find symbol symbol : method setSuspendOptimizations(boolean) location: class android.net.ethernet.EthernetNative mEthernetNative.setSuspendOptimizations(false); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:795: cannot find symbol symbol : method noteEthernetOn() location: interface com.android.internal.app.IBatteryStats mBatteryStats.noteEthernetOn(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:797: cannot find symbol symbol : method noteEthernetOff() location: interface com.android.internal.app.IBatteryStats mBatteryStats.noteEthernetOff(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:832: cannot find symbol symbol : variable ETHERNET_MAX_DHCP_RETRY_COUNT location: class android.provider.Settings.Global Settings.Global.ETHERNET_MAX_DHCP_RETRY_COUNT, ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:865: cannot find symbol symbol : method getSSID() location: class android.net.ethernet.EthernetInfo mNetworkInfo.setDetailedState(state, null, mEthernetInfo.getSSID()); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:907: cannot find symbol symbol : variable mLastBssid location: class android.net.ethernet.EthernetStateMachine sendNetworkStateChangeBroadcast(mLastBssid); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:923: cannot find symbol symbol : method setPowerSave(boolean) location: class android.net.ethernet.EthernetNative mEthernetNative.setPowerSave(false); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:929: cannot find symbol symbol : method setPowerSave(boolean) location: class android.net.ethernet.EthernetNative mEthernetNative.setPowerSave(true); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:979: cannot find symbol symbol : method disconnect() location: class android.net.ethernet.EthernetNative mEthernetNative.disconnect(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:980: cannot find symbol symbol : method reconnect() location: class android.net.ethernet.EthernetNative mEthernetNative.reconnect(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1024: cannot find symbol symbol : variable CMD_SET_SUSPEND_OPT_ENABLED location: class android.net.ethernet.EthernetStateMachine.DefaultState case CMD_SET_SUSPEND_OPT_ENABLED: ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1108: cannot find symbol symbol: variable ETHERNET_AP_STATE_ENABLING case ETHERNET_AP_STATE_ENABLING: ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1109: cannot find symbol symbol: variable ETHERNET_AP_STATE_ENABLING setEthernetApState(ETHERNET_AP_STATE_ENABLING); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1278: cannot find symbol symbol : class StateChangeResult location: class android.net.ethernet.EthernetStateMachine.ConnectModeState StateChangeResult stateChangeResult; ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1281: cannot find symbol symbol : method disconnect() location: class android.net.ethernet.EthernetNative mEthernetNative.disconnect(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1284: cannot find symbol symbol : method reconnect() location: class android.net.ethernet.EthernetNative mEthernetNative.reconnect(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1302: cannot find symbol symbol : method reconnect() location: class android.net.ethernet.EthernetNative mEthernetNative.reconnect()) { ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1304: cannot find symbol symbol : variable mSupplicantStateTracker location: class android.net.ethernet.EthernetStateMachine.ConnectModeState mSupplicantStateTracker.sendMessage(EthernetManager.CONNECT_NETWORK); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1318: cannot find symbol symbol : variable mLastName location: class android.net.ethernet.EthernetStateMachine.ConnectModeState mLastName = (String) message.obj; ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1320: cannot find symbol symbol : variable mLastName location: class android.net.ethernet.EthernetStateMachine.ConnectModeState mEthernetInfo.setName(mLastName); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1324: cannot find symbol symbol : variable mLastName location: class android.net.ethernet.EthernetStateMachine.ConnectModeState sendNetworkStateChangeBroadcast(mLastName); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1367: cannot find symbol symbol : method disconnect() location: class android.net.ethernet.EthernetNative mEthernetNative.disconnect(); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1475: cannot find symbol symbol : variable mLastName location: class android.net.ethernet.EthernetStateMachine.CaptivePortalCheckState sendNetworkStateChangeBroadcast(mLastName); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1490: cannot find symbol symbol : variable mLastName location: class android.net.ethernet.EthernetStateMachine.CaptivePortalCheckState sendNetworkStateChangeBroadcast(mLastName); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1551: cannot find symbol symbol : variable CMD_NO_NETWORKS_PERIODIC_SCAN location: class android.net.ethernet.EthernetStateMachine.DisconnectedState sendMessageDelayed(obtainMessage(CMD_NO_NETWORKS_PERIODIC_SCAN, ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1552: cannot find symbol symbol : variable mPeriodicScanToken location: class android.net.ethernet.EthernetStateMachine.DisconnectedState ++mPeriodicScanToken, 0), mSupplicantScanIntervalMs); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1552: cannot find symbol symbol : variable mSupplicantScanIntervalMs location: class android.net.ethernet.EthernetStateMachine.DisconnectedState ++mPeriodicScanToken, 0), mSupplicantScanIntervalMs); ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1621: cannot find symbol symbol : variable CMD_STOP_AP location: class android.net.ethernet.EthernetStateMachine.TetheredState case CMD_STOP_AP: ^ frameworks/base/ethernet/java/android/net/ethernet/EthernetStateMachine.java:1623: cannot find symbol symbol : variable ETHERNET_AP_STATE_DISABLING location: class android.net.ethernet.EthernetStateMachine.TetheredState setEthernetApState(ETHERNET_AP_STATE_DISABLING);

ghost commented 8 years ago

Have you resolved this? I have the same error as you.

mattj103 commented 8 years ago

Is there a solution for this? The JB patch is not correct