/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 156 NetworkInfo ni = mCm.getNetworkInfo(networkType); in waitForNetworkState() local 157 if (ni != null && expectedState.equals(ni.getState())) { in waitForNetworkState() 158 logv("waitForNetworkState success: %s", ni); in waitForNetworkState() 162 logv("waitForNetworkState timeout: %s", ni); in waitForNetworkState() 165 logv("waitForNetworkState interim: %s", ni); in waitForNetworkState() 417 NetworkInfo ni = mCm.getActiveNetworkInfo(); in waitForActiveNetworkConnection() local 418 if (ni != null && ni.isConnected()) { in waitForActiveNetworkConnection() 422 logv("waitForActiveNetworkConnection timeout: %s", ni); in waitForActiveNetworkConnection() 425 logv("waitForActiveNetworkConnection interim: %s", ni); in waitForActiveNetworkConnection() 433 NetworkInfo ni = mCm.getActiveNetworkInfo(); in waitUntilNoActiveNetworkConnection() local [all …]
|
/frameworks/base/wifi/java/android/net/wifi/aware/ |
D | WifiAwareNetworkInfo.java | 113 NetworkInterface ni = mIpv6Addr.getScopedInterface(); in writeToParcel() local 114 dest.writeString(ni == null ? null : ni.getName()); in writeToParcel() 127 NetworkInterface ni = null; 130 ni = NetworkInterface.getByName(interfaceName); 135 ipv6Addr = Inet6Address.getByAddress(null, addr, ni);
|
/frameworks/base/tests/JankBench/app/src/main/jni/ |
D | Bench.cpp | 237 size_t ni = rand() * rand(); in runMemoryLatencyTest() local 238 ni = ni % maxIndex; in runMemoryLatencyTest() 239 while ((sp[ni] != NULL) || (ni == lastIdx)) { in runMemoryLatencyTest() 240 ni++; in runMemoryLatencyTest() 241 if (ni >= maxIndex) { in runMemoryLatencyTest() 242 ni = 1; in runMemoryLatencyTest() 247 sp[lastIdx] = &sp[ni]; in runMemoryLatencyTest() 248 lastIdx = ni; in runMemoryLatencyTest()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Region.java | 357 long ni = nativeCreateFromParcel(p); 358 if (ni == 0) { 361 return new Region(ni); 405 Region(long ni) { in Region() argument 406 if (ni == 0) { in Region() 409 mNativeRegion = ni; in Region() 415 private Region(long ni, int dummy) { in Region() argument 416 this(ni); in Region() 419 final long ni() { in ni() method in Region
|
D | TableMaskFilter.java | 33 private TableMaskFilter(long ni) { in TableMaskFilter() argument 34 native_instance = ni; in TableMaskFilter()
|
D | Picture.java | 112 long ni = nativeBeginRecording(mNativePicture, width, height); in beginRecording() local 113 mRecordingCanvas = new PictureCanvas(this, ni); in beginRecording()
|
D | Typeface.java | 843 final long ni = family.native_instance; 847 SparseArray<Typeface> styles = sStyledTypefaceCache.get(ni); 851 sStyledTypefaceCache.put(ni, styles); 859 typeface = new Typeface(nativeCreateFromTypeface(ni, style)); 1090 private Typeface(long ni) { 1091 if (ni == 0) { 1095 native_instance = ni; 1097 mStyle = nativeGetStyle(ni); 1098 mWeight = nativeGetWeight(ni);
|
D | RegionIterator.java | 29 mNativeIter = nativeConstructor(region.ni()); in RegionIterator()
|
D | Path.java | 241 FillType(int ni) { in FillType() argument 242 nativeInt = ni; in FillType() 526 Direction(int ni) { in Direction() argument 527 nativeInt = ni; in Direction()
|
/frameworks/base/core/java/android/net/ |
D | NetworkAgent.java | 220 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() argument 222 this(looper, context, logTag, ni, nc, lp, score, null, NetworkFactory.SerialNumber.NONE); in NetworkAgent() 224 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() argument 226 this(looper, context, logTag, ni, nc, lp, score, misc, NetworkFactory.SerialNumber.NONE); in NetworkAgent() 229 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() argument 231 this(looper, context, logTag, ni, nc, lp, score, null, factorySerialNumber); in NetworkAgent() 234 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() argument 241 if (ni == null || nc == null || lp == null) { in NetworkAgent() 248 netId = cm.registerNetworkAgent(new Messenger(this), new NetworkInfo(ni), in NetworkAgent()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TestNetworkService.java | 164 @NonNull NetworkInfo ni, 170 super(looper, context, TEST_NETWORK_TYPE, ni, nc, lp, NETWORK_SCORE); 173 mNi = ni; 237 NetworkInfo ni = new NetworkInfo(ConnectivityManager.TYPE_TEST, 0, TEST_NETWORK_TYPE, ""); 238 ni.setDetailedState(DetailedState.CONNECTED, null, null); 239 ni.setIsAvailable(true); 277 return new TestNetworkAgent(looper, context, ni, nc, lp, callingUid, binder);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | NetworkScanResult.java | 85 List<CellInfo> ni = new ArrayList<>(); in NetworkScanResult() local 86 in.readParcelableList(ni, Object.class.getClassLoader()); in NetworkScanResult() 87 networkInfos = ni; in NetworkScanResult()
|
/frameworks/base/core/java/android/util/ |
D | NtpTrustedTime.java | 111 final NetworkInfo ni = mCM == null ? null : mCM.getNetworkInfo(network); in forceRefresh() local 112 if (ni == null || !ni.isConnected()) { in forceRefresh()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcNetworkAgent.java | 70 private DcNetworkAgent(DataConnection dc, String tag, Phone phone, NetworkInfo ni, in DcNetworkAgent() argument 73 super(dc.getHandler().getLooper(), phone.getContext(), tag, ni, in DcNetworkAgent() local 97 NetworkInfo ni, int score, NetworkMisc misc, in createDcNetworkAgent() argument 102 return new DcNetworkAgent(dc, tag, phone, ni, score, misc, factorySerialNumber, in createDcNetworkAgent()
|
/frameworks/base/core/java/android/view/ |
D | RenderNodeAnimator.java | 173 long ni; in applyInterpolator() local 175 ni = ((NativeInterpolatorFactory)mInterpolator).createNativeInterpolator(); in applyInterpolator() 178 ni = FallbackLUTInterpolator.createNativeInterpolator(mInterpolator, duration); in applyInterpolator() 180 nSetInterpolator(mNativePtr.get(), ni); in applyInterpolator() local
|
/frameworks/base/cmds/incident_helper/tests/ |
D | PsParser_test.cpp | 271 if (g.ni() != e.ni()) { in TEST_F() 272 fprintf(stderr, "prcs[%d]: Invalid ni. Got %d, want %d\n", i, g.ni(), e.ni()); in TEST_F()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 259 NetworkInfo ni = mCm.getActiveNetworkInfo(); in testWifiReconnectionAfterSleep() local 260 if (ni != null) { in testWifiReconnectionAfterSleep() 261 Log.e(mLogTag, "has active network while in wifi sleep: " + ni.toString()); in testWifiReconnectionAfterSleep()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 92 NetworkInfo ni = mCm.getActiveNetworkInfo(); in test3GToWifiNotification() local 93 assertEquals("active network is not mobile", ConnectivityManager.TYPE_MOBILE, ni.getType()); in test3GToWifiNotification()
|
/frameworks/compile/slang/tests/P_reduce_general_result/ |
D | ScriptField_MyStruct.java.expect | 193 Item ni[] = new Item[newSize]; 194 System.arraycopy(mItemArray, 0, ni, 0, copySize); 195 mItemArray = ni;
|
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
D | ScriptField_MyStruct.java.expect | 193 Item ni[] = new Item[newSize]; 194 System.arraycopy(mItemArray, 0, ni, 0, copySize); 195 mItemArray = ni;
|
/frameworks/compile/slang/tests/P_reduce_general_input/ |
D | ScriptField_MyStruct.java.expect | 193 Item ni[] = new Item[newSize]; 194 System.arraycopy(mItemArray, 0, ni, 0, copySize); 195 mItemArray = ni;
|
/frameworks/compile/slang/tests/P_reflection3264_divergent/ |
D | ScriptField_NonDivergent.java.expect | 191 Item ni[] = new Item[newSize]; 192 System.arraycopy(mItemArray, 0, ni, 0, copySize); 193 mItemArray = ni;
|
/frameworks/base/core/proto/android/os/ |
D | cpuinfo.proto | 26 * 'top -b -n 1 -H -s 6 -o pid,tid,user,pr,ni,%cpu,s,virt,res,pcy,cmd,name' 79 optional sint32 ni = 5; // niceness value field
|
/frameworks/compile/slang/tests/P_struct_field/ |
D | ScriptField_InnerTwo.java.expect | 201 Item ni[] = new Item[newSize]; 202 System.arraycopy(mItemArray, 0, ni, 0, copySize); 203 mItemArray = ni;
|
D | ScriptField_InnerOne.java.expect | 214 Item ni[] = new Item[newSize]; 215 System.arraycopy(mItemArray, 0, ni, 0, copySize); 216 mItemArray = ni;
|