Searched refs:startIntent (Results 1 – 8 of 8) sorted by relevance
/development/samples/ApiDemos/tests/src/com/example/android/apis/app/ |
D | LocalServiceTest.java | 65 Intent startIntent = new Intent(); in testStartable() local 66 startIntent.setClass(getContext(), LocalService.class); in testStartable() 67 startService(startIntent); in testStartable() 75 Intent startIntent = new Intent(); in testBindable() local 76 startIntent.setClass(getContext(), LocalService.class); in testBindable() 77 IBinder service = bindService(startIntent); in testBindable()
|
/development/samples/browseable/DelayedConfirmation/Wearable/src/com.example.android.wearable.delayedconfirmation/ |
D | WearableMessageListenerService.java | 34 Intent startIntent = new Intent(this, MainActivity.class); in onMessageReceived() local 35 startIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onMessageReceived() 36 startActivity(startIntent); in onMessageReceived()
|
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/ |
D | IncomingRequestPhoneService.java | 85 Intent startIntent = new Intent(this, PhonePermissionRequestActivity.class); in promptUserForStoragePermission() local 86 startIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in promptUserForStoragePermission() 92 startIntent.putExtra(MainPhoneActivity.EXTRA_PROMPT_PERMISSION_FROM_WEAR, true); in promptUserForStoragePermission() 93 startActivity(startIntent); in promptUserForStoragePermission()
|
D | MainPhoneActivity.java | 141 Intent startIntent = new Intent(this, PhonePermissionRequestActivity.class); in onClickPhoneStorage() local 142 startActivity(startIntent); in onClickPhoneStorage()
|
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/ |
D | DataLayerListenerService.java | 93 Intent startIntent = new Intent(this, MainActivity.class); in onMessageReceived() local 94 startIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onMessageReceived() 95 startActivity(startIntent); in onMessageReceived()
|
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/ |
D | IncomingRequestWearService.java | 96 Intent startIntent = new Intent(this, MainWearActivity.class); in promptUserForSensorPermission() local 97 startIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in promptUserForSensorPermission() 98 startIntent.putExtra(MainWearActivity.EXTRA_PROMPT_PERMISSION_FROM_PHONE, true); in promptUserForSensorPermission() 99 startActivity(startIntent); in promptUserForSensorPermission()
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
D | MyRssReader5.java | 202 Intent startIntent = new Intent(RssService.class); in onActivityResult() local 203 startIntent.putExtras(startupVals); in onActivityResult() 204 startService(startIntent); in onActivityResult()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | MusicService.java | 185 public int onStartCommand(Intent startIntent, int flags, int startId) { in onStartCommand() argument 186 if (startIntent != null) { in onStartCommand() 187 String action = startIntent.getAction(); in onStartCommand() 188 String command = startIntent.getStringExtra(CMD_NAME); in onStartCommand()
|