Searched refs:Context (Results 1 - 25 of 6121) sorted by path

1234567891011>>

/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
H A DDialogSmsDisplay.java23 import android.content.Context;
68 (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);
H A DSmsMessageReceiver.java23 import android.content.Context;
34 public void onReceive(Context context, Intent intent) {
53 private void addNotification(Context context, String fromAddress, String message) {
68 (NotificationManager)context.getSystemService(Context.NOTIFICATION_SERVICE);
73 private PendingIntent createDisplayMessageIntent(Context context, String fromAddress,
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/
H A DDialogSmsDisplayTests.java25 import android.content.Context;
78 .getSystemService(Context.TELEPHONY_SERVICE));
91 public void onReceive(Context context, Intent intent) {
121 public void onReceive(Context context, Intent intent) {
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
H A DBluetoothMapEmailProvider.java22 import android.content.Context;
87 public void attachInfo(Context context, ProviderInfo info) {
H A DBluetoothMapIMProvider.java21 import android.content.Context;
65 public void attachInfo(Context context, ProviderInfo info) {
/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DUtils.java23 import android.content.Context;
242 public static boolean checkCallerAllowManagedProfiles(Context mContext) {
252 UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE);
272 * @param context Context for the permission check.
283 public static boolean checkCallerHasLocationPermission(Context context, AppOpsManager appOps,
319 public static boolean checkCallerHasPeersMacAddressPermission(Context context) {
324 public static boolean isLegacyForegroundApp(Context context, String pkgName) {
328 private static boolean isMApp(Context context, String pkgName) {
343 private static boolean isForegroundApp(Context context, String pkgName) {
344 ActivityManager am = (ActivityManager) context.getSystemService(Context
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpCodecConfig.java21 import android.content.Context;
34 private Context mContext;
44 A2dpCodecConfig(Context context, A2dpNativeInterface a2dpNativeInterface) {
H A DA2dpService.java28 import android.content.Context;
113 mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
862 public void onReceive(Context context, Intent intent) {
993 public void onReceive(Context context, Intent intent) {
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
H A DA2dpSinkStateMachine.java37 import android.content.Context;
91 private Context mContext;
134 private A2dpSinkStateMachine(A2dpSinkService svc, Context context) {
152 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE);
157 static A2dpSinkStateMachine make(A2dpSinkService svc, Context context) {
H A DA2dpSinkStreamHandler.java20 import android.content.Context;
80 private Context mContext;
100 public A2dpSinkStreamHandler(A2dpSinkStateMachine a2dpSinkSm, Context context) {
103 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/mbs/
H A DA2dpMediaBrowserService.java23 import android.content.Context;
330 public void onReceive(Context context, Intent intent) {
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
H A DAvrcp.java25 import android.content.Context;
76 private Context mContext;
243 private Avrcp(Context context) {
281 (MediaSessionManager) context.getSystemService(Context.MEDIA_SESSION_SERVICE);
282 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
356 public static Avrcp make(Context context) {
1536 mContext.getSharedPreferences(ABSOLUTE_VOLUME_BLACKLIST, Context.MODE_PRIVATE);
1551 mContext.getSharedPreferences(ABSOLUTE_VOLUME_BLACKLIST, Context.MODE_PRIVATE);
1560 mContext.getSharedPreferences(ABSOLUTE_VOLUME_BLACKLIST, Context.MODE_PRIVATE);
1582 public void onReceive(Context contex
[all...]
H A DBrowsedMediaPlayer.java21 import android.content.Context;
57 private Context mContext;
273 BrowsedMediaPlayer(byte[] address, Context context,
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
H A DMediaBrowser.java20 import android.content.Context;
46 public MediaBrowser(Context context, ComponentName serviceComponent,
160 public void testInit(Context context, ComponentName serviceComponent,
H A DMediaBrowserFactory.java20 import android.content.Context;
39 static MediaBrowser make(Context context, ComponentName serviceComponent,
H A DMediaController.java22 import android.content.Context;
53 public MediaController(Context context, MediaSession.Token token) {
H A DMediaControllerFactory.java19 import android.content.Context;
38 static MediaController make(Context context, MediaSession.Token token) {
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
H A DAvrcpControllerStateMachine.java24 import android.content.Context;
115 private final Context mContext;
146 AvrcpControllerStateMachine(Context context) {
150 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE);
1213 public void onReceive(Context context, Intent intent) {
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DActiveDeviceManager.java26 import android.content.Context;
130 public void onReceive(Context context, Intent intent) {
370 mAudioManager = (AudioManager) service.getSystemService(Context.AUDIO_SERVICE);
H A DAdapterProperties.java37 import android.content.Context;
116 public void onReceive(Context context, Intent intent) {
H A DAdapterService.java34 import android.content.Context;
386 mAlarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);
387 mPowerManager = (PowerManager) getSystemService(Context.POWER_SERVICE);
388 mUserManager = (UserManager) getSystemService(Context.USER_SERVICE);
419 Context.MODE_PRIVATE);
421 Context.MODE_PRIVATE);
422 getSharedPreferences(SIM_ACCESS_PERMISSION_PREFERENCE_FILE, Context.MODE_PRIVATE);
472 public void onReceive(Context context, Intent intent) {
2012 Context.MODE_PRIVATE);
2024 Context
[all...]
H A DConfig.java21 import android.content.Context;
108 static void init(Context ctx) {
150 private static boolean isProfileDisabled(Context context, long profileMask) {
H A DPhonePolicy.java26 import android.content.Context;
96 public void onReceive(Context context, Intent intent) {
H A DProfileObserver.java5 import android.content.Context;
17 private Context mContext;
21 public ProfileObserver(Context context, AdapterService service, Handler handler) {
62 public void onReceive(Context context, Intent intent) {
H A DProfileService.java24 import android.content.Context;
238 public void onReceive(Context context, Intent intent) {

Completed in 214 milliseconds

1234567891011>>