/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
ConnectivityConstraintTest.java | 260 NetworkInfo ni = allNetworkInfo[i]; local 261 if (ni.getType() == mNetworkType) { 262 networkInfo = ni;
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
TreeParser.java | 195 int ni = nodes.length-1; local 197 while ( ni>=0 && t!=null ) { 198 if ( nodes[ni].equals("...") ) { 199 // walk upwards until we see nodes[ni-1] then continue walking 200 if ( ni==0 ) return true; // ... at start is no-op 201 String goal = nodes[ni-1]; 205 ni--; 208 if ( !name.equals(nodes[ni]) ) { 209 //System.err.println("not matched: "+nodes[ni]+" at "+t); 213 ni-- [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
NodeSorter.java | 518 DTMIterator ni = ((XNodeSet)r).iterRaw(); local 519 int current = ni.getCurrentNode(); 521 current = ni.nextNode(); 523 // if (ni instanceof ContextNodeList) // %REVIEW%
|
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/ |
XPathImpl.java | 333 NodeIterator ni = resultObject.nodeset(); local 335 return ni.nextNode();
|
/external/chromium_org/third_party/icu/source/common/ |
rbbisetb.cpp | 154 int ni; local 155 for (ni=0; ; ni++) { // Loop over each of the UnicodeSets encountered in the input rules 156 usetNode = (RBBINode *)this->fRB->fUSetNodes->elementAt(ni); 265 for (ni=0; ; ni++) { // Loop over each of the UnicodeSets encountered in the input rules 266 usetNode = (RBBINode *)this->fRB->fUSetNodes->elementAt(ni);
|
/external/f2fs-tools/fsck/ |
fsck.c | 160 struct node_info ni; local 172 ret = get_node_info(sbi, nid, &ni); 179 if (ni.blk_addr == NEW_ADDR) { 187 IS_VALID_BLK_ADDR(sbi, ni.blk_addr); 189 is_valid_ssa_node_blk(sbi, nid, ni.blk_addr); 191 if (f2fs_test_bit(BLKOFF_FROM_MAIN(sbi, ni.blk_addr), fsck->sit_area_bitmap) == 0x0) { 192 DBG(0, "SIT bitmap is 0x0. blk_addr[0x%x]\n", ni.blk_addr); 196 if (f2fs_test_bit(BLKOFF_FROM_MAIN(sbi, ni.blk_addr), fsck->main_area_bitmap) == 0x0) { 204 ret = dev_read_block(node_blk, ni.blk_addr); 209 nid, ni.blk_addr, le32_to_cpu(node_blk->footer.nid)) 685 struct node_info ni; local [all...] |
/external/icu/icu4c/source/common/ |
rbbisetb.cpp | 154 int ni; local 155 for (ni=0; ; ni++) { // Loop over each of the UnicodeSets encountered in the input rules 156 usetNode = (RBBINode *)this->fRB->fUSetNodes->elementAt(ni); 265 for (ni=0; ; ni++) { // Loop over each of the UnicodeSets encountered in the input rules 266 usetNode = (RBBINode *)this->fRB->fUSetNodes->elementAt(ni);
|
/frameworks/base/graphics/java/android/graphics/ |
Region.java | 113 return nativeSetPath(mNativeRegion, path.ni(), clip.mNativeRegion); 158 nativeGetBoundaryPath(mNativeRegion, path.ni()); 167 return nativeGetBoundaryPath(mNativeRegion, path.ni()); 345 long ni = nativeCreateFromParcel(p); 346 if (ni == 0) { 349 return new Region(ni); 388 Region(long ni) { 389 if (ni == 0) { 392 mNativeRegion = ni; 397 private Region(long ni, int dummy) 401 final long ni() { method in class:Region [all...] |
Typeface.java | 137 long ni = 0; local 144 ni = family.native_instance; 148 SparseArray<Typeface> styles = sTypefaceCache.get(ni); 157 typeface = new Typeface(nativeCreateFromTypeface(ni, style)); 160 sTypefaceCache.put(ni, styles); 253 private Typeface(long ni) { 254 if (ni == 0) { 258 native_instance = ni; 259 mStyle = nativeGetStyle(ni);
|
Matrix.java | 835 /*package*/ final long ni() { method in class:Matrix
|
Path.java | 209 FillType(int ni) { 210 nativeInt = ni; 493 Direction(int ni) { 494 nativeInt = ni; 754 final long ni() { method in class:Path
|
/packages/apps/Settings/src/com/android/settings/ |
WirelessSettings.java | 128 NetworkInfo ni = mCm.getProvisioningOrActiveNetworkInfo(); local 129 if (mTm.hasIccCard() && (ni != null)) {
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipConnectionService.java | 274 NetworkInfo ni = cm.getActiveNetworkInfo(); local 275 if (ni != null && ni.isConnected()) { 276 return ni.getType() == ConnectivityManager.TYPE_WIFI ||
|
/system/core/toolbox/ |
vmstat.c | 217 printf("%2s %2s %6s %6s %6s %6s %4s %4s %4s %2s %2s %2s %2s %2s %2s\n", "r", "b", "free", "mapped", "anon", "slab", "in", "cs", "flt", "us", "ni", "sy", "id", "wa", "ir"); 225 int us, ni, sy, id, wa, ir; local 227 ni = JP(new->cpu_ni - old->cpu_ni); NORM(ni); 236 us, ni, sy, id, wa, ir);
|
/cts/tests/tests/net/src/android/net/cts/ |
ConnectivityManagerTest.java | 110 NetworkInfo[] ni = mCm.getAllNetworkInfo(); local 112 for (NetworkInfo n: ni) { 125 NetworkInfo ni = mCm.getActiveNetworkInfo(); local 127 assertTrue("You must have an active network connection to complete CTS", ni != null); 128 assertTrue(ConnectivityManager.isNetworkTypeValid(ni.getType())); 129 assertTrue(ni.getState() == State.CONNECTED); 135 NetworkInfo ni = mCm.getNetworkInfo(type); local 136 assertTrue("Info shouldn't be null for " + type, ni != null); 137 State state = ni.getState(); 140 DetailedState ds = ni.getDetailedState() 151 NetworkInfo[] ni = mCm.getAllNetworkInfo(); local 176 NetworkInfo ni = mCm.getNetworkInfo(TYPE_MOBILE); local 221 NetworkInfo ni = mCm.getNetworkInfo(type); local [all...] |
/external/clang/test/SemaCXX/ |
explicit.cpp | 202 NotInt ni; local 205 new int[ni]; // expected-error {{array size expression of type 'NotInt' requires explicit conversion to type 'int'}}
|
/external/valgrind/main/VEX/priv/ |
guest_generic_x87.c | 892 UInt ni, hi; local 900 for (ni = 0; ni < 16; ni++) { 901 if ((validR & (1 << ni)) == 0) break; 902 UInt i = ni + hi; 904 if (argL[i] != argR[ni]) { m = 0; break; } 1143 UInt ni, hi; local [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
ConnectivityManagerTestBase.java | 162 NetworkInfo ni = mCm.getNetworkInfo(networkType); local 163 if (ni != null && expectedState.equals(ni.getState())) { 164 logv("waitForNetworkState success: %s", ni); 168 logv("waitForNetworkState timeout: %s", ni); 171 logv("waitForNetworkState interim: %s", ni); 423 NetworkInfo ni = mCm.getActiveNetworkInfo(); local 424 if (ni != null && ni.isConnected()) { 428 logv("waitForActiveNetworkConnection timeout: %s", ni); 439 NetworkInfo ni = mCm.getActiveNetworkInfo(); local [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
WifiStressTest.java | 259 NetworkInfo ni = mCm.getActiveNetworkInfo(); local 260 if (ni != null) { 261 Log.e(mLogTag, "has active network while in wifi sleep: " + ni.toString());
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
RetryScheduler.java | 67 NetworkInfo ni = mConnMgr.getNetworkInfo(ConnectivityManager.TYPE_MOBILE_MMS); local 68 return (ni == null ? false : ni.isConnected());
|
/external/valgrind/main/none/tests/amd64/ |
pcmpstr64w.c | 305 UInt ni, hi; local 313 for (ni = 0; ni < 8; ni++) { 314 if ((validR & (1 << ni)) == 0) break; 315 UInt i = ni + hi; 317 if (argL[i] != argR[ni]) { m = 0; break; } [all...] |
/external/yaffs2/yaffs2/direct/ |
dtest.c | 21 int ni,no; local 25 while((ni = read(inh,buffer,100)) > 0) 27 no = yaffs_write(outh,buffer,ni); 28 if(ni != no) [all...] |
/art/test/046-reflect/src/ |
Main.java | 457 FieldNoisyInit ni = new FieldNoisyInit(); local 479 MethodNoisyInit ni = new MethodNoisyInit(); local 691 public void createMethodNoisyInit(MethodNoisyInit ni) {}
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
ttcmap.c | 3243 FT_UInt di, ni, k; local [all...] |
/external/chromium_org/third_party/skia/third_party/lua/src/ |
lstrlib.c | 919 LUA_INTFRM_T ni = (LUA_INTFRM_T)n; local 920 lua_Number diff = n - (lua_Number)ni; 924 nb = sprintf(buff, form, ni); 929 unsigned LUA_INTFRM_T ni = (unsigned LUA_INTFRM_T)n; local 930 lua_Number diff = n - (lua_Number)ni; 934 nb = sprintf(buff, form, ni);
|