Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
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()
426 logv("waitForActiveNetworkConnection timeout: %s", ni); in waitForActiveNetworkConnection()
429 logv("waitForActiveNetworkConnection interim: %s", ni); in waitForActiveNetworkConnection()
437 NetworkInfo ni = mCm.getActiveNetworkInfo(); in waitUntilNoActiveNetworkConnection() local
[all …]
/frameworks/base/tests/JankBench/app/src/main/jni/
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()
/frameworks/base/graphics/java/android/graphics/
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
DTableMaskFilter.java33 private TableMaskFilter(long ni) { in TableMaskFilter() argument
34 native_instance = ni; in TableMaskFilter()
DPath.java221 FillType(int ni) { in FillType() argument
222 nativeInt = ni; in FillType()
556 Direction(int ni) { in Direction() argument
557 nativeInt = ni; in Direction()
719 nAddPath(mNativePath, src.mNativePath, matrix.ni()); in addPath()
768 nTransform(mNativePath, matrix.ni(), dst != null ? dst.mNativePath : 0); in transform()
777 nTransform(mNativePath, matrix.ni()); in transform()
DPicture.java112 long ni = nativeBeginRecording(mNativePicture, width, height); in beginRecording() local
113 mRecordingCanvas = new PictureCanvas(this, ni); in beginRecording()
DRegionIterator.java29 mNativeIter = nativeConstructor(region.ni()); in RegionIterator()
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 …]
DCamera.java140 nativeGetMatrix(matrix.ni()); in getMatrix()
DRenderNode.java595 nGetTransformMatrix(mNativeRenderNode, outMatrix.ni()); in getMatrix()
605 nGetInverseTransformMatrix(mNativeRenderNode, outMatrix.ni()); in getInverseMatrix()
943 return nSetStaticMatrix(mNativeRenderNode, matrix.ni()); in setStaticMatrix()
959 (matrix != null) ? matrix.ni() : 0); in setAnimationMatrix()
976 if (nGetAnimationMatrix(mNativeRenderNode, output.ni())) { in getAnimationMatrix()
DPathMeasure.java108 return native_getMatrix(native_instance, distance, matrix.ni(), flags); in getMatrix()
DTextureLayer.java116 nSetTransform(mFinalizer.get(), matrix.ni()); in setTransform()
/frameworks/base/telephony/java/com/android/internal/telephony/
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()
/frameworks/base/graphics/java/android/graphics/animation/
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
/frameworks/base/cmds/incident_helper/tests/
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()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java260 NetworkInfo ni = mCm.getActiveNetworkInfo(); in testWifiReconnectionAfterSleep() local
261 if (ni != null) { in testWifiReconnectionAfterSleep()
262 Log.e(mLogTag, "has active network while in wifi sleep: " + ni.toString()); in testWifiReconnectionAfterSleep()
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfEditor.java150 nativeSetTransformAndClip(mNativeDocument, pageIndex, transform.ni(), in setTransformAndClip()
155 nativeSetTransformAndClip(mNativeDocument, pageIndex, transform.ni(), in setTransformAndClip()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java93 NetworkInfo ni = mCm.getActiveNetworkInfo(); in test3GToWifiNotification() local
94 assertEquals("active network is not mobile", ConnectivityManager.TYPE_MOBILE, ni.getType()); in test3GToWifiNotification()
/frameworks/compile/slang/tests/P_reflection3264_divergent/
DScriptField_NonDivergent.java.expect191 Item ni[] = new Item[newSize];
192 System.arraycopy(mItemArray, 0, ni, 0, copySize);
193 mItemArray = ni;
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptField_MyStruct.java.expect193 Item ni[] = new Item[newSize];
194 System.arraycopy(mItemArray, 0, ni, 0, copySize);
195 mItemArray = ni;
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptField_MyStruct.java.expect193 Item ni[] = new Item[newSize];
194 System.arraycopy(mItemArray, 0, ni, 0, copySize);
195 mItemArray = ni;
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptField_MyStruct.java.expect193 Item ni[] = new Item[newSize];
194 System.arraycopy(mItemArray, 0, ni, 0, copySize);
195 mItemArray = ni;
/frameworks/base/core/proto/android/os/
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
/frameworks/compile/slang/tests/P_struct_field/
DScriptField_InnerTwo.java.expect201 Item ni[] = new Item[newSize];
202 System.arraycopy(mItemArray, 0, ni, 0, copySize);
203 mItemArray = ni;
DScriptField_InnerOne.java.expect214 Item ni[] = new Item[newSize];
215 System.arraycopy(mItemArray, 0, ni, 0, copySize);
216 mItemArray = ni;

123