HomeSort by relevance Sort by last modified time
    Searched refs:intent (Results 501 - 525 of 4825) sorted by null

<<21222324252627282930>>

  /cts/tests/app/app/src/android/app/stubs/
LaunchpadActivity.java 23 import android.content.Intent;
78 public void activityFinished(int resultCode, Intent data, RuntimeException where);
140 private Intent mData = new Intent().setAction("No result received");
282 final Intent intent = getIntent(); local
283 intent.setFlags(0);
284 intent.setComponent((ComponentName) intent.getParcelableExtra("component"));
285 startActivityForResult(intent, LAUNCHED_RESULT)
288 final Intent intent = getIntent(); local
294 final Intent intent = getIntent(); local
373 final Intent intent = getIntent(); local
378 final Intent intent = getIntent(); local
384 final Intent intent = getIntent(); local
390 final Intent intent = getIntent(); local
484 final Intent intent = new Intent(TestedScreen.WAIT_BEFORE_FINISH); local
489 final Intent intent = new Intent(TestedScreen.WAIT_BEFORE_FINISH); local
507 final Intent intent = new Intent(action, null); local
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
LaunchpadActivity.java 23 import android.content.Intent;
78 public void activityFinished(int resultCode, Intent data, RuntimeException where);
140 private Intent mData = new Intent().setAction("No result received");
282 final Intent intent = getIntent(); local
283 intent.setFlags(0);
284 intent.setComponent((ComponentName) intent.getParcelableExtra("component"));
285 startActivityForResult(intent, LAUNCHED_RESULT)
288 final Intent intent = getIntent(); local
294 final Intent intent = getIntent(); local
373 final Intent intent = getIntent(); local
378 final Intent intent = getIntent(); local
384 final Intent intent = getIntent(); local
390 final Intent intent = getIntent(); local
484 final Intent intent = new Intent(TestedScreen.WAIT_BEFORE_FINISH); local
489 final Intent intent = new Intent(TestedScreen.WAIT_BEFORE_FINISH); local
507 final Intent intent = new Intent(action, null); local
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DocumentsClientTest.java 23 import android.content.Intent;
46 * like {@link Intent#ACTION_OPEN_DOCUMENT}.
128 final Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT); local
129 intent.addCategory(Intent.CATEGORY_OPENABLE);
130 intent.setType("*/*");
131 mActivity.startActivityForResult(intent, REQUEST_CODE)
209 final Intent intent = new Intent(Intent.ACTION_CREATE_DOCUMENT); local
365 final Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT_TREE); local
518 final Intent intent = new Intent(); local
537 final Intent intent = new Intent(); local
555 final Intent intent = new Intent(); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/password/
ChooseLockSettingsHelper.java 24 import android.content.Intent;
76 * @see Activity#onActivityResult(int, int, android.content.Intent)
86 * @param returnCredentials if true, put credentials into intent. Note that if this is true,
89 * @see Activity#onActivityResult(int, int, android.content.Intent)
99 * @param returnCredentials if true, put credentials into intent. Note that if this is true,
103 * @see Activity#onActivityResult(int, int, android.content.Intent)
117 * @param returnCredentials if true, put credentials into intent. Note that if this is true,
123 * @see Activity#onActivityResult(int, int, android.content.Intent)
138 * @param returnCredentials if true, put credentials into intent. Note that if this is true,
145 * @see Activity#onActivityResult(int, int, android.content.Intent)
282 final Intent intent = new Intent(); local
305 copyOptionalExtras(mFragment.getActivity().getIntent(), intent); local
308 copyOptionalExtras(mActivity.getIntent(), intent); local
313 copyInternalExtras(mFragment.getActivity().getIntent(), intent); local
316 copyInternalExtras(mActivity.getIntent(), intent); local
    [all...]
  /cts/tests/tests/voicesettings/service/src/android/voicesettings/service/
