/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_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/graphics/java/android/graphics/ |
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 | 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...] |
/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);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | State.java | 188 public void writeToParcel(Parcel out, int flags) { argument 189 out.writeInt(action); 190 out.writeStringArray(acceptMimes); 191 out.writeInt(userSortOrder); 192 out.writeInt(allowMultiple ? 1 : 0); 193 out.writeInt(forceSize ? 1 : 0); 194 out.writeInt(showSize ? 1 : 0); 195 out.writeInt(localOnly ? 1 : 0); 196 out.writeInt(showAdvancedOption ? 1 : 0); 197 out [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | DocumentInfo.java | 104 public void write(DataOutputStream out) throws IOException { argument 105 out.writeInt(VERSION_SPLIT_URI); 106 DurableUtils.writeNullableString(out, authority); 107 DurableUtils.writeNullableString(out, documentId); 108 DurableUtils.writeNullableString(out, mimeType); 109 DurableUtils.writeNullableString(out, displayName); 110 out.writeLong(lastModified); 111 out.writeInt(flags); 112 DurableUtils.writeNullableString(out, summary); 113 out [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | MOTree.java | 227 public void marshal(OutputStream out) throws IOException { argument 228 out.write("tree ".getBytes(StandardCharsets.UTF_8)); 229 OMAConstants.serializeString(mDtdRev, out); 230 out.write(String.format("(%s)\n", mUrn).getBytes(StandardCharsets.UTF_8)); 231 mRoot.marshal(out, 0);
|
H A D | OMAConstants.java | 113 public static void serializeString(String s, OutputStream out) throws IOException { argument 116 out.write(prefix); 117 out.write(octets); 120 public static void indent(int level, OutputStream out) throws IOException { argument 121 out.write(INDENT, 0, level);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
H A D | HTTPRequest.java | 76 //System.out.println("Tokens: " + Arrays.toString(tokens)); 105 //System.out.println("Remaining tokens: " + itemMap); 169 //System.out.println("<Hash>"); 174 //System.out.println("+= '" + object + "'"); 178 //System.out.println("+= " + new String(octets, StandardCharsets.ISO_8859_1)); 187 //System.out.println("</Hash>"); 215 //System.out.println("HTTP Request:"); 221 //System.out.println(sb2); 222 //System.out.println("End HTTP Request."); 227 public void send(OutputStream out) throw argument [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | PackageManagerBackupAgent.java | 285 // metadata again. In either case, take it out of mExisting so that 435 private static void writeSignatureHashArray(DataOutputStream out, ArrayList<byte[]> hashes) argument 438 out.writeInt(hashes.size()); 442 out.writeInt(buffer.length); 443 out.write(buffer); 494 // Util: parse out an existing state file into a usable structure 581 // Util: write out our new backup state file 586 DataOutputStream out = new DataOutputStream(outbuf); 591 out.writeUTF(STATE_FILE_HEADER); 592 out [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ShortcutUser.java | 233 public void saveToXml(ShortcutService s, XmlSerializer out, boolean forBackup) argument 235 out.startTag(null, TAG_ROOT); 237 ShortcutService.writeAttr(out, ATTR_KNOWN_LOCALE_CHANGE_SEQUENCE_NUMBER, 240 ShortcutService.writeTagValue(out, TAG_LAUNCHER, 247 saveShortcutPackageItem(s, out, mLaunchers.valueAt(i), forBackup); 253 saveShortcutPackageItem(s, out, mPackages.valueAt(i), forBackup); 257 out.endTag(null, TAG_ROOT); 260 private void saveShortcutPackageItem(ShortcutService s, XmlSerializer out, argument 270 spi.saveToXml(out, forBackup);
|
/frameworks/base/telephony/java/com/android/ims/ |
H A D | ImsStreamMediaProfile.java | 124 public void writeToParcel(Parcel out, int flags) { argument 125 out.writeInt(mAudioQuality); 126 out.writeInt(mAudioDirection); 127 out.writeInt(mVideoQuality); 128 out.writeInt(mVideoDirection);
|
/frameworks/base/tools/aapt/ |
H A D | AaptConfig.cpp | 34 bool parse(const String8& str, ConfigDescription* out) { argument 226 if (out != NULL) { 228 *out = config; 278 bool parseMcc(const char* name, ResTable_config* out) { argument 280 if (out) out->mcc = 0; 301 if (out) out->mcc = d; 308 bool parseMnc(const char* name, ResTable_config* out) { argument 310 if (out) ou 339 parseLayoutDirection(const char* name, ResTable_config* out) argument 360 parseScreenLayoutSize(const char* name, ResTable_config* out) argument 391 parseScreenLayoutLong(const char* name, ResTable_config* out) argument 411 parseScreenRound(const char* name, ResTable_config* out) argument 431 parseOrientation(const char* name, ResTable_config* out) argument 449 parseUiModeType(const char* name, ResTable_config* out) argument 485 parseUiModeNight(const char* name, ResTable_config* out) argument 506 parseDensity(const char* name, ResTable_config* out) argument 586 parseTouchscreen(const char* name, ResTable_config* out) argument 604 parseKeysHidden(const char* name, ResTable_config* out) argument 629 parseKeyboard(const char* name, ResTable_config* out) argument 647 parseNavHidden(const char* name, ResTable_config* out) argument 669 parseNavigation(const char* name, ResTable_config* out) argument 690 parseScreenSize(const char* name, ResTable_config* out) argument 724 parseSmallestScreenWidthDp(const char* name, ResTable_config* out) argument 748 parseScreenWidthDp(const char* name, ResTable_config* out) argument 770 parseScreenHeightDp(const char* name, ResTable_config* out) argument 792 parseVersion(const char* name, ResTable_config* out) argument [all...] |
H A D | Package.cpp | 403 ssize_t processJarFile(ZipFile* jar, ZipFile* out) argument 419 out->add(data, size, storageName, compressionMethod, NULL);
|
H A D | pseudolocalize.cpp | 41 String16 out; local 79 out.append(chunk); 82 out.append(mImpl->end()); 84 out.append(mImpl->start()); 90 return out;
|
/frameworks/base/tools/aapt2/ |
H A D | ConfigDescription.cpp | 38 static bool parseMcc(const char* name, ResTable_config* out) { argument 40 if (out) out->mcc = 0; 61 if (out) out->mcc = d; 68 static bool parseMnc(const char* name, ResTable_config* out) { argument 70 if (out) out->mcc = 0; 89 if (out) { 90 out 99 parseLayoutDirection(const char* name, ResTable_config* out) argument 120 parseScreenLayoutSize(const char* name, ResTable_config* out) argument 151 parseScreenLayoutLong(const char* name, ResTable_config* out) argument 172 parseScreenRound(const char* name, ResTable_config* out) argument 192 parseOrientation(const char* name, ResTable_config* out) argument 210 parseUiModeType(const char* name, ResTable_config* out) argument 246 parseUiModeNight(const char* name, ResTable_config* out) argument 267 parseDensity(const char* name, ResTable_config* out) argument 347 parseTouchscreen(const char* name, ResTable_config* out) argument 365 parseKeysHidden(const char* name, ResTable_config* out) argument 390 parseKeyboard(const char* name, ResTable_config* out) argument 408 parseNavHidden(const char* name, ResTable_config* out) argument 430 parseNavigation(const char* name, ResTable_config* out) argument 451 parseScreenSize(const char* name, ResTable_config* out) argument 485 parseSmallestScreenWidthDp(const char* name, ResTable_config* out) argument 509 parseScreenWidthDp(const char* name, ResTable_config* out) argument 531 parseScreenHeightDp(const char* name, ResTable_config* out) argument 553 parseVersion(const char* name, ResTable_config* out) argument 580 parse(const StringPiece& str, ConfigDescription* out) argument [all...] |
H A D | ResourceValues.cpp | 55 void RawString::print(std::ostream* out) const { 56 *out << "(raw string) " << *value; 80 void Reference::print(std::ostream* out) const { 81 *out << "(reference) "; 83 *out << "@"; 85 *out << "*"; 88 *out << "?"; 92 *out << name.value(); 96 *out << " " << id.value(); 100 bool Id::flatten(android::Res_value* out) cons 476 operator <<(::std::ostream& out, const Style::Entry& value) argument 520 operator <<(::std::ostream& out, const std::unique_ptr<Item>& item) argument [all...] |
H A D | StringPool.cpp | 297 bool StringPool::flatten(BigBuffer* out, const StringPool& pool, bool utf8) { argument 298 const size_t startIndex = out->size(); 299 android::ResStringPool_header* header = out->nextBlock<android::ResStringPool_header>(); 307 uint32_t* indices = pool.size() != 0 ? out->nextBlock<uint32_t>(pool.size()) : nullptr; 312 styleIndices = out->nextBlock<uint32_t>(header->styleCount); 315 const size_t beforeStringsIndex = out->size(); 319 *indices = out->size() - beforeStringsIndex; 329 char* data = out->nextBlock<char>(totalSize); 341 char16_t* data = out->nextBlock<char16_t>(totalSize); 356 out 399 flattenUtf8(BigBuffer* out, const StringPool& pool) argument 403 flattenUtf16(BigBuffer* out, const StringPool& pool) argument [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | Pseudolocalizer.cpp | 83 std::u16string out; local 120 out.append(chunk); 123 out.append(mImpl->end()); 125 out.append(mImpl->start()); 131 return out;
|
/frameworks/base/tools/aapt2/proto/ |
H A D | TableProtoSerializer.cpp | 290 CompiledFileOutputStream::CompiledFileOutputStream(google::protobuf::io::ZeroCopyOutputStream* out, argument 292 mOut(out), mPbFile(pbFile) {
|
/frameworks/base/tools/aapt2/util/ |
H A D | Util.cpp | 449 bool writeAll(std::ostream& out, const BigBuffer& buffer) { argument 451 if (!out.write(reinterpret_cast<const char*>(b.buffer.get()), b.size)) {
|