Lines Matching defs:iface
42 jfieldID iface;
56 char iface[32];
153 // Next field is iface.
155 while (*pos != ' ' && *pos != 0 && ifaceIdx < (int)(sizeof(s.iface)-1)) {
156 s.iface[ifaceIdx] = *pos;
161 ALOGE("bad iface: %s", buffer);
165 s.iface[ifaceIdx] = 0;
167 // Is this an iface the caller is interested in?
170 if (limitIfaces[i] == s.iface) {
177 //ALOGI("skipping due to iface: %s", buffer);
231 ScopedLocalRef<jobjectArray> iface(env, get_string_array(env, stats,
232 gNetworkStatsClassInfo.iface, size, grow));
233 if (iface.get() == NULL) return -1;
266 ScopedLocalRef<jstring> ifaceString(env, env->NewStringUTF(lines[i].iface));
267 env->SetObjectArrayElement(iface.get(), i, ifaceString.get());
272 // Metered and Roaming are populated in Java-land by inspecting the iface properties.
282 env->SetObjectField(stats, gNetworkStatsClassInfo.iface, iface.get());
315 gNetworkStatsClassInfo.iface = GetFieldIDOrDie(env, clazz, "iface", "[Ljava/lang/String;");