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

<<51525354555657585960>>

  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
ScriptProcessMonitor.java 22 import android.content.Intent;
87 bindService(new Intent(this, ScriptingLayerService.class), mConnection, 0);
126 Intent intent = new Intent(this, ConsoleActivity.class); local
127 intent.putExtra(Constants.EXTRA_PROXY_PORT, script.getPort());
128 startActivity(intent);
152 Intent intent = new Intent(ScriptProcessMonitor.this, ScriptingLayerService.class) local
173 Intent intent = new Intent(this, ScriptingLayerService.class); local
    [all...]
  /frameworks/base/core/java/com/android/internal/net/
VpnConfig.java 22 import android.content.Intent;
54 public static Intent getIntentForConfirmation() {
55 Intent intent = new Intent(); local
59 intent.setClassName(componentName.getPackageName(), componentName.getClassName());
60 return intent;
65 Intent intent = new Intent(); local
75 Intent intent = new Intent(SERVICE_INTERFACE); local
    [all...]
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
TileUtilsTest.java 37 import android.content.Intent;
114 Intent intent = new Intent(); local
119 when(mPackageManager.queryIntentActivitiesAsUser(eq(intent), anyInt(), anyInt()))
122 TileUtils.getTilesForIntent(mContext, UserHandle.CURRENT, intent, addedCache,
133 Intent intent = new Intent(); local
140 when(mPackageManager.queryIntentActivitiesAsUser(eq(intent), anyInt(), anyInt())
154 Intent intent = new Intent(); local
172 Intent intent = new Intent(); local
245 Intent intent = new Intent(); local
266 Intent intent = new Intent(); local
294 Intent intent = new Intent(); local
317 Intent intent = new Intent(); local
341 Intent intent = new Intent(); local
381 Intent intent = new Intent(); local
401 Intent intent = new Intent(); local
426 Intent intent = new Intent(); local
468 Intent intent = new Intent(); local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
ConnectedDeviceSignalController.java 10 import android.content.Intent;
133 public void onReceive(Context context, Intent intent) {
134 String action = intent.getAction();
145 processActionAgEvent(intent);
147 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1);
150 int oldState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, -1);
155 (BluetoothDevice) intent.getExtra(BluetoothDevice.EXTRA_DEVICE);
161 * Processes an {@link Intent} that had an action of
164 private void processActionAgEvent(Intent intent)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
PreviewInflater.java 21 import android.content.Intent;
53 public View inflatePreview(Intent intent) {
54 WidgetInfo info = getWidgetInfo(intent);
120 private WidgetInfo getWidgetInfo(Intent intent) {
126 intent, flags, KeyguardUpdateMonitor.getCurrentUser());
130 ResolveInfo resolved = packageManager.resolveActivityAsUser(intent,
143 public static boolean wouldLaunchResolverActivity(Context ctx, Intent intent,
    [all...]
  /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
SourceActivity.java 26 import android.content.Intent;
80 Intent intent = getIntent(); local
81 if (intent.getAction().equals(UsbManager.ACTION_USB_ACCESSORY_ATTACHED)) {
83 (UsbAccessory) intent.getParcelableExtra(UsbManager.EXTRA_ACCESSORY);
144 Intent intent = new Intent(ACTION_USB_ACCESSORY_PERMISSION); local
145 intent.setPackage(getPackageName());
147 this, 0, intent, PendingIntent.FLAG_ONE_SHOT)
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapActivity.java 40 import android.content.Intent;
100 public void onReceive(Context context, Intent intent) {
101 if (!BluetoothPbapService.USER_CONFIRM_TIMEOUT_ACTION.equals(intent.getAction())) {
111 Intent i = getIntent();
117 Log.e(TAG, "Error: this activity may be started only with intent "
194 Intent intent = new Intent(intentName); local
195 intent.setPackage(BluetoothPbapService.THIS_PACKAGE_NAME)
204 Intent intent = new Intent(intentName); local
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/handover/
PeripheralHandoverService.java 26 import android.content.Intent;
84 public void onReceive(Context context, Intent intent) {
85 String action = intent.getAction();
87 handleBluetoothStateChanged(intent);
102 public int onStartCommand(Intent intent, int flags, int startId) {
113 if (intent == null) {
114 if (DBG) Log.e(TAG, "Intent is null, can't do peripheral handover.");
119 if (doPeripheralHandover(intent.getExtras()))
    [all...]
  /packages/apps/Settings/src/com/android/settings/
SettingsActivity.java 27 import android.content.Intent;
84 * When starting this activity, the invoking Intent can contain this extra
170 public void onReceive(Context context, Intent intent) {
171 String action = intent.getAction();
172 if (Intent.ACTION_BATTERY_CHANGED.equals(action)) {
173 boolean batteryPresent = Utils.isBatteryPresent(intent);
238 private static boolean isShortCutIntent(final Intent intent) {
239 Set<String> categories = intent.getCategories()
267 final Intent intent = getIntent(); local
951 Intent intent = new Intent(this, SearchActivity.class); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/accounts/
AddAccountSettings.java 19 import static android.content.Intent.EXTRA_USER;
30 import android.content.Intent;
58 * An extra {@link UserHandle} can be specified in the intent as {@link EXTRA_USER}, if the user for
95 Intent intent = (Intent) bundle.get(AccountManager.KEY_INTENT);
96 if (intent != null) {
103 intent.putExtras(addAccountOptions);
104 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
220 final Intent intent = new Intent(this, Settings.ChooseAccountActivity.class); local
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/password/
SetupChooseLockPasswordTest.java 25 import android.content.Intent;
122 Intent intent = new IntentBuilder(application).build(); local
123 intent.putExtra(ChooseLockGenericFragment.EXTRA_CHOOSE_LOCK_GENERIC_EXTRAS, bundle);
124 intent = SetupChooseLockPassword.modifyIntentForSetup(application, intent);
125 intent.putExtra(ChooseLockGenericFragment.EXTRA_SHOW_OPTIONS_BUTTON, true);
128 Robolectric.buildActivity(SetupChooseLockPassword.class, intent).setup().get();
140 assertThat(chooseLockIntent.intent.getStringExtra("foo")).named("Foo extra")
145 Intent intent = SetupChooseLockPassword.modifyIntentForSetup local
    [all...]
  /packages/apps/Test/connectivity/PMC/src/com/android/pmc/
BleScanReceiver.java 29 import android.content.Intent;
142 Intent alarmIntent = new Intent(BleScanListener.BLESCAN);
155 * @param intent - intent to get extra data
160 public void repeatAlarm(Intent intent, int timeInterval,
163 int currentAlarm = intent.getIntExtra("com.android.pmc.BLESCAN.CurrentAlarm", 0);
175 Intent alarmIntent = new Intent(BleScanListener.BLESCAN)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
AttachmentActionHandler.java 28 import android.content.Intent;
170 * Update progress-related views. Will also trigger a view intent if a progress dialog was
220 Intent intent = new Intent(Intent.ACTION_SEND); local
221 intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION
222 | Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
225 intent.putExtra(Intent.EXTRA_STREAM, uri)
237 Intent intent = new Intent(Intent.ACTION_SEND_MULTIPLE); local
    [all...]
  /packages/services/Car/tests/usb/AoapPhoneCompanionApp/src/com/google/android/car/usb/aoap/companion/
AoapPhoneCompanionActivity.java 22 import android.content.Intent;
73 private void handleIntent(Intent intent) {
74 if (intent.getAction().equals(UsbManager.ACTION_USB_ACCESSORY_ATTACHED)) {
76 (UsbAccessory) intent.getParcelableExtra(UsbManager.EXTRA_ACCESSORY);
118 Intent intent = new Intent(ACTION_USB_ACCESSORY_PERMISSION); local
119 intent.setPackage(getPackageName());
121 this, 0, intent, PendingIntent.FLAG_ONE_SHOT)
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
DefaultDialerCache.java 22 import android.content.Intent;
67 public void onReceive(Context context, Intent intent) {
71 if (Intent.ACTION_PACKAGE_CHANGED.equals(intent.getAction())) {
73 } else if (Intent.ACTION_PACKAGE_REMOVED.equals(intent.getAction())
74 && !intent.getBooleanExtra(Intent.EXTRA_REPLACING, false)) {
75 packageName = intent.getData().getSchemeSpecificPart()
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ContactSaveService.java 30 import android.content.Intent;
195 public void onServiceCompleted(Intent callbackIntent);
229 public static boolean canUndo(Intent resultIntent) {
243 .sendBroadcast(new Intent(BROADCAST_SERVICE_STATE_CHANGED));
250 public static boolean startService(Context context, Intent intent, int saveMode) {
252 context.startService(intent);
277 public static void startService(Context context, Intent intent) {
279 context.startService(intent);
    [all...]
  /frameworks/base/services/core/java/com/android/server/search/
Searchables.java 24 import android.content.Intent;
65 // intent.
194 * TODO: every activity that provides a ACTION_SEARCH intent should
212 // Use intent resolver to generate list of ACTION_SEARCH & ACTION_WEB_SEARCH receivers.
214 final Intent intent = new Intent(Intent.ACTION_SEARCH); local
218 searchList = queryIntentActivities(intent,
222 final Intent webSearchIntent = new Intent(Intent.ACTION_WEB_SEARCH)
286 Intent intent = new Intent(SearchManager.INTENT_ACTION_GLOBAL_SEARCH); local
321 Intent intent = new Intent(SearchManager.INTENT_ACTION_GLOBAL_SEARCH); local
393 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); local
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/model/
AddWorkspaceItemsTask.java 19 import android.content.Intent;
177 * the workspace has been loaded. We identify a shortcut by its intent.
179 protected boolean shortcutExists(BgDataModel dataModel, Intent intent, UserHandle user) {
181 if (intent == null) {
185 if (intent.getComponent() != null) {
186 // If component is not null, an intent with null package will produce
188 compPkgName = intent.getComponent().getPackageName();
189 if (intent.getPackage() != null) {
190 intentWithPkg = intent.toUri(0)
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPermissionRequest.java 26 import android.content.Intent;
63 public void onReceive(Context context, Intent intent) {
65 String action = intent.getAction();
76 // convert broadcast intent into activity intent (same action string)
77 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
78 mRequestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE,
80 mReturnPackage = intent.getStringExtra(BluetoothDevice.EXTRA_PACKAGE_NAME);
81 mReturnClass = intent.getStringExtra(BluetoothDevice.EXTRA_CLASS_NAME)
288 Intent intent = new Intent(BluetoothDevice.ACTION_CONNECTION_ACCESS_REPLY); local
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
WapPushOverSms.java 29 import android.content.Intent;
86 public void onReceive(final Context context, Intent intent) {
87 Rlog.d(TAG, "Received broadcast " + intent.getAction());
88 if (Intent.ACTION_USER_UNLOCKED.equals(intent.getAction())) {
108 Intent intent = new Intent(IWapPushManager.class.getName()); local
109 ComponentName comp = intent.resolveSystemService(context.getPackageManager(), 0)
356 Intent intent = new Intent(); local
386 Intent intent = new Intent(Intents.WAP_PUSH_DELIVER_ACTION); local
    [all...]
  /packages/apps/Car/Messenger/src/com/android/car/messenger/
MapMessageMonitor.java 32 import android.content.Intent;
114 private void handleNewMessage(Intent intent) {
119 MapMessage message = MapMessage.parseFrom(intent);
261 private Intent getPlayMessageIntent(SenderKey senderKey, NotificationInfo notificationInfo) {
262 Intent intent = new Intent(mContext, PlayMessageActivity.class); local
263 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
321 Intent intent = new Intent(mContext, MessengerService.class) local
    [all...]
  /frameworks/base/location/java/android/location/
LocationManager.java 29 import android.content.Intent;
49 * {@link Intent} when the device enters the proximity of a given
156 * Broadcast intent action indicating that the GPS has either been
157 * enabled or disabled. An intent extra provides this state as a boolean,
167 * Broadcast intent action when the configured location providers
176 * Broadcast intent action when {@link android.provider.Settings.Secure#LOCATION_MODE} changes.
187 * Broadcast intent action indicating that the GPS has either started or
188 * stopped receiving GPS fixes. An intent extra provides this state as a
200 * {@link android.content.Intent#getBooleanExtra(String,boolean)}.
207 * Broadcast intent action indicating that a high power location request
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestListAdapter.java 23 import android.content.Intent;
51 /** Activities implementing {@link Intent#ACTION_MAIN} and this will appear in the list. */
52 public static final String CATEGORY_MANUAL_TEST = "android.cts.intent.category.MANUAL_TEST";
65 /** Immutable data of tests like the test's title and launch intent. */
88 /** Intent used to launch the activity from the list. Null for categories. */
89 final Intent intent; field in class:TestListAdapter.TestListItem
101 Intent intent, String[] requiredFeatures, String[] excludedFeatures,
103 return newTest(context.getString(titleResId), testName, intent, requiredFeatures
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleEncryptedServerService.java 34 import android.content.Intent;
50 "com.android.cts.verifier.bluetooth.encripted.intent.BLUETOOTH_DISABLED";
58 "com.android.cts.verifier.bluetooth.encripted.intent.WAIT_WRITE_ENCRYPTED_CHARACTERISTIC";
60 "com.android.cts.verifier.bluetooth.encripted.intent.WAIT_READ_ENCRYPTED_CHARACTERISTIC";
62 "com.android.cts.verifier.bluetooth.encripted.intent.WAIT_WRITE_ENCRYPTED_DESCRIPTOR";
64 "com.android.cts.verifier.bluetooth.encripted.intent.WAIT_READ_ENCRYPTED_DESCRIPTOR";
147 public IBinder onBind(Intent intent) {
152 public int onStartCommand(Intent intent, int flags, int startId)
194 Intent intent = new Intent(INTENT_BLUETOOTH_DISABLED); local
202 Intent intent = new Intent(BleServerService.BLE_OPEN_FAIL); local
210 Intent intent = new Intent(BleServerService.BLE_ADVERTISE_UNSUPPORTED); local
237 Intent intent = new Intent(INTENT_WAIT_WRITE_ENCRYPTED_CHARACTERISTIC); local
246 Intent intent = new Intent(INTENT_WAIT_READ_ENCRYPTED_CHARACTERISTIC); local
255 Intent intent = new Intent(INTENT_WAIT_WRITE_ENCRYPTED_DESCRIPTOR); local
264 Intent intent = new Intent(INTENT_WAIT_READ_ENCRYPTED_DESCRIPTOR); local
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
RemoteViewsWidgetTest.java 36 import android.content.Intent;
170 // Set a fill-intent which will be used to fill-in the pending intent template
174 Intent fillInIntent = new Intent();
289 // Create the intent to update the widget. Note that we're passing the value
290 // for displayed child index in the intent
291 Intent intent = new Intent(mContext, MyAppWidgetProvider.class) local
329 Intent intent = new Intent(mContext, MyAppWidgetProvider.class); local
460 Intent intent = new Intent(mContext, MyAppWidgetProvider.class); local
    [all...]

Completed in 923 milliseconds

<<51525354555657585960>>