MainInteractionSession.java 32 import android.content.Intent;
81 Intent intent; local
84 intent = new Intent(ACTION_VOICE_CONTROL_DO_NOT_DISTURB_MODE);
85 intent.putExtra(EXTRA_DO_NOT_DISTURB_MODE_ENABLED, true);
86 intent.putExtra(EXTRA_DO_NOT_DISTURB_MODE_MINUTES,
90 intent = new Intent(ACTION_VOICE_CONTROL_DO_NOT_DISTURB_MODE);
91 intent.putExtra(EXTRA_DO_NOT_DISTURB_MODE_ENABLED, false)
    [all...]
  /packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
PhonePolicyTest.java 28 import android.content.Intent;
113 Intent intent = new Intent(BluetoothDevice.ACTION_UUID); local
114 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
118 intent.putExtra(BluetoothDevice.EXTRA_UUID, uuids);
119 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent);
152 Intent intent = new Intent(BluetoothAdapter.ACTION_STATE_CHANGED) local
190 Intent intent = new Intent(BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED); local
293 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); local
355 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); local
461 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); local
563 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); local
619 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); local
673 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); local
699 Intent intent = new Intent(BluetoothDevice.ACTION_UUID); local
    [all...]
  /packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertServiceTest.java 26 import android.content.Intent;
