Home
last modified time | relevance | path

Searched refs:startIntent (Results 1 – 16 of 16) sorted by relevance

/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DIntentUtils.java41 Intent startIntent = ActivityStarterActivity.createStartIntent(context, intent, options); in startExternalActivity() local
42 context.startActivity(startIntent); in startExternalActivity()
52 Intent startIntent = ActivityStarterActivity.createStartIntent(activity, intent, options); in startExternalActivityForResult() local
53 activity.startActivityForResult(startIntent, requestCode); in startExternalActivityForResult()
64 Intent startIntent = ActivityStarterActivity.createStartIntent(context, intent, options); in startExternalActivityForResult() local
65 fragment.startActivityForResult(startIntent, requestCode); in startExternalActivityForResult()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DActivityStarterActivity.java64 Intent startIntent = getExtraIntent(intent); in onCreate() local
65 if (startIntent != null) { in onCreate()
68 startActivityForResult(startIntent, REQUEST_CODE, options); in onCreate()
71 Clog.w(TAG, "Failed to find activity for intent " + startIntent, e); in onCreate()
76 Clog.w(TAG, "No permission to launch intent " + startIntent, e); in onCreate()
/packages/apps/Settings/src/com/android/settings/
DSetupEncryptionInterstitial.java33 Intent startIntent = EncryptionInterstitial.createStartIntent(ctx, quality, in createStartIntent() local
35 startIntent.setClass(ctx, SetupEncryptionInterstitial.class); in createStartIntent()
36 startIntent.putExtra(EXTRA_PREFS_SHOW_BUTTON_BAR, false) in createStartIntent()
38 return startIntent; in createStartIntent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSetupEncryptionInterstitial.java35 Intent startIntent = EncryptionInterstitial.createStartIntent(ctx, quality, in createStartIntent() local
37 startIntent.setClass(ctx, SetupEncryptionInterstitial.class); in createStartIntent()
38 startIntent.putExtra(EXTRA_PREFS_SHOW_BUTTON_BAR, false) in createStartIntent()
40 return startIntent; in createStartIntent()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DProfileServiceTest.java57 Intent startIntent = new Intent(InstrumentationRegistry.getTargetContext(), profile); in setProfileState() local
58 startIntent.putExtra(AdapterService.EXTRA_ACTION, in setProfileState()
60 startIntent.putExtra(BluetoothAdapter.EXTRA_STATE, state); in setProfileState()
61 mServiceTestRule.startService(startIntent); in setProfileState()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java141 Intent startIntent = in startService() local
143 startIntent.putExtra(AdapterService.EXTRA_ACTION, in startService()
145 startIntent.putExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.STATE_ON); in startService()
146 serviceTestRule.startService(startIntent); in startService()
/packages/apps/Car/Messenger/src/com/android/car/messenger/
DMmsReceiver.java29 Intent startIntent = new Intent(context, MessengerService.class) in onReceive() local
31 context.startForegroundService(startIntent); in onReceive()
DSmsReceiver.java30 Intent startIntent = new Intent(context, MessengerService.class) in onReceive() local
32 context.startForegroundService(startIntent); in onReceive()
/packages/services/Car/service/src/com/android/car/
DPerUserCarServiceHelper.java171 Intent startIntent = new Intent(mContext, PerUserCarService.class); in bindToPerUserCarService() local
174 boolean bindSuccess = mContext.bindServiceAsUser(startIntent, mUserServiceConnection, in bindToPerUserCarService()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DAbstractLauncherUiTest.java348 startIntent( in startAppFast()
361 startIntent(intent, By.pkg(packageName).text("TestActivity" + activityNumber), in startTestActivity()
365 private void startIntent(Intent intent, BySelector selector, boolean newTask) { in startIntent() method in AbstractLauncherUiTest
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DAssistantTest.java106 Intent startIntent = in setUp() local
108 startIntent.setPackage("android.ext.services"); in setUp()
121 bindService(startIntent); in setUp()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkActivity.java138 final Intent startIntent = getIntent(); in onCreate() local
139 validate(startIntent); in onCreate()
/packages/apps/Music/kotlin/src/com/android/music/
DMediaPlaybackService.kt56 override fun onStartCommand(startIntent: Intent?, flags: Int, startId: Int): Int { in onStartCommand()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackService.java63 public int onStartCommand(Intent startIntent, int flags, int startId) { in onStartCommand() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerService.java140 Intent startIntent = new Intent(this, BluetoothMediaBrowserService.class); in start() local
141 startService(startIntent); in start()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java108 Intent startIntent = new Intent(this, HfpClientConnectionService.class); in start() local
109 startService(startIntent); in start()