Home
last modified time | relevance | path

Searched refs:getService (Results 1 – 25 of 42) sorted by relevance

12

/development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/
DFindPhoneActivity.java43 PendingIntent toggleAlarmIntent = PendingIntent.getService(this, 0, toggleAlarmOperation, in onCreate()
49 PendingIntent cancelAlarmIntent = PendingIntent.getService(this, 0, cancelAlarmOperation, in onCreate()
/development/samples/Alarm/tests/src/com/example/android/newalarm/
DAlarmServiceTest.java74 mService = this.getService(); in testServiceCreate()
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/
DTimerNotificationService.java78 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, in deleteTimer()
101 .getService(this, 0, restartIntent, PendingIntent.FLAG_UPDATE_CURRENT); in showTimerDoneNotification()
DSetTimerActivity.java115 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, in registerWithAlarmManager()
137 .getService(this, 0, restartIntent, PendingIntent.FLAG_UPDATE_CURRENT); in buildNotification()
143 .getService(this, 0, deleteIntent, PendingIntent.FLAG_UPDATE_CURRENT); in buildNotification()
/development/apps/Development/src/com/android/development/
DBadBehaviorActivity.java85 ActivityManager.getService().setActivityController(null, false); in activityStarting()
164 IBinder b = ServiceManager.getService(POWER_SERVICE); in onCreate()
244 ActivityManager.getService().setActivityController( in onCreate()
259 ActivityManager.getService().setActivityController( in onCreate()
/development/apps/CustomLocale/src/com/android/customlocale2/
DChangeLocale.java48 IActivityManager am = ActivityManager.getService(); in changeSystemLocale()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmUtil.java53 .getService(mContext, alarm.id, intent, PendingIntent.FLAG_UPDATE_CURRENT); in scheduleAlarm()
78 .getService(mContext, alarm.id, intent, PendingIntent.FLAG_UPDATE_CURRENT); in cancelAlarm()
/development/samples/training/notify-user/src/com/example/android/pingme/
DPingService.java77 PendingIntent piDismiss = PendingIntent.getService(this, 0, dismissIntent, 0); in issueNotification()
81 PendingIntent piSnooze = PendingIntent.getService(this, 0, snoozeIntent, 0); in issueNotification()
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/handlers/
DBigTextIntentService.java161 PendingIntent snoozePendingIntent = PendingIntent.getService(this, 0, snoozeIntent, 0); in recreateBuilderWithBigTextStyle()
174 PendingIntent dismissPendingIntent = PendingIntent.getService(this, 0, dismissIntent, 0); in recreateBuilderWithBigTextStyle()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyPermissionUtil.java79 mPm = IPackageManager.Stub.asInterface(ServiceManager.getService("package")); in MonkeyPermissionUtil()
81 IPermissionManager.Stub.asInterface(ServiceManager.getService("permissionmgr")); in MonkeyPermissionUtil()
DMonkeyActivityEvent.java96 ServiceManager.getService("package")); in getPackageName()
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/handlers/
DBigTextIntentService.java161 PendingIntent snoozePendingIntent = PendingIntent.getService(this, 0, snoozeIntent, 0); in recreateBuilderWithBigTextStyle()
173 PendingIntent dismissPendingIntent = PendingIntent.getService(this, 0, dismissIntent, 0); in recreateBuilderWithBigTextStyle()
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
DHomeListenerService.java125 PendingIntent checkInIntent = PendingIntent.getService(this, 0, in postNotificationForGeofenceId()
127 PendingIntent deleteDataItemIntent = PendingIntent.getService(this, 1, in postNotificationForGeofenceId()
/development/samples/Alarm/src/com/example/android/newalarm/
DAlarmActivity.java63 mAlarmSender = PendingIntent.getService( // set up an intent for a call to a service in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLocalService.java59 LocalService getService() { in getService() method in LocalService.LocalBinder
DAlarmService.java49 mAlarmSender = PendingIntent.getService(AlarmService.this, in onCreate()
DNotificationBackgroundService.java73 PendingIntent contentIntent = PendingIntent.getService(this, 0, in showNotification()
DLocalServiceActivities.java109 mBoundService = ((LocalService.LocalBinder)service).getService();
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DQuizListenerService.java110 PendingIntent deleteIntent = PendingIntent.getService(this, 0, in onDataChanged()
140 PendingIntent updateIntent = PendingIntent.getService(this, 0, updateOperation, in onDataChanged()
214 return PendingIntent.getService(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT); in getResetQuizPendingIntent()
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/
DStandaloneMainActivity.java231 PendingIntent snoozePendingIntent = PendingIntent.getService(this, 0, snoozeIntent, 0); in generateBigTextStyleNotification()
243 PendingIntent dismissPendingIntent = PendingIntent.getService(this, 0, dismissIntent, 0); in generateBigTextStyleNotification()
390 PendingIntent replyActionPendingIntent = PendingIntent.getService(this, 0, replyIntent, 0); in generateBigPictureStyleNotification()
645 PendingIntent replyActionPendingIntent = PendingIntent.getService(this, 0, replyIntent, 0); in generateMessagingStyleNotification()
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/
DHomeListenerService.java129 PendingIntent deleteIntent = PendingIntent.getService(this, 0, deleteOperation, in updateNotificationForDataItem()
131 PendingIntent silentDeleteIntent = PendingIntent.getService(this, 1, in updateNotificationForDataItem()
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/
DMainActivity.java253 PendingIntent snoozePendingIntent = PendingIntent.getService(this, 0, snoozeIntent, 0); in generateBigTextStyleNotification()
266 PendingIntent dismissPendingIntent = PendingIntent.getService(this, 0, dismissIntent, 0); in generateBigTextStyleNotification()
421 replyActionPendingIntent = PendingIntent.getService(this, 0, intent, 0); in generateBigPictureStyleNotification()
737 replyActionPendingIntent = PendingIntent.getService(this, 0, intent, 0); in generateMessagingStyleNotification()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/provider/
DRandomNumberProviderService.java63 PendingIntent pendingIntent = PendingIntent.getService( in onComplicationUpdate()
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DRecipeService.java36 RecipeService getService() { in getService() method in RecipeService.LocalBinder
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
DListenerService.java106 PendingIntent deletePendingIntent = PendingIntent.getService( in showNotification()

12