/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsBackupAgent.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 50 * List of settings that are backed up are stored in the Settings.java file 259 // Only restore settings in our list of known-acceptable data 418 * Write an int in BigEndian into the byte array. 420 * @param pos current pos in array 437 private int readInt(byte[] in, int pos) { argument 439 ((in[pos ] & 0xFF) << 24) | 440 ((in[pos + 1] & 0xFF) << 16) | 441 ((in[po [all...] |
/frameworks/base/services/audioflinger/ |
H A D | A2dpAudioInterface.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 109 void A2dpAudioInterface::closeInputStream(AudioStreamIn* in) argument 111 return mHardwareInterface->closeInputStream(in); 304 // Simulate audio output timing in case of error
|
H A D | AudioDumpInterface.cpp | 6 ** you may not use this file except in compliance with the License. 11 ** Unless required by applicable law or agreed to in writing, software 171 void AudioDumpInterface::closeInputStream(AudioStreamIn* in) argument 173 AudioStreamInDump *dumpIn = (AudioStreamInDump *)in;
|
H A D | AudioMixer.h | 6 ** you may not use this file except in compliance with the License. 11 ** Unless required by applicable law or agreed to in writing, software 119 static inline int32_t applyVolume(int32_t in, int32_t v) { argument 120 return in * v; 157 void const* in; // current location in buffer member in struct:android::AudioMixer::track_t
|
H A D | AudioMixer.cpp | 6 ** you may not use this file except in compliance with the License. 11 ** Unless required by applicable law or agreed to in writing, software 69 t->in = 0; 329 "in process__validate() but nothing's invalid"); 460 int32_t mulAdd(int16_t in, int16_t v, int32_t a) argument 464 asm( "smlabb %[out], %[in], %[v], %[a] \n" 466 : [in]"%r"(in), [v]"r"(v), [a]"r"(a) 470 return a + in * int32_t(v); 475 int32_t mul(int16_t in, int16_ argument 651 int16_t const *in = static_cast<int16_t const *>(t->in); local 741 int16_t const *in = static_cast<int16_t const *>(t->in); local 1056 int16_t const *in = b.i16; local [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/test/ |
H A D | ModelInterpreter.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 // Also in ATChannel.java 146 InputStream in; field in class:ModelInterpreter 167 ModelInterpreter (InputStream in, OutputStream out) argument 169 this.in = in; 213 in = s.getInputStream(); 225 lineReader = new LineReader (in); 266 // no reconnect in thi [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeXmlBlockParser.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 48 private boolean mPopped = true; // default to true in case it's not pushed. 118 public void setInput(Reader in) throws XmlPullParserException { argument 119 mParser.setInput(in);
|
/frameworks/base/voip/java/android/net/sip/ |
H A D | SipProfile.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 60 public SipProfile createFromParcel(Parcel in) { 61 return new SipProfile(in); 305 private SipProfile(Parcel in) { argument 306 mAddress = (Address) in.readSerializable(); 307 mProxyAddress = in.readString(); 308 mPassword = in.readString(); 309 mDomain = in.readString(); 310 mProtocol = in [all...] |
/frameworks/base/cmds/keystore/ |
H A D | keystore.c | 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 44 * each file stores one key-value pair. Keys are encoded in file names, and 53 /* Here is the encoding of keys. This is necessary in order to allow arbitrary 54 * characters in keys. Characters in [0-~] are not encoded. Others are encoded 57 * [0-o]. Therefore in the worst case the length of a key gets doubled. Note 60 static int encode_key(char *out, uint8_t *in, int length) argument 63 for (i = length; i > 0; --i, ++in, ++out) { 64 if (*in > 76 decode_key(uint8_t *out, char *in, int length) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | SearchableInfo.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 56 // TODO how should these be documented for the developer, in a more structured way than 57 // the current long wordy javadoc in SearchManager.java ? 62 // flags in the searchMode attribute 154 * Checks whether the text in the query field should come from the suggestion intent data. 163 * Checks whether the text in the query field should come from the suggestion title. 172 * Gets the resource id of the description string to use for this source in system search 205 * This can be overriden in any given suggestion using the column 222 * This can be overriden in an 430 ActionKeyInfo(Parcel in) argument 795 SearchableInfo(Parcel in) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | StrictMode.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 49 * almost all disk accesses are fast, but may in individual cases be 50 * dramatically slower when certain I/O is happening in the background 54 * <p>Example code to enable from early in your 98 * enabled in shipping applications on the Android Market. 163 * bits and signals that we're in a Binder call and we should 166 * in the originating process. 168 * This must be kept in sync with the constant in lib 1146 ViolationInfo(Parcel in) argument 1156 ViolationInfo(Parcel in, boolean unsetGatheringBit) argument [all...] |
/frameworks/base/core/java/android/pim/vcard/ |
H A D | VCardParserImpl_V21.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 91 public CustomBufferedReader(Reader in) { argument 92 super(in); 112 * Read one line, but make this object store it in its queue. 146 * "Encoding" in vCard is different from "Charset". It is mainly used for 166 * Set for storing unkonwn TYPE attributes, which is not acceptable in vCard 167 * specification, but happens to be seen in real world vCard. 174 * Set for storing unkonwn VALUE attributes, which is not acceptable in 175 * vCard specification, but happens to be seen in rea [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ProgressBar.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 57 * Visual indicator of progress in some operation. Displays a bar to the user 91 * // Start lengthy operation in a background thread 254 StateListDrawable in = (StateListDrawable) drawable; 256 int numStates = in.getStateCount(); 258 out.addState(in.getStateSet(i), tileify(in.getStateDrawable(i), clip)); 288 * Each frame of the animation is wrapped in a ClipDrawable and 336 * <p>Indicate whether this progress bar is in indeterminat 907 SavedState(Parcel in) argument [all...] |
H A D | RemoteViews.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 50 * A class that describes a view hierarchy that can be displayed in 141 // Find target view location in screen coordinates and 301 ReflectionAction(Parcel in) { argument 302 this.viewId = in.readInt(); 303 this.methodName = in.readString(); 304 this.type = in.readInt(); 312 this.value = in.readInt() != 0; 315 this.value = in [all...] |
H A D | ExpandableListView.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 39 * A view that shows items in a vertically scrolling two-level list. This 65 * ExpandableListView in XML if the parent's size is also not strictly specified 103 /** The mask (in packed position representation) for the child */ 106 /** The mask (in packed position representation) for the group */ 109 /** The mask (in packed position representation) for the type */ 112 /** The shift amount (in packed position representation) for the group */ 115 /** The shift amount (in packed position representation) for the type */ 118 /** The mask (in intege 1104 SavedState(Parcel in) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuView.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 60 /** Maximum number of items to show in the icon menu. */ 116 * top-most). Each value contains the number of items in that row. 118 * The length of this array should not be used to get the number of rows in 124 * The number of rows in the current layout. 169 // This is so we'll receive the MENU key in touch mode 215 * @param numItems The total number of items (across all rows) contained in 378 * just computes positions for each child, and then stores them in the child's layout params. 576 * position is the number of items in tha 781 SavedState(Parcel in) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LaunchpadActivity.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 49 public MyBadParcelable createFromParcel(Parcel in) { 50 return new MyBadParcelable(in); 58 public MyBadParcelable(Parcel in) { argument 59 String nm = in.readString(); 73 // Also used as the Binder interface descriptor string in these tests 187 // This one behaves a little differently when running in a group. 508 //System.out.println(mNextReceiver + " in " + mExpectedReceivers); 583 //System.out.println("Receive in [all...] |
/frameworks/base/libs/rs/ |
H A D | rsAllocation.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 363 static void mip565(const Adapter2D &out, const Adapter2D &in) argument 370 const uint16_t *i1 = static_cast<uint16_t *>(in.getElement(0, y*2)); 371 const uint16_t *i2 = static_cast<uint16_t *>(in.getElement(0, y*2+1)); 382 static void mip8888(const Adapter2D &out, const Adapter2D &in) argument 389 const uint32_t *i1 = static_cast<uint32_t *>(in.getElement(0, y*2)); 390 const uint32_t *i2 = static_cast<uint32_t *>(in.getElement(0, y*2+1)); 401 static void mip8(const Adapter2D &out, const Adapter2D &in) argument 408 const uint8_t *i1 = static_cast<uint8_t *>(in 420 mip(const Adapter2D &out, const Adapter2D &in) argument [all...] |
/frameworks/base/libs/utils/ |
H A D | String16.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 45 # include <netinet/in.h> 273 static char16_t* allocFromUTF8(const char* in, size_t len) argument 278 const char* end = in+len; 279 const char* p = in; 285 if (codepoint > 0xFFFF) chars++; // this will be a surrogate pair in utf16 292 p = in; 297 //printf("Created UTF-16 string from UTF-8 \"%s\":", in); 485 printf("Insert in t [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | UsageStatsService.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 127 TimeStats(Parcel in) { argument 128 count = in.readInt(); 131 localTimes[i] = in.readInt(); 157 PkgUsageStatsExtended(Parcel in) { argument 158 mLaunchCount = in.readInt(); 159 mUsageTime = in.readLong(); 163 final int N = in.readInt(); 166 String comp = in 702 collectDumpInfoFromParcelFLOCK(Parcel in, PrintWriter pw, String date, boolean isCompactOutput, HashSet<String> packages) argument [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | ServiceState.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 27 * The following phone information is included in returned ServiceState: 42 * with an operator either in home network or in roaming. 183 public ServiceState(Parcel in) { argument 184 mState = in.readInt(); 185 mRoaming = in.readInt() != 0; 186 mOperatorAlphaLong = in.readString(); 187 mOperatorAlphaShort = in [all...] |
/frameworks/base/tools/localize/ |
H A D | XMLHandler.cpp | 459 convert_attrs(const char** in, vector<XMLAttribute>* out) argument 461 while (*in) { 463 parse_namespace(in[0], &attr.ns, &attr.name); 464 attr.value = in[1]; 466 in += 2;
|
/frameworks/base/core/java/android/content/res/ |
H A D | XmlBlock.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 108 public void setInput(Reader in) throws XmlPullParserException { argument
|
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.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 49 * The order in which individual pointers appear within a motion event can change 51 * pointer id to track pointers across motion events in a gesture. Then for 53 * the pointer index for a given pointer id in that motion event. 60 * insofar as they are older than the current coordinates in the batch; however, 61 * they are still distinct from any other coordinates reported in prior motion events. 62 * To process all coordinates in the batch in time order, first consume the historical 65 * Example: Consuming all samples for all pointers in 1554 createFromParcelBody(Parcel in) argument [all...] |
H A D | WindowManager.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 205 * windows are kept next to their attached window in Z-order, and their 270 * user interaction with the phone (in particular incoming calls). 372 /** Memory type: The window's surface is allocated in main memory. */ 442 * This can be used independently, or in combination with 493 * by Window as described in {@link Window#setFlags}. */ 524 * stream to prevent unintended presses in this situation that may not be 531 /** Window flag: a special option only for use in combination with 532 * {@link #FLAG_LAYOUT_IN_SCREEN}. When requesting layout in th 955 LayoutParams(Parcel in) argument [all...] |