Home
last modified time | relevance | path

Searched refs:ni (Results 1 – 25 of 39) sorted by relevance

12

/aosp14/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java160 NetworkInfo ni = mCm.getNetworkInfo(networkType); in waitForNetworkState() local
161 if (ni != null && expectedState.equals(ni.getState())) { in waitForNetworkState()
162 logv("waitForNetworkState success: %s", ni); in waitForNetworkState()
166 logv("waitForNetworkState timeout: %s", ni); in waitForNetworkState()
169 logv("waitForNetworkState interim: %s", ni); in waitForNetworkState()
421 NetworkInfo ni = mCm.getActiveNetworkInfo(); in waitForActiveNetworkConnection() local
422 if (ni != null && ni.isConnected()) { in waitForActiveNetworkConnection()
429 logv("waitForActiveNetworkConnection interim: %s", ni); in waitForActiveNetworkConnection()
437 NetworkInfo ni = mCm.getActiveNetworkInfo(); in waitUntilNoActiveNetworkConnection() local
438 if (ni == null) { in waitUntilNoActiveNetworkConnection()
[all …]
/aosp14/frameworks/base/tests/JankBench/app/src/main/jni/
H A DBench.cpp237 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()
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DRegion.java358 long ni = nativeCreateFromParcel(p);
359 if (ni == 0) {
362 return new Region(ni);
406 Region(long ni) { in Region() argument
407 if (ni == 0) { in Region()
410 mNativeRegion = ni; in Region()
416 private Region(long ni, int unused) { in Region() argument
417 this(ni); in Region()
420 final long ni() { in ni() method in Region
H A DTableMaskFilter.java33 private TableMaskFilter(long ni) { in TableMaskFilter() argument
34 native_instance = ni; in TableMaskFilter()
H A DPath.java213 FillType(int ni) { in FillType() argument
214 nativeInt = ni; in FillType()
533 Direction(int ni) { in Direction() argument
534 nativeInt = ni; in Direction()
696 nAddPath(mNativePath, src.mNativePath, matrix.ni()); in addPath()
745 nTransform(mNativePath, matrix.ni(), dst != null ? dst.mNativePath : 0); in transform()
754 nTransform(mNativePath, matrix.ni()); in transform()
H A DPicture.java112 long ni = nativeBeginRecording(mNativePicture, width, height); in beginRecording() local
113 mRecordingCanvas = new PictureCanvas(this, ni); in beginRecording()
H A DTypeface.java932 final long ni = family.native_instance;
936 SparseArray<Typeface> styles = sStyledTypefaceCache.get(ni);
940 sStyledTypefaceCache.put(ni, styles);
948 typeface = new Typeface(nativeCreateFromTypeface(ni, style),
1186 private Typeface(long ni) {
1187 this(ni, null);
1191 private Typeface(long ni, @Nullable String systemFontFamilyName) {
1192 if (ni == 0) {
1196 native_instance = ni;
1198 mStyle = nativeGetStyle(ni);
[all …]
H A DRegionIterator.java29 mNativeIter = nativeConstructor(region.ni()); in RegionIterator()
H A DCamera.java140 nativeGetMatrix(matrix.ni()); in getMatrix()
H A DRenderNode.java557 nGetTransformMatrix(mNativeRenderNode, outMatrix.ni()); in getMatrix()
567 nGetInverseTransformMatrix(mNativeRenderNode, outMatrix.ni()); in getInverseMatrix()
905 return nSetStaticMatrix(mNativeRenderNode, matrix.ni()); in setStaticMatrix()
921 (matrix != null) ? matrix.ni() : 0); in setAnimationMatrix()
938 if (nGetAnimationMatrix(mNativeRenderNode, output.ni())) { in getAnimationMatrix()
H A DPathMeasure.java108 return native_getMatrix(native_instance, distance, matrix.ni(), flags); in getMatrix()
H A DTextureLayer.java116 nSetTransform(mFinalizer.get(), matrix.ni()); in setTransform()
H A DShader.java192 ? 0 : mLocalMatrix.ni(), filterFromPaint); in getNativeInstance()
H A DBitmap.java573 Config(int ni) { in Config() argument
574 this.nativeInt = ni; in Config()
578 static Config nativeToConfig(int ni) { in nativeToConfig() argument
579 return sConfigs[ni]; in nativeToConfig()
/aosp14/frameworks/base/telephony/java/com/android/internal/telephony/
H A DNetworkScanResult.java85 List<CellInfo> ni = new ArrayList<>(); in NetworkScanResult() local
86 in.readParcelableList(ni, Object.class.getClassLoader(), android.telephony.CellInfo.class); in NetworkScanResult()
87 networkInfos = ni; in NetworkScanResult()
/aosp14/frameworks/base/graphics/java/android/graphics/animation/
H A DRenderNodeAnimator.java153 long ni; in applyInterpolator() local
155 ni = ((NativeInterpolator) mInterpolator).createNativeInterpolator(); in applyInterpolator()
158 ni = FallbackLUTInterpolator.createNativeInterpolator(mInterpolator, duration); in applyInterpolator()
160 nSetInterpolator(mNativePtr.get(), ni); in applyInterpolator() local
/aosp14/frameworks/base/cmds/incident_helper/tests/
H A DPsParser_test.cpp271 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()
/aosp14/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
H A DWifiStressTest.java259 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()
/aosp14/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfEditor.java142 nativeSetTransformAndClip(mNativeDocument, pageIndex, transform.ni(), in setTransformAndClip()
147 nativeSetTransformAndClip(mNativeDocument, pageIndex, transform.ni(), in setTransformAndClip()
H A DPdfRenderer.java440 final long transformPtr = transform.ni(); in render()
/aosp14/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
H A DConnectivityManagerMobileTest.java92 NetworkInfo ni = mCm.getActiveNetworkInfo(); in test3GToWifiNotification() local
93 assertEquals("active network is not mobile", ConnectivityManager.TYPE_MOBILE, ni.getType()); in test3GToWifiNotification()
/aosp14/frameworks/base/core/proto/android/os/
H A Dcpuinfo.proto26 * '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
H A Dps.proto80 optional sint32 ni = 12; field
/aosp14/frameworks/base/core/java/android/util/
H A DNtpTrustedTime.java667 final NetworkInfo ni = connectivityManager.getNetworkInfo(network); in isNetworkConnected() local
678 if (ni == null || !ni.isConnected()) { in isNetworkConnected()
/aosp14/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
H A DAccessPointTest.java700 private NetworkInfo copyNetworkInfo(NetworkInfo ni) {
701 final NetworkInfo copy = new NetworkInfo(ni.getType(), ni.getSubtype(), ni.getTypeName(),
702 ni.getSubtypeName());
703 copy.setDetailedState(ni.getDetailedState(), ni.getReason(), ni.getExtraInfo());

12