/external/wpa_supplicant_8/src/utils/ |
http_curl.c | 920 BIO *in, *out; local 926 in = BIO_new_file(fname, "r"); 927 if (in == NULL) { 932 cert = d2i_X509_bio(in, NULL); 933 BIO_free(in); [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayer.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 148 // Use this if there's no state necessary to save in order to execute 264 // The correct flags will be updated in Source::kWhatFlagsChanged 642 msg->post(1000000ll); // poll again in a second. 659 // be in preparing state and it could take long time. 678 // If the video decoder is not set (perhaps audio only in this case) 2376 Parcel in; local 2391 Parcel in; local [all...] |
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
Pm.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 292 FileDescriptor.in, FileDescriptor.out, FileDescriptor.err, 357 * context. Instead of being a stand alone process, "cmd package install" runs in the 544 InputStream in = null; local 551 in = new FileInputStream(inPath); 553 in = new SizedInputStream(System.in, sizeBytes); 560 while ((c = in.read(buffer)) != -1) { 580 IoUtils.closeQuietly(in); [all...] |
/frameworks/base/core/java/android/app/ |
ApplicationThreadNative.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 61 IApplicationThread in = local 63 if (in != null) { 64 return in; [all...] |
/frameworks/base/core/java/android/widget/ |
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 40 * A view that shows items in a vertically scrolling two-level list. This 66 * ExpandableListView in XML if the parent's size is also not strictly specified 108 /** The mask (in packed position representation) for the child */ 111 /** The mask (in packed position representation) for the group */ 114 /** The mask (in packed position representation) for the type */ 117 /** The shift amount (in packed position representation) for the group */ 120 /** The shift amount (in packed position representation) for the type */ 123 /** The mask (in integer child position representation) for the child * [all...] |
/frameworks/base/core/jni/ |
android_os_Debug.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 162 * Any graphics memory reported in /proc/pid/smaps is not included here. 198 * Retrieves the graphics memory that is unaccounted for in /proc/pid/smaps. 560 pss += lSwapPss; // Also in swap, those pages would be accounted as Pss without SWAP 766 // Recompute Vmalloc Used since the value in meminfo 831 // these are implemented in android_util_Binder.cpp 898 * them, we can do this in place. 963 FILE* in = fopen(maps, "r"); local 964 if (in == NULL) [all...] |
/frameworks/base/media/java/android/media/ |
TtmlRenderer.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 114 * Parses the given time expression and returns a timestamp in millisecond. 123 * @return the parsed timestamp in micro-second. 175 * @param in A string to apply the policy. 177 public static String applyDefaultSpacePolicy(String in) { 178 return applySpacePolicy(in, true); 187 * @param in A string to apply the policy. 190 public static String applySpacePolicy(String in, boolean treatLfAsSpace) { 193 String crRemoved = in.replaceAll("\r\n", "\n") 385 StringReader in = new StringReader(ttmlFragment); local [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
RemotePrintDocument.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 186 throw new IllegalStateException("Cannot start in state:" + stateToString(mState)); 210 throw new IllegalStateException("Cannot update in state:" + stateToString(mState)); 232 // If no layout in progress and we don't have all pages - schedule a write. 274 throw new IllegalStateException("Cannot finish in state:" 307 throw new IllegalStateException("Cannot destroy in state:" + stateToString(mState)); 357 InputStream in = null; local 361 in = new FileInputStream(file); 365 final int readByteCount = in.read(buffer) 1013 InputStream in = null; local [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
FusedPrintersProvider.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 90 /** Interval of location updated in ms */ 93 /** Maximum acceptable age of the location in ms */ 96 /** The worst accuracy that is considered usable in m */ 170 * @param favoritePrinters The ordered list of printers. The earlier in the list, the more 177 // Store the printerIds that have already been added. We cannot compare the printerInfos in 221 // discoveredPrinters in the calls to updateAndAddPrinter 347 // Some of the found printers may have be a printer that is in the 657 // We only persist limited information in the printer history, hence check i 848 final FileInputStream in; local [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsState.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 86 /** Non-binary value will be written in this attribute. */ 90 * KXmlSerializer won't like some characters. We encode such characters in base64 and 91 * store in this attribute. 96 // This was used in version 120 and before. 554 FileInputStream in; local 561 in = new AtomicFile(mStatePersistFile).openRead(); 570 parser.setInput(in, StandardCharsets.UTF_8.name()); 577 IoUtils.closeQuietly(in); [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
Vpn.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 147 * List of UIDs that are set to use this VPN by default. Normally, every UID in the user is 170 // Listen to package remove and change event in this user 188 + " in user " + mUserHandle); 256 * <p>The designated package should exist and declare a {@link VpnService} in its 311 // Protected intent can only be sent by system. No permission required in register. 384 // Start the VPN service declared in the app's manifest. 409 * Note: when we added VPN pre-consent in http://ag/522961 the names oldPackage 636 // TODO: Stop setting the MTU in jniCreate and set it here 1664 InputStream in = mSockets[i].getInputStream(); local [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_location_GnssLocationProvider.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 33 #include <linux/in.h> 139 // Clamp the list size. Legacy GpsSvStatus has only 32 elements in sv_list. 339 struct sockaddr_in *in = (struct sockaddr_in*)&(agps_status->addr); local 340 uint32_t ipAddr = *(uint32_t*)&(in->sin_addr); 346 // log the IP for reference in case there is a bogus value pushed by HAL 348 inet_ntop(AF_INET, &(in->sin_addr), str, INET_ADDRSTRLEN); 364 // log the IP for reference in case there is a bogus value pushed by HAL 377 // for back-compatibility reasons we check in v2 that the data structure size is greater o [all...] |
/hardware/qcom/audio/hal/ |
audio_hw.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 62 /* ToDo: Check and update a proper value in msec */ 283 static void register_in_stream(struct stream_in *in) 285 struct audio_device *adev = in->dev; 290 in->capture_handle, 291 in->flags); 296 if (in->realtime) { 298 in->capture_handle, 299 in->pcm 2250 struct stream_in *in = (struct stream_in *)stream; local 2262 struct stream_in *in = (struct stream_in *)stream; local 2270 struct stream_in *in = (struct stream_in *)stream; local 2277 struct stream_in *in = (struct stream_in *)stream; local 2288 struct stream_in *in = (struct stream_in *)stream; local 2328 struct stream_in *in = (struct stream_in *)stream; local 2391 struct stream_in *in = (struct stream_in *)stream; local 2426 struct stream_in *in = (struct stream_in *)stream; local 2519 struct stream_in *in = (struct stream_in *)stream; local 2540 struct stream_in *in = (struct stream_in *)stream; local 3074 struct stream_in *in; local 3312 struct stream_in in; local [all...] |
audio_hw.h | 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 30 // dlopen() does not go through default library path search if there is a "/" in the library name. 229 struct stream_in *in; member in union:stream_ptr 315 snd_device_t last_logged_snd_device[AUDIO_USECASE_MAX][2]; /* [out, in] */
|
/hardware/ti/omap4-aah/camera/ |
CameraHal.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 61 // The directory name is choosed in so weird way to enable RAW images saving only when 173 @param[in] notify_cb Notify callback for notifying the app about events and errors 174 @param[in] data_cb Buffer callback for sending the preview/raw frames to the app 175 @param[in] data_cb_timestamp Buffer callback for sending the video frames w/ timestamp 176 @param[in] user Callback cookie 208 @param[in] msgtype Bitmask of the messages to enable (defined in include/ui/Camera.h) 222 // we will enable internally in autoFocus cal 2302 android::sp<DisplayAdapter> in; local 2313 android::sp<DisplayAdapter> in = new BufferSourceAdapter(); local 2385 android::sp<DisplayAdapter> in; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
SerializationStressTest2.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 54 private void readObject(java.io.ObjectInputStream in) 56 in.defaultReadObject(); 60 milliseconds = in.readLong(); 112 private void readObject(java.io.ObjectInputStream in) 114 ObjectInputStream.GetField fields = in.readFields(); 142 private void readObject(java.io.ObjectInputStream in) 144 ObjectInputStream.GetField fields = in.readFields(); 163 private void readObject(java.io.ObjectInputStream in) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
ServerSocketChannelTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 78 // Test for methods in abstract class. 135 // Bind to a local address that is in use 413 InputStream in = serverSocket.getInputStream(); local 417 assertReadResult(in,CAPACITY_NORMAL); 426 private void assertReadResult(InputStream in, int size) throws IOException{ 430 while ((count = in.read(readContent, total, size + 1 - total)) != -1) { 452 InputStream in = serverSocket.getInputStream(); local 455 assertReadResult(in,CAPACITY_NORMAL) 514 InputStream in = socket.getInputStream(); local 559 InputStream in = socket.getInputStream(); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLEngineTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 1031 private final SourceChannel in; field in class:SSLEngineTest.HandshakeHandler [all...] |
/libcore/luni/src/main/java/java/math/ |
BigDecimal.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 116 * An array with powers of five that fit in the type <code>long</code> 122 * An array with powers of ten that fit in the type <code>long</code> 212 * The arbitrary precision integer (unscaled value) in the internal 222 * The 32-bit integer scale in the internal representation of {@code BigDecimal}. 227 * Represent the number of decimal digits in the unscaled value. This 228 * precision is calculated the first time, and used in the following calls 253 * @param in 262 * offset+len-1 >= in.length}, or if {@code in} does no [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 155 * Tests the behaviour of HTTPS connection in case of unavailability of requested resource. 285 * Tests the behaviour of HttpsURLConnection in case of retrieving 353 * Tests the behaviour in case of sending the data to the server. 581 * (Authenticator was not set up in the system). 617 * Tests the behaviour of HTTPS connection in case of unavailability of requested resource (as 671 InputStream in = getClass().getClassLoader().getResourceAsStream(ksFileName); local 673 BufferedInputStream bufIn = new BufferedInputStream(in, 8192); 712 * type installed in the system in lower case) is searched in classpath [all...] |
/libcore/ojluni/src/main/java/java/security/ |
Provider.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 56 * in each runtime it is installed in. 60 * in the "Java Cryptography Architecture API Specification & Reference" 64 * service in Java that uses a pluggable architecture with a choice 75 * The following attributes are automatically placed in each Provider object: 201 * is used (that is, that method is not overriden), then this results in 242 * for any of the keys currently in the specified Map [all...] |
/libcore/ojluni/src/main/java/java/security/cert/ |
X509CertSelector.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 75 * Unless otherwise specified, the methods defined in this class are not 168 * in conjunction with the certificateEquals criterion, it is usually not 181 * must match the certificate serial number in the 195 * must match the issuer distinguished name in the 211 * encoding information in the 216 * must match the issuer distinguished name in the 221 * distinguished name, in RFC 2253 format 1975 DerInputStream in = new DerInputStream(rawExtVal); local 2118 DerInputStream in = new DerInputStream(extVal); local 2152 DerInputStream in = new DerInputStream(extVal); local [all...] |
/ndk/sources/host-tools/make-3.81/ |
job.c | 11 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY 214 /* Nonzero if the `good' standard input is in use. */ 226 /* Number of jobs started in the current second. */ 237 * The macro which references this function is defined in make.h. 370 /* in doubt assume a unix like shell */ 377 /* Write an error message describing the exit status given in 413 the dead children. In this case we don't need the dead_children count. 444 state (`cs_finished') in the `file' member of the `struct child' for the 445 dead child, and removing the child from the chain. In addition, if BLOCK 446 nonzero, we block in this function until we've reaped at least on 1513 char *in, *out, *ref; local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapService.java | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 61 * To enable MAP DEBUG/VERBOSE logging - run below cmd in adb shell, and 174 if (DEBUG) Log.d(TAG, "MAP Service closeService in"); 199 //Perform cleanup in Handler running on worker Thread 624 // We need WRITE_SMS permission to handle messages in 651 * No changes will be applied unless in disconnected state 673 * - Each change in accounts 750 * Will ensure the key returned is greater than the largest key in use. 751 * Unless the key 255 is in use, in which case the first free masI 1105 Intent in = new Intent(context, BluetoothMapSettings.class); local [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherBackupHelper.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 202 * <P>Keys may come back in any order, so each key/value is one complete row of the database. 213 Journal in = readJournal(oldState); local 217 writeJournal(newState, in); 228 Log.v(TAG, "lastBackupTime = " + in.t); 230 applyJournal(in); 233 // was going on, do not get missed in next backup. 242 // Delete any key which still exist in the old backup, but is not valid anymore. 249 // Delete anything left in the existing keys [all...] |