/frameworks/base/core/java/android/view/ |
H A D | InputChannel.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 25 * a window in another process. It is Parcelable so that it can be sent 118 * as an out parameter in a binder call. 143 public void readFromParcel(Parcel in) { argument 144 if (in == null) { 145 throw new IllegalArgumentException("in must not be null"); 148 nativeReadFromParcel(in);
|
/frameworks/base/core/java/com/android/internal/net/ |
H A D | VpnProfile.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 73 public VpnProfile(Parcel in) { argument 74 key = in.readString(); 75 name = in.readString(); 76 type = in.readInt(); 77 server = in.readString(); 78 username = in.readString(); 79 password = in.readString(); 80 dnsServers = in [all...] |
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | StatusBarIconList.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 31 public StatusBarIconList(Parcel in) { argument 32 readFromParcel(in); 35 public void readFromParcel(Parcel in) { argument 36 this.mSlots = in.readStringArray(); 37 final int N = in.readInt(); 43 if (in.readInt() != 0) { 44 mIcons[i] = new StatusBarIcon(in);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | WifiConfigurationHelper.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 169 public static List<WifiConfiguration> parseJson(String in) { argument 171 JSONArray jsonConfigs = new JSONArray(in);
|
/frameworks/base/media/java/android/media/ |
H A D | PlaybackParams.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 102 private PlaybackParams(Parcel in) { argument 103 mSet = in.readInt(); 104 mAudioFallbackMode = in.readInt(); 105 mAudioStretchMode = in.readInt(); 106 mPitch = in.readFloat(); 110 mSpeed = in.readFloat(); 226 public PlaybackParams createFromParcel(Parcel in) { 227 return new PlaybackParams(in); [all...] |
H A D | RemoteDisplayState.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 79 public RemoteDisplayState createFromParcel(Parcel in) { 80 return new RemoteDisplayState(in); 130 RemoteDisplayInfo(Parcel in) { argument 131 id = in.readString(); 132 name = in.readString(); 133 description = in.readString(); 134 status = in.readInt(); 135 volume = in [all...] |
/frameworks/base/media/java/android/media/audiopolicy/ |
H A D | AudioMixingRule.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 270 Builder addRuleFromParcel(Parcel in) throws IllegalArgumentException { argument 271 int rule = in.readInt(); 274 int usage = in.readInt(); 279 int preset = in.readInt(); 283 in.readInt(); // assume there was in int value to read as for now they come in pair 284 throw new IllegalArgumentException("Illegal rule value " + rule + " in parce [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkControllerWifiTest.java | 17 // These match the constants in WifiManager and need to be kept up to date. 109 // Put RSSI in the middle of the range. 136 protected void verifyLastQsDataDirection(boolean in, boolean out) { argument 143 assertEquals("WiFi data in, in quick settings", in, (boolean) inArg.getValue()); 144 assertEquals("WiFi data out, in quick settings", out, (boolean) outArg.getValue()); 159 assertEquals("WiFi enabled, in quick settings", enabled, (boolean) enabledArg.getValue()); 160 assertEquals("WiFi connected, in quick settings", connected, iconState.visible); 161 assertEquals("WiFi signal, in quic [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | CountedDataInputStream.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 35 protected CountedDataInputStream(InputStream in) { argument 36 super(in); 45 int r = in.read(b); 52 int r = in.read(b, off, len); 59 int r = in.read(); 66 long skip = in.skip(length);
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | CellIdentityCdma.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 40 * Longitude is a decimal number as specified in 3GPP2 C.S0005-A v6.0. 41 * It is represented in units of 0.25 seconds and ranges from -2592000 47 * Latitude is a decimal number as specified in 3GPP2 C.S0005-A v6.0. 48 * It is represented in units of 0.25 seconds and ranges from -1296000 120 * specified in 3GPP2 C.S0005-A v6.0. It is represented in units 131 * specified in 3GPP2 C.S0005-A v6.0. It is represented in unit 194 CellIdentityCdma(Parcel in) argument [all...] |
H A D | CellIdentityGsm.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 // 16-bit GSM Cell Identity described in TS 27.007, 0..65535 102 * in TS 27.007, 0..65535, Integer.MAX_VALUE if unknown 167 private CellIdentityGsm(Parcel in) { argument 168 mMcc = in.readInt(); 169 mMnc = in.readInt(); 170 mLac = in.readInt(); 171 mCid = in.readInt(); 180 public CellIdentityGsm createFromParcel(Parcel in) { [all...] |
H A D | CellIdentityLte.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 174 private CellIdentityLte(Parcel in) { argument 175 mMcc = in.readInt(); 176 mMnc = in.readInt(); 177 mCi = in.readInt(); 178 mPci = in.readInt(); 179 mTac = in.readInt(); 188 public CellIdentityLte createFromParcel(Parcel in) { 189 return new CellIdentityLte(in); [all...] |
H A D | CellIdentityWcdma.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 // 28-bit UMTS Cell Identity described in TS 25.331, 0..268435455 41 // 9-bit UMTS Primary Scrambling Code described in TS 25.331, 0..511 107 * 28-bit UMTS Cell Identity described in TS 25.331, 0..268435455, Integer.MAX_VALUE if unknown 114 * @return 9-bit UMTS Primary Scrambling Code described in TS 25.331, 0..511, Integer.MAX_VALUE 175 private CellIdentityWcdma(Parcel in) { argument 176 mMcc = in.readInt(); 177 mMnc = in.readInt(); 178 mLac = in [all...] |
H A D | CellInfo.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 23 * Immutable cell information from a point in time. 53 // Observation time stamped as type in nanoseconds since boot 83 /** Approximate time of this cell information in nanos since boot */ 191 protected CellInfo(Parcel in) { argument 192 mRegistered = (in.readInt() == 1) ? true : false; 193 mTimeStampType = in.readInt(); 194 mTimeStamp = in.readLong(); 200 public CellInfo createFromParcel(Parcel in) { [all...] |
H A D | CellSignalStrengthGsm.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 35 private int mSignalStrength; // Valid values are (0-31, 99) as defined in TS 27.007 8.5 36 private int mBitErrorRate; // bit error rate (0-7, 99) as defined in TS 27.007 8.5 112 // signal, its better to show 0 bars to the user in such cases. 150 // signal, its better to show 0 bars to the user in such cases. 202 private CellSignalStrengthGsm(Parcel in) { argument 203 mSignalStrength = in.readInt(); 204 mBitErrorRate = in.readInt(); 219 public CellSignalStrengthGsm createFromParcel(Parcel in) { [all...] |
H A D | CellSignalStrengthLte.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 150 // See RIL_LTE_SignalStrength in ril.h 263 private CellSignalStrengthLte(Parcel in) { argument 264 mSignalStrength = in.readInt(); 267 mRsrp = in.readInt() * -1; 268 mRsrq = in.readInt() * -1; 269 mRssnr = in.readInt(); 270 mCqi = in.readInt(); 271 mTimingAdvance = in [all...] |
H A D | CellSignalStrengthWcdma.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 35 private int mSignalStrength; // Valid values are (0-31, 99) as defined in TS 27.007 8.5 36 private int mBitErrorRate; // bit error rate (0-7, 99) as defined in TS 27.007 8.5 112 // signal, its better to show 0 bars to the user in such cases. 150 // signal, its better to show 0 bars to the user in such cases. 202 private CellSignalStrengthWcdma(Parcel in) { argument 203 mSignalStrength = in.readInt(); 204 mBitErrorRate = in.readInt(); 219 public CellSignalStrengthWcdma createFromParcel(Parcel in) { [all...] |
H A D | PreciseCallState.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 28 * The following call information is included in returned PreciseCallState: 94 private PreciseCallState(Parcel in) { argument 95 mRingingCallState = in.readInt(); 96 mForegroundCallState = in.readInt(); 97 mBackgroundCallState = in.readInt(); 98 mDisconnectCause = in.readInt(); 99 mPreciseDisconnectCause = in.readInt(); 257 public PreciseCallState createFromParcel(Parcel in) { [all...] |
H A D | PreciseDataConnectionState.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 data connection information is included in returned PreciseDataConnectionState: 79 private PreciseDataConnectionState(Parcel in) { argument 80 mState = in.readInt(); 81 mNetworkType = in.readInt(); 82 mAPNType = in.readString(); 83 mAPN = in.readString(); 84 mReason = in.readString(); 85 mLinkProperties = (LinkProperties)in [all...] |
H A D | VoLteServiceState.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 34 //Use int max, as -1 is a valid value in signal strength 118 public VoLteServiceState(Parcel in) { argument 119 if (DBG) log("Size of VoLteServiceState parcel:" + in.dataSize()); 121 mSrvccState = in.readInt(); 144 public VoLteServiceState createFromParcel(Parcel in) { 145 return new VoLteServiceState(in); 155 * specified in ril.h 156 * Set to invalid any field that is not in th [all...] |
/frameworks/base/telephony/java/android/telephony/cdma/ |
H A D | CdmaSmsCbProgramResults.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 38 /** Program result: category already opted in. */ 41 /** Program result: category already opted in. */ 59 /** Language used for service category name (defined in BearerData.LANGUAGE_*). */ 73 CdmaSmsCbProgramResults(Parcel in) { argument 74 mCategory = in.readInt(); 75 mLanguage = in.readInt(); 76 mCategoryResult = in.readInt(); 82 * @param dest The Parcel in whic [all...] |
/frameworks/base/telephony/java/com/android/ims/ |
H A D | ImsConferenceState.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 31 * Provides the conference information (defined in RFC 4575) for IMS conference call. 50 * "pending" : Endpoint is not yet in the session, but it is anticipated that he/she will 51 * join in the near future. 53 * but the endpoint is not yet in the roster (probably being authenticated). 54 * "dialing-in" : Endpoint is dialing into the conference, not yet in the roster 60 * the conference mix nor is his/her media being mixed in the conference. 61 * "connected" : Endpoint is a participant in th 93 ImsConferenceState(Parcel in) argument 122 readFromParcel(Parcel in) argument [all...] |
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
H A D | ProcessErrorsTest.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 38 * This smoke test is designed to check for crashes and ANRs in an attempt to quickly determine if 39 * all minimal functionality in the build is working properly. 52 * in the catch-all testCase. 113 * This test checks for asynchronously-caused errors (crashes or ANRs) and fails in case any 118 * that state here as a side-effect so that if two successive runs happen in the same process, 119 * the asynchronous errors in the second test run won't include errors produced during the first 129 // Reset state just in case we should get another set of runs in th 325 fromCollection(Collection<ProcessErrorStateInfo> in) argument [all...] |
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | NotificationBuilderTest.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 210 private static CharSequence subst(CharSequence in, char ch, CharSequence sub) { argument 212 SpannableStringBuilder edit = new SpannableStringBuilder(in);
|
/frameworks/base/tools/preload/ |
H A D | MemoryUsage.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 38 // These values are in 1kB increments (not 4kB like you'd expect). 246 BufferedReader in = new BufferedReader( 248 String line = in.readLine(); 256 in.close(); 274 private static void copy(InputStream in, OutputStream out) { argument 278 while ((read = in.read(buffer)) > -1) { 286 /** Measures memory usage information and stores it in the model. */
|