/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
FileLog.java | 84 String out = String.format("%s %s %s", DATE_FORMAT.format(new Date()), tag, msg); local 86 out += "\n" + Log.getStackTraceString(e); 88 Message.obtain(getHandler(), LogWriterCallback.MSG_WRITE, out).sendToTarget(); 104 * @param out if not null, all the persisted logs are copied to the writer. 106 public static void flushAll(PrintWriter out) throws InterruptedException { 112 Pair.create(out, latch)).sendToTarget(); 206 private static void dumpFile(PrintWriter out, String fileName) { 213 out.println(); 214 out.println("--- logfile: " + fileName + " ---"); 217 out.println(line) [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
ImageUtils.cpp | 28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) 31 ImageType yimg = out; 73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) 76 ImageType yimg = out; 121 ImageType out = ImageUtils::allocateImage(width, height, 1); local 122 ImageType outCopy = out; 143 return out; 146 ImageType ImageUtils::rgb2gray(ImageType out, ImageType in, int width, int height) 149 ImageType gray = out; 151 ImageType outCopy = out; [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
StoreUtils.java | 179 try (final FileOutputStream out = new FileOutputStream(outputFile)) { 180 copyStream(in, out); 195 try (final ByteArrayOutputStream out = new ByteArrayOutputStream()) { 196 copyStream(in, out); 197 return out.toString(); 203 final OutputStream out) throws IOException { 207 out.write(buffer, 0, bytesReadCount);
|
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/ |
AttachmentGridView.java | 150 public void writeToParcel(final Parcel out, final int flags) { 151 super.writeToParcel(out, flags); 154 out.writeInt(unselectedParts.length); 156 out.writeParcelable(image, flags);
|
/packages/apps/Nfc/src/com/android/nfc/ |
RegisteredComponentCache.java | 98 StringBuilder out = new StringBuilder("ComponentInfo: "); local 99 out.append(resolveInfo); 100 out.append(", techs: "); 102 out.append(tech); 103 out.append(", "); 105 return out.toString();
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
InstallStaging.java | 187 try (OutputStream out = new FileOutputStream(mStagedFile)) { 195 out.write(buffer, 0, bytesRead);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FileSystemUtils.java | 401 OutputStream out = null; local 407 out = proc.getOutputStream(); 438 IOUtils.closeQuietly(out);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/ |
Builder.java | 194 StringBuffer out = new StringBuffer(); local 197 out.append(head.image); 200 addSpecials(out, head.specialToken); 202 out.append(tail.image); 204 return out.toString(); 207 private void addSpecials(StringBuffer out, Token specialToken) { 209 addSpecials(out, specialToken.specialToken); 210 out.append(specialToken.image);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
MoreKeySpec.java | 240 ArrayList<String> out = null; local 244 if (out == null) { 245 out = CollectionUtils.arrayAsList(array, 0, i); 247 } else if (out != null) { 248 out.add(entry); 251 if (out == null) { 254 return out.toArray(new String[out.size()]); 263 ArrayList<String> out = null; local 271 if (out != null) [all...] |
/platform_testing/tests/functional/applinktests/src/com/android/functional/applinktests/ |
AppLinkTests.java | 65 String out = getAppLink(TEST_PKG_NAME); local 66 assertTrue("Default app link not set to 'undefined' mode", "undefined".equals(out)); 115 String out = getAppLink(YOUTUBE_PKG_NAME); local 161 String out = getAppLink(TEST_PKG_NAME); local 163 assertTrue(String.format("Default app link not set to 'always ask' rather set to %s", out), 164 "always".equals(out)); 169 out = getAppLink(TEST_PKG_NAME); 171 assertTrue(String.format("Default app link not set to 'never' rather set to %s", out), 172 "never".equals(out)); 177 out = getAppLink(TEST_PKG_NAME) 196 String out = getAppLink(alwaysOpenApp); local 216 String out = executeShellCommand(String.format( local [all...] |
/prebuilts/go/darwin-x86/src/cmd/dist/ |
test.go | 78 out []byte 122 t.out("Building packages and commands.") 692 func (t *tester) out(v string) { func 933 w.out = []byte(fmt.Sprintf("skipped due to earlier error\n")) 935 w.out, w.err = w.cmd.CombinedOutput() 955 t.out(dt.heading) 970 os.Stdout.Write(w.out) 983 t.out(dt.heading) 1097 // TODO(iant): Figure out how to catch this. 1145 // variables with the same name in "in" replace those in "out" [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
type.go | 177 println("runtime: nameOff", hex(off), "out of range", hex(md.types), "-", hex(md.etypes)) 178 throw("runtime: name offset out of range") 193 throw("runtime: name offset base pointer out of range") 223 throw("runtime: type offset base pointer out of range") 232 println("runtime: typeOff", hex(off), "out of range", hex(md.types), "-", hex(md.etypes)) 233 throw("runtime: type offset out of range") 260 throw("runtime: text offset base pointer out of range") 289 println("runtime: textOff", hex(off), "out of range", hex(md.text), "-", hex(md.etext)) 290 throw("runtime: text offset out of range") 304 func (t *functype) out() []*_type func [all...] |
/prebuilts/go/linux-x86/src/cmd/dist/ |
test.go | 78 out []byte 122 t.out("Building packages and commands.") 692 func (t *tester) out(v string) { func 933 w.out = []byte(fmt.Sprintf("skipped due to earlier error\n")) 935 w.out, w.err = w.cmd.CombinedOutput() 955 t.out(dt.heading) 970 os.Stdout.Write(w.out) 983 t.out(dt.heading) 1097 // TODO(iant): Figure out how to catch this. 1145 // variables with the same name in "in" replace those in "out" [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
type.go | 177 println("runtime: nameOff", hex(off), "out of range", hex(md.types), "-", hex(md.etypes)) 178 throw("runtime: name offset out of range") 193 throw("runtime: name offset base pointer out of range") 223 throw("runtime: type offset base pointer out of range") 232 println("runtime: typeOff", hex(off), "out of range", hex(md.types), "-", hex(md.etypes)) 233 throw("runtime: type offset out of range") 260 throw("runtime: text offset base pointer out of range") 289 println("runtime: textOff", hex(off), "out of range", hex(md.text), "-", hex(md.etext)) 290 throw("runtime: text offset out of range") 304 func (t *functype) out() []*_type func [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/stlport/src/c_locale_win32/ |
c_wlocale_win32.c | 38 WORD out[2]; local 40 GetStringTypeW(CT_CTYPE1, buf, -1, out); 42 return (_Locale_mask_t)(MapCtypeMask(out[0]) & which_bits);
|
/prebuilts/ndk/r11/sources/cxx-stl/stlport/src/ |
ios.cpp | 76 const ios_base::openmode ios_base::out; member in class:ios_base
|
/prebuilts/ndk/r13/sources/cxx-stl/stlport/src/c_locale_win32/ |
c_wlocale_win32.c | 38 WORD out[2]; local 40 GetStringTypeW(CT_CTYPE1, buf, -1, out); 42 return (_Locale_mask_t)(MapCtypeMask(out[0]) & which_bits);
|
/prebuilts/ndk/r13/sources/cxx-stl/stlport/src/ |
ios.cpp | 76 const ios_base::openmode ios_base::out; member in class:ios_base
|
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/SPIRV/ |
disassemble.cpp | 32 //ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 58 static void Kill(std::ostream& out, const char* message) 60 out << std::endl << "Disassembly failed: " << message << std::endl; 73 SpirvStream(std::ostream& out, const std::vector<unsigned int>& stream) : out(out), stream(stream), word(0), nextNestedControl(0) { } 97 std::ostream& out; // where to write the disassembly member in class:spv::SpirvStream 120 Kill(out, "stream is too short"); 124 out << "Bad magic number"; 129 out << "// Module Version " << std::hex << stream[word++] << std::endl [all...] |
/prebuilts/ndk/r13/sources/third_party/vulkan/glslang/SPIRV/ |
disassemble.cpp | 32 //ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 58 static void Kill(std::ostream& out, const char* message) 60 out << std::endl << "Disassembly failed: " << message << std::endl; 73 SpirvStream(std::ostream& out, const std::vector<unsigned int>& stream) : out(out), stream(stream), word(0), nextNestedControl(0) { } 97 std::ostream& out; // where to write the disassembly member in class:spv::SpirvStream 120 Kill(out, "stream is too short"); 124 out << "Bad magic number"; 129 out << "// Module Version " << std::hex << stream[word++] << std::endl [all...] |
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpmime/4.3.2/ |
httpmime-4.3.2.jar | |
/system/connectivity/wifilogd/ |
command_processor.cpp | 103 auto out = MakeSanitizedString(buffer_reader->GetBytesOrDie(effective_len), local 106 out += kBufferOverrunError; 109 return out; 113 std::string out(buf_len, '\0'); 114 std::replace_copy_if(buf, buf + buf_len, &out.front(), 117 return out;
|
/system/core/cpio/ |
mkbootfs.c | 91 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize) 103 fix_stat(out, s); 104 // fprintf(stderr, "_eject %s: mode=0%o\n", out, s->st_mode); 122 out, 128 if(strlen(out) != (unsigned int)olen) die("ACK!"); 153 static void _archive(char *in, char *out, int ilen, int olen); 159 static void _archive_dir(char *in, char *out, int ilen, int olen) 167 in, out, ilen, olen); 214 out[olen] = '/'; 215 memcpy(out + olen + 1, names[i], t + 1) 278 char out[8192]; local [all...] |
/system/core/fastboot/ |
usb_linux.cpp | 24 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 59 * under 2 seconds) but we'll time out after 3 seconds just in case. 149 int in, out; local 222 out = -1; 249 out = ept->bEndpointAddress; 261 info.has_bulk_out = (out != -1); 265 *ept_out_id = out; 338 int n, in, out, ifc; local 365 if (filter_usb_device(de->d_name, desc, n, writable, callback, &in, &out, &ifc) == 0) { 369 usb->ep_out = out; [all...] |
/system/core/libcutils/ |
str_parms.c | 323 float out; local 331 out = strtof(value, &end); 335 *val = out;
|