Home
last modified time | relevance | path

Searched refs:content (Results 1 – 25 of 642) sorted by relevance

12345678910>>...26

/development/samples/Support4Demos/src/com/example/android/supportv4/content/
DSimpleWakefulReceiver.java17 package com.example.android.supportv4.content;
20 import android.content.Context;
21 import android.content.Intent;
23 import android.support.v4.content.WakefulBroadcastReceiver;
DSimpleWakefulService.java17 package com.example.android.supportv4.content;
21 import android.content.Intent;
/development/samples/ApiDemos/src/com/example/android/apis/app/
DDoNothing.java19 import android.content.BroadcastReceiver;
20 import android.content.Context;
21 import android.content.Intent;
DAppUpdateSspReceiver.java19 import android.content.BroadcastReceiver;
20 import android.content.Context;
21 import android.content.Intent;
DOneShotAlarm.java19 import android.content.Context;
20 import android.content.Intent;
21 import android.content.BroadcastReceiver;
DRepeatingAlarm.java23 import android.content.Context;
24 import android.content.Intent;
25 import android.content.BroadcastReceiver;
DAppUpdateReceiver.java21 import android.content.BroadcastReceiver;
22 import android.content.Context;
23 import android.content.Intent;
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DSimpleWikiHelper.java29 import android.content.Context;
30 import android.content.pm.PackageInfo;
31 import android.content.pm.PackageManager;
32 import android.content.pm.PackageManager.NameNotFoundException;
151 String content = getUrlContent(String.format(WIKTIONARY_PAGE, in getPageContent() local
155 JSONObject response = new JSONObject(content); in getPageContent()
200 ByteArrayOutputStream content = new ByteArrayOutputStream(); in getUrlContent() local
205 content.write(sBuffer, 0, readBytes); in getUrlContent()
209 return new String(content.toByteArray()); in getUrlContent()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DSimpleWikiHelper.java29 import android.content.Context;
30 import android.content.pm.PackageInfo;
31 import android.content.pm.PackageManager;
32 import android.content.pm.PackageManager.NameNotFoundException;
144 String content = getUrlContent(String.format(WIKTIONARY_PAGE, in getPageContent() local
148 JSONObject response = new JSONObject(content); in getPageContent()
193 ByteArrayOutputStream content = new ByteArrayOutputStream(); in getUrlContent() local
198 content.write(sBuffer, 0, readBytes); in getUrlContent()
202 return new String(content.toByteArray()); in getUrlContent()
/development/samples/browseable/ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/content/
DAssetProvider.java17 package com.example.android.actionbarcompat.shareactionprovider.content;
19 import android.content.ContentProvider;
20 import android.content.ContentValues;
21 import android.content.res.AssetFileDescriptor;
22 import android.content.res.AssetManager;
DContentItem.java17 package com.example.android.actionbarcompat.shareactionprovider.content;
19 import android.content.Context;
20 import android.content.Intent;
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
DBatchOperation.java18 import android.content.ContentProviderOperation;
19 import android.content.ContentProviderResult;
20 import android.content.ContentResolver;
21 import android.content.Context;
22 import android.content.OperationApplicationException;
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DSampleMediaButtonReceiver.java21 import android.content.Context;
22 import android.content.Intent;
23 import android.content.BroadcastReceiver;
/development/apps/Development/src/com/android/development/
DDevelopment.java22 import android.content.Intent;
23 import android.content.pm.PackageManager;
24 import android.content.pm.ResolveInfo;
/development/samples/ApiDemos/src/com/example/android/apis/view/
DAutoComplete5.java22 import android.content.ContentResolver;
34 ContentResolver content = getContentResolver(); in onCreate() local
35 Cursor cursor = content.query(Contacts.CONTENT_URI, in onCreate()
/development/samples/training/threadsample/src/com/example/android/threadsample/
DBroadcastNotifier.java19 import android.content.Context;
20 import android.content.Intent;
21 import android.support.v4.content.LocalBroadcastManager;
/development/samples/SipDemo/src/com/example/android/sip/
DIncomingCallReceiver.java19 import android.content.BroadcastReceiver;
20 import android.content.Context;
21 import android.content.Intent;
/development/apps/BluetoothDebug/src/com/android/bluetoothdebug/
DDebugReceiver.java25 import android.content.BroadcastReceiver;
26 import android.content.Context;
27 import android.content.Intent;
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/
DExampleBroadcastReceiver.java20 import android.content.BroadcastReceiver;
21 import android.content.Context;
22 import android.content.Intent;
/development/samples/training/basic/ActivityLifecycle/
Dproguard.cfg11 -keep public class * extends android.content.BroadcastReceiver
12 -keep public class * extends android.content.ContentProvider
22 public <init>(android.content.Context, android.util.AttributeSet);
26 public <init>(android.content.Context, android.util.AttributeSet, int);
/development/samples/training/multiscreen/newsreader/
Dproguard.cfg11 -keep public class * extends android.content.BroadcastReceiver
12 -keep public class * extends android.content.ContentProvider
22 public <init>(android.content.Context, android.util.AttributeSet);
26 public <init>(android.content.Context, android.util.AttributeSet, int);
/development/samples/Vault/tests/src/com/example/android/vault/
DEncryptedDocumentTest.java93 final byte[] content = "KITTENS".getBytes(StandardCharsets.UTF_8); in testNormalMetadataAndContents()
94 testMetadataAndContents(content); in testNormalMetadataAndContents()
99 final byte[] content = new byte[1298047]; in testGiantMetadataAndContents()
100 Arrays.fill(content, (byte) 0x42); in testGiantMetadataAndContents()
101 testMetadataAndContents(content); in testGiantMetadataAndContents()
104 private void testMetadataAndContents(byte[] content) throws Exception { in testMetadataAndContents() argument
106 final byte[] beforeContent = content; in testMetadataAndContents()
224 final byte[] content = "KITTENS".getBytes(StandardCharsets.UTF_8); in testErrorAbortsWrite()
231 os.write(content); in testErrorAbortsWrite()
/development/samples/BusinessCard/src/com/example/android/businesscard/
DContactAccessorSdk3_4.java19 import android.content.AsyncQueryHandler;
20 import android.content.ContentResolver;
21 import android.content.Intent;
/development/apps/SdkSetup/src/com/android/sdksetup/
DDefaultActivity.java21 import android.content.ComponentName;
22 import android.content.Context;
23 import android.content.pm.PackageManager;
/development/samples/ApiDemos/src/com/example/android/apis/content/
DResourcesSample.java17 package com.example.android.apis.content;
24 import android.content.Context;
25 import android.content.res.Resources;

12345678910>>...26