/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() 129 NetworkInterface ni = null; 132 ni = NetworkInterface.getByName(interfaceName); 137 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/core/java/android/net/ |
D | NetworkAgent.java | 326 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() argument 328 this(looper, context, logTag, ni, nc, lp, score, null, NetworkProvider.ID_NONE); in NetworkAgent() 333 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() argument 335 this(looper, context, logTag, ni, nc, lp, score, config, NetworkProvider.ID_NONE); in NetworkAgent() 340 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() argument 342 this(looper, context, logTag, ni, nc, lp, score, null, providerId); in NetworkAgent() 347 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() argument 350 this(looper, context, logTag, nc, lp, score, config, providerId, ni, true /* legacy */); in NetworkAgent() 357 final NetworkInfo ni = new NetworkInfo(config.legacyType, config.legacyType, in getLegacyNetworkInfo() local 359 ni.setIsAvailable(true); in getLegacyNetworkInfo() [all …]
|
/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 unused) { 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/services/core/java/com/android/server/ |
D | TestNetworkService.java | 166 @NonNull NetworkInfo ni, 172 super(looper, context, TEST_NETWORK_TYPE, ni, nc, lp, NETWORK_SCORE); 175 mNi = ni; 242 NetworkInfo ni = new NetworkInfo(ConnectivityManager.TYPE_TEST, 0, TEST_NETWORK_TYPE, ""); 243 ni.setDetailedState(DetailedState.CONNECTED, null, null); 244 ni.setIsAvailable(true); 293 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 | 157 final NetworkInfo ni = connectivityManager.getNetworkInfo(network); in forceRefresh() local 158 if (ni == null || !ni.isConnected()) { in forceRefresh()
|
/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/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_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_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/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/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;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcNetworkAgent.java | 86 DcNetworkAgent(DataConnection dc, Phone phone, NetworkInfo ni, int score, in DcNetworkAgent() argument 98 mNetworkInfo = new NetworkInfo(ni); in DcNetworkAgent() 99 setLegacyExtraInfo(ni.getExtraInfo()); in DcNetworkAgent()
|