/packages/apps/Email/tests/src/com/android/email/provider/ |
ProviderTestUtils.java | 17 package com.android.email.provider; 20 import com.android.emailcommon.provider.Account; 21 import com.android.emailcommon.provider.EmailContent; 22 import com.android.emailcommon.provider.EmailContent.Attachment; 23 import com.android.emailcommon.provider.EmailContent.Body; 24 import com.android.emailcommon.provider.EmailContent.Message; 25 import com.android.emailcommon.provider.HostAuth; 26 import com.android.emailcommon.provider.Mailbox;
|
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
HostAuthTests.java | 17 package com.android.emailcommon.provider;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/ |
SharedImageProvider.java | 17 package com.android.gallery3d.filtershow.provider; 26 import android.provider.BaseColumns; 27 import android.provider.MediaStore; 28 import android.provider.OpenableColumns; 38 public static final String AUTHORITY = "com.android.gallery3d.filtershow.provider.SharedImageProvider";
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
AppWidgetsRestoredReceiver.java | 48 final AppWidgetProviderInfo provider = widgets.getAppWidgetInfo(newWidgetIds[i]); local 50 if (LauncherModel.isValidProvider(provider)) {
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
FakeContext.java | 87 // If you want to use a content provider in your test, then you need to add it 92 public void addContentProvider(final String name, final ContentProvider provider) { 93 mContentResolver.addProvider(name, provider); 97 final FakeContentProvider provider = new FakeContentProvider(context, uri, true); local 98 mContentResolver.addProvider(uri.getAuthority(), provider); local
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
DvrDatabaseHelper.java | 17 package com.android.tv.dvr.provider; 28 import com.android.tv.dvr.provider.DvrContract.Recordings;
|
/packages/services/Telephony/src/com/android/phone/ |
CdmaVoicePrivacyCheckBoxPreference.java | 89 android.provider.Settings.Secure.putInt(getContext().getContentResolver(), 90 android.provider.Settings.Secure.ENHANCED_VOICE_PRIVACY_ENABLED, enable);
|
/prebuilts/tools/common/m2/repository/org/codehaus/gmaven/feature/gmaven-feature-support/1.5/ |
gmaven-feature-support-1.5.jar | |
/system/connectivity/shill/vpn/ |
vpn_service_unittest.cc | 109 // Takes ownership of |provider|. 110 void SetVPNProvider(VPNProvider* provider) { 111 manager_.vpn_provider_.reset(provider); 230 MockVPNProvider* provider = new MockVPNProvider; local 231 SetVPNProvider(provider); 232 provider->services_.push_back(service_); 236 EXPECT_TRUE(provider->services_.empty()); 292 MockVPNProvider* provider = new MockVPNProvider; local 293 SetVPNProvider(provider); 294 EXPECT_CALL(*provider, HasActiveService()).WillOnce(Return(true)) 310 MockVPNProvider* provider = new MockVPNProvider; local [all...] |
/system/connectivity/shill/wimax/ |
wimax_service_unittest.cc | 254 MockWiMaxProvider provider; local 256 EXPECT_CALL(manager_, wimax_provider()).WillOnce(Return(&provider)); 257 EXPECT_CALL(provider, SelectCarrier(_)).WillOnce(Return(null_device)); 263 EXPECT_CALL(manager_, wimax_provider()).WillOnce(Return(&provider)); 264 EXPECT_CALL(provider, SelectCarrier(_)).WillOnce(Return(device_)); 289 MockWiMaxProvider provider; local 292 .WillRepeatedly(Return(&provider)); 297 EXPECT_CALL(provider, OnServiceUnloaded(_)).WillOnce(Return(false)); 305 EXPECT_CALL(provider, OnServiceUnloaded(_)).WillOnce(Return(true)); 330 MockWiMaxProvider provider; local [all...] |
/system/media/audio_utils/ |
resampler.c | 31 struct resampler_buffer_provider *provider; // buffer provider installed by client member in struct:resampler 82 if (rsmp->provider == NULL) { 109 rsmp->provider->get_next_buffer(rsmp->provider, &buf); 117 rsmp->provider->release_buffer(rsmp->provider, &buf); 164 if (rsmp->provider != NULL) { 193 struct resampler_buffer_provider* provider, 230 rsmp->provider = provider [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_FrequentsStrequentsTest.java | 17 package android.provider.cts; 25 import android.provider.ContactsContract; 26 import android.provider.ContactsContract.CommonDataKinds.Contactables; 27 import android.provider.ContactsContract.CommonDataKinds.Email; 28 import android.provider.ContactsContract.CommonDataKinds.Organization; 29 import android.provider.ContactsContract.CommonDataKinds.Phone; 30 import android.provider.ContactsContract.CommonDataKinds.StructuredName; 31 import android.provider.ContactsContract.Contacts; 32 import android.provider.ContactsContract.Data; 33 import android.provider.ContactsContract.DataUsageFeedback 151 ContentProviderClient provider = local [all...] |
ContactsContract_DataTest.java | 17 package android.provider.cts; 20 import static android.provider.ContactsContract.CommonDataKinds; 27 import android.provider.ContactsContract; 28 import android.provider.ContactsContract.CommonDataKinds.Callable; 29 import android.provider.ContactsContract.CommonDataKinds.Contactables; 30 import android.provider.ContactsContract.CommonDataKinds.Email; 31 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 32 import android.provider.ContactsContract.CommonDataKinds.Organization; 33 import android.provider.ContactsContract.CommonDataKinds.Phone; 34 import android.provider.ContactsContract.CommonDataKinds.SipAddress 198 ContentProviderClient provider = local [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
SettingsFacade.java | 28 import android.provider.Settings.SettingNotFoundException; 74 android.provider.Settings.System.putInt(mService.getContentResolver(), 75 android.provider.Settings.System.SCREEN_OFF_TIMEOUT, value * 1000); 83 return android.provider.Settings.System.getInt(mService.getContentResolver(), 84 android.provider.Settings.System.SCREEN_OFF_TIMEOUT) / 1000; 157 return android.provider.Settings.System.getInt(mService.getContentResolver(), 158 android.provider.Settings.System.SCREEN_BRIGHTNESS); 180 android.provider.Settings.System.putInt(mService.getContentResolver(), 181 android.provider.Settings.System.SCREEN_BRIGHTNESS, brightness);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
AbstractSelectableChannelTest.java | 41 testChannel = new MockSelectableChannel(SelectorProvider.provider()); 61 testChannel = new MockSelectableChannel(SelectorProvider.provider()); 74 * @tests AbstractSelectableChannel#provider() 77 SelectorProvider provider = testChannel.provider(); local 78 assertSame(SelectorProvider.provider(), provider); local 80 provider = testChannel.provider(); 81 assertNull(provider); [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLContextTest.java | 24 import java.security.Provider; 249 Provider provider = SSLContext.getDefault().getProvider(); local 250 assertNotNull(provider); 251 assertEquals(StandardNames.JSSE_PROVIDER_NAME, provider.getName()); 295 // This test thus installs a Provider of KeyManagerFactory and TrustManagerFactory whose 297 Provider provider = new ThrowExceptionKeyAndTrustManagerFactoryProvider(); local 298 invokeWithHighestPrioritySecurityProvider(provider, new Callable<Void>() { 331 // This test thus installs a Provider of KeyManagerFactory and TrustManagerFactory whos 333 Provider provider = new ThrowExceptionKeyAndTrustManagerFactoryProvider(); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyFactoryTest.java | 14 import java.security.Provider; 24 Provider provider; field in class:KeyFactoryTest 27 Provider existingProvider; 34 Provider[] providers = Security.getProviders(); 41 provider = new TestKeyFactoryProvider(); 42 Security.addProvider(provider); 48 Security.removeProvider(provider.getName()); 131 KeyFactory factory = KeyFactory.getInstance(TEST_KEYFACTORY_NAME, provider); 144 Provider[] providers = 160 Provider provider = providers[i]; local [all...] |
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
AbstractDownloadProviderFunctionalTest.java | 32 import android.provider.Downloads; 96 * Context passed to the provider and the service. Allows most methods to pass through to the 160 final DownloadProvider provider = new DownloadProvider(); local 161 provider.mSystemFacade = mSystemFacade; 165 provider.attachInfo(mTestContext, info); 167 mResolver.addProvider(PROVIDER_AUTHORITY, provider);
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
ImsManager.java | 29 import android.provider.Settings; 210 int enabled = android.provider.Settings.Global.getInt( 212 android.provider.Settings.Global.ENHANCED_4G_MODE_ENABLED, ImsConfig.FeatureValueConstants.ON); 221 android.provider.Settings.Global.putInt( 223 android.provider.Settings.Global.ENHANCED_4G_MODE_ENABLED, value); 318 int enabled = android.provider.Settings.Global.getInt(context.getContentResolver(), 319 android.provider.Settings.Global.VT_IMS_ENABLED, 329 android.provider.Settings.Global.putInt(context.getContentResolver(), 330 android.provider.Settings.Global.VT_IMS_ENABLED, value); 362 int enabled = android.provider.Settings.Global.getInt(context.getContentResolver() [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
ServerSocketChannelTest.java | 88 SelectorProvider.provider()); 101 SelectorProvider.provider()); 103 assertNull(testMSChnl.provider()); 104 assertNotNull(testMSChnlnotnull.provider()); 105 assertNotNull(this.serverChannel.provider()); 106 assertEquals(testMSChnlnotnull.provider(), this.serverChannel 107 .provider()); method 326 assertEquals(SelectorProvider.provider(), this.serverChannel.provider());
|
SelectorTest.java | 93 * @tests java.nio.channels.Selector#provider() 96 // should be system default provider 97 assertNotNull(selector.provider()); 98 assertSame(SelectorProvider.provider(), selector.provider());
|
/frameworks/base/services/core/java/com/android/server/notification/ |
ConditionProviders.java | 29 import android.provider.Settings; 81 c.caption = "condition provider"; 143 final IConditionProvider provider = provider(info); local 145 provider.onConnected(); 164 public ManagedServiceInfo checkServiceToken(IConditionProvider provider) { 166 return checkServiceTokenLocked(provider); 235 return provider(service); 250 IConditionProvider provider) { 255 r.info = checkServiceTokenLocked(provider); 311 final IConditionProvider provider = provider(r); local 342 final IConditionProvider provider = provider(r); local 356 private static IConditionProvider provider(ConditionRecord r) { method in class:ConditionProviders 360 private static IConditionProvider provider(ManagedServiceInfo info) { method in class:ConditionProviders [all...] |
/frameworks/base/services/core/java/com/android/server/tv/ |
TvRemoteService.java | 94 private void openInputBridgeInternalLocked(TvRemoteProviderProxy provider, IBinder token, 114 mProviderMap.put(token, provider); 222 public UserHandler(UserProvider provider, Context context) { 224 mWatcher = new TvRemoteProviderWatcher(context, provider, this); 236 TvRemoteProviderProxy provider = mProviderMap.get(token); local 237 if (provider != null) { 238 provider.inputBridgeConnected(token); 263 public void openInputBridge(TvRemoteProviderProxy provider, IBinder token, String name, 272 if (mProviderList.contains(provider)) { 273 mService.openInputBridgeInternalLocked(provider, token, name, width, height [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
DatagramChannelTest.java | 234 assertEquals(SelectorProvider.provider(), channel.provider());
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateTest.java | 32 import java.security.Provider; 324 final Provider provider = sig.getProvider(); local 326 cert.verify(cert.getPublicKey(), provider.getName()); 338 // a new provider, test if it works, then remove it and test if the 342 // Provider wrongProvider = cf.getProvider();
|