/frameworks/base/core/java/com/android/internal/app/ |
HeavyWeightSwitcherActivity.java | 87 TypedValue out = new TypedValue(); local 88 getTheme().resolveAttribute(android.R.attr.alertDialogIcon, out, true); 90 out.resourceId);
|
/frameworks/base/core/java/com/android/internal/net/ |
LegacyVpnInfo.java | 51 public void writeToParcel(Parcel out, int flags) { 52 out.writeString(key); 53 out.writeInt(state); 54 out.writeParcelable(intent, flags);
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
StatusBarIcon.java | 93 public void writeToParcel(Parcel out, int flags) { 94 out.writeParcelable(this.icon, 0); 95 out.writeString(this.pkg); 96 out.writeParcelable(this.user, 0); 97 out.writeInt(this.iconLevel); 98 out.writeInt(this.visible ? 1 : 0); 99 out.writeInt(this.number); 100 out.writeCharSequence(this.contentDescription);
|
/frameworks/base/core/java/com/android/server/backup/ |
UsageStatsBackupHelper.java | 39 DataOutputStream out = new DataOutputStream(baos); local 41 out.writeInt(UserHandle.USER_SYSTEM); 42 out.write(localUsageStatsManager.getBackupPayload(UserHandle.USER_SYSTEM, key));
|
/frameworks/base/core/tests/coretests/src/android/net/ |
LocalSocketTest.java | 64 FileDescriptor[] out = ls1.getAncillaryFileDescriptors(); local 66 assertEquals(1, out.length); 85 // Try various array-out-of-bound cases
|
SSLTest.java | 34 OutputStream out = ssl.getOutputStream(); local 35 assertNotNull(out); 42 // System.out.println("going for write..."); 43 out.write(get.getBytes()); 46 // System.out.println("going for read..."); 49 // System.out.println(new String(b));
|
/frameworks/base/libs/androidfw/tests/ |
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;
|
/frameworks/base/media/mca/filterfw/native/core/ |
geometry.cpp | 46 Point out; local 47 out.x_ = x_ + other.x_; 48 out.y_ = y_ + other.y_; 49 return out; 53 Point out; local 54 out.x_ = x_ - other.x_; 55 out.y_ = y_ - other.y_; 56 return out; 60 Point out; local 61 out.x_ = factor * x_ [all...] |
/frameworks/base/media/mca/filterpacks/native/base/ |
geometry.cpp | 45 Point out; local 46 out.x_ = x_ + other.x_; 47 out.y_ = y_ + other.y_; 48 return out; 52 Point out; local 53 out.x_ = x_ - other.x_; 54 out.y_ = y_ - other.y_; 55 return out; 59 Point out; local 60 out.x_ = factor * x_ [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
DurableUtils.java | 33 final ByteArrayOutputStream out = new ByteArrayOutputStream(); local 34 d.write(new DataOutputStream(out)); 35 return out.toByteArray(); 85 public static void writeNullableString(DataOutputStream out, String value) throws IOException { 87 out.write(1); 88 out.writeUTF(value); 90 out.write(0);
|
/frameworks/base/services/core/java/com/android/server/ |
RandomBlock.java | 67 RandomAccessFile out = null; local 69 out = new RandomAccessFile(filename, sync ? "rws" : "rw"); 70 toDataOut(out); 71 truncateIfPossible(out); 73 close(out); 87 private void toDataOut(DataOutput out) throws IOException { 88 out.write(block);
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountAuthenticatorCache.java | 84 public void writeAsXml(AuthenticatorDescription item, XmlSerializer out) 86 out.attribute(null, "type", item.type);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
IpConnectivityEventBuilder.java | 57 final IpConnectivityEvent out = toProto(in); local 58 if (out == null) { 61 eventsOut.add(out); 67 final IpConnectivityEvent out = new IpConnectivityEvent(); local 68 if (!setEvent(out, ev.data)) { 71 out.timeMs = ev.timestamp; 72 return out; 75 private static boolean setEvent(IpConnectivityEvent out, Parcelable in) { 77 setDhcpErrorEvent(out, (DhcpErrorEvent) in); 82 setDhcpClientEvent(out, (DhcpClientEvent) in) 228 final int[] out = new int[in.length]; local [all...] |
/frameworks/base/telephony/java/com/android/ims/ |
ImsExternalCallState.java | 84 public void writeToParcel(Parcel out, int flags) { 85 out.writeInt(mCallId); 86 out.writeParcelable(mAddress, 0); 87 out.writeInt(mIsPullable ? 1 : 0); 88 out.writeInt(mCallState); 89 out.writeInt(mCallType); 90 out.writeInt(mIsHeld ? 1 : 0); 91 Rlog.d(TAG, "ImsExternalCallState writeToParcel = " + out.toString());
|
/frameworks/multidex/library/src/android/support/multidex/ |
MultiDexExtractor.java | 336 ZipOutputStream out = null; local 341 out = new ZipOutputStream(new BufferedOutputStream(new FileOutputStream(tmp))); 346 out.putNextEntry(classesDex); 351 out.write(buffer, 0, length); 354 out.closeEntry(); 356 out.close();
|
/frameworks/native/services/surfaceflinger/ |
GpuService.cpp | 41 int out = data.readFileDescriptor(); local 48 return shellCommand(in, out, err, args); 59 status_t cmd_help(int out); 60 status_t cmd_vkjson(int out, int err); 67 status_t GpuService::shellCommand(int /*in*/, int out, int err, 75 return cmd_vkjson(out, err); 77 return cmd_help(out); 86 status_t cmd_help(int out) { 87 FILE* outs = fdopen(out, "w"); 89 ALOGE("vkjson: failed to create out stream: %s (%d)", strerror(errno) [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicLUT.cpp | 61 uchar *out = (uchar *)info->outPtr[0]; local 72 out[0] = tr[in[0]]; 73 out[1] = tg[in[1]]; 74 out[2] = tb[in[2]]; 75 out[3] = ta[in[3]]; 77 out += 4;
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
NRF24L01_receiverSample.java | 21 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 76 System.out.print("Received: "); 78 System.out.print(rx_buffer[i]); 79 System.out.println(); 81 System.out.println("No NRF24L01 instance given to callback");
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
idct8x8_test.cc | 85 double out[64], out2[64]; local 93 out[j + i*8] = temp_out[j]; 99 temp_in[j] = out[j*8 + i];
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libmkv/ |
EbmlWriter.c | 125 signed long out = ((val & 0x003FFFFF) | 0x00200000) << 8; local 126 Ebml_Serialize(glob, &out, sizeof(out), 3);
|
/hardware/libhardware_legacy/audio/ |
AudioHardwareStub.cpp | 48 AudioStreamOutStub* out = new AudioStreamOutStub(); local 49 status_t lStatus = out->set(format, channels, sampleRate); 54 return out; 55 delete out; 59 void AudioHardwareStub::closeOutputStream(AudioStreamOut* out) 61 delete out;
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
HprofBinaryToAscii.java | 33 * java -classpath out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar 65 System.out.println("Problem reading binary hprof data from " 76 System.out.println("Problem reading snapshot containing binary hprof data from " 163 AsciiHprofWriter.write(hprofData, System.out); 165 System.out.println("Problem writing ASCII hprof data: " + e.getMessage()); 175 System.out.print("ERROR: "); 176 System.out.println(error); 177 System.out.println(); 178 System.out.println("usage: HprofBinaryToAscii <binary-hprof-file>"); 179 System.out.println() [all...] |
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
ChunkHandler.java | 65 ByteBuffer out = ByteBuffer.allocate(8 + msg.length() * 2); local 66 out.order(ChunkHandler.CHUNK_ORDER); 67 out.putInt(errorCode); 68 out.putInt(msg.length()); 69 putString(out, msg); 71 return new Chunk(CHUNK_FAIL, out); 87 * Utility function to copy a String out of a ByteBuffer.
|
/libcore/luni/src/main/java/libcore/reflect/ |
Types.java | 93 * Appends the best {@link #toString} name for {@code c} to {@code out}. 99 public static void appendTypeName(StringBuilder out, Class<?> c) { 105 out.append(c.getName()); 107 out.append("[]"); 112 * Appends names of the {@code types} to {@code out} separated by commas. 114 public static void appendArrayGenericType(StringBuilder out, Type[] types) { 118 appendGenericType(out, types[0]); 120 out.append(','); 121 appendGenericType(out, types[i]); 125 public static void appendGenericType(StringBuilder out, Type type) [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidPipedStreamTest.java | 43 final PipedOutputStream out = new PipedOutputStream(in); local 80 out.write(toWrite); 82 out.close(); 110 final PipedOutputStream out = new PipedOutputStream(in); local 165 out.write(writeBytes, 0, writeBytes.length); 167 out.close(); 195 final PipedOutputStream out = new PipedOutputStream(in); local 236 out.write(writeBytes, 0, writeBytes.length); 237 out.close();
|