HomeSort by relevance Sort by last modified time
    Searched refs:intent (Results 1526 - 1550 of 4230) sorted by null

<<61626364656667686970>>

  /cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/
DeviceEvent.java 29 import android.content.Intent;
70 * Builder to create an intent to send a device event.
71 * The built intent that has event {@code sender}, {@code type}, {@code paramsString}, time from
101 public Intent build() {
102 Intent intent = new Intent() local
112 return intent;
147 * Create an {@link DeviceEvent} object from an intent.
148 * @param intent a device event intent defined at {@link DeviceEventConstants}
    [all...]
  /cts/tests/tests/app.usage/src/android/app/usage/cts/
ActivityTransitionActivity.java 21 import android.content.Intent;
100 Intent intent = getIntent(); local
101 mLayoutId = intent.getIntExtra(LAYOUT_ID, R.layout.start);
102 mTest = intent.getIntExtra(TEST, 0);
103 mResultReceiver = intent.getParcelableExtra(RESULT_RECEIVER);
104 mPauseOnRestart = intent.getBooleanExtra(PAUSE_ON_RESTART, false);
105 mQuickFinish = intent.getBooleanExtra(QUICK_FINISH, false);
106 mAllowOverlap = intent.getBooleanExtra(ALLOW_OVERLAP, true);
107 mNoReturnTransition = intent.getBooleanExtra(NO_RETURN_TRANSITION, false)
    [all...]
  /developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/
WeatherWidgetProvider.java 23 import android.content.Intent;
103 public void onReceive(Context ctx, Intent intent) {
104 final String action = intent.getAction();
138 final int appWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID,
142 final int appWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID,
144 final String day = intent.getStringExtra(EXTRA_DAY_ID);
149 super.onReceive(ctx, intent);
157 final Intent intent = new Intent(context, WeatherWidgetService.class) local
    [all...]
  /development/apps/Development/src/com/android/development/
BadBehaviorActivity.java 26 import android.content.Intent;
55 public void onReceive(Context context, Intent intent) {
64 public IBinder onBind(Intent intent) {
69 public int onStartCommand(Intent intent, int flags, int id) {
83 public boolean activityStarting(Intent intent, String pkg) {
128 public void onReceive(Context context, Intent intent)
    [all...]
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
MainActivity.java 35 import android.content.Intent;
117 Intent intent = new Intent(this, CameraActivity.class); local
118 intent.putExtra("theme", mThemeId);
119 startActivity(intent);
241 protected void onNewIntent(Intent intent) {
242 if (ACTION_DIALOG.equals(intent.getAction())) {
243 showDialog(intent.getStringExtra(Intent.EXTRA_TEXT))
328 Intent intent = new Intent(this, ContentActivity.class); local
    [all...]
  /development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
WeatherWidgetProvider.java 23 import android.content.Intent;
103 public void onReceive(Context ctx, Intent intent) {
104 final String action = intent.getAction();
138 final int appWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID,
142 final int appWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID,
144 final String day = intent.getStringExtra(EXTRA_DAY_ID);
149 super.onReceive(ctx, intent);
157 final Intent intent = new Intent(context, WeatherWidgetService.class) local
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/
InterpreterConfiguration.java 22 import android.content.Intent;
78 Intent intent = new Intent(InterpreterConstants.ACTION_DISCOVER_INTERPRETERS);
79 intent.addCategory(Intent.CATEGORY_LAUNCHER);
80 intent.setType(mime);
81 List<ResolveInfo> resolveInfos = mmPackageManager.queryIntentActivities(intent, 0);
95 Intent intent = new Intent(InterpreterConstants.ACTION_DISCOVER_INTERPRETERS)
    [all...]
  /external/zxing/qr_scanner/src/com/google/zxing/client/android/
CaptureActivity.java 26 import android.content.Intent;
119 Intent intent = getIntent(); local
120 String action = intent == null ? null : intent.getAction();
121 String dataString = intent == null ? null : intent.getDataString();
122 if (intent != null && action != null) {
124 if (intent.hasExtra(Intents.Scan.WIDTH) && intent.hasExtra(Intents.Scan.HEIGHT))
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
PbapClientStateMachine.java 50 import android.content.Intent;
207 public void onReceive(Context context, Intent intent) {
208 String action = intent.getAction();
211 BluetoothDevice device = intent.getParcelableExtra(
217 ParcelUuid uuid = intent.getParcelableExtra(BluetoothDevice.EXTRA_UUID);
222 sendMessage(MSG_SDP_COMPLETE, intent
326 Intent intent = new Intent(BluetoothPbapClient.ACTION_CONNECTION_STATE_CHANGED) local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
SimImportService.java 23 import android.content.Intent;
141 context.startService(new Intent(context, SimImportService.class)
150 public IBinder onBind(Intent intent) {
155 public int onStartCommand(Intent intent, int flags, final int startId) {
157 final ImportTask task = createTaskForIntent(intent, startId);
174 private ImportTask createTaskForIntent(Intent intent, int startId) {
175 final AccountWithDataSet targetAccount = intent.getParcelableExtra(EXTRA_ACCOUNT)
191 final Intent intent = new Intent(this, PeopleActivity.class); local
204 final Intent intent = new Intent(this, PeopleActivity.class); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPermissionActivity.java 23 import android.content.Intent;
60 public void onReceive(Context context, Intent intent) {
61 String action = intent.getAction();
63 int requestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE,
66 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
81 Intent i = getIntent();
84 Log.e(TAG, "Error: this activity may be started only with intent "
220 Intent intent = new Intent(BluetoothDevice.ACTION_CONNECTION_ACCESS_REPLY) local
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
InboundSmsHandler.java 36 import android.content.Intent;
708 // broadcast SMS_REJECTED_ACTION intent
709 Intent intent = new Intent(Intents.SMS_REJECTED_ACTION); local
710 intent.putExtra("result", result);
711 // Allow registered broadcast receivers to get this intent even
713 intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);
714 mContext.sendBroadcast(intent, android.Manifest.permission.RECEIVE_SMS)
975 PendingIntent intent = PendingIntent.getBroadcast( local
1150 Intent intent = new Intent(); local
    [all...]
  /development/samples/Home/src/com/example/android/home/
Home.java 25 import android.content.Intent;
148 protected void onNewIntent(Intent intent) {
149 super.onNewIntent(intent);
152 if (Intent.ACTION_MAIN.equals(intent.getAction())) {
194 * Registers various intent receivers. The current implementation registers
195 * only a wallpaper intent receiver to let other applications change the
199 IntentFilter filter = new IntentFilter(Intent.ACTION_WALLPAPER_CHANGED);
202 filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED)
279 final Intent intent = new Intent(Intent.ACTION_MAIN, null); local
364 final Intent intent = recentTasks.get(i).baseIntent; local
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
ScriptManager.java 25 import android.content.Intent;
147 protected void onNewIntent(Intent intent) {
148 handleIntent(intent);
195 private void handleIntent(Intent intent) {
196 if (Intent.ACTION_SEARCH.equals(intent.getAction())) {
198 String query = intent.getStringExtra(SearchManager.QUERY);
320 Intent i = new Intent(this, InterpreterManager.class)
324 Intent intent = new Intent(Constants.ACTION_EDIT_SCRIPT); local
336 Intent intent = new Intent("com.google.zxing.client.android.SCAN"); local
    [all...]
  /frameworks/base/core/java/android/accounts/
ChooseTypeAndAccountActivity.java 22 import android.content.Intent;
165 final Intent intent = getIntent(); local
167 mSetOfAllowableAccounts = getAllowableAccountSet(intent);
168 mSetOfRelevantAccountTypes = getReleventAccountTypes(intent);
169 mDescriptionOverride = intent.getStringExtra(EXTRA_DESCRIPTION_TEXT_OVERRIDE);
193 // If the selected account as specified in the intent matches one in the list we will
195 Account selectedAccount = (Account) intent.getParcelableExtra(EXTRA_SELECTED_ACCOUNT);
309 final Intent data) {
401 final Intent intent = (Intent)accountManagerResult.getParcelable local
473 final Intent intent = new Intent(this, ChooseAccountTypeActivity.class); local
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
MceStateMachine.java 52 import android.content.Intent;
158 Intent intent = new Intent(BluetoothMapClient.ACTION_CONNECTION_STATE_CHANGED); local
159 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
160 intent.putExtra(BluetoothProfile.EXTRA_STATE, state);
161 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice);
162 intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
163 mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM)
510 Intent intent = new Intent(); local
    [all...]
  /packages/apps/Music/src/com/android/music/
QueryBrowserActivity.java 28 import android.content.Intent;
86 f.addAction(Intent.ACTION_MEDIA_SCANNER_STARTED);
87 f.addAction(Intent.ACTION_MEDIA_UNMOUNTED);
91 Intent intent = getIntent(); local
92 String action = intent != null ? intent.getAction() : null;
94 if (Intent.ACTION_VIEW.equals(action)) {
96 Uri uri = intent.getData();
107 Intent i = new Intent(Intent.ACTION_PICK)
273 Intent intent = new Intent(Intent.ACTION_PICK); local
279 Intent intent = new Intent(Intent.ACTION_PICK); local
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DashboardFeatureProviderImplTest.java 22 import android.content.Intent;
125 tile.intent = new Intent();
126 tile.intent.setComponent(new ComponentName("pkg", "class"));
144 tile.intent = new Intent();
145 tile.intent.setComponent(new ComponentName("pkg", "class"));
164 tile.intent = new Intent();
165 tile.intent.setComponent(new ComponentName("pkg", "class"))
    [all...]
  /frameworks/base/services/core/java/com/android/server/
TelephonyRegistry.java 23 import android.content.Intent;
254 public void onReceive(Context context, Intent intent) {
255 String action = intent.getAction();
257 if (Intent.ACTION_USER_SWITCHED.equals(action)) {
258 int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0);
262 Integer newDefaultSubIdObj = new Integer(intent.getIntExtra(
265 int newDefaultPhoneId = intent.getIntExtra(PhoneConstants.SLOT_KEY,
344 filter.addAction(Intent.ACTION_USER_SWITCHED)
1452 Intent intent = new Intent(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); local
1474 Intent intent = new Intent(TelephonyIntents.ACTION_SIGNAL_STRENGTH_CHANGED); local
1504 Intent intent = new Intent(TelephonyManager.ACTION_PHONE_STATE_CHANGED); local
1541 Intent intent = new Intent(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED); local
1570 Intent intent = new Intent(TelephonyIntents.ACTION_DATA_CONNECTION_FAILED); local
1579 Intent intent = new Intent(TelephonyManager.ACTION_PRECISE_CALL_STATE_CHANGED); local
1592 Intent intent = new Intent(TelephonyManager.ACTION_PRECISE_DATA_CONNECTION_STATE_CHANGED); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/
HceFEmulatorActivity.java 21 import android.content.Intent;
38 public void onReceive(Context context, Intent intent) {
39 String action = intent.getAction();
  /cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
BaseBootReceiver.java 21 import android.content.Intent;
31 public void onReceive(Context context, Intent intent) {
35 getBootCount(context) + "." + intent.getAction());
  /cts/hostsidetests/incident/apps/storagedapp/src/com/android/server/cts/storaged/
SimpleIOService.java 20 import android.content.Intent;
76 public int onStartCommand(Intent intent, int flags, int startId) {
85 public IBinder onBind(Intent intent) {
  /cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/
BroadcastReceiverActivity.java 25 import android.content.Intent;
59 public void onReceive(Context context, Intent intent) {
60 final Bundle extras = intent.getExtras();
  /cts/hostsidetests/services/activityandwindowmanager/activitymanager/appSecondUid/src/android/server/cts/second/
LaunchBroadcastReceiver.java 23 import android.content.Intent;
32 public void onReceive(Context context, Intent intent) {
33 final Bundle extras = intent.getExtras();
34 final Intent newIntent = new Intent();
49 newIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
51 newIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  /cts/hostsidetests/ui/appA/src/android/taskswitching/appa/
AppAActivity.java 20 import android.content.Intent;
60 Intent intent = new Intent(TASKSWITCHING_INTENT);
61 sendBroadcast(intent);

Completed in 1054 milliseconds

<<61626364656667686970>>