Searched refs:ni (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/
H A DTableMaskFilter.java31 private TableMaskFilter(long ni) { argument
32 native_instance = ni;
H A DShader.java36 protected void init(long ni) { argument
37 native_instance = ni;
H A DRegionIterator.java29 mNativeIter = nativeConstructor(region.ni());
H A DRegion.java345 long ni = nativeCreateFromParcel(p);
346 if (ni == 0) {
349 return new Region(ni);
389 Region(long ni) { argument
390 if (ni == 0) {
393 mNativeRegion = ni;
398 private Region(long ni, int dummy) { argument
399 this(ni);
402 final long ni() { method in class:Region
H A DPicture.java81 long ni = nativeBeginRecording(mNativePicture, width, height);
82 mRecordingCanvas = new RecordingCanvas(this, ni);
H A DTypeface.java144 long ni = 0;
151 ni = family.native_instance;
155 SparseArray<Typeface> styles = sTypefaceCache.get(ni);
164 typeface = new Typeface(nativeCreateFromTypeface(ni, style));
167 sTypefaceCache.put(ni, styles);
288 private Typeface(long ni) { argument
289 if (ni == 0) {
293 native_instance = ni;
294 mStyle = nativeGetStyle(ni);
H A DPath.java224 FillType(int ni) { argument
225 nativeInt = ni;
508 Direction(int ni) { argument
509 nativeInt = ni;
H A DBitmap.java487 Config(int ni) { argument
488 this.nativeInt = ni;
491 static Config nativeToConfig(int ni) { argument
492 return sConfigs[ni];
H A DMatrix.java836 /*package*/ final long ni() { method in class:Matrix
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java162 NetworkInfo ni = mCm.getNetworkInfo(networkType);
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();
424 if (ni != null && ni.isConnected()) {
428 logv("waitForActiveNetworkConnection timeout: %s", ni);
[all...]
/frameworks/base/core/java/android/util/
H A DNtpTrustedTime.java95 final NetworkInfo ni = mCM == null ? null : mCM.getActiveNetworkInfo();
96 if (ni == null || !ni.isConnected()) {
/frameworks/base/core/java/android/net/
H A DNetworkAgent.java208 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, argument
210 this(looper, context, logTag, ni, nc, lp, score, null);
213 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, argument
218 if (ni == null || nc == null || lp == null) {
225 netId = cm.registerNetworkAgent(new Messenger(this), new NetworkInfo(ni),
H A DIConnectivityManager.aidl142 int registerNetworkAgent(in Messenger messenger, in NetworkInfo ni, in LinkProperties lp,
H A DConnectivityManager.java2543 public int registerNetworkAgent(Messenger messenger, NetworkInfo ni, LinkProperties lp, argument
2546 return mService.registerNetworkAgent(messenger, ni, lp, nc, score, misc);
/frameworks/compile/slang/tests/P_reduce_general_input/
H A DScriptField_MyStruct.java.expect190 Item ni[] = new Item[newSize];
191 System.arraycopy(mItemArray, 0, ni, 0, copySize);
192 mItemArray = ni;
/frameworks/compile/slang/tests/P_reduce_general_inputs/
H A DScriptField_MyStruct.java.expect190 Item ni[] = new Item[newSize];
191 System.arraycopy(mItemArray, 0, ni, 0, copySize);
192 mItemArray = ni;
/frameworks/compile/slang/tests/P_reduce_general_result/
H A DScriptField_MyStruct.java.expect190 Item ni[] = new Item[newSize];
191 System.arraycopy(mItemArray, 0, ni, 0, copySize);
192 mItemArray = ni;
/frameworks/base/core/java/android/view/
H A DRenderNodeAnimator.java164 long ni;
166 ni = ((NativeInterpolatorFactory)mInterpolator).createNativeInterpolator();
169 ni = FallbackLUTInterpolator.createNativeInterpolator(mInterpolator, duration);
171 nSetInterpolator(mNativePtr.get(), ni);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
H A DWifiStressTest.java259 NetworkInfo ni = mCm.getActiveNetworkInfo();
260 if (ni != null) {
261 Log.e(mLogTag, "has active network while in wifi sleep: " + ni.toString());
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DIpConnectivityEventBuilder.java240 final NetworkId ni = new NetworkId();
241 ni.networkId = netid;
242 return ni;
H A DNetworkDiagnostics.java217 NetworkInterface ni = NetworkInterface.getByName(ifname);
218 return ni.getIndex();
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
H A DConnectivityManagerMobileTest.java92 NetworkInfo ni = mCm.getActiveNetworkInfo();
93 assertEquals("active network is not mobile", ConnectivityManager.TYPE_MOBILE, ni.getType());
/frameworks/base/core/java/android/widget/
H A DImageView.java745 ScaleType(int ni) { argument
746 nativeInt = ni;
/frameworks/base/services/core/java/com/android/server/
H A DDeviceIdleController.java1736 NetworkInfo ni = cm.getActiveNetworkInfo();
1739 if (ni == null) {
1743 conn = ni.isConnected();
1748 if (ni.getType() != networkType) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTracker.java2847 NetworkInfo ni = cm.getActiveNetworkInfo();
2848 if (ni != null && ni.isConnected()) {
2849 return ni.getType() == ConnectivityManager.TYPE_WIFI;

Completed in 1000 milliseconds

12