/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 97 // Find out how many vertices we need to transform 898 * @param out an ETC1 compressed version of the data. 902 jobject in, jint validPixelMask, jobject out) { 908 BufferHelper outB(env, out); 909 if (inB.checkPointer("in") && outB.checkPointer("out")) { 913 doThrowIAE(env, "out's remaining data < ENCODED_BLOCK_SIZE"); 926 * @param out a pointer to a ETC_DECODED_BLOCK_SIZE array of bytes that represent a 931 jobject in, jobject out){ 933 BufferHelper outB(env, out); 934 if (inB.checkPointer("in") && outB.checkPointer("out")) { 901 etc1_encodeBlock(JNIEnv *env, jclass clazz, jobject in, jint validPixelMask, jobject out) argument 930 etc1_decodeBlock(JNIEnv *env, jclass clazz, jobject in, jobject out) argument 960 etc1_encodeImage(JNIEnv *env, jclass clazz, jobject in, jint width, jint height, jint pixelSize, jint stride, jobject out) argument 990 etc1_decodeImage(JNIEnv *env, jclass clazz, jobject in, jobject out, jint width, jint height, jint pixelSize, jint stride) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_app_admin_SecurityLog.cpp | 24 // The size of the tag number comes out of the payload size. 129 static void readEvents(JNIEnv* env, int loggerMode, jlong startTime, jobject out) { argument 186 env->CallBooleanMethod(out, gCollectionAddID, event); 195 jobject out) { 197 if (out == NULL) { 201 readEvents(env, ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK, 0, out); 206 jobject out) { 208 if (out == NULL) { 212 readEvents(env, ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK, timestamp, out); 216 jobject out) { 194 android_app_admin_SecurityLog_readEvents(JNIEnv* env, jobject , jobject out) argument 204 android_app_admin_SecurityLog_readEventsSince(JNIEnv* env, jobject , jlong timestamp, jobject out) argument 215 android_app_admin_SecurityLog_readPreviousEvents(JNIEnv* env, jobject , jobject out) argument 225 android_app_admin_SecurityLog_readEventsOnWrapping(JNIEnv* env, jobject , jlong timestamp, jobject out) argument [all...] |
H A D | android_content_res_Configuration.cpp | 49 JNIEnv* env, jobject clazz, struct AConfiguration* out) { 50 out->mcc = env->GetIntField(clazz, gConfigurationClassInfo.mcc); 51 out->mnc = env->GetIntField(clazz, gConfigurationClassInfo.mnc); 52 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout); 53 out->touchscreen = env->GetIntField(clazz, gConfigurationClassInfo.touchscreen); 54 out->keyboard = env->GetIntField(clazz, gConfigurationClassInfo.keyboard); 55 out->navigation = env->GetIntField(clazz, gConfigurationClassInfo.navigation); 57 out->inputFlags = env->GetIntField(clazz, gConfigurationClassInfo.keyboardHidden); 59 if (out->inputFlags == ACONFIGURATION_KEYSHIDDEN_NO 61 out 48 android_Configuration_getFromJava( JNIEnv* env, jobject clazz, struct AConfiguration* out) argument [all...] |
H A D | android_hardware_UsbRequest.cpp | 81 jbyteArray buffer, jint length, jboolean out) 94 if (out) { 120 jbyteArray buffer, jint length, jboolean out) 128 if (buffer && length && request->buffer && !out) { 139 jobject buffer, jint length, jboolean out) 80 android_hardware_UsbRequest_queue_array(JNIEnv *env, jobject thiz, jbyteArray buffer, jint length, jboolean out) argument 119 android_hardware_UsbRequest_dequeue_array(JNIEnv *env, jobject thiz, jbyteArray buffer, jint length, jboolean out) argument 138 android_hardware_UsbRequest_queue_direct(JNIEnv *env, jobject thiz, jobject buffer, jint length, jboolean out) argument
|
H A D | android_hardware_camera2_CameraMetadata.cpp | 83 /*out*/CameraMetadata* metadata) { 405 * and then read back out (and logged) via the read side. 449 * Read out a byte until stream is complete. Write completed lines 453 char out[] = {'\0', '\0'}; // large enough to append as a string local 458 while ((res = TEMP_FAILURE_RETRY(read(readFd, &out[0], /*count*/1))) > 0) { 459 if (out[0] == '\n') { 463 logLine.append(out); 910 status_t err = getService(NAME, /*out*/&cameraService); 919 binder::Status res = cameraService->getCameraVendorTagDescriptor(/*out*/desc.get());
|
H A D | android_hardware_camera2_DngCreator.cpp | 860 static status_t convertCFA(uint8_t cfaEnum, /*out*/uint8_t* cfaOut) { 945 /*out*/double* noiseProfile) { 1206 if ((err = convertCFA(cfaEnum, /*out*/cfa)) != OK) { 1627 if ((err = convertCFA(cfaEnum, /*out*/cfaOut)) != OK) { 1642 cfaPlaneColor, numPlaneColors, /*out*/ noiseProfile)) == OK) { 2120 // TODO: Refactor out common preamble for the two nativeWrite methods. 2134 sp<JniOutputStream> out = new JniOutputStream(env, outStream); local 2200 if ((ret = writer->write(out.get(), sources.editArray(), sources.size())) != OK) { 2217 if ((ret = writer->write(out.get(), sources.editArray(), sources.size())) != OK) { 2242 sp<JniOutputStream> out local [all...] |
H A D | android_os_Debug.cpp | 680 static void android_os_Debug_getMemInfo(JNIEnv *env, jobject clazz, jlongArray out) argument 685 if (out == NULL) { 686 jniThrowNullPointerException(env, "out == null"); 770 int maxNum = env->GetArrayLength(out); 774 jlong* outArray = env->GetLongArrayElements(out, 0); 780 env->ReleaseLongArrayElements(out, outArray, 0); 837 /* pulled out of bionic */
|
H A D | android_util_EventLog.cpp | 26 // The size of the tag number comes out of the payload size. 174 jobject out) { 176 if (tags == NULL || out == NULL) { 238 env->CallBooleanMethod(out, gCollectionAddID, event); 172 android_util_EventLog_readEvents(JNIEnv* env, jobject clazz UNUSED, jintArray tags, jobject out) argument
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LaunchpadActivity.java | 39 public void writeToParcel(Parcel out, int flags) { argument 40 out.writeString("I am bad"); 236 //System.out.println("*** Launchpad is starting: comp=" + intent.component); 468 //System.out.println("Registering: " + mReceiver); 475 //System.out.println("Unregistering: " + mReceiver); 507 //System.out.println("Got receive: " + name); 508 //System.out.println(mNextReceiver + " in " + mExpectedReceivers); 541 // System.out.println("Too many intents received: now at " 545 finishBad("Receive out of order: got " + name + " but expected " 583 //System.out [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | RegisteredServicesCacheTest.java | 308 public void writeAsXml(TestServiceType item, XmlSerializer out) throws IOException { argument 309 out.attribute(null, "type", item.type); 310 out.attribute(null, "value", item.value);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | LoggingPrintStreamTest.java | 34 TestPrintStream out = new TestPrintStream(); field in class:LoggingPrintStreamTest 43 t.printStackTrace(out); 47 assertEquals(Arrays.asList(lines), out.lines); 52 out.print(4); 53 out.print(o); 54 out.print(2); 55 out.flush(); 56 assertEquals(Arrays.asList("4" + o + "2"), out.lines); 61 out.print(4); 62 out [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Point.java | 116 * @param out The parcel to write the point's coordinates into 119 public void writeToParcel(Parcel out, int flags) { argument 120 out.writeInt(x); 121 out.writeInt(y);
|
H A D | PointF.java | 125 * @param out The parcel to write the point's coordinates into 128 public void writeToParcel(Parcel out, int flags) { argument 129 out.writeFloat(x); 130 out.writeFloat(y);
|
H A D | Rect.java | 597 * @param out The parcel to write the rectangle's coordinates into 599 public void writeToParcel(Parcel out, int flags) { argument 600 out.writeInt(left); 601 out.writeInt(top); 602 out.writeInt(right); 603 out.writeInt(bottom);
|
H A D | RectF.java | 448 * Set the dst integer Rect by rounding "out" this rectangle, choosing the 547 * @param out The parcel to write the rectangle's coordinates into 549 public void writeToParcel(Parcel out, int flags) { argument 550 out.writeFloat(left); 551 out.writeFloat(top); 552 out.writeFloat(right); 553 out.writeFloat(bottom);
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfDocument.java | 165 * @param out The output stream. Cannot be null. 169 public void writeTo(OutputStream out) throws IOException { argument 172 if (out == null) { 173 throw new IllegalArgumentException("out cannot be null!"); 175 nativeWriteTo(mNativeDocument, out, mChunk); 244 private native void nativeWriteTo(long nativeDocument, OutputStream out, byte[] chunk); argument
|
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreSignatureSpiBase.java | 205 true, // permit aborting this operation if keystore runs out of resources 310 protected final int engineSign(byte[] out, int outOffset, int outLen) argument 312 return super.engineSign(out, outOffset, outLen);
|
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 265 // Pad out the space we promised in the buffer. We can't corrupt the buffer, 308 compute_crc32(const char* file, FileRec* out) { argument 329 out->s.crc32 = crc; 609 // out of the substrings we've now built.
|
H A D | LocaleData.cpp | 64 // Find the ancestors of a locale, and fill 'out' with it (assumes out has enough 74 // (If 'out' is nullptr, we do everything the same way but we simply don't write 75 // any results in 'out'.) 76 size_t findAncestors(uint32_t* out, ssize_t* stop_list_index, argument 82 if (out != nullptr) out[count] = ancestor; 171 // We have no way of figuring out which locale is a better match. For 178 void localeDataComputeScript(char out[4], const char* language, const char* region) { argument 180 memset(out, '\ [all...] |
H A D | ResourceTypes.cpp | 93 // NOTE: if this truncates the dst string due to running out of space, no attempt is 1698 // check for sensical values pulled out of the stream so far... 1771 char out[4]) { 1784 out[0] = first + base; 1785 out[1] = second + base; 1786 out[2] = third + base; 1787 out[3] = 0; 1793 memcpy(out, in, 2); 1794 memset(out + 2, 0, 2); 1798 memset(out, 1770 unpackLanguageOrRegion(const char in[2], const char base, char out[4]) argument 1802 packLanguageOrRegion(const char* in, const char base, char out[2]) argument [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | ConfigLocale_test.cpp | 32 char out[4] = {1, 1, 1, 1}; local 33 config.unpackLanguage(out); 34 EXPECT_EQ('e', out[0]); 35 EXPECT_EQ('n', out[1]); 36 EXPECT_EQ(0, out[2]); 37 EXPECT_EQ(0, out[3]); 39 memset(out, 1, sizeof(out)); 41 config.unpackLanguage(out); 42 EXPECT_EQ(0, out[ 55 char out[4] = {1, 1, 1, 1}; local 71 char out[4] = {1, 1, 1, 1}; local 95 char out[4] = {1, 1, 1, 1}; local 107 char out[4] = {1, 1, 1, 1}; local 115 fillIn(const char* lang, const char* country, const char* script, const char* variant, ResTable_config* out) argument 190 char out[4] = {1, 1, 1, 1}; local 272 char out[RESTABLE_MAX_LOCALE_LEN]; local [all...] |
H A D | ResTable_test.cpp | 233 Res_value out = {}; local 234 ASSERT_EQ(expectSuccess, U16StringToInt(str, len, &out)) 238 ASSERT_EQ(out.TYPE_NULL, out.dataType) << "Failed with " << s; 243 ASSERT_EQ(out.TYPE_INT_HEX, out.dataType) << "Failed with " << s; 245 ASSERT_EQ(out.TYPE_INT_DEC, out.dataType) << "Failed with " << s; 248 ASSERT_EQ(expectedValue, out.data) << "Failed with " << s;
|
H A D | TestHelpers.h | 11 static inline ::std::ostream& operator<<(::std::ostream& out, const android::String8& str) { argument 12 return out << str.string(); 15 static inline ::std::ostream& operator<<(::std::ostream& out, const android::String16& str) { argument 16 return out << android::String8(str).string(); 27 static inline ::std::ostream& operator<<(::std::ostream& out, const android::ResTable_config& c) { argument 28 return out << c.toString().string();
|
/frameworks/base/libs/hwui/ |
H A D | DamageAccumulator.cpp | 121 static inline void mapRect(const Matrix4* matrix, const SkRect& in, SkRect* out) { argument 132 out->join(RECT_ARGS(temp)); 139 static inline void mapRect(const RenderProperties& props, const SkRect& in, SkRect* out) { argument 154 out->join(temp);
|
H A D | TreeInfo.h | 79 // textures if we run out of cache space. 124 } out; member in class:android::uirenderer::TreeInfo
|