/frameworks/native/libs/utils/ |
H A D | TextOutput.cpp | 10 * Unless required by applicable law or agreed to in writing, software 37 TextOutput& operator<<(TextOutput& to, bool val) argument 39 if (val) to.print("true", 4); 40 else to.print("false", 5); 41 return to; 44 TextOutput& operator<<(TextOutput& to, int val) argument 48 to.print(buf, strlen(buf)); 49 return to; 52 TextOutput& operator<<(TextOutput& to, long val) argument 56 to 60 operator <<(TextOutput& to, unsigned int val) argument 68 operator <<(TextOutput& to, unsigned long val) argument 76 operator <<(TextOutput& to, long long val) argument 84 operator <<(TextOutput& to, unsigned long long val) argument 92 print_float(TextOutput& to, double value) argument 104 operator <<(TextOutput& to, float val) argument 109 operator <<(TextOutput& to, double val) argument 114 operator <<(TextOutput& to, const void* val) argument 127 operator <<(TextOutput& to, const TypeCode& val) argument 146 operator <<(TextOutput& to, const HexDump& val) argument [all...] |
H A D | String16.cpp | 10 * Unless required by applicable law or agreed to in writing, software 115 ALOG_ASSERT(buf, "Unable to allocate shared buffer"); 129 ALOG_ASSERT(buf, "Unable to allocate shared buffer"); 270 printf("Insert in to %s: pos=%d, len=%d, myLen=%d, chrs=%s\n", 412 TextOutput& operator<<(TextOutput& to, const String16& val) argument 414 to << String8(val).string(); 415 return to;
|
H A D | String8.cpp | 10 * Unless required by applicable law or agreed to in writing, software 40 // to OS_PATH_SEPARATOR. 58 // which is needed to initialize String8/String16 classes. 83 ALOG_ASSERT(buf, "Unable to allocate shared buffer"); 106 ALOG_ASSERT(buf, "Unable to allocate shared buffer"); 128 ALOG_ASSERT(buf, "Unable to allocate shared buffer"); 453 TextOutput& operator<<(TextOutput& to, const String8& val) argument 455 to << val.string(); 456 return to; 586 // nothing to d [all...] |
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/ |
H A D | Forwarder.java | 10 * Unless required by applicable law or agreed to in writing, software 29 * accepts an incoming connection, and it will then forward the incoming/outgoing streams to a 36 private Socket from, to; field in class:Forwarder 41 public Forwarder (Socket from, Socket to, ForwardServer server) { argument 44 this.to = to; 49 Thread outgoing = new Thread(new SocketPipe(from, to)); 50 Thread incoming = new Thread(new SocketPipe(to, from)); 59 shutdown(to);
|
/frameworks/base/tools/aidl/ |
H A D | generate_java.cpp | 80 FILE* to; local 82 to = stdout; 84 /* open file in binary mode to ensure that the tool produces the 87 to = fopen(filename.c_str(), "wb"); 88 if (to == NULL) { 89 fprintf(stderr, "unable to open %s for write\n", filename.c_str()); 94 document->Write(to); 96 fclose(to);
|
/frameworks/native/include/utils/ |
H A D | StrongPointer.h | 10 * Unless required by applicable law or agreed to in writing, software 30 TextOutput& printStrongPointer(TextOutput& to, const void* val); 114 TextOutput& operator<<(TextOutput& to, const sp<T>& val); 211 inline TextOutput& operator<<(TextOutput& to, const sp<T>& val) argument 213 return printStrongPointer(to, val.get());
|
H A D | TextOutput.h | 10 * Unless required by applicable law or agreed to in writing, software 39 inline Bundle(TextOutput& to) : mTO(to) { to.pushBundle(); } argument 51 // Text output stream for printing to the log (via utils/Log.h). 54 // Text output stream for printing to stdout. 57 // Text output stream for printing to stderr. 62 TextOutput& endl(TextOutput& to); 63 TextOutput& indent(TextOutput& to); 64 TextOutput& dedent(TextOutput& to); 126 endl(TextOutput& to) argument 132 indent(TextOutput& to) argument 138 dedent(TextOutput& to) argument 144 operator <<(TextOutput& to, const char* str) argument 150 operator <<(TextOutput& to, char c) argument 156 operator <<(TextOutput& to, TextOutputManipFunc func) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPAssembler.cpp | 10 * Unless required by applicable law or agreed to in writing, software 67 void ARTPAssembler::CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from) { argument 71 to->meta()->setInt32("rtp-time", rtpTime); 74 to->setInt32Data(from->int32Data());
|
H A D | ASessionDescription.cpp | 10 * Unless required by applicable law or agreed to in writing, software 266 float from, to; local 267 if (!parseNTPRange(value.c_str() + 4, &from, &to)) { 271 *durationUs = (int64_t)((to - from) * 1E6); 316 // Failed to parse float or trailing "dash".
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | Tweener.java | 10 * Unless required by applicable law or agreed to in writing, software 52 break; // an animator can only be attached to one object 57 public static Tweener to(Object object, long duration, Object... vars) { method in class:Tweener 63 // Iterate through arguments and discover properties to animate 136 return Tweener.to(object, duration, vars); 139 // Listener to watch for completed animations and remove them.
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
H A D | ReadRecInd.java | 11 * Unless required by applicable law or agreed to in writing, software 30 * @param to the to value 32 * NullPointerException if messageId or to is null. 38 EncodedStringValue[] to) throws InvalidHeaderValueException { 44 setTo(to); 34 ReadRecInd(EncodedStringValue from, byte[] messageId, int mmsVersion, int readStatus, EncodedStringValue[] to) argument
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | SectionMap.h | 23 * \brief descirbe the mappings of input section's name (or prefix) to 50 // add a mapping from input substr to output name and offset. 55 // find - return the iterator to the mapping 58 // at - return the pointer to the mapping 85 // to SectionMap 91 const char* to; member in struct:mcld::SectionMap::SectionNameMapping 94 // used to store common mappings of ELF and other formants
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorSRC.cpp | 10 * Unless required by applicable law or agreed to in writing, software 137 ALOGE("calloc failed to allocate memory: %d bytes", kBytes); 141 // Resample to target quality 161 // Convert back to 2 channels and 16 bits 168 sp<MetaData> to = outBuffer->meta_data(); local 171 to->setInt64(kKeyTime, timeUs); 231 // At this point we cannot switch to a new AudioResampler because 255 ALOGV("setting mInitialTimeStampUs to %lld", mInitialTimeStampUs); 260 // Now copy data to the destination
|
/frameworks/base/core/java/android/widget/ |
H A D | SimpleCursorAdapter.java | 10 * Unless required by applicable law or agreed to in writing, software 25 * An easy adapter to map columns from a cursor to TextViews or ImageViews 27 * views you want to display the columns, and the XML file that defines 34 * returned value is false and the view to bind is a TextView, 36 * is false and the view to bind is an ImageView, 44 * to get control over the filtering process. You can refer to 50 * A list of columns containing the data to bind to th 77 SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) argument 102 SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to, int flags) argument 360 changeCursorAndColumns(Cursor c, String[] from, int[] to) argument [all...] |
H A D | SimpleAdapter.java | 10 * Unless required by applicable law or agreed to in writing, software 30 * An easy adapter to map static data to views defined in an XML file. You can specify the data 31 * backing the list as an ArrayList of Maps. Each entry in the ArrayList corresponds to one row 33 * defines the views used to display the row, and a mapping from keys in the Map to specific 36 * Binding data to views occurs in two phases. First, if a 68 * @param data A List of Maps. Each entry in the List corresponds to one row in the list. The 72 * item. The layout file should include at least those named views defined in "to" 73 * @param from A list of column names that will be added to th 79 SimpleAdapter(Context context, List<? extends Map<String, ?>> data, int resource, String[] from, int[] to) argument [all...] |
H A D | SimpleCursorTreeAdapter.java | 10 * Unless required by applicable law or agreed to in writing, software 25 * An easy adapter to map columns from a cursor to TextViews or ImageViews 27 * you want to display the columns, and the XML file that defines the appearance 34 * returned value is false and the view to bind is a TextView, 36 * is false and the view to bind is an ImageView, 42 /** The name of the columns that contain the data to display for a group. */ 45 /** The indices of columns that contain data to display for a group. */ 53 /** The name of the columns that contain the data to display for a child. */ 56 /** The indices of columns that contain data to displa 212 bindView(View view, Context context, Cursor cursor, int[] from, int[] to) argument [all...] |
H A D | SimpleExpandableListAdapter.java | 10 * Unless required by applicable law or agreed to in writing, software 28 * An easy adapter to map static data to group and child views defined in an XML 30 * Maps. Each entry in the ArrayList corresponds to one group in the expandable 32 * that defines the views used to display a group, and a mapping from keys in 33 * the Map to specific views. This process is similar for a child, except it is 35 * where the first List corresponds to the group of the child, the second List 36 * corresponds to the position of the child within the group, and finally the 60 * @param groupData A List of Maps. Each entry in the List corresponds to 74 * corresponds to 243 bindView(View view, Map<String, ?> data, String[] from, int[] to) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | SimpleCursorAdapterTest.java | 10 * Unless required by applicable law or agreed to in writing, software 164 // check columns to see if rearrangement tracked (should be swapped now) 171 * Test that you can safely construct with a null cursor *and* null to/from arrays. 181 * Test going from a null cursor to a non-null cursor *and* setting the to/from arrays 204 * Test going from one mapping to a different mapping 249 * This is simply a way to sneak a look at the protected mFrom() array. A more API- 250 * friendly way to do this would be to mock out a View and a ViewBinder and exercise 256 String[] from, int[] to) { 255 TestSimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | SourcePos.cpp | 26 void print(FILE* to) const; 87 ErrorPos::print(FILE* to) const 92 fprintf(to, "%s:%d: %s %s\n", this->file.string(), this->line, type, this->error.string()); 94 fprintf(to, "%s: %s %s\n", this->file.string(), type, this->error.string()); 162 SourcePos::printErrors(FILE* to) argument 166 it->print(to);
|
/frameworks/native/include/binder/ |
H A D | Parcel.h | 10 * Unless required by applicable law or agreed to in writing, software 106 // descriptors are dup'ed, so it is safe to delete the native_handle 113 // The Parcel does not take ownership of the given fd unless you ask it to. 120 // Writes a blob to the parcel. 159 // response headers. Callers should use this to read & parse the 171 // in the parcel, which you do not own -- use dup() to get your own copy. 196 void print(TextOutput& to, uint32_t flags = 0) const; 270 inline TextOutput& operator<<(TextOutput& to, const Parcel& parcel) argument 272 parcel.print(to); 273 return to; [all...] |
/frameworks/base/core/jni/ |
H A D | android_bluetooth_BluetoothAudioGateway.cpp | 10 ** Unless required by applicable law or agreed to in writing, software 144 /* Set the default values of these to -1. */ 178 ALOGE("Can't set socket to nonblocking mode with fcntl(): %s (%d)", 268 ALOGI("Setting HF AG server socket to RFCOMM port %d!", 293 ALOGI("Changed HF AG server socket RCVTIMEO to (%d(s), %d(us))!", 313 ALOGI("Setting HF AG server socket to RFCOMM port %d!", 319 ALOGI("Setting HS AG server socket to RFCOMM port %d!", 329 struct timeval to; local 331 to.tv_sec = timeout_ms / 1000; 332 to [all...] |
H A D | android_bluetooth_HeadsetBase.cpp | 10 ** Unless required by applicable law or agreed to in writing, software 168 // According to ITU V.250 section 5.1, IA5 7 bit chars are used, 172 // We added this processing due to 2 real world problems. 380 ALOGI("Failed to re-open RFCOMM socket!"); 388 struct timeval to; local 395 to.tv_sec = timeout_ms / 1000; 396 to.tv_usec = 1000 * (timeout_ms % 1000); 402 (timeout_ms < 0 ? NULL : &to)); 405 jint remaining = to.tv_sec*1000 + to [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SimpleCursorAdapter.java | 10 * Unless required by applicable law or agreed to in writing, software 28 * Used to write apps that run on platforms prior to Android 3.0. When running 30 * to switch to the framework's implementation. See the framework SDK 35 * A list of columns containing the data to bind to the UI. 41 * A list of View ids representing the views to which the data must be bound. 62 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { argument 64 mTo = to; 87 SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to, int flags) argument 343 changeCursorAndColumns(Cursor c, String[] from, int[] to) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | StagefrightMetadataRetriever.cpp | 10 * Unless required by applicable law or agreed to in writing, software 64 ALOGE("Unable to create data source for '%s'.", uri); 71 ALOGE("Unable to instantiate an extractor for '%s'.", uri); 126 ALOGV("unable to instantiate video decoder."); 189 "to the video data."); 264 ALOGE("Unable to instantiate color conversion from format 0x%08x to " 277 ALOGE("Colorconverter failed to convert frame."); 299 ALOGV("extractor doesn't publish metadata, failed to initialize?"); 333 ALOGV("unable to instantiat 414 int to; member in struct:android::Map [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 10 * Unless required by applicable law or agreed to in writing, software 28 OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to) 30 mDstFormat(to), 27 ColorConverter( OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to) argument
|