Searched defs:context (Results 76 - 100 of 1195) sorted by path

1234567891011>>

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHeadset.java259 /*package*/ BluetoothHeadset(Context context, ServiceListener l) { argument
260 mContext = context;
273 if (!context.bindService(new Intent(IBluetoothHeadset.class.getName()), mConnection, 0)) {
617 public static boolean isBluetoothVoiceDialingEnabled(Context context) { argument
618 return context.getResources().getBoolean(
H A DBluetoothHealth.java473 /*package*/ BluetoothHealth(Context context, ServiceListener l) { argument
474 mContext = context;
486 if (!context.bindService(new Intent(IBluetoothHealth.class.getName()), mConnection, 0)) {
H A DBluetoothInputDevice.java226 /*package*/ BluetoothInputDevice(Context context, ServiceListener l) { argument
227 mContext = context;
240 if (!context.bindService(new Intent(IBluetoothInputDevice.class.getName()),
H A DBluetoothPan.java131 /*package*/ BluetoothPan(Context context, ServiceListener l) { argument
132 mContext = context;
141 if (!context.bindService(new Intent(IBluetoothPan.class.getName()),
H A DBluetoothPbap.java149 public BluetoothPbap(Context context, ServiceListener l) { argument
150 mContext = context;
161 if (!context.bindService(new Intent(IBluetoothPbap.class.getName()), mConnection, 0)) {
H A DBluetoothTetheringDataTracker.java103 public void startMonitoring(Context context, Handler target) { argument
105 mContext = context;
/frameworks/base/core/java/android/content/
H A DAbstractThreadedSyncAdapter.java105 * @param context the {@link android.content.Context} that this is running within.
112 public AbstractThreadedSyncAdapter(Context context, boolean autoInitialize) { argument
113 this(context, autoInitialize, false /* allowParallelSyncs */);
118 * @param context the {@link android.content.Context} that this is running within.
128 public AbstractThreadedSyncAdapter(Context context, argument
130 mContext = context;
H A DAsyncTaskLoader.java133 public AsyncTaskLoader(Context context) { argument
134 super(context);
H A DBroadcastReceiver.java485 * @param context The Context in which the receiver is running.
488 public abstract void onReceive(Context context, Intent intent); argument
H A DClipData.java114 * object that any recipient can interpret best for their context. If the clip
306 * @param context The caller's Context, from which its ContentResolver
311 public CharSequence coerceToText(Context context) { argument
328 AssetFileDescriptor descr = context.getContentResolver()
381 * @param context The caller's Context, from which its ContentResolver
385 public CharSequence coerceToStyledText(Context context) { argument
405 return coerceToHtmlOrStyledText(context, true);
431 * @param context The caller's Context, from which its ContentResolver
435 public String coerceToHtmlText(Context context) { argument
451 text = coerceToHtmlOrStyledText(context, fals
455 coerceToHtmlOrStyledText(Context context, boolean styled) argument
[all...]
H A DClipboardManager.java109 public ClipboardManager(Context context, Handler handler) { argument
110 mContext = context;
H A DContentProvider.java127 * @param context A Context object which should be some mock instance (like the
138 Context context,
142 mContext = context;
277 final Context context = getContext();
289 if (context.checkPermission(componentPerm, pid, uid) == PERMISSION_GRANTED) {
306 if (context.checkPermission(pathPerm, pid, uid) == PERMISSION_GRANTED) {
324 if (context.checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_READ_URI_PERMISSION)
338 final Context context = getContext();
350 if (context.checkPermission(componentPerm, pid, uid) == PERMISSION_GRANTED) {
367 if (context
137 ContentProvider( Context context, String readPermission, String writePermission, PathPermission[] pathPermissions) argument
1038 attachInfo(Context context, ProviderInfo info) argument
[all...]
H A DContentResolver.java185 public ContentResolver(Context context) { argument
186 mContext = context;
H A DContentService.java71 // This makes it so that future permission checks will be in the context of this
134 /*package*/ ContentService(Context context, boolean factoryTest) { argument
135 mContext = context;
229 // This makes it so that future permission checks will be in the context of this
304 // This makes it so that future permission checks will be in the context of this
327 // This makes it so that future permission checks will be in the context of this
346 // This makes it so that future permission checks will be in the context of this
594 public static ContentService main(Context context, boolean factoryTest) { argument
595 ContentService service = new ContentService(context, factoryTest);
H A DCursorLoader.java126 public CursorLoader(Context context) { argument
127 super(context);
137 public CursorLoader(Context context, Uri uri, String[] projection, String selection, argument
139 super(context);
H A DIntent.java733 * Creates a new ShortcutIconResource for the specified context and resource
736 * @param context The context of the application.
738 * @return A new ShortcutIconResource with the specified's context package name
741 public static ShortcutIconResource fromContext(Context context, int resourceId) { argument
743 icon.packageName = context.getPackageName();
744 icon.resourceName = context.getResources().getResourceName(resourceId);
4006 public String resolveType(Context context) { argument
4007 return resolveType(context.getContentResolver());
5997 * <code>setClassName(context, cl
[all...]
H A DIntentSender.java140 * @param context The Context of the caller. This may be null if
156 public void sendIntent(Context context, int code, Intent intent, argument
158 sendIntent(context, code, intent, onFinished, handler, null);
166 * @param context The Context of the caller. This may be null if
187 public void sendIntent(Context context, int code, Intent intent, argument
192 intent.resolveTypeIfNeeded(context.getContentResolver())
H A DLoader.java121 * Stores away the application context associated with context.
123 * store the context directly; always use {@link #getContext()} to retrieve
128 * @param context used to retrieve the application context.
130 public Loader(Context context) { argument
131 mContext = context.getApplicationContext();
160 * @return an application context retrieved from the Context passed to the constructor.
H A DSearchRecentSuggestionsProvider.java131 public DatabaseHelper(Context context, int newVersion) { argument
132 super(context, sDatabaseName, null, newVersion);
H A DSyncAdaptersCache.java42 SyncAdaptersCache(Context context) { argument
43 super(context, SERVICE_INTERFACE, SERVICE_META_DATA, ATTRIBUTES_NAME, sSerializer);
H A DSyncManager.java176 public void onReceive(Context context, Intent intent) {
196 public void onReceive(Context context, Intent intent) {
202 public void onReceive(Context context, Intent intent) {
212 public void onReceive(Context context, Intent intent) {
279 public void onReceive(Context context, Intent intent) {
304 public void onReceive(Context context, Intent intent) {
312 public void onReceive(Context context, Intent intent) {
346 public SyncManager(Context context, boolean factoryTest) { argument
349 mContext = context;
351 SyncStorageEngine.init(context);
715 onReceive(Context context, Intent intent) argument
[all...]
H A DSyncStorageEngine.java346 private SyncStorageEngine(Context context, File dataDir) { argument
347 mContext = context;
374 public static SyncStorageEngine newTestInstance(Context context) { argument
375 return new SyncStorageEngine(context, context.getFilesDir());
378 public static void init(Context context) { argument
385 sSyncStorageEngine = new SyncStorageEngine(context, dataDir);
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCache.java113 public RegisteredServicesCache(Context context, String interfaceName, String metaDataName, argument
115 mContext = context;
145 public void onReceive(Context context, Intent intent) {
155 public void onReceive(Context context, Intent intent) {
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java1326 * @param context the context to use to create the db
1334 Context context, String dbName, int dbVersion, String sqlStatements) {
1335 SQLiteDatabase db = context.openOrCreateDatabase(dbName, 0, null);
1333 createDbFromSqlStatements( Context context, String dbName, int dbVersion, String sqlStatements) argument
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteOpenHelper.java70 * @param context to use to open or create the database
77 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version) { argument
78 this(context, name, factory, version, null);
89 * @param context to use to open or create the database
98 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version, argument
102 mContext = context;

Completed in 172 milliseconds

1234567891011>>