/external/python/cpython2/Lib/ |
UserDict.py | 56 def keys(self): return self.data.keys() member in class:UserDict 123 # and keys. Without knowledge of the subclass constructor, the mixin 130 for k in self.keys(): 157 for key in self.keys(): 191 elif hasattr(other, 'keys'): 192 for k in other.keys(): 213 return len(self.keys())
|
dumbdbm.py | 60 # file, and holds the values associated with keys. Each value 67 self._index = None # maps keys to (pos, siz) pairs 163 raise TypeError, "keys and values must be strings" 199 def keys(self): member in class:_Database 200 return self._index.keys()
|
shelve.py | 4 with dbm databases is that the values (not the keys!) in a shelf can 7 types, and objects containing lots of shared sub-objects. The keys 24 list = d.keys() # a list of all existing keys (slow!) 80 __getitem__ = __setitem__ = __delitem__ = keys = closed 100 def keys(self): member in class:Shelf 101 return self.dict.keys()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/matchers/ |
StartedServiceMatcher.java | 40 * Check if the class of the intent and the keys of the intent's extras match 70 // Test that both intent extras have the same keys 71 Set<String> keys = shadowIntent.getExtras().keySet(); local 73 intentsMatch = keys.equals(expectedKeys); 75 message += "did not get the same extras keys";
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/ |
ResourceTestUtil.java | 33 TreeSet<String> keys = new TreeSet<>(map.keySet()); local 34 for (String key : keys) {
|
/frameworks/base/core/tests/coretests/src/android/util/ |
SparseLongArrayTest.java | 72 * Generates a sorted array of distinct and random keys 74 * @param size the number of keys to return in the array. Should be < (2^31)/1000. 75 * @return the array of keys 78 final int[] keys = new int[size]; local 79 keys[0] = -1 * mRandom.nextInt(size * 500); 81 keys[i] = keys[i - 1] + 1 + mRandom.nextInt(1000); 82 assertTrue(keys[i] > keys[i - 1]); 84 return keys; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
ExtensionController.java | 68 String[] keys(); method in interface:ExtensionController.TunerFactory
|
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
SettingsFragment.java | 80 final String[] keys = {"prefs_wifi_connect_wps", "prefs_date", "prefs_time", local 83 if (Arrays.asList(keys).contains(preference.getKey())) {
|
/hardware/interfaces/audio/core/all-versions/default/include/core/all-versions/default/ |
ParametersUtil.impl.h | 61 AudioParameter keys; local 62 keys.addKey(halName); 63 std::unique_ptr<AudioParameter> params = getParams(keys); 75 const hidl_vec<ParameterValue>& context, const hidl_vec<hidl_string>& keys, 81 for (size_t i = 0; i < keys.size(); ++i) { 82 halKeys.addKey(String8(keys[i].c_str())); 86 (keys.size() == 0 || halValues->size() != 0) ? Result::OK : Result::NOT_SUPPORTED; 103 std::unique_ptr<AudioParameter> ParametersUtil::getParams(const AudioParameter& keys) { 105 char* halValues = halGetParameters(keys.keysToString().string());
|
/hardware/interfaces/drm/1.0/vts/functional/ |
drm_hal_vendor_module_api.h | 37 * the keys are loaded, the Crypto HAL decryption functionality and performance 136 * request keys and use them to perform decryption. 184 * The keys that will be available once the keys are loaded 207 std::vector<Key> keys; member in struct:DrmHalVTSVendorModule_V1::ContentConfiguration
|
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/ |
ComposerClient.h | 53 std::vector<IComposerClient::PerFrameMetadataKey> keys; variable 54 Error error = mHal->getPerFrameMetadataKeys(display, &keys); 55 hidl_cb(error, keys);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
MockAbstractSelector.java | 65 public Set<SelectionKey> keys() { method in class:MockAbstractSelector
|
/libcore/ojluni/src/main/java/java/security/ |
Signer.java | 34 * <p>The management of a signer's private keys is an important and 156 String keys = ""; local 159 keys = "\tpublic and private keys initialized"; 162 keys = "\tno keys"; 164 return keys;
|
/libcore/ojluni/src/main/java/java/util/stream/ |
DistinctOps.java | 92 Set<T> keys = map.keySet(); local 95 keys = new HashSet<>(keys); 96 keys.add(null); 98 return Nodes.node(keys);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
DebugView.java | 133 List<String> keys = new ArrayList<>(bundle.keySet()); local 134 Collections.sort(keys); 135 for (String key : keys) {
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ |
TestUtils.java | 95 Set<String> keys = bundle1.keySet(); local 96 for (String key : keys) {
|
/packages/apps/Settings/src/com/android/settings/core/ |
PreferenceControllerListHelper.java | 107 final Set<String> keys = new TreeSet<>(); local 112 keys.add(key); 116 if (keys.contains(controller.getPreferenceKey())) {
|
/packages/apps/Settings/src/com/android/settings/dream/ |
WhenToDreamPicker.java | 54 final String[] values = keys(); 73 private String[] keys() { method in class:WhenToDreamPicker
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
AccessibilitySettingsTest.java | 53 final List<String> keys = new ArrayList<>(); local 55 keys.addAll(XmlTestUtils.getKeysFromPreferenceXml(context, R.xml.accessibility_settings)); 57 assertThat(keys).containsAllIn(niks);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
DefaultAppSettingsTest.java | 162 final List<String> keys = XmlTestUtils.getKeysFromPreferenceXml(context, xmlId); local 164 assertThat(keys).containsAllIn(niks);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
EncryptionAndCredentialTest.java | 78 final List<String> keys = SEARCH_INDEX_DATA_PROVIDER.getNonIndexableKeys(mContext); local 80 assertThat(keys).containsExactlyElementsIn(expectedKeys);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
UserDict.py | 39 def keys(self): return self.data.keys() member in class:UserDict 90 # and keys. Without knowledge of the subclass constructor, the mixin 97 for k in self.keys(): 124 for key in self.keys(): 158 elif hasattr(other, 'keys'): 159 for k in other.keys(): 180 return len(self.keys())
|
dumbdbm.py | 58 # file, and holds the values associated with keys. Each value 65 self._index = None # maps keys to (pos, siz) pairs 164 raise TypeError, "keys and values must be strings" 198 def keys(self): member in class:_Database 199 return self._index.keys()
|
shelve.py | 4 with dbm databases is that the values (not the keys!) in a shelf can 7 types, and objects containing lots of shared sub-objects. The keys 24 list = d.keys() # a list of all existing keys (slow!) 80 __getitem__ = __setitem__ = __delitem__ = keys = closed 100 def keys(self): member in class:Shelf 101 return self.dict.keys()
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
UserDict.py | 39 def keys(self): return self.data.keys() member in class:UserDict 90 # and keys. Without knowledge of the subclass constructor, the mixin 97 for k in self.keys(): 124 for key in self.keys(): 158 elif hasattr(other, 'keys'): 159 for k in other.keys(): 180 return len(self.keys())
|