99 Intent intent = new Intent(mContext, CellBroadcastAlertService.class); local
100 intent.setAction(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION);
103 sendMessage(m, intent);
106 private void sendMessage(SmsCbMessage m, Intent intent) {
107 intent.putExtra("message", m);
108 startService(intent);
127 Intent intent = new Intent(mContext, CellBroadcastAlertService.class); local
167 Intent intent = new Intent(mContext, CellBroadcastAlertService.class); local
187 Intent intent = new Intent(mContext, CellBroadcastAlertService.class); local
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/components/
UserCallIntentProcessor.java 21 import android.content.Intent;
71 * @param intent The intent.
77 * and we can skip the re-broadcast of the intent to Telecom.
78 * When {@code false}, we need to re-broadcast the intent to Telcom
82 public void processIntent(Intent intent, String callingPackageName,
89 String action = intent.getAction();
91 if (Intent.ACTION_CALL.equals(action) ||
92 Intent.ACTION_CALL_PRIVILEGED.equals(action) |
218 final Intent intent = new Intent(context, ErrorDialogActivity.class); local
    [all...]
  /packages/services/Telephony/src/com/android/phone/settings/fdn/
FdnList.java 21 import android.content.Intent;
129 Intent intent = getIntent(); local
130 intent.setData(getContentUri(mSubscriptionInfoHelper));
131 return intent.getData();
168 Intent intent = mSubscriptionInfoHelper.getIntent(FdnSetting.class); local
169 intent.setAction(Intent.ACTION_MAIN);
170 intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)
203 Intent intent = mSubscriptionInfoHelper.getIntent(EditFdnContactScreen.class); local
225 Intent intent = mSubscriptionInfoHelper.getIntent(EditFdnContactScreen.class); local
241 Intent intent = mSubscriptionInfoHelper.getIntent(DeleteFdnContactScreen.class); local
257 final Intent intent = new Intent(Intent.ACTION_CALL_PRIVILEGED, uri); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleAdvertiserHardwareScanFilterActivity.java 26 import android.content.Intent;
48 Intent intent = new Intent(BleAdvertiserHardwareScanFilterActivity.this,
50 intent.putExtra(BleAdvertiserService.EXTRA_COMMAND,
52 startService(intent);
66 Intent intent = new Intent(BleAdvertiserHardwareScanFilterActivity.this,
68 intent.putExtra(BleAdvertiserService.EXTRA_COMMAND
115 Intent intent = new Intent(BleAdvertiserHardwareScanFilterActivity.this, local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/
WidgetCtsService.java 20 import android.content.Intent;
34 public RemoteViewsFactory onGetViewFactory(Intent intent) {
35 return new CtsRemoteViewsFactory(this.getApplicationContext(), intent);
46 public CtsRemoteViewsFactory(Context context, Intent intent) {
  /cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
VpnClient.java 20 import android.content.Intent;
44 protected void onActivityResult(int request, int result, Intent data) {
46 startService(new Intent(this, ReflectorVpnService.class));
54 Intent intent = VpnService.prepare(VpnClient.this); local
55 if (intent != null) {
56 startActivityForResult(intent, requestCode);
  /cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
NormalService.java 20 import android.content.Intent;
30 public IBinder onBind(Intent intent) {
35 public int onStartCommand(Intent intent, int flags, int startId) {
54 return super.onStartCommand(intent, flags, startId);
  /cts/hostsidetests/appsecurity/test-apps/NoRestartApp/src/com/android/cts/norestart/
NoRestartActivity.java 19 import android.content.Intent;
40 protected void onNewIntent(Intent intent) {
41 super.onNewIntent(intent);
43 final RemoteCallback callback = intent.getParcelableExtra("RESPONSE");
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
SetPolicyActivity.java 21 import android.content.Intent;
57 // Overriding this method in case another intent is sent to this activity before finish()
59 public void onNewIntent(Intent intent) {
60 super.onNewIntent(intent);
61 handleIntent(intent);
72 private void handleIntent(Intent intent) {
75 String command = intent.getStringExtra(EXTRA_COMMAND);
79 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY)
    [all...]
  /cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
SimpleActivity.java 20 import android.content.Intent;
46 Intent reply = new Intent();
52 protected void onNewIntent(Intent intent) {
53 super.onNewIntent(intent);
54 if (intent.getExtras().getBoolean("finish")) {
SimpleActivityChainExit.java 20 import android.content.Intent;
50 Intent intent = new Intent(Intent.ACTION_MAIN); local
51 intent.setClassName(SIMPLE_PACKAGE_NAME,
53 startActivityForResult(intent, 0);
76 Intent reply = new Intent();
  /cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
BatteryStatsBackgroundService.java 24 import android.content.Intent;
36 public void onHandleIntent(Intent intent) {
37 String action = intent.getStringExtra(KEY_ACTION);
38 String requestCode = intent.getStringExtra(KEY_REQUEST_CODE);
  /cts/tests/framework/base/activitymanager/app/src/android/server/am/
AssistantVoiceInteractionService.java 21 import android.content.Intent;
39 public int onStartCommand(Intent intent, int flags, int startId) {
47 Bundle extras = intent.getExtras() != null ? intent.getExtras() : new Bundle();
58 Intent i = new Intent(context, AssistantVoiceInteractionService.class);
  /developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
MainActivity.java 20 import android.content.Intent;
37 Intent intent = new Intent(getApplicationContext(), RecipeActivity.class); local
38 intent.putExtra(Constants.RECIPE_NAME_TO_LOAD, itemName);
39 startActivity(intent);
  /developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
MainActivity.java 20 import android.content.Intent;
37 Intent intent = new Intent(getApplicationContext(), RecipeActivity.class); local
38 intent.putExtra(Constants.RECIPE_NAME_TO_LOAD, itemName);
39 startActivity(intent);
  /development/apps/BluetoothDebug/src/com/android/bluetoothdebug/
DebugReceiver.java 27 import android.content.Intent;
46 public void onReceive(Context context, Intent intent) {
47 Log.d(TAG, shorten(intent.getAction()));
49 Bundle bundle = intent.getExtras();
  /development/samples/ApiDemos/src/com/example/android/apis/app/
Forwarding.java 24 import android.content.Intent;
78 Intent intent = new Intent();
79 intent.setClass(Forwarding.this, ForwardTarget.class);
80 startActivity(intent);
ReorderFour.java 22 import android.content.Intent;
41 Intent intent = new Intent(ReorderFour.this, ReorderTwo.class);
42 intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
43 startActivity(intent);
  /development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
MainActivity.java 20 import android.content.Intent;
37 Intent intent = new Intent(getApplicationContext(), RecipeActivity.class); local
38 intent.putExtra(Constants.RECIPE_NAME_TO_LOAD, itemName);
39 startActivity(intent);

Completed in 496 milliseconds

<<21222324252627282930>>