/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppProvider.java | 17 * may be used to endorse or promote products derived from this software 21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 48 * This provider allows application to interact with Bluetooth OPP manager 66 /** Database version to which upgrading is a nop */ 78 /** URI matcher used to recognize URIs sent by applications */ 96 * Creates and updated database on demand when opening it. Helper class to 108 * Creates database the first time we try to open it. 132 Log.i(TAG, "Upgrading downloads database from version " + oldV + " to " + newV 180 private static void copyString(String key, ContentValues from, ContentValues to) { [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
FilterDeleteSet.java | 10 * Unless required by applicable law or agreed to in writing, software 21 // FilterDeleteSet filters a base MediaSet to remove some deletion items (we 22 // expect the number to be small). The user can use the following methods to 90 // to be adjusted. 100 // We need to figure out the [3, 7] actually maps to the original index 4, 132 // Now get enough to cover deleted items in [start, end] 144 // We apply the pending requests in the mRequests to construct mCurrent in reload(). 189 // don't want to search the whole mBaseSet, so we just search 201 int to = Math.min(maxIndex + 5, n); local [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
ActionTestHelpers.java | 10 * Unless required by applicable law or agreed to in writing, software 49 // Implement the onChange(boolean, Uri) method to take advantage of the new Uri argument. 88 int to; field in class:ActionTestHelpers.StubChatActionMonitor.StateTransition 89 public StateTransition(final Action action, final int from, final int to) { 92 this.to = to;
|
/packages/apps/Settings/src/com/android/settings/password/ |
ChooseLockTypeDialogFragment.java | 10 * Unless required by applicable law or agreed to in writing, software 47 * A dialog fragment similar to {@link ChooseLockGeneric} where the user can select from a few 94 private static void copyBooleanExtra(Intent from, Intent to, String name, 96 to.putExtra(name, from.getBooleanExtra(name, defaultValue));
|
/packages/apps/UnifiedEmail/src/com/android/mail/print/ |
PrintUtils.java | 3 * Licensed to The Android Open Source Project. 11 * Unless required by applicable law or agreed to in writing, software 45 * Utility class that provides utility functions to print 86 * Sets up a webview to perform the printing work. 116 throw new IllegalStateException("trying to print without a conversation"); 154 * Adds the html for a single message to the 172 * reply-to, to, cc, and bcc. 178 // reply-to 183 // to 189 final String to = renderEmailList(res, message.getToAddresses(), addressCache); local [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
OpenWnnJni.h | 10 * Unless required by applicable law or agreed to in writing, software 85 NJ_UINT8* to; member in struct:__anon53004
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
GlobalSearchSupport.java | 10 * Unless required by applicable law or agreed to in writing, software 174 // To ensure the data column position. This is dead code if properly configured. 202 * and used to re-identify the contact. If the contact still cannot be found, an empty cursor 283 int to = snippet.length(); local 297 to = lastNl; 302 for (int i = from; i < to; i++) {
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
TestUtils.java | 10 * Unless required by applicable law or agreed to in writing, software 50 * We normally use in-memory DBs in unit tests, because that's faster, but it's impossible to 51 * look at intermediate databases when something is failing. When this flag is set to true, 52 * we'll switch to file-based DBs, so we can call {@link #createDatabaseSnapshot} 68 Assert.assertTrue("Unable to delete directory: " + path, 71 Assert.assertTrue("Unable to create directory: " + path, path.mkdirs()); 106 "ENABLE_DATABASE_SNAPSHOT must be set to true to create database snapshot", 112 Assert.assertTrue("Unable to delete directory: " + toDir, 115 Assert.assertTrue("Unable to create directory: " + toDir, toDir.mkdirs()) 122 final File to = new File(toDir, file.getName()); local [all...] |
/packages/services/BuiltInPrintService/src/com/android/bips/render/ |
PdfRenderService.java | 11 * Unless required by applicable law or agreed to in writing, software 43 /** How large of a chunk of Bitmap data to copy at once to the output stream */ 49 /** Lock held to protect against close() of current page during rendering. */ 96 // Use a thread to spool out the bitmap data 170 * Renders page data to RGB bytes and writes them to an output stream 209 // Allocate and clear bitmap to white with no transparency 212 // Render each stripe to output 220 Log.e(TAG, "Failed to write", e) 250 int from, to; local 258 out.write(mBuffer.array(), 0, to); local [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/test/ |
benchmark_test.cc | 125 // No need to lock test_vector_mu here as this is running single-threaded. 156 int to = from + thread_size; local 163 for (int i = from; i < to; i++) { 164 // No need to lock test_vector_mu as ranges
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
DependencyGraph.java | 10 * Unless required by applicable law or agreed to in writing, software 40 * Data structure about relative layout relationships which makes it possible to: 52 /** Format to chain include cycles in: a=>b=>c=>d etc */ 55 /** Format to chain constraint dependencies: button 1 above button2 etc */ 107 // NOTE: The id could refer to some widget that is NOT a sibling! 121 // This is valid but we might want to warn... 153 * @param nodes the set of nodes that we want to compute the transitive dependencies 195 assert constraint.to == view; 198 // Cycle - what do we do to highlight this? 201 // TODO: display to the user somehow. We need log access for th 245 ViewData to = constraint.to; local 288 public final ViewData to; field in class:DependencyGraph.Constraint [all...] |
/system/timezone/zone_compactor/main/java/ |
ZoneCompactor.java | 10 * Unless required by applicable law or agreed to in writing, software 32 // Note that the links must be declared prior to the zone names. 33 // A zone name is a filename relative to the source directory such as 36 // Use the 'zic' command-line tool to convert from flat files 37 // (such as 'africa' or 'northamerica') to a directory 86 String to = st.nextToken(); local 88 links.put(from, to); 108 String to = links.get(from); local 110 offsets.put(from, offsets.get(to)); 111 lengths.put(from, lengths.get(to)); [all...] |
/toolchain/binutils/binutils-2.27/zlib/contrib/blast/ |
blast.c | 7 * This function provides functionality similar to the explode() function of 17 * which decompresses to "AIAIAIAIAIAIA" (without the quotes). 40 void *inhow; /* opaque information passed to infun() */ 51 void *outhow; /* opaque information passed to outfun() */ 53 int first; /* true to check distances (for first 4K) */ 63 * - Bits are stored in bytes from the least significant bit to the most 65 * buffer, using shift right, and new bytes are appended to the top of the 84 /* drop need bits and update buffer, always zero to seven bits left */ 112 * - The codes as stored in the compressed data are bit-reversed relative to 114 * bits are pulled from the compressed data one at a time and used to 286 unsigned char *from, *to; \/* copy pointers *\/ local [all...] |
/toolchain/binutils/binutils-2.27/zlib/examples/ |
gzappend.c | 1 /* gzappend -- command to append to a gzip file 10 Permission is granted to anyone to use this software for any purpose, 11 including commercial applications, and to alter it and redistribute it 12 freely, subject to the following restrictions: 30 * - Add version and copyright to help 31 * - Send help to stdout instead of stderr 33 * - Add L to constants in lseek() calls 41 * (Why you ask? Because it was fun to write! 127 unsigned char *start, *last, *to, *from; local [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
EmailTest.java | 10 * Unless required by applicable law or agreed to in writing, software 34 * A mock class to let us capture the data that is passed to the process on stdin 71 * A mock class that doesn't actually run anything, but instead returns a mock Process to 143 * Ensure that the email body is passed correctly to the mailer program's standard input 155 assertEquals("dest@ination.com", headers.get("To")); 197 * A short functional test to send an email somewhere. Intended to be manually enabled with 198 * appropriate email addresses to verify that Email functionality is working after changes. 199 * Not enabled by default because the particular addresses to use will depend on the environmen 204 final String[] to = {"RECIPIENT"}; local [all...] |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-tests/25.4.0-alpha3/ |
lint-tests-25.4.0-alpha3.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-tests/25.4.0-alpha5/ |
lint-tests-25.4.0-alpha5.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-tests/25.4.0-alpha6/ |
lint-tests-25.4.0-alpha6.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-tests/25.4.0-alpha7/ |
lint-tests-25.4.0-alpha7.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-tests/25.5.0-alpha-preview-02/ |
lint-tests-25.5.0-alpha-preview-02.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-tests/26.0.0-alpha6/ |
lint-tests-26.0.0-alpha6.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-tests/26.0.0-alpha7/ |
lint-tests-26.0.0-alpha7.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-tests/26.0.0-alpha9/ |
lint-tests-26.0.0-alpha9.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-tests/26.0.0-beta1/ |
lint-tests-26.0.0-beta1.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-tests/26.0.0-beta2/ |
lint-tests-26.0.0-beta2.jar | |