/external/chromium_org/chrome/common/metrics/ |
caching_permuted_entropy_provider_unittest.cc | 15 // Size of the low entropy source to use for the permuted entropy provider 28 // Check that the caching provider returns the same results as the non caching 31 PermutedEntropyProvider provider(kEntropyValue, kMaxLowEntropySize); 37 EXPECT_EQ(provider.GetEntropyForTrial(trial_name, 0), 41 // Now, do the same test re-using the same caching provider. 47 EXPECT_EQ(provider.GetEntropyForTrial(trial_name, 0),
|
/external/chromium_org/content/browser/geolocation/ |
location_arbitrator_impl.cc | 25 // a GPS-type location provider (in case it misses a beat) plus a little. 77 // Reset the reference location state (provider+position) 107 LocationProvider* provider = local 109 if (!provider) 110 provider = NewSystemLocationProvider(); 111 RegisterProvider(provider); 116 LocationProvider* provider) { 117 if (!provider) 119 provider->SetUpdateCallback(provider_callback_); 121 provider->OnPermissionGranted() [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
JellyBeanContentView.java | 34 AccessibilityNodeProvider provider = getContentViewCore().getAccessibilityNodeProvider(); local 35 if (provider != null) { 36 return provider;
|
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/ |
ExternalSharedPermsTest.java | 43 public void onProviderDisabled(String provider) {} 44 public void onProviderEnabled(String provider) {} 45 public void onStatusChanged(String provider, int status, Bundle extras) {}
|
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/ |
ExternalSharedPermsDiffKeyTest.java | 41 public void onProviderDisabled(String provider) {} 42 public void onProviderEnabled(String provider) {} 43 public void onStatusChanged(String provider, int status, Bundle extras) {}
|
/frameworks/base/services/java/com/android/server/location/ |
LocationBasedCountryDetector.java | 89 protected boolean isAcceptableProvider(String provider) { 91 return LocationManager.PASSIVE_PROVIDER.equals(provider); 95 * Register a listener with a provider name 97 protected void registerListener(String provider, LocationListener listener) { 98 mLocationManager.requestLocationUpdates(provider, 0, 0, listener); 114 for (String provider : providers) { 115 Location lastKnownLocation = mLocationManager.getLastKnownLocation(provider); 158 String provider = enabledProviders.get(i); local 159 if (isAcceptableProvider(provider)) { 169 public void onProviderDisabled(String provider) { [all...] |
GeocoderProxy.java | 77 IGeocodeProvider provider = getService(); local 78 if (provider != null) { 80 return provider.getFromLocation(latitude, longitude, maxResults, params, addrs); 92 IGeocodeProvider provider = getService(); local 93 if (provider != null) { 95 return provider.getFromLocationName(locationName, lowerLeftLatitude,
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PreloadReceiver.java | 37 final LauncherProvider provider = app.getLauncherProvider(); local 38 if (provider != null) { 51 provider.loadDefaultFavoritesIfNecessary(workspaceResId, overridePrevious);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
PreloadReceiver.java | 35 final LauncherProvider provider = LauncherAppState.getLauncherProvider(); local 36 if (provider != null) { 45 provider.loadDefaultFavoritesIfNecessary(workspaceResId);
|
/system/media/audio_utils/include/audio_utils/ |
resampler.h | 50 int (*get_next_buffer)(struct resampler_buffer_provider *provider, 57 void (*release_buffer)(struct resampler_buffer_provider *provider, 68 * resample input from buffer provider and output at most *outFrameCount to out buffer. 99 struct resampler_buffer_provider *provider,
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
PBEPKCS12.java | 1 package org.bouncycastle.jcajce.provider.symmetric; 12 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 13 import org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameters; 14 import org.bouncycastle.jcajce.provider.util.AlgorithmProvider; 115 public void configure(ConfigurableProvider provider) 117 provider.addAlgorithm("AlgorithmParameters.PKCS12PBE", PREFIX + "$AlgParams");
|
/external/chromium/chrome/browser/net/ |
service_providers_win.cc | 38 WinsockNamespaceProvider provider; local 40 provider.name = namespace_providers[i].lpszIdentifier; 41 provider.active = TRUE == namespace_providers[i].fActive; 42 provider.version = namespace_providers[i].dwVersion; 43 provider.type = namespace_providers[i].dwNameSpace; 45 namespace_list->push_back(provider);
|
/external/chromium_org/chrome/browser/net/ |
service_providers_win.cc | 38 WinsockNamespaceProvider provider; local 40 provider.name = namespace_providers[i].lpszIdentifier; 41 provider.active = TRUE == namespace_providers[i].fActive; 42 provider.version = namespace_providers[i].dwVersion; 43 provider.type = namespace_providers[i].dwNameSpace; 45 namespace_list->push_back(provider);
|
/external/chromium_org/chrome/browser/themes/ |
theme_service_factory.cc | 56 ThemeService* provider = NULL; local 58 provider = new GtkThemeService; 60 provider = new ThemeServiceAuraX11; 62 provider = new ThemeService; 64 provider->Init(static_cast<Profile*>(profile)); 66 return provider;
|
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/ |
Engine.java | 26 import java.security.Provider; 31 * This class implements common functionality for Provider supplied 34 * {@code getInstance} and retreival of the selected {@code Provider} 35 * and Service Provider Interface (SPI) results. Retreiving the 47 * private final Provider provider; 51 * Provider provider, 54 * this.provider = provider; 111 public final Provider provider; field in class:Engine.SpiAndProvider [all...] |
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/ |
MockContentResolver2.java | 37 * API call tries to acquire a provider. 45 * Adds access to a provider based on its authority 47 * @param name The authority name associated with the provider. 48 * @param provider An instance of {@link android.content.ContentProvider} or one of its 51 public void addProvider(String name, ContentProvider provider) { 54 * Maps the authority to the provider locally. 56 mProviders.put(name, provider); 70 * Gets the content provider from the local map 72 final ContentProvider provider = mProviders.get(name); local 74 if (provider != null) [all...] |
/cts/tests/tests/permission/src/android/permission/cts/ |
NoLocationPermissionTest.java | 54 private boolean isKnownLocationProvider(String provider) { 55 return mAllProviders.contains(provider); 114 * provider throws SecurityException. 116 * @param provider the String provider name. 118 private void checkRequestLocationUpdates(String provider) { 119 if (!isKnownLocationProvider(provider)) { 120 // skip this test if the provider is unknown 127 mLocationManager.requestLocationUpdates(provider, 0, 0, mockListener); 135 mLocationManager.requestLocationUpdates(provider, 0, 0, mockListener, looper) [all...] |
/developers/build/prebuilts/gradle/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/basicsyncadapter/provider/ |
FeedContract.java | 17 package com.example.android.basicsyncadapter.provider; 21 import android.provider.BaseColumns; 25 * {@link com.example.android.basicsyncadapter.provider.FeedProvider}. 32 * Content provider authority.
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/basicsyncadapter/provider/ |
FeedContract.java | 17 package com.example.android.basicsyncadapter.provider; 21 import android.provider.BaseColumns; 25 * {@link com.example.android.basicsyncadapter.provider.FeedProvider}. 32 * Content provider authority.
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/ |
FeedContract.java | 17 package com.example.android.basicsyncadapter.provider; 21 import android.provider.BaseColumns; 25 * {@link com.example.android.basicsyncadapter.provider.FeedProvider}. 32 * Content provider authority.
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/config/ |
ConfigurableProvider.java | 1 package org.bouncycastle.jcajce.provider.config; 4 import org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter; 7 * Implemented by the BC provider. This allows setting of hidden parameters,
|
/external/chromium/chrome/browser/automation/ |
automation_provider_list.h | 23 bool AddProvider(AutomationProvider* provider); 24 bool RemoveProvider(AutomationProvider* provider);
|
/external/chromium/chrome/browser/ui/cocoa/ |
bubble_view.h | 42 // Designated initializer. |provider| is the window from which we get the 44 // be checked. The caller needs to ensure |provider| can't go away as it will 46 - (id)initWithFrame:(NSRect)frame themeProvider:(NSWindow*)provider; 55 - (void)setThemeProvider:(NSWindow*)provider;
|
/external/chromium/crypto/ |
capi_util.cc | 42 LPCWSTR provider, 46 return CryptAcquireContext(prov, container, provider, prov_type, flags);
|
/external/chromium_org/chrome/browser/extensions/api/system_memory/ |
system_memory_apitest.cc | 41 scoped_refptr<MemoryInfoProvider> provider = new MockMemoryInfoProviderImpl(); local 42 // The provider is owned by the single MemoryInfoProvider instance. 43 MemoryInfoProvider::InitializeForTesting(provider);
|