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

<<51525354555657585960>>

  /frameworks/base/tests/ShowWhenLockedApp/src/com/android/showwhenlocked/
ShowWhenLockedActivity.java 21 import android.content.Intent;
97 protected void onNewIntent(Intent intent) {
98 super.onNewIntent(intent);
99 handleExtras(intent.getExtras());
  /frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
SamplesList.java 20 import android.content.Intent;
63 Intent intent = new Intent(this, clazz); local
64 intent.putExtra("resourceId", resourceId);
65 startActivity(intent);
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WrongPasswordNotifier.java 23 import android.content.Intent;
82 Intent intent = new Intent(Settings.ACTION_WIFI_SETTINGS); local
83 intent.putExtra("wifi_start_connect_ssid", NativeUtil.removeEnclosingQuotes(ssid));
94 mContext, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT))
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DcTesterFailBringUpAll.java 21 import android.content.Intent;
49 // The saved FailBringUp data from the intent
52 // The static intent receiver one for all instances.
55 public void onReceive(Context context, Intent intent) {
56 String action = intent.getAction();
59 mFailBringUp.saveParameters(intent, "sFailBringUp");
83 log("register for intent action=" + mActionFailBringUp);
86 log("register for intent action=" + mPhone.getActionDetached());
89 log("register for intent action=" + mPhone.getActionAttached())
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
UiccStateChangedLauncher.java 20 import android.content.Intent;
88 * Send an explicit intent to device provisioning package.
91 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); local
92 intent.setPackage(sDeviceProvisioningPackage);
94 mContext.sendBroadcast(intent);
  /frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
MediaStoreSaver.java 20 import android.content.Intent;
80 context.sendBroadcast(new Intent("android.hardware.action.NEW_PICTURE", fileUri));
83 context.sendBroadcast(new Intent("com.android.camera.NEW_PICTURE", fileUri));
85 final Intent intent = new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE); local
86 intent.setData(fileUri);
87 context.sendBroadcast(intent);
  /frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
MediaStoreSaver.java 20 import android.content.Intent;
74 context.sendBroadcast(new Intent("android.hardware.action.NEW_PICTURE", fileUri));
78 context.sendBroadcast(new Intent("com.android.camera.NEW_PICTURE", fileUri));
81 final Intent intent = new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE); local
82 intent.setData(fileUri);
83 context.sendBroadcast(intent);
  /frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
MediaStoreSaver.java 20 import android.content.Intent;
80 context.sendBroadcast(new Intent("android.hardware.action.NEW_PICTURE", fileUri));
83 context.sendBroadcast(new Intent("com.android.camera.NEW_PICTURE", fileUri));
85 final Intent intent = new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE); local
86 intent.setData(fileUri);
87 context.sendBroadcast(intent);
  /frameworks/support/customtabs/tests/src/android/support/customtabs/
PostMessageServiceConnectionTest.java 24 import android.content.Intent;
75 Intent intent = new Intent(); local
76 intent.setClassName(mContext.getPackageName(), PostMessageService.class.getName());
78 mServiceRule.bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
  /frameworks/support/media-compat-test-service/tests/src/android/support/mediacompat/service/
