/external/nist-sip/java/gov/nist/javax/sip/ |
SipStackImpl.java | 7 * employees are not subject to copyright protection in the United States 8 * and are considered to be in the public domain. As a result, a formal 76 * {@link javax.sip.SipStack} ). In addition to these, the following are 77 * meaningful properties for the NIST SIP stack (specify these in the property 85 * </b> This property is used by the built in log4j based logger. You can use 88 * logged in SERVER_LOG. If you set this to 32 and specify a DEBUG_LOG then vast 89 * amounts of trace information will be dumped in to the specified DEBUG_LOG. 101 * </code> allows you to now control logging in the stack entirely using log4j 121 * Otherwise messages are logged in a format that can later be viewed using the 122 * trace viewer application which is located in the tools/tracesviewe 1004 InputStream in = getClass().getResourceAsStream("\/TIMESTAMP"); local [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
HttpOverSpdyTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 252 InputStream in = connection.getInputStream(); local 253 assertEquals("ABC", readAscii(in, 3)); 254 assertEquals(-1, in.read()); 255 assertEquals(-1, in.read()); 290 * arrive in time. 421 private String readAscii(InputStream in, int count) throws IOException { 424 int value = in.read(); 426 in.close() [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowIntent.java | 626 public void readFromParcel(Parcel in) { 627 setAction(in.readString()); 628 if (in.readInt() == 1) { 629 data = Uri.CREATOR.createFromParcel(in); 631 type = in.readString(); 632 flags = in.readInt(); 633 packageName = in.readString(); 634 componentName = ComponentName.readFromParcel(in); 635 int N = in.readInt(); 637 categories.add(in.readString().intern()) [all...] |
/frameworks/base/core/java/android/view/ |
Display.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 45 * The display area is described in two different ways. 60 * such as the built-in screen or an external monitor. The contents of a logical 96 * The default Display id, which is the id of the built-in primary display 108 * that is stored in protected graphics buffers. 119 * in protected graphics buffers may not be composited. 146 * by applications from appearing in screenshots or from being viewed 235 * Display type: Built-in display. 286 * Display state: The display is dozing in a low power state; it is stil [all...] |
InputDevice.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 96 * A {@link MotionEvent} should be interpreted as absolute coordinates in 110 * A {@link MotionEvent} should be interpreted as relative movements in device-specific 122 * A {@link MotionEvent} should be interpreted as absolute coordinates in 222 * source. For example, a Bluetooth stylus used in conjunction with a 260 * For example, an upward swipe should be as an upward focus traversal in the same manner as 261 * pressing up on a D-Pad would be. Swipes to the left, right and down should be treated in a 287 * The key comes in through HDMI-CEC or MHL signal line, and is treated as if it were 399 public InputDevice createFromParcel(Parcel in) { [all...] |
/frameworks/base/core/java/com/android/internal/backup/ |
LocalTransport.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 178 Log.w(TAG, "Unable to stat input file in performBackup() on " 186 // Each 'record' in the restore set is kept in its own file, named by 189 // in this update. 200 // the effect against what we already have in the datastore to detect quota overrun. 201 // So, we first need to tally up the current in-datastore size per key. 211 Log.v(TAG, "No operations in backup stream, so no size change"); 245 // (in the order that the app provided them 630 FileInputStream in = new FileInputStream(f); local [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
PerformBackupTask.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 86 * Also takes in a list of pending dolly backups and kicks them off when key/value backups 129 // carried information about the current in-flight operation 169 Slog.d(TAG, "Skipping backup since one is already in progress."); 174 backupManagerService.addBackupTrace("Skipped. Backup already in progress."); 195 * Put this task in the repository of running tasks. 265 // We need to retain the original queue contents in case of transport 274 // The app metadata pseudopackage might also be represented in the 282 Slog.i(TAG, "Metadata in queue; eliding") 833 BackupDataInput in = new BackupDataInput(readFd.getFileDescriptor()); local [all...] |
/frameworks/base/services/usage/java/com/android/server/usage/ |
UsageStatsDatabase.java | 5 * use this file except in compliance with the License. You may obtain a copy 10 * Unless required by applicable law or agreed to in writing, software 100 // Delete files that are in the future. 112 // Remove in a separate loop because any accesses (valueAt) 113 // will cause a gc in the SparseArray and mess up the order. 127 * for all {@link IntervalStats} that haven't been checked-in. 129 * an exception, the check-in will be aborted. 131 * @param checkinAction The callback to run when checking-in {@link IntervalStats}. 132 * @return true if the check-in succeeded. 140 // We may have holes in the checkin (if there was an error 667 DataInputStream in = new DataInputStream(new ByteArrayInputStream(payload)); local 774 DataInputStream in = new DataInputStream(bais); local [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiBackupRestore.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 76 * List of XML section header tags in the backed up data 86 * Regex to mask out passwords in backup data dump. 108 * logging is enabled in developer options. 216 final XmlPullParser in = Xml.newPullParser(); local 218 in.setInput(inputStream, StandardCharsets.UTF_8.name()); 221 XmlUtil.gotoDocumentStart(in, XML_TAG_DOCUMENT_HEADER); 222 int rootTagDepth = in.getDepth(); 224 int version = (int) XmlUtil.readNextValueWithName(in, XML_TAG_VERSION) 397 BufferedReader in = new BufferedReader(new CharArrayReader(restoredAsChars)); local [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
XmlUtilTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 186 * This basically exercises all the elements being serialized in config store. 265 * in the XML file from a previous release which has now been deprecated. The network should 284 // Now modify the status string with some invalid string in XML data.. 314 * in the XML file from a previous release which has now been deprecated. The network should 333 // Now modify the disable reason string with some invalid string in XML data. 407 // argument exception in WifiEnterpriseConfig.setEapMethod(). 456 final XmlPullParser in = Xml.newPullParser(); local 458 in.setInput(inputStream, StandardCharsets.UTF_8.name()) 521 final XmlPullParser in = Xml.newPullParser(); local 544 final XmlPullParser in = Xml.newPullParser(); local 575 final XmlPullParser in = Xml.newPullParser(); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
SerializationStressTest1.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 118 private void readObject(java.io.ObjectInputStream in) 121 in.readObject(); 143 public void readObject(java.io.ObjectInputStream in) 146 in.readObject(); 156 // This one tests if field names are serialized in the same way (sorting) 178 private void readObject(java.io.ObjectInputStream in) 181 in.defaultReadObject(); 278 // A primitive instance variable exposes a bug in the serializatio [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetDecoderTest.java | 5 * (the "License"); you may not use this file except in compliance with 10 * Unless required by applicable law or agreed to in writing, software 218 ByteBuffer in = getByteBuffer(); local 219 out = decoder.decode(in); 226 in = getByteBuffer().asReadOnlyBuffer(); 227 out = decoder.decode(in); 237 ByteBuffer in; local 243 in = getMalformedByteBuffer(); 244 if (in != null) { 246 CharBuffer buffer = decoder.decode(in); 573 ByteBuffer in = ByteBuffer.wrap(new byte[] { 12, 12 }); local 601 ByteBuffer in = ByteBuffer.wrap(new byte[] { 98, 98 }); local 635 ByteBuffer in = getByteBuffer(); local 667 ByteBuffer in = ByteBuffer.wrap(new byte[] { 98, 98 }); local 707 ByteBuffer in = ByteBuffer.wrap(new byte[] { 98, 98 }); local [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
ProcessBuilderTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 51 * Returns the path to a command that is in /system/bin/ on Android but 106 .command(commandPath("/bin/sleep"), "5") // in seconds 113 Os.fstat(FileDescriptor.in).st_ino, 134 File file = File.createTempFile(TAG, "in"); 167 // We assume that the path of the missing file occurs in the ls stderr. 208 // We assume that the path of the missing file occurs in the ls stderr. 247 InputStream in = process.getInputStream(); local 253 in.read() [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStore2Test.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 478 InputStream in = new ByteArrayInputStream(keyStore); local 479 keyTest.load(in, pssWord); 480 in.close(); 487 in = new ByteArrayInputStream(keyStore); 488 keyTest.load(in, null); 489 in.close(); [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
VoicemailProviderTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 129 InputStream in = mResolver.openInputStream(uri); local 131 int numBytesRead = in.read(inBuffer); 135 assertEquals(-1, in.read(inBuffer)); 136 in.close();
|
/tools/apksig/src/main/java/com/android/apksig/ |
ApkSigner.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 75 * Minimum size (in bytes) of the extensible data block/field used for alignment of uncompressed 81 * Name of the Android manifest ZIP entry in APKs. 143 * or if the signing engine is in an invalid state. 148 Closeable in = null; local 155 in = inputFile; 185 if (in != null) { 186 in.close(); 270 // entries which need to be output. Entries are iterated in the order in which their Loca [all...] |
/bionic/libc/kernel/uapi/linux/ |
auto_dev-ioctl.h | 63 } in; member in union:args_ismountpoint::__anon425
|
/bionic/libc/kernel/uapi/linux/netfilter_bridge/ |
ebtables.h | 114 char in[IFNAMSIZ]; member in struct:ebt_entry
|
/build/make/core/ |
product.mk | 5 # you may not use this file except in compliance with the License. 10 # Unless required by applicable law or agreed to in writing, software 19 # PRODUCT_MAKEFILES is set up in AndroidProducts.mks. 26 # Search for AndroidProducts.mks in the given dir. 28 define _search-android-products-files-in-dir 40 $(foreach d, device vendor product,$(call _search-android-products-files-in-dir,$(d))) \ 46 # variables set in the given AndroidProducts.mk files. 64 # variables set in all AndroidProducts.mk files. 165 # 2. Records the inheritance in the .INHERITS_FROM variable 166 # 3. Records that we've visited this node, in ALL_PRODUCT [all...] |
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
MediaPreparer.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 69 * These depend on the device's mount point, which is retrieved in the MediaPreparer's run 105 /* Key to retrieve resolution string in metrics upon MediaPreparerListener.testEnded() */ 109 * In the case of MediaPreparer error, the default maximum resolution to push to the device. 112 * a TargetSetupError when detection results in error 181 * directory containing 'bbb_short' and 'bbb_full' directories, as it is defined in its 193 "Unexpected contents in directory %s", mediaFolder.getAbsolutePath()), 220 InputStream in = conn.getInputStream(); local 222 FileUtil.writeToFile(in, mediaFolderZip) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
DecoderConformanceTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 87 BufferedReader in = new BufferedReader(new InputStreamReader(is, "UTF-8")); local 92 while ((str = in.readLine()) != null) { 196 // Release mediacodec in failure or exception cases.
|
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
BasePackageInstallTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 173 InputStream in = new FileInputStream(file); local 177 while ((c = in.read(buffer)) != -1) {
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
DecodedInstruction.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 33 * match the names given in the Dalvik instruction format 35 * arbitrarily alphabetically from A. In this class, non-register 55 * though it is stored in an {@code int}. 69 public static DecodedInstruction decode(CodeInput in) throws EOFException { 70 int opcodeUnit = in.read(); 74 return format.decode(opcodeUnit, in); 85 ShortArrayCodeInput in = new ShortArrayCodeInput(encodedInstructions); local 88 while (in.hasMore()) [all...] |
/development/ndk/platforms/android-21/include/linux/netfilter_bridge/ |
ebtables.h | 137 char in[IFNAMSIZ]; member in struct:ebt_entry
|
/device/asus/fugu/libaudio/ |
audio_hal_thunks.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 447 struct atv_stream_in *in = NULL; local 451 in = reinterpret_cast<struct atv_stream_in*>( 453 if (!in) { 458 in->stream.common.get_sample_rate = in_get_sample_rate; 459 in->stream.common.set_sample_rate = in_set_sample_rate; 460 in->stream.common.get_buffer_size = in_get_buffer_size; 461 in->stream.common.get_channels = in_get_channels; 462 in->stream.common.get_format = in_get_format [all...] |