Home
last modified time | relevance | path

Searched refs:getServiceIntent (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/
DAdvertiserFragment.java139 private static Intent getServiceIntent(Context c) { in getServiceIntent() method in AdvertiserFragment
163 c.startService(getServiceIntent(c)); in startAdvertising()
171 c.stopService(getServiceIntent(c)); in stopAdvertising()
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnClient.java116 startService(getServiceIntent().setAction(ToyVpnService.ACTION_DISCONNECT)); in onCreate()
143 startService(getServiceIntent().setAction(ToyVpnService.ACTION_CONNECT)); in onActivityResult()
147 private Intent getServiceIntent() { in getServiceIntent() method in ToyVpnClient