ServiceBroadcastReceiver.java 36 import android.content.Intent;
42 public void onReceive(Context context, Intent intent) {
43 Bundle extras = intent.getExtras();
44 if (ACTION_CALL_MEDIA_BROWSER_SERVICE_METHOD.equals(intent.getAction()) && extras != null) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
HfpClientConnectionService.java 26 import android.content.Intent;
69 public void onReceive(Context context, Intent intent) {
71 Log.d(TAG, "onReceive " + intent);
73 String action = intent != null ? intent.getAction() : null;
76 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
77 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1);
107 intent.getParcelableExtra(BluetoothHeadsetClient.EXTRA_CALL);
108 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
HelpUtils.java 20 import android.content.Intent;
31 * Functions to easily prepare contextual help menu option items with an intent that opens up the
59 * - Otherwise, this makes the help menu item visible and sets the intent for the help menu
73 * - Otherwise, this makes the help menu item visible and sets the intent for the help menu
90 // Then, create an intent that will be fired when the user
92 Intent intent = new Intent(Intent.ACTION_VIEW, fullUri); local
93 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TAS
    [all...]
  /packages/apps/Dialer/java/com/android/voicemail/impl/
DeviceProvisionedJobService.java 28 import android.content.Intent;
57 Intent intent = new Intent(); local
58 intent.putExtra(EXTRA_PHONE_ACCOUNT_HANDLE, phoneAccountHandle);
59 context.getSystemService(JobScheduler.class).enqueue(jobInfo, new JobWorkItem(intent));
  /packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
RetryPolicy.java 19 import android.content.Intent;
99 Intent intent = mTask.createRestartIntent(); local
100 intent.putExtra(EXTRA_RETRY_COUNT, mRetryCount + 1);
102 mTask.getContext().sendBroadcast(intent);
  /packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
InspectorFragment.java 21 import android.content.Intent;
75 public static InspectorFragment newInstance(Intent intent) {
76 Uri uri = intent.getData();
77 boolean showDebug = intent.getBooleanExtra(Shared.EXTRA_SHOW_DEBUG, false);
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountCredentials.java 5 import android.content.Intent;
20 public static Intent getAccountCredentialsIntent(final Context context, final String email,
22 final Intent i = new Intent(context, AccountCredentials.class);
52 final Intent intent = new Intent(); local
53 intent.putExtras(results);
54 setResult(RESULT_OK, intent);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
ProcessingService.java 23 import android.content.Intent;
143 public static Intent getSaveIntent(Context context, ImagePreset preset, File destination,
146 Intent processIntent = new Intent(context, ProcessingService.class);
190 public int onStartCommand(Intent intent, int flags, int startId) {
192 if (intent != null && intent.getBooleanExtra(SAVING, false)) {
193 // we save using an intent to keep the service around after the
195 String presetJson = intent.getStringExtra(PRESET)
    [all...]
  /packages/apps/LegacyCamera/tests/src/com/android/camera/power/
ImageAndVideoCapture.java 27 import android.content.Intent;
98 Intent intent = new Intent(); local
99 intent.setClass(getInstrumentation().getTargetContext(),
101 getActivity().startActivity(intent);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
LocalDeviceNameDialogFragment.java 22 import android.content.Intent;
42 public void onReceive(Context context, Intent intent) {
43 String action = intent.getAction();
46 intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR)
  /packages/apps/Settings/src/com/android/settings/core/instrumentation/
VisibilityLoggerMixin.java 21 import android.content.Intent;
81 final Intent intent = activity.getIntent(); local
82 if (intent == null) {
85 mSourceMetricsCategory = intent.getIntExtra(SettingsActivity.EXTRA_SOURCE_METRICS_CATEGORY,
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
PrivateVolumeOptionMenuController.java 20 import android.content.Intent;
78 final Intent intent = new Intent(mContext, StorageWizardMigrateConfirm.class); local
79 intent.putExtra(VolumeInfo.EXTRA_VOLUME_ID, mVolumeInfo.getId());
80 mContext.startActivity(intent);
  /packages/apps/Settings/src/com/android/settings/display/
WallpaperPreferenceController.java 18 import android.content.Intent;
61 final Intent intent = new Intent(); local
62 intent.setComponent(componentName);
64 pm.queryIntentActivities(intent, 0 /* flags */);
  /packages/apps/Settings/src/com/android/settings/inputmethod/
UserDictionaryAddWordActivity.java 20 import android.content.Intent;
44 final Intent intent = getIntent(); local
45 final String action = intent.getAction();
56 // The following will get the EXTRA_WORD and EXTRA_LOCALE fields that are in the intent.
59 Bundle args = intent.getExtras();
79 final Intent senderIntent = getIntent();
  /packages/apps/Settings/src/com/android/settings/security/
ConfigureKeyGuardDialog.java 24 import android.content.Intent;
80 Intent intent = new Intent(DevicePolicyManager.ACTION_SET_NEW_PASSWORD); local
81 intent.putExtra(ChooseLockGeneric.ChooseLockGenericFragment.MINIMUM_QUALITY_KEY,
83 startActivity(intent);
  /packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/
TestUtils.java 22 import android.content.Intent;
58 final Intent intent = context.getPackageManager().getLaunchIntentForPackage(PACKAGE_NAME); local
59 intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
60 context.startActivity(intent);

Completed in 858 milliseconds

<<51525354555657585960>>