Searched refs:Intent (Results 251 - 275 of 820) sorted by relevance

<<11121314151617181920>>

/frameworks/base/services/core/java/com/android/server/firewall/
H A DNotFilter.java20 import android.content.Intent;
35 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent,
H A DSenderPackageFilter.java21 import android.content.Intent;
41 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent,
/frameworks/base/services/core/java/com/android/server/updates/
H A DConfigUpdateInstallReceiver.java22 import android.content.Intent;
70 public void onReceive(final Context context, final Intent intent) {
132 private Uri getContentFromIntent(Intent i) {
140 private int getVersionFromIntent(Intent i) throws NumberFormatException {
148 private String getRequiredHashFromIntent(Intent i) {
156 private String getSignatureFromIntent(Intent i) {
174 private byte[] getAltContent(Context c, Intent i) throws IOException {
266 protected void postInstall(Context context, Intent intent) {
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
H A DRestrictionsManagerService.java29 import android.content.Intent;
128 Intent intent = new Intent(RestrictionsManager.ACTION_REQUEST_PERMISSION);
142 public Intent createLocalApprovalIntent() throws RemoteException {
158 Intent intent = new Intent(RestrictionsManager.ACTION_REQUEST_LOCAL_APPROVAL);
191 Intent responseIntent = new Intent(
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DAppWidgetHostActivity.java22 import android.content.Intent;
84 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_PICK);
90 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_CONFIGURE);
99 void handleAppWidgetPickResult(int resultCode, Intent intent) {
119 void handleAppWidgetConfigureResult(int resultCode, Intent data) {
147 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
H A DTestAppWidgetProvider.java22 import android.content.Intent;
36 public void onReceive(Context context, Intent intent) {
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/
H A DTestAppWidgetProvider.java22 import android.content.Intent;
33 public void onReceive(Context context, Intent intent) {
/frameworks/ex/framesequence/samples/RastermillSamples/src/com/android/rastermill/samples/
H A DSamplesList.java20 import android.content.Intent;
58 startActivity(new Intent(this, clazz));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcFailBringUp.java19 import android.content.Intent;
50 // Get the Extra Intent parameters
51 void saveParameters(Intent intent, String s) {
H A DDcTesterDeactivateAll.java21 import android.content.Intent;
49 public void onReceive(Context context, Intent intent) {
/frameworks/support/v4/java/android/support/v4/net/
H A DConnectivityManagerCompat.java22 import android.content.Intent;
113 public static NetworkInfo getNetworkInfoFromBroadcast(ConnectivityManager cm, Intent intent) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerNotificationWarnings.java28 import android.content.Intent;
81 private final Intent mOpenBatterySettings = settings(Intent.ACTION_POWER_USAGE_SUMMARY);
82 private final Intent mOpenSaverSettings = settings(Settings.ACTION_BATTERY_SAVER_SETTINGS);
239 private PendingIntent pendingActivity(Intent intent) {
246 0, new Intent(action), 0, UserHandle.CURRENT);
249 private static Intent settings(String action) {
250 return new Intent(action).setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
251 | Intent
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java23 import android.content.Intent;
131 Intent intent = new Intent();
199 Intent intent = new Intent();
213 Intent intent = new Intent();
255 Intent intent = new Intent();
257 intent.setFlags(Intent
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DPendingIntentRecord.java24 import android.content.Intent;
53 final Intent requestIntent;
56 Intent[] allIntents;
65 int _r, Intent[] _i, String[] _it, int _f, Bundle _o, int _userId) {
193 public int send(int code, Intent intent, String resolvedType,
199 int sendInner(int code, Intent intent, String resolvedType,
210 Intent finalIntent = key.requestIntent != null
211 ? new Intent(key.requestIntent) : new Intent();
214 if ((changes&Intent
[all...]
H A DUriPermissionOwner.java19 import android.content.Intent;
65 removeUriPermissionsLocked(Intent.FLAG_GRANT_READ_URI_PERMISSION
66 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
74 if ((mode & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0
89 if ((mode & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0
/frameworks/base/core/java/android/app/
H A DRemoteInput.java21 import android.content.Intent;
246 public static Bundle getResultsFromIntent(Intent intent) {
272 public static void addResultsToIntent(RemoteInput[] remoteInputs, Intent intent,
281 Intent clipIntent = new Intent();
/frameworks/base/core/java/android/app/backup/
H A DBackupTransport.java20 import android.content.Intent;
72 * Ask the transport for an Intent that can be used to launch any internal
80 * @return An Intent that can be passed to Context.startActivity() in order to
84 public Intent configurationIntent() {
103 * Ask the transport for an Intent that can be used to launch a more detailed
122 public Intent dataManagementIntent() {
500 public Intent configurationIntent() throws RemoteException {
510 public Intent dataManagementIntent() {
/frameworks/base/core/java/android/net/
H A DNetworkScorerAppManager.java24 import android.content.Intent;
47 private static final Intent SCORE_INTENT =
48 new Intent(NetworkScoreManager.ACTION_SCORE_NETWORKS);
115 Intent intent = new Intent(NetworkScoreManager.ACTION_CUSTOM_ENABLE);
/frameworks/base/core/java/android/preference/
H A DRingtonePreference.java20 import android.content.Intent;
141 Intent intent = new Intent(RingtoneManager.ACTION_RINGTONE_PICKER);
158 protected void onPrepareRingtonePickerIntent(Intent ringtonePickerIntent) {
234 public boolean onActivityResult(int requestCode, int resultCode, Intent data) {
/frameworks/base/media/java/android/media/projection/
H A DMediaProjectionManager.java23 import android.content.Intent;
73 * Returns an Intent that <b>must</b> passed to startActivityForResult()
78 public Intent createScreenCaptureIntent() {
79 Intent i = new Intent();
91 * int, android.content.Intent)}
93 * int, android.content.Intent)}
95 public MediaProjection getMediaProjection(int resultCode, @NonNull Intent resultData) {
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
H A DFakeApp.java26 import android.content.Intent;
54 startService(new Intent(FakeApp.this, FakeBackgroundService.class));
135 bindService(new Intent(this, FakeCoreService.class), mServiceConnection,
137 bindService(new Intent(this, FakeCoreService2.class), mServiceConnection2,
139 bindService(new Intent(this, FakeCoreService3.class), mServiceConnection3,
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DGuestResumeSessionReceiver.java27 import android.content.Intent;
49 IntentFilter f = new IntentFilter(Intent.ACTION_USER_SWITCHED);
55 public void onReceive(Context context, Intent intent) {
58 if (Intent.ACTION_USER_SWITCHED.equals(action)) {
61 int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL);
/frameworks/base/services/core/java/com/android/server/
H A DEntropyMixer.java27 import android.content.Intent;
88 public void onReceive(Context context, Intent intent) {
115 IntentFilter broadcastFilter = new IntentFilter(Intent.ACTION_SHUTDOWN);
116 broadcastFilter.addAction(Intent.ACTION_POWER_CONNECTED);
117 broadcastFilter.addAction(Intent.ACTION_REBOOT);
/frameworks/base/services/core/java/com/android/server/notification/
H A DCountdownConditionProvider.java24 import android.content.Intent;
96 final Intent intent = new Intent(ACTION).putExtra(EXTRA_CONDITION_ID, conditionId)
97 .setFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
126 public void onReceive(Context context, Intent intent) {
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbAudioManager.java22 import android.content.Intent;
84 Intent intent = new Intent(AudioManager.ACTION_USB_AUDIO_DEVICE_PLUG);
85 intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING);
86 intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);

Completed in 582 milliseconds

<<11121314151617181920>>