Lines Matching defs:hw
87 HardwareConfig hw = new HardwareConfig(hwString);
88 if (hw != null) {
89 if (hw.type == HardwareConfig.DEV_HARDWARE_TYPE_MODEM) {
90 updateOrInsert(hw, mModems);
91 } else if (hw.type == HardwareConfig.DEV_HARDWARE_TYPE_SIM) {
92 updateOrInsert(hw, mSims);
147 private static void updateOrInsert(HardwareConfig hw, ArrayList<HardwareConfig> list) {
154 if (item.uuid.compareTo(hw.uuid) == 0) {
159 if (DBG) logd("updateOrInsert: inserting: " + hw);
160 list.add(hw);
171 HardwareConfig hw = null;
173 hw = (HardwareConfig) hwcfg.get(i);
174 if (hw != null) {
175 if (hw.type == HardwareConfig.DEV_HARDWARE_TYPE_MODEM) {
176 updateOrInsert(hw, mModems);
177 } else if (hw.type == HardwareConfig.DEV_HARDWARE_TYPE_SIM) {
178 updateOrInsert(hw, mSims);