Searched defs:in (Results 26 - 50 of 213) sorted by relevance

123456789

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DAccessPointParserHelper.java5 * 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 * Help class to process configurations of access points saved in an XML file.
46 * The configurations of an access point is included in tag
49 * in which each is included in the corresponding tags. Static IP setting is also supported.
51 * have to be enclosed in tags of <resources></resources>.
353 * Process the InputStream in
354 * @param in is the InputStream that can be used for XML parsing
357 public AccessPointParserHelper(InputStream in) throw argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPointF.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
111 * Return a new point from the data in the specified parcel.
113 public PointF createFromParcel(Parcel in) {
115 r.readFromParcel(in);
128 * Set the point's coordinates from the data stored in the specified
131 * @param in The parcel to read the point's coordinates from
133 public void readFromParcel(Parcel in) { argument
134 x = in.readFloat();
135 y = in
[all...]
H A DPoint.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
110 * Return a new point from the data in the specified parcel.
112 public Point createFromParcel(Parcel in) {
114 r.readFromParcel(in);
127 * Set the point's coordinates from the data stored in the specified
130 * @param in The parcel to read the point's coordinates from
132 public void readFromParcel(Parcel in) { argument
133 x = in.readInt();
134 y = in
[all...]
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DStackOverflowXmlParser.java5 * in compliance with the License. You may obtain a copy of the License at
9 * Unless required by applicable law or agreed to in writing, software distributed under the License
30 * where each list element represents a single entry (post) in the XML feed.
37 public List<Entry> parse(InputStream in) throws XmlPullParserException, IOException { argument
41 parser.setInput(in, null);
45 in.close();
68 // This class represents a single entry (post) in the XML feed.
108 // Processes title tags in the feed.
116 // Processes link tags in the feed.
132 // Processes summary tags in th
[all...]
/frameworks/base/services/java/com/android/server/
H A DRandomBlock.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
52 private static RandomBlock fromStream(InputStream in) throws IOException { argument
56 int result = in.read(retval.block, total, BLOCK_SIZE - total);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/
H A DForwarder.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
82 private Socket in, out; field in class:Forwarder.SocketPipe
84 public SocketPipe(Socket in, Socket out) { argument
85 this.in = in;
92 InputStream is = in.getInputStream();
106 return "SocketPipe{" + in + "=>" + out + "}";
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DDuration.java5 * 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 private Duration(Parcel in) { argument
57 timeInterval = in.readInt();
58 timeUnit = TimeUnit.values()[in.readInt()];
71 public Duration createFromParcel(Parcel in) {
72 return new Duration(in);
H A DTextMessage.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
36 private TextMessage(Parcel in) { argument
37 title = in.readString();
38 text = in.readString();
39 icon = in.readParcelable(null);
40 iconSelfExplanatory = in.readInt() == 1 ? true : false;
41 isHighPriority = in.readInt() == 1 ? true : false;
42 responseNeeded = in.readInt() == 1 ? true : false;
43 userClear = in
[all...]
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcExecutionEnvironment.java5 * 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 * Mandatory byte array extra field in {@link #ACTION_AID_SELECTED}.
71 * Mandatory byte array extra field in {@link #ACTION_APDU_RECEIVED}.
103 * Optional integer extra field in {@link #ACTION_MIFARE_ACCESS_DETECTED}.
167 public byte[] transceive(byte[] in) throws IOException { argument
170 b = mExtras.getService().transceive(mExtras.mPackageName, in);
/frameworks/av/media/libeffects/testlibs/
H A DAudioPeakingFilter.h6 ** you may not use this file except in compliance with the License.
11 ** Unless required by applicable law or agreed to in writing, software
29 // in the output, even when changing parameters abruptly.
43 // sampleRate The input/output sample rate, in Hz.
49 // sampleRate The input/output sample rate, in Hz.
63 // This value will be remembered even if the filter is in disabled() state.
64 // millibel Gain value in millibel (1/100 of decibel).
67 // Gets the gain, in millibel, as set.
71 // This value will be remembered even if the filter is in disabled() state.
72 // cents Bandwidth value in cent
104 process(const audio_sample_t in[], audio_sample_t out[], int frameCount) argument
[all...]
H A DAudioShelvingFilter.h6 ** you may not use this file except in compliance with the License.
11 ** Unless required by applicable law or agreed to in writing, software
29 // in the output, even when changing parameters abruptly.
50 // sampleRate The input/output sample rate, in Hz.
56 // sampleRate The input/output sample rate, in Hz.
69 // This value will be remembered even if the filter is in disabled() state.
70 // millibel Gain value in millibel (1/100 of decibel).
73 // Gets the gain, in millibel, as set.
78 // This value will be remembered even if the filter is in disabled() state.
79 // millihertz Frequency value in mH
98 process(const audio_sample_t in[], audio_sample_t out[], int frameCount) argument
[all...]
H A DEffectsMath.c5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
24 // for integers in the range 0 to 63 (i = ai5*2^5 + ai4*2^4 + ai3*2^3 + ai2*2^2 + ai1*2^1 + ai0*2^0)
111 int32_t Effects_Sqrt(int32_t in) argument
119 if (in == 0) return 0;
121 if (in >= 0x10000000)
124 in -= 0x10000000;
127 j = 32 - __builtin_clz(in);
134 if (in >= tmp)
137 in
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dagc.cpp5 * 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 in = input signal (Word16)
126 Word16 in[], // i : input signal (length l_trm)
133 temp = shr (in[0], 2);
138 temp = shr (in[i], 2);
169 Word16 in[], /* i : input signal (length l_trm) */
181 temp = in[i] >> 2;
196 in = input signal (Word16)
229 CALL energy_old ( in
168 energy_old( Word16 in[], Word16 l_trm, Flag *pOverflow ) argument
258 energy_old_Wrapper(Word16 in[], Word16 l_trm, Flag *pOverflow) argument
370 energy_new( Word16 in[], Word16 l_trm, Flag *pOverflow ) argument
478 energy_new_Wrapper(Word16 in[], Word16 l_trm, Flag *pOverflow) argument
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_imdct_synth.cpp5 * 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 int32 in[], Pointer to spec values of current channel
46 int32 in[],
204 ; Declare functions defined elsewhere and referenced in this module
209 ; Declare variables used in this module but defined elsewhere
216 void pvmp3_imdct_synth(int32 in[SUBBANDS_NUMBER*FILTERBANK_BANDS], argument
234 * in case of mx_poly_band> 0, do
243 int32 * out = in + (band * FILTERBANK_BANDS);
334 int32 * out = in
[all...]
/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.cpp5 * 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 int16_t *in = mBuffer.i16; local
83 // out[outputIndex++] += vr * in[inputIndex*2];
102 in = mBuffer.i16;
107 advance(&left, in[inputIndex*2]);
108 advance(&right, in[inputIndex*2+1]);
139 int16_t *in = mBuffer.i16; local
169 in = mBuffer.i16;
173 advance(&left, in[inputInde
[all...]
H A DAudioResamplerCubic.h5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
37 // number of bits used in interpolation multiply - 14 bits avoids overflow
53 static inline void advance(state* p, int16_t in) { argument
57 p->y3 = in;
/frameworks/base/core/java/android/content/pm/
H A DLabeledIntent.java5 * 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 * @param sourcePackage The package in which the label and icon live.
57 * @param sourcePackage The package in which the label and icon live.
74 * @param sourcePackage The package in which the label and icon live.
89 * @param sourcePackage The package in which the label and icon live.
131 * not have a label, null will be returned, in which case you will probably
149 * not have a icon, null will be returned, in which case you will probably
171 protected LabeledIntent(Parcel in) { argument
172 readFromParcel(in);
175 readFromParcel(Parcel in) argument
[all...]
H A DProviderInfo.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
43 /** If true, additional permissions to specific Uris in this content
56 * this field to be filled in.
69 * to run in different process. If false, a single instances is always
70 * run in {@link #processName}. */
74 * running in the same process. Higher goes first. */
78 * Bit in {@link #flags}: If set, a single instance of the provider will
85 * Options that have been set in the provider declaration in th
149 ProviderInfo(Parcel in) argument
[all...]
/frameworks/base/core/java/android/os/
H A DResultReceiver.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
69 * always asynchronously if the receiver has supplied a Handler in which
115 ResultReceiver(Parcel in) { argument
118 mReceiver = IResultReceiver.Stub.asInterface(in.readStrongBinder());
123 public ResultReceiver createFromParcel(Parcel in) {
124 return new ResultReceiver(in);
/frameworks/base/core/java/android/speech/srec/
H A DUlawEncoderInputStream.java8 * use this file except in compliance with the License.
13 * Unless required by applicable law or agreed to in writing, software
52 // from 'ulaw' in wikipedia
54 // +8158 to +4063 in 16 intervals of 256 0x80 + interval number
55 // +4062 to +2015 in 16 intervals of 128 0x90 + interval number
56 // +2014 to +991 in 16 intervals of 64 0xA0 + interval number
57 // +990 to +479 in 16 intervals of 32 0xB0 + interval number
58 // +478 to +223 in 16 intervals of 16 0xC0 + interval number
59 // +222 to +95 in 16 intervals of 8 0xD0 + interval number
60 // +94 to +31 in 1
135 UlawEncoderInputStream(InputStream in, int max) argument
[all...]
/frameworks/base/core/java/android/util/
H A DBase64InputStream.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
42 * @param in the InputStream to read the source data from
44 * constants in {@link Base64}
46 public Base64InputStream(InputStream in, int flags) { argument
47 this(in, flags, false);
54 * @param in the InputStream to read the source data from
56 * constants in {@link Base64}
61 public Base64InputStream(InputStream in, int flags, boolean encode) { argument
62 super(in);
[all...]
H A DXml.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
67 public static void parse(Reader in, ContentHandler contentHandler) argument
71 reader.parse(new InputSource(in));
78 public static void parse(InputStream in, Encoding encoding, argument
82 InputSource source = new InputSource(in);
/frameworks/base/core/java/com/android/internal/statusbar/
H A DStatusBarIcon.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
61 public StatusBarIcon(Parcel in) { argument
62 readFromParcel(in);
65 public void readFromParcel(Parcel in) { argument
66 this.iconPackage = in.readString();
67 this.user = (UserHandle) in.readParcelable(null);
68 this.iconId = in.readInt();
69 this.iconLevel = in.readInt();
70 this.visible = in
[all...]
H A DStatusBarNotification.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
37 * Class encapsulating a Notification. Sent by the NotificationManagerService to the IStatusBar (in System UI).
74 public StatusBarNotification(Parcel in) { argument
75 this.pkg = in.readString();
76 this.id = in.readInt();
77 if (in.readInt() != 0) {
78 this.tag = in.readString();
82 this.uid = in.readInt();
83 this.initialPid = in
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DBase64Test.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
32 private String decodeString(String in) throws Exception { argument
33 byte[] out = Base64.decode(in, 0);
38 * Encodes the string 'in' using 'flags'. Asserts that decoding
41 private String encodeToString(String in, int flags) throws Exception { argument
42 String b64 = Base64.encodeToString(in.getBytes(), flags);
44 assertEquals(in, dec);
48 /** Assert that decoding 'in' throws IllegalArgumentException. */
49 private void assertBad(String in) throw argument
[all...]

Completed in 1282 milliseconds

123456789