/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
H A D | SocketConnect.java | 14 private OutputStream to; field in class:SocketConnect 16 public SocketConnect(Socket from, Socket to) throws IOException { argument 18 this.to = to.getOutputStream(); 32 to.write(buffer, 0, r); 35 to.close();
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | ELFEmulation.cpp | 19 const char* to; ///< the output string. member in struct:NameMap 73 pScript.sectionMap().append(map[i].from, map[i].to, exist);
|
/frameworks/native/libs/binder/ |
H A D | TextOutput.cpp | 10 * Unless required by applicable law or agreed to in writing, software 40 TextOutput& operator<<(TextOutput& to, bool val) argument 42 if (val) to.print("true", 4); 43 else to.print("false", 5); 44 return to; 47 TextOutput& operator<<(TextOutput& to, int val) argument 51 to.print(buf, strlen(buf)); 52 return to; 55 TextOutput& operator<<(TextOutput& to, long val) argument 59 to 63 operator <<(TextOutput& to, unsigned int val) argument 71 operator <<(TextOutput& to, unsigned long val) argument 79 operator <<(TextOutput& to, long long val) argument 87 operator <<(TextOutput& to, unsigned long long val) argument 95 print_float(TextOutput& to, double value) argument 107 operator <<(TextOutput& to, float val) argument 112 operator <<(TextOutput& to, double val) argument 117 operator <<(TextOutput& to, const void* val) argument 125 operator <<(TextOutput& to, const String8& val) argument 131 operator <<(TextOutput& to, const String16& val) argument 142 operator <<(TextOutput& to, const TypeCode& val) argument 161 operator <<(TextOutput& to, const HexDump& val) argument [all...] |
/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/compile/mclinker/include/mcld/Object/ |
H A D | SectionMap.h | 23 * \brief descirbe the mappings of input section's name (or prefix) to 42 std::string to; member in struct:mcld::SectionMap::NamePair 61 // add a mapping from input sub-string to output name.
|
/frameworks/rs/cpp/util/ |
H A D | StrongPointer.h | 10 * Unless required by applicable law or agreed to in writing, software 31 TextOutput& printStrongPointer(TextOutput& to, const void* val); 115 TextOutput& operator<<(TextOutput& to, const sp<T>& val); 212 inline TextOutput& operator<<(TextOutput& to, const sp<T>& val) argument 214 return printStrongPointer(to, val.get());
|
/frameworks/rs/server/ |
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());
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPAssembler.cpp | 10 * Unless required by applicable law or agreed to in writing, software 61 void ARTPAssembler::CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from) { argument 65 to->meta()->setInt32("rtp-time", rtpTime); 68 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/opt/mms/src/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/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptGroupThunker.java | 10 * Unless required by applicable law or agreed to in writing, software 64 public Builder addConnection(Type t, Script.KernelID from, Script.FieldID to) { argument 66 bN.addConnection(tt.getNObj(), from.mN, to.mN); 70 public Builder addConnection(Type t, Script.KernelID from, Script.KernelID to) { argument 72 bN.addConnection(tt.getNObj(), from.mN, to.mN);
|
/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/services/surfaceflinger/RenderEngine/ |
H A D | ProgramCache.cpp | 10 * Unless required by applicable law or agreed to in writing, software 31 * A simple formatter class to automatically add the endl and 63 friend inline Formatter& operator<<(Formatter& to, FormaterManipFunc func) { argument 64 return (*func)(to);
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | ScriptGroup.java | 10 * Unless required by applicable law or agreed to in writing, software 25 * The kernels may be connected internally or to an external allocation. 32 * Inputs bound to script globals are set directly upon the script. 36 * script kernels and connections. Attempting to create a 37 * ScriptGroup with multiple DAGs or attempting to create 41 * Script objects. Attempting to use multiple kernels from the same 59 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { argument 61 mToK = to; 65 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { argument 67 mToF = to; 316 addConnection(Type t, Script.KernelID from, Script.FieldID to) argument 351 addConnection(Type t, Script.KernelID from, Script.KernelID to) argument [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSelectorView.java | 10 * Unless required by applicable law or agreed to in writing, software 73 Log.w(TAG, "Failed to get intent for assist activity"); 217 // XXX Hack. We need to substitute the icon here but haven't formalized 235 void doTransition(View view, float to) { argument 239 mAnim = ObjectAnimator.ofFloat(view, "alpha", to);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | BarTransitions.java | 10 * Unless required by applicable law or agreed to in writing, software 143 private void startColorAnimation(int from, int to) { argument 144 if (DEBUG) Log.d(mTag, String.format("startColorAnimation %08x -> %08x", from, to)); 145 mColorDrawableAnimator = ValueAnimator.ofObject(new ArgbEvaluator(), from, to);
|
/frameworks/compile/mclinker/tools/mcld/lib/Support/ |
H A D | LinkerConfig.cpp | 38 // If here, the program failed ungracefully. Run the interrupt handlers to 74 const char* to; member in struct:NameMap 125 map[i].to,
|
/frameworks/native/include/binder/ |
H A D | Parcel.h | 10 * Unless required by applicable law or agreed to in writing, software 113 // descriptors are dup'ed, so it is safe to delete the native_handle 120 // The Parcel does not take ownership of the given fd unless you ask it to. 127 // Writes a blob to the parcel. 171 // response headers. Callers should use this to read & parse the 183 // in the parcel, which you do not own -- use dup() to get your own copy. 208 void print(TextOutput& to, uint32_t flags = 0) const; 368 inline TextOutput& operator<<(TextOutput& to, const Parcel& parcel) argument 370 parcel.print(to); 371 return to; [all...] |