/external/chromium_org/chrome/browser/ui/omnibox/ |
omnibox_controller_unittest.cc | 22 const AutocompleteController::Providers& GetAutocompleteProviders() const { 23 return omnibox_controller_->autocomplete_controller()->providers(); 43 // Checks that the list of autocomplete providers used by the OmniboxController 46 const AutocompleteController::Providers& providers = local 49 for (size_t i = 0; i < providers.size(); ++i) { 51 int type = providers[i]->type(); 58 // Ensure we saw all the providers we expected. 64 // First collect the basic providers. 66 const AutocompleteController::Providers& providers local [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
SecureRandom_ImplTest.java | 37 * Registered providers 39 Provider providers[] = Security.getProviders(); field in class:SecureRandom_ImplTest 46 // remove all registered providers 47 for (int i = 0; i < providers.length; i++) { 48 Security.removeProvider(providers[i].getName()); 57 // restore all registered providers 58 for (int i = 0; i < providers.length; i++) { 59 Security.addProvider(providers[i]);
|
/external/chromium_org/chrome/browser/policy/ |
profile_policy_connector.cc | 65 // |providers| contains a list of the policy providers available for the 68 // Note: all the providers appended to this vector must eventually become 76 std::vector<ConfigurationPolicyProvider*> providers; local 90 providers.push_back(forwarding_policy_provider_.get()); 95 providers.push_back(connector->GetDeviceCloudPolicyManager()); 99 providers.push_back(user_cloud_policy_manager); 117 providers.push_back(special_user_policy_provider_.get()); 121 policy_service_.reset(new PolicyServiceImpl(providers)); 167 // Check all the providers that have higher priority than th [all...] |
profile_policy_connector_factory.cc | 130 PolicyServiceImpl::Providers providers; local 131 providers.push_back(test_providers_.front()); 133 scoped_ptr<PolicyService> service(new PolicyServiceImpl(providers));
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/category/ |
PropertyCategoryProviders.java | 25 // Simple providers 62 public static PropertyCategoryProvider combine(final PropertyCategoryProvider... providers) { 65 for (PropertyCategoryProvider provider : providers) {
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/ |
Security_ImplTest.java | 58 Provider[] providers; local 60 providers = Security.getProviders(); 61 for (int i = 0; i < providers.length; i++) { 63 assertEquals("Incorrect provider number", i + 1, providers[i]
|
/external/chromium_org/chrome/browser/extensions/ |
external_provider_impl_chromeos_unittest.cc | 51 ProviderCollection providers; local 53 service_, profile_.get(), &providers); 55 for (ProviderCollection::iterator i = providers.begin(); 56 i != providers.end();
|
external_provider_impl_unittest.cc | 70 ProviderCollection providers; local 72 service_, profile_.get(), &providers); 74 for (ProviderCollection::iterator i = providers.begin(); 75 i != providers.end();
|
/external/chromium_org/base/ |
path_service.cc | 42 // We keep a linked list of providers. In a debug build we ensure that no two 43 // providers claim overlapping keys. 117 Provider* providers; // Linked list of path service providers. member in struct:__anon7023::PathData 122 providers = &base_provider_win; 124 providers = &base_provider_mac; 126 providers = &base_provider_android; 128 providers = &base_provider_posix; 133 Provider* p = providers; 202 provider = path_data->providers; [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
inspect_ui_browsertest.cc | 75 AndroidDeviceManager::DeviceProviders providers; local 76 providers.push_back(new AdbDeviceProvider()); 77 android_bridge->set_device_providers_for_test(providers);
|
/external/glide/library/src/main/java/com/bumptech/glide/provider/ |
DataLoadProviderFactory.java | 64 private final Map<MultiClassKey, DataLoadProvider> providers = new HashMap<MultiClassKey, DataLoadProvider>(); field in class:DataLoadProviderFactory 67 providers.put(new MultiClassKey(dataClass, resourceClass), provider); 75 result = providers.get(GET_KEY);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
SecureRandom2Test.java | 83 Provider[] providers = Security local 85 if (providers != null) { 86 for (int i = 0; i < providers.length; i++) { 88 .getInstance("SHA1PRNG", providers[i].getName()); 91 fail("No providers support SHA1PRNG");
|
SecurityTest.java | 78 int initNum = Security.getProviders().length; // initial number of providers 121 int initNum = Security.getProviders().length; // initial number of providers 136 Provider[] providers; local 139 providers = Security.getProviders(); 142 for (int i = 0; i < providers.length; i++) { 143 Security.removeProvider(providers[i].getName()); 145 assertEquals("Providers not removed", 0, 147 } finally { // restore providers 148 for (int i = 0; i < providers.length; i++) { 149 Security.addProvider(providers[i]) 171 Provider[] providers = Security.getProviders(); local [all...] |
KeyPairGenerator4Test.java | 64 Provider[] providers = Security.getProviders("KeyPairGenerator.DSA"); local 66 for (int i = 0; i < providers.length; i++) { 67 KeyPairGenerator.getInstance("DSA", providers[i].getName());
|
Signature2Test.java | 79 Provider[] providers = Security.getProviders("Signature.DSA"); local 81 for (int i = 0; i < providers.length; i++) { 82 Signature.getInstance("DSA", providers[i].getName()); 234 // Enfore that providers information has been loaded.
|
KeyFactory2Test.java | 212 Provider[] providers = Security.getProviders("KeyFactory.DSA"); local 213 if (providers != null) { 214 for (int i = 0; i < providers.length; i++) { 215 KeyFactory.getInstance("DSA", providers[i].getName()); 218 fail("No providers support KeyFactory.DSA"); 346 Provider[] providers = Security.getProviders(); local 349 for (Provider provider : providers) {
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
LocationProviderFactory.java | 197 List<String> providers = mLocationManager.getProviders(true); local 198 return providers != null && providers.size() == 1 199 && providers.get(0).equals(LocationManager.PASSIVE_PROVIDER);
|
/cts/tests/tests/location/src/android/location/cts/ |
LocationManagerTest.java | 155 List<String> providers = mManager.getAllProviders(); local 156 assertTrue(providers.size() >= 2); 157 assertTrue(hasTestProvider(providers)); 159 assertEquals(hasGpsFeature(), hasGpsProvider(providers)); 161 int oldSizeAllProviders = providers.size(); 163 providers = mManager.getProviders(false); 164 assertEquals(oldSizeAllProviders, providers.size()); 165 assertTrue(hasTestProvider(providers)); 167 providers = mManager.getProviders(true); 168 assertTrue(providers.size() >= 1) 235 List<String> providers = mManager.getProviders(criteria, true); local 324 List<String> providers = mManager.getAllProviders(); local [all...] |
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherTest.java | 76 Provider[] providers = Security.getProviders("Cipher.DES"); local 78 assertNotNull("No installed providers support Cipher.DES", providers); 80 for (int i = 0; i < providers.length; i++) { 81 Cipher cipher = Cipher.getInstance("DES", providers[i].getName()); 86 cipher = Cipher.getInstance("DoBeDoBeDo", providers[i]); 117 Provider[] providers = Security.getProviders("Cipher.DES"); local 119 assertNotNull("No installed providers support Cipher.DES", providers); 121 for (int i = 0; i < providers.length; i++) 132 Provider[] providers = Security.getProviders("Cipher.AES"); local [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
ProviderInfoTest.java | 41 List<ProviderInfo> providers = pm.queryContentProviders(PACKAGE_NAME, appInfo.uid, 0); local 42 Iterator<ProviderInfo> providerIterator = providers.iterator();
|
/external/chromium_org/components/policy/core/browser/ |
browser_policy_connector.cc | 48 // Regexes that match many of the larger public email providers as we know 107 // of the policy providers in subclasses. 165 std::vector<ConfigurationPolicyProvider*> providers; local 167 providers.push_back(g_testing_provider); 169 providers.resize(policy_providers_.size()); 172 providers.begin()); 174 policy_service_.reset(new PolicyServiceImpl(providers));
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory4Test.java | 166 Provider[] providers = Security local 169 if (providers != null) { 170 for (int i = 0; i < providers.length; i++) { 172 "X.509", providers[i].getName()); 176 fail("No providers support CertificateFactory.X.509"); [all...] |
/external/chromium_org/components/policy/core/common/ |
policy_service_impl.cc | 19 typedef PolicyServiceImpl::Providers::const_iterator Iterator; 35 // single Dictionary policy when all providers have support for that. For 72 PolicyServiceImpl::PolicyServiceImpl(const Providers& providers) 76 providers_ = providers; 77 for (Iterator it = providers.begin(); it != providers.end(); ++it) { 133 // Refresh is immediately complete if there are no providers. See the note 141 // Some providers might invoke OnUpdatePolicy synchronously while handling 154 // Note: a policy change may trigger further policy changes in some providers [all...] |
policy_service_impl.h | 30 typedef std::vector<ConfigurationPolicyProvider*> Providers; 32 // The PolicyServiceImpl will merge policies from |providers|. |providers| 35 // the providers, and they must outlive the PolicyServiceImpl. 36 explicit PolicyServiceImpl(const Providers& providers); 63 // Combines the policies from all the providers, and notifies the observers 67 // Checks if all providers are initialized, and notifies the observers 74 // The providers passed in the constructor, in order of decreasing priority. 75 Providers providers_ [all...] |
/development/apps/Development/src/com/android/development/ |
PackageSummary.java | 166 LinearLayout providers = (LinearLayout)findViewById(R.id.providers); local 215 if (info.providers != null) { 216 final int N = info.providers.length; 218 ProviderInfo pi = info.providers[i]; 222 providers.addView(view, lp); 225 providers.setVisibility(View.GONE);
|