Home
last modified time | relevance | path

Searched refs:ints (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaLteServiceStateTracker.java59 int[] ints; in handleMessage() local
452 int[] ints = (int[])ar.result; in onSignalStrengthResult() local
461 int cdmaDbm = (ints[offset] > 0) ? -ints[offset] : -120; in onSignalStrengthResult()
462 int cdmaEcio = (ints[offset + 1] > 0) ? -ints[offset + 1] : -160; in onSignalStrengthResult()
463 int evdoRssi = (ints[offset + 2] > 0) ? -ints[offset + 2] : -120; in onSignalStrengthResult()
464 int evdoEcio = (ints[offset + 3] > 0) ? -ints[offset + 3] : -1; in onSignalStrengthResult()
465 int evdoSnr = ((ints[offset + 4] > 0) && (ints[offset + 4] <= 8)) ? ints[offset + 4] in onSignalStrengthResult()
469 lteRssi = ints[offset+5]; in onSignalStrengthResult()
470 lteRsrp = ints[offset+6]; in onSignalStrengthResult()
471 lteRsrq = ints[offset+7]; in onSignalStrengthResult()
[all …]
DCdmaServiceStateTracker.java271 int[] ints; in handleMessage() local
474 ints = (int[]) ar.result; in handleMessage()
475 int otaStatus = ints[0]; in handleMessage()
487 ints = (int[]) ar.result; in handleMessage()
488 mPrlVersion = Integer.toString(ints[0]); in handleMessage()
571 int ints[]; in handlePollStateResultMessage() local
1149 int[] ints = (int[])ar.result; in onSignalStrengthResult() local
1151 int cdmaDbm = (ints[offset] > 0) ? -ints[offset] : -120; in onSignalStrengthResult()
1152 int cdmaEcio = (ints[offset+1] > 0) ? -ints[offset+1] : -160; in onSignalStrengthResult()
1153 int evdoRssi = (ints[offset+2] > 0) ? -ints[offset+2] : -120; in onSignalStrengthResult()
[all …]
/frameworks/base/media/mca/filterfw/jni/
Djni_vertex_frame.cpp36 jintArray ints) { in Java_android_filterfw_core_VertexFrame_setNativeInts() argument
39 if (frame && ints) { in Java_android_filterfw_core_VertexFrame_setNativeInts()
40 jint* int_ptr = env->GetIntArrayElements(ints, NULL); in Java_android_filterfw_core_VertexFrame_setNativeInts()
41 const int length = env->GetArrayLength(ints); in Java_android_filterfw_core_VertexFrame_setNativeInts()
45 env->ReleaseIntArrayElements(ints, int_ptr, JNI_ABORT); in Java_android_filterfw_core_VertexFrame_setNativeInts()
Djni_native_frame.cpp100 jintArray ints) { in Java_android_filterfw_core_NativeFrame_setNativeInts() argument
102 if (frame && ints) { in Java_android_filterfw_core_NativeFrame_setNativeInts()
103 jint* int_ptr = env->GetIntArrayElements(ints, NULL); in Java_android_filterfw_core_NativeFrame_setNativeInts()
104 const int length = env->GetArrayLength(ints); in Java_android_filterfw_core_NativeFrame_setNativeInts()
109 env->ReleaseIntArrayElements(ints, int_ptr, JNI_ABORT); in Java_android_filterfw_core_NativeFrame_setNativeInts()
Djni_native_frame.h39 Java_android_filterfw_core_NativeFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints);
45 Java_android_filterfw_core_NativeFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray ints);
Djni_gl_frame.cpp143 jintArray ints) { in Java_android_filterfw_core_GLFrame_setNativeInts() argument
145 if (frame && ints) { in Java_android_filterfw_core_GLFrame_setNativeInts()
146 jint* int_ptr = env->GetIntArrayElements(ints, NULL); in Java_android_filterfw_core_GLFrame_setNativeInts()
147 const int length = env->GetArrayLength(ints); in Java_android_filterfw_core_GLFrame_setNativeInts()
151 env->ReleaseIntArrayElements(ints, int_ptr, JNI_ABORT); in Java_android_filterfw_core_GLFrame_setNativeInts()
Djni_gl_frame.h58 Java_android_filterfw_core_GLFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints);
64 Java_android_filterfw_core_GLFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray ints);
Djni_vertex_frame.h33 Java_android_filterfw_core_VertexFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DNativeFrame.java111 public void setInts(int[] ints) { in setInts() argument
113 if (ints.length * nativeIntSize() > getFormat().getSize()) { in setInts()
115 "NativeFrame cannot hold " + ints.length + " integers. (Can only hold " + in setInts()
117 } else if (!setNativeInts(ints)) { in setInts()
250 private native boolean setNativeInts(int[] ints); in setNativeInts() argument
DVertexFrame.java62 public void setInts(int[] ints) { in setInts() argument
64 if (!setNativeInts(ints)) { in setInts()
138 private native boolean setNativeInts(int[] ints); in setNativeInts() argument
DSimpleFrame.java90 public void setInts(int[] ints) { in setInts() argument
92 setGenericObjectValue(ints); in setInts()
DGLFrame.java175 public void setInts(int[] ints) { in setInts() argument
178 if (!setNativeInts(ints)) { in setInts()
384 private native boolean setNativeInts(int[] ints); in setNativeInts() argument
DSerializedFrame.java206 public void setInts(int[] ints) { in setInts() argument
208 setGenericObjectValue(ints); in setInts()
DFrame.java98 public abstract void setInts(int[] ints); in setInts() argument
/frameworks/base/core/java/android/text/
DDynamicLayout.java322 int[] ints; in reflow() local
325 ints = new int[COLUMNS_ELLIPSIZE]; in reflow()
326 ints[ELLIPSIS_START] = ELLIPSIS_UNDEFINED; in reflow()
328 ints = new int[COLUMNS_NORMAL]; in reflow()
334 ints[START] = reflowed.getLineStart(i) | in reflow()
341 ints[TOP] = top; in reflow()
347 ints[DESCENT] = desc; in reflow()
351 ints[ELLIPSIS_START] = reflowed.getEllipsisStart(i); in reflow()
352 ints[ELLIPSIS_COUNT] = reflowed.getEllipsisCount(i); in reflow()
355 mInts.insertAt(startline + i, ints); in reflow()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmServiceStateTracker.java270 int[] ints; in handleMessage() local
541 int ints[]; in handlePollStateResult() local
654 ints = (int[])ar.result; in handlePollStateResult()
655 newSS.setIsManualSelection(ints[0] == 1); in handlePollStateResult()
1102 int[] ints = (int[])ar.result; in onSignalStrengthResult() local
1105 if (ints.length != 0) { in onSignalStrengthResult()
1106 rssi = ints[0]; in onSignalStrengthResult()
1107 lteSignalStrength = ints[7]; in onSignalStrengthResult()
1108 lteRsrp = ints[8]; in onSignalStrengthResult()
1109 lteRsrq = ints[9]; in onSignalStrengthResult()
[all …]
DGsmMmiCode.java1274 int[] ints = (int[])ar.result; in onQueryComplete() local
1276 if (ints.length != 0) { in onQueryComplete()
1277 if (ints[0] == 0) { in onQueryComplete()
1281 sb.append(createQueryCallWaitingResultMessage(ints[1])); in onQueryComplete()
1284 sb.append(createQueryCallBarringResultMessage(ints[0])); in onQueryComplete()
1285 } else if (ints[0] == 1) { in onQueryComplete()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIccCard.java645 int[] ints = (int[])ar.result; in onQueryFdnEnabled() local
646 if(ints.length != 0) { in onQueryFdnEnabled()
647 mIccFdnEnabled = (0!=ints[0]); in onQueryFdnEnabled()
664 int[] ints = (int[])ar.result; in onQueryFacilityLock() local
665 if(ints.length != 0) { in onQueryFacilityLock()
666 mIccPinLocked = (0!=ints[0]); in onQueryFacilityLock()
/frameworks/base/docs/html/guide/practices/
Dperformance.jd116 <li>An array of ints is a much better than an array of Integers,
117 but this also generalizes to the fact that two parallel arrays of ints
/frameworks/base/docs/html/guide/practices/app-design/
Dperformance.jd116 <li>An array of ints is a much better than an array of Integers,
117 but this also generalizes to the fact that two parallel arrays of ints
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd70 android.content.SharedPreferences} to save any primitive data: booleans, floats, ints, longs, and