| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| test_dumbdbm.py | 35 self.assertEqual(f.keys(), []) 88 keys = self.keys_helper(f) 120 keys = self.keys_helper(f) 131 keys = f.keys() 132 keys.sort() 133 dkeys = self._dict.keys() 135 self.assertEqual(keys, dkeys) 136 return keys
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| test_dumbdbm.py | 35 self.assertEqual(f.keys(), []) 88 keys = self.keys_helper(f) 120 keys = self.keys_helper(f) 131 keys = f.keys() 132 keys.sort() 133 dkeys = self._dict.keys() 135 self.assertEqual(keys, dkeys) 136 return keys
|
| /packages/apps/Launcher3/src/com/android/launcher3/ |
| LauncherBackupHelper.java | 157 * <P>The journal is a timestamp and a list of keys that were saved as of that time. 159 * <P>Keys may come back in any order, so each key/value is one complete row of the database. 181 ArrayList<Key> keys = new ArrayList<Key>(); local 183 backupFavorites(in, data, out, keys); 184 backupScreens(in, data, out, keys); 185 backupIcons(in, data, out, keys); 186 backupWidgets(in, data, out, keys); 191 out.key = keys.toArray(BackupProtos.Key.EMPTY_ARRAY); 199 * <P>Keys may arrive in any order. 276 * @param keys keys to mark as clean in the notes for next backu [all...] |
| /frameworks/base/services/java/com/android/server/pm/ |
| KeySetManager.java | 76 * keys in the KeySet. 79 * keys in the given KeySet. 99 * in its manifest that a) contains the given keys and b) is named 103 Set<PublicKey> keys, String alias) { 104 if ((packageName == null) || (keys == null) || (alias == null)) { 109 KeySet ks = addKeySetLocked(keys); 230 * Creates a new KeySet corresponding to the given keys. 240 private KeySet addKeySetLocked(Set<PublicKey> keys) { 241 if (keys == null) { 242 throw new NullPointerException("Provided keys cannot be null") 499 Set<Long> keys = mKeySetMapping.valueAt(keySetIndex); local [all...] |
| /external/chromium/chrome/common/extensions/ |
| extension.cc | 48 namespace keys = extension_manifest_keys; 79 // These keys are allowed by all crx files (apps, extensions, themes, etc). 81 keys::kCurrentLocale, 82 keys::kDefaultLocale, 83 keys::kDescription, 84 keys::kIcons, 85 keys::kName, 86 keys::kPublicKey, 87 keys::kSignature, 88 keys::kVersion [all...] |
| extension_unittest.cc | 36 namespace keys = extension_manifest_keys; 156 input_value->Remove(keys::kVersion, NULL); 161 input_value->SetInteger(keys::kVersion, 42); 168 input_value->Remove(keys::kName, NULL); 173 input_value->SetInteger(keys::kName, 42); 180 input_value->SetInteger(keys::kDescription, 42); 187 input_value->SetInteger(keys::kIcons, 42); 195 input_value->GetDictionary(keys::kIcons, &icons); 204 input_value->SetInteger(keys::kContentScripts, 42); 212 input_value->GetList(keys::kContentScripts, &content_scripts) [all...] |
| /external/chromium_org/third_party/icu/source/common/ |
| uhash.h | 8 * 07/06/01 aliu Modified to support int32_t keys on 20 * based on keys. It provides a good tradeoff between access time and 25 * Keys and values are stored as void* pointers. These void* pointers 29 * functions. These functions hash keys, compare keys, delete keys, 34 * UHashtable ownership of keys and values is flexible, and controlled 39 * then keys passed to uhash_put() are owned by the hashtable and will 40 * be deleted by it at some point, either as keys are replaced, or 42 * and the value deleter function pointer. Keys passed to method [all...] |
| /frameworks/base/core/java/android/test/ |
| InstrumentationTestCase.java | 240 * of keys is a string containing the key names as specified in KeyEvent, without the 245 * @param keysSequence The sequence of keys. 248 final String[] keys = keysSequence.split(" "); local 249 final int count = keys.length; 254 String key = keys[i]; 297 * @param keys The series of key codes to send through instrumentation. 299 public void sendKeys(int... keys) { 300 final int count = keys.length; 305 instrumentation.sendKeyDownUpSync(keys[i]); 321 * @param keys The series of key repeats and codes to send through instrumentation [all...] |
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
| ResourceBundleTest.java | 1182 Set<String> keys = bundle.keySet(); local 1252 Vector<String> keys = new Vector<String>(); local 1269 Set<String> keys = subBundle.handleKeySet(); local [all...] |
| /external/clang/test/Analysis/ |
| CFContainers.mm | 76 CFDictionaryRef CFDictionaryCreate(CFAllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const CFDictionaryKeyCallBacks *keyCallBacks, const CFDictionaryValueCallBacks *valueCallBacks); 88 CFDictionaryRef CFDictionaryCreate(CFAllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const 116 CFStringRef keys[6]; 118 keys[0] = CFSTR("January"); values[0] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &days31); 119 keys[1] = CFSTR("February"); values[1] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &days28); 120 keys[2] = CFSTR("March"); values[2] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &days31); 121 keys[3] = CFSTR("April"); values[3] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &days30); 122 keys[4] = CFSTR("May"); values[4] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &days31); 123 keys[5] = CFSTR("June"); values[5] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &days30); 127 CFDictionaryRef dict1 = CFDictionaryCreate(kCFAllocatorDefault, (const void**)keys, (const void**)values, numValues, &keyCB, &valCB); // no warnin [all...] |
| /external/smack/src/org/jivesoftware/smack/util/collections/ |
| ReferenceMap.java | 29 * of references are used to store the map's keys and values. 35 * Different types of references can be specified for keys and values. 36 * The keys can be configured to be weak but the values hard, 39 * <code>WeakHashMap</code></a>. However, you can also specify hard keys and 41 * hard keys and soft values, providing a memory-sensitive cache. 44 * It differs in that keys and values in this class are compared using <code>equals()</code>. 76 * use hard references to keys and soft references to values. 86 * @param keyType the type of reference to use for keys; 99 * @param keyType the type of reference to use for keys; 115 * @param keyType the type of reference to use for keys; [all...] |
| /frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
| StochasticLinearRankerWithPrior.java | 88 public float scoreSample(String[] keys, float[] values) { 90 return super.scoreSample(keys, values); 94 return (1 - mAutoAlpha) * super.scoreSample(keys,values) + 95 mAutoAlpha * priorScoreSample(keys,values); 97 return priorScoreSample(keys,values); 99 return (1 - mAlpha) * super.scoreSample(keys,values) + 100 mAlpha * priorScoreSample(keys,values); 104 public float priorScoreSample(String[] keys, float[] values) { 106 for (int i=0; i< keys.length; i++){ 107 if (mPriorWeights.get(keys[i]) != null [all...] |
| /external/chromium/chrome/browser/extensions/ |
| extension_bookmark_manager_api.cc | 26 namespace keys = extension_bookmarks_module_constants; 81 dict->SetString(keys::kIdKey, id_string); 84 dict->SetString(keys::kParentIdKey, parent_id_string); 87 dict->SetString(keys::kUrlKey, node.GetURL().spec()); 89 dict->SetString(keys::kTitleKey, node.GetTitle()); 94 dict->Set(keys::kChildrenKey, children); 107 dict->SetString(keys::kUrlKey, element.url.spec()); 109 dict->SetString(keys::kTitleKey, element.title); 114 dict->Set(keys::kChildrenKey, children); 124 value->SetBoolean(keys::kSameProfileKey, same_profile) [all...] |
| extension_accessibility_api.cc | 22 namespace keys = extension_accessibility_api_constants; 141 DispatchEvent(info->profile(), keys::kOnWindowOpened, json_args); 147 DispatchEvent(info->profile(), keys::kOnWindowClosed, json_args); 155 DispatchEvent(info->profile(), keys::kOnControlFocused, json_args); 161 DispatchEvent(info->profile(), keys::kOnControlAction, json_args); 167 DispatchEvent(info->profile(), keys::kOnTextChanged, json_args); 173 DispatchEvent(info->profile(), keys::kOnMenuOpened, json_args); 179 DispatchEvent(info->profile(), keys::kOnMenuClosed, json_args);
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
| test_thread.py | 81 keys=range(self.records) 83 random.shuffle(keys) 104 a=keys[records_per_writer*x:records_per_writer*(x+1)] 125 def writerThread(self, d, keys, readers): 134 count=len(keys)//len(readers) 136 for x in keys : 209 keys=range(self.records) 211 random.shuffle(keys) 232 a=keys[records_per_writer*x:records_per_writer*(x+1)] 253 def writerThread(self, d, keys, readers) [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
| test_thread.py | 81 keys=range(self.records) 83 random.shuffle(keys) 104 a=keys[records_per_writer*x:records_per_writer*(x+1)] 125 def writerThread(self, d, keys, readers): 134 count=len(keys)//len(readers) 136 for x in keys : 209 keys=range(self.records) 211 random.shuffle(keys) 232 a=keys[records_per_writer*x:records_per_writer*(x+1)] 253 def writerThread(self, d, keys, readers) [all...] |
| /external/chromium_org/chrome/browser/extensions/api/tabs/ |
| tabs_api.cc | 117 namespace keys = tabs_constants; 148 keys::kWindowNotFoundError, base::IntToString(window_id)); 158 function->SetError(keys::kNoCurrentWindowError); 188 function->SetError(keys::kNoCurrentWindowError); 196 keys::kWindowNotFoundError, base::IntToString(window_id))); 219 keys::kTabNotFoundError, base::IntToString(tab_id)); 313 error_ = keys::kNoLastFocusedWindowError; 358 if (args && args->HasKey(keys::kIncognitoKey)) { 359 EXTENSION_FUNCTION_VALIDATE(args->GetBoolean(keys::kIncognitoKey, 362 error_ = keys::kIncognitoModeIsDisabled [all...] |
| /cts/tools/dasm/src/dasm/ |
| DasmCatchBuilder.java | 121 Enumeration<CstType> keys = unprocessed_catches.elementAt(i) local 122 .type_branch.keys(); 123 while (keys.hasMoreElements()) { 124 result.add(keys.nextElement().getClassType()); 191 Enumeration<CstType> keys = uc.type_branch.keys(); local 194 while (keys.hasMoreElements()) { 195 CstType type = keys.nextElement();
|
| /developers/samples/android/security/keystore/BasicAndroidKeyStore/BasicAndroidKeyStore/src/main/res/values/ |
| strings.xml | 25 encryption keys that only your application can access. You can also sign data using those 26 keys.\n\n
|
| /external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
| ANTLRDoubleKeyMap.m | 56 * get all primary keys 65 * get all secondary keys associated with a primary key
|
| /external/chromium/net/base/ |
| network_config_watcher_mac.h | 30 // Called to register the notification keys on |store|. 35 // Called when one of the notification keys has changed.
|
| /external/chromium_org/base/test/ |
| test_reg_util_win.h | 34 // Deletes all temporary test keys used by the overrides. 37 // Removes all overrides and deletes all temporary test keys used by the
|
| /external/chromium_org/chrome/common/ |
| crash_keys.h | 12 // Registers all of the potential crash keys that can be sent to the crash 13 // reporting server. Returns the size of the union of all keys.
|
| /external/chromium_org/chrome/common/extensions/api/omnibox/ |
| omnibox_handler.cc | 19 // Manifest keys. 51 const std::vector<std::string> OmniboxHandler::Keys() const {
|
| /external/chromium_org/chrome/common/extensions/ |
| csp_handler.h | 35 // Parses "content_security_policy" and "app.content_security_policy" keys. 45 virtual const std::vector<std::string> Keys() const OVERRIDE;
|