/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
H A D | DialogSmsDisplay.java | 23 import android.content.Context; 68 (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);
|
H A D | SmsMessageReceiver.java | 23 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 D | DialogSmsDisplayTests.java | 25 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 D | BluetoothMapEmailProvider.java | 22 import android.content.Context; 87 public void attachInfo(Context context, ProviderInfo info) {
|
H A D | BluetoothMapIMProvider.java | 21 import android.content.Context; 65 public void attachInfo(Context context, ProviderInfo info) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
H A D | Utils.java | 23 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 D | A2dpCodecConfig.java | 21 import android.content.Context; 34 private Context mContext; 44 A2dpCodecConfig(Context context, A2dpNativeInterface a2dpNativeInterface) {
|
H A D | A2dpService.java | 28 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 D | A2dpSinkStateMachine.java | 37 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 D | A2dpSinkStreamHandler.java | 20 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 D | A2dpMediaBrowserService.java | 23 import android.content.Context; 330 public void onReceive(Context context, Intent intent) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
H A D | Avrcp.java | 25 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 D | BrowsedMediaPlayer.java | 21 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 D | MediaBrowser.java | 20 import android.content.Context; 46 public MediaBrowser(Context context, ComponentName serviceComponent, 160 public void testInit(Context context, ComponentName serviceComponent,
|
H A D | MediaBrowserFactory.java | 20 import android.content.Context; 39 static MediaBrowser make(Context context, ComponentName serviceComponent,
|
H A D | MediaController.java | 22 import android.content.Context; 53 public MediaController(Context context, MediaSession.Token token) {
|
H A D | MediaControllerFactory.java | 19 import android.content.Context; 38 static MediaController make(Context context, MediaSession.Token token) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
H A D | AvrcpControllerStateMachine.java | 24 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 D | ActiveDeviceManager.java | 26 import android.content.Context; 130 public void onReceive(Context context, Intent intent) { 370 mAudioManager = (AudioManager) service.getSystemService(Context.AUDIO_SERVICE);
|
H A D | AdapterProperties.java | 37 import android.content.Context; 116 public void onReceive(Context context, Intent intent) {
|
H A D | AdapterService.java | 34 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 D | Config.java | 21 import android.content.Context; 108 static void init(Context ctx) { 150 private static boolean isProfileDisabled(Context context, long profileMask) {
|
H A D | PhonePolicy.java | 26 import android.content.Context; 96 public void onReceive(Context context, Intent intent) {
|
H A D | ProfileObserver.java | 5 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 D | ProfileService.java | 24 import android.content.Context; 238 public void onReceive(Context context, Intent intent) {
|