/frameworks/base/core/java/com/android/internal/widget/ |
IRemoteViewsFactory.aidl | 19 import android.content.Intent; 26 oneway void onDestroy(in Intent intent);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
AbortReceiver.java | 20 import android.content.Intent; 33 public void onReceive(Context context, Intent intent) 37 IBinder caller = intent.getIBinderExtra("caller");
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
DeviceDisconnectedReceiver.java | 22 import android.content.Intent; 44 public void onReceive(Context context, Intent intent) { 45 UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
PrintSpoolerProvider.java | 21 import android.content.Intent; 34 Intent intent = new Intent(mContext, PrintSpoolerService.class); local 35 mContext.bindService(intent, this, 0);
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
AndFilter.java | 20 import android.content.Intent; 28 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, 31 if (!children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid,
|
CategoryFilter.java | 20 import android.content.Intent; 37 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, 39 Set<String> categories = intent.getCategories();
|
OrFilter.java | 20 import android.content.Intent; 28 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, 31 if (children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid,
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
SchedulerService.java | 22 import android.content.Intent; 28 public int onStartCommand(Intent intent, int flags, int startId) { 35 new Intent(this, FrameworkPerfActivity.class) 36 .setAction(Intent.ACTION_MAIN) 37 .addCategory(Intent.CATEGORY_LAUNCHER) 38 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK), 0)) 46 public IBinder onBind(Intent intent) {
|
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/ |
CrashingService.java | 20 import android.content.Intent; 56 public int onStartCommand(Intent intent, int flags, int startId) { 62 public IBinder onBind(Intent intent) {
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
TestAlertActivity.java | 5 import android.content.Intent; 17 Intent intent = getIntent(); local 18 mId = intent.getIntExtra("id", -1);
|
/frameworks/support/fragment/tests/java/android/support/v4/app/test/ |
NewIntentActivity.java | 19 import android.content.Intent; 41 public void onNewIntent(Intent intent) { 42 super.onNewIntent(intent);
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
CameraStartUp.java | 23 import android.content.Intent; 48 Intent intent = new Intent(Intent.ACTION_MAIN); local 49 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class); 50 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 53 Activity cameraActivity = inst.startActivitySync(intent); 71 Intent intent = new Intent(MediaStore.INTENT_ACTION_VIDEO_CAMERA) local [all...] |
/packages/apps/Car/Stream/src/com/android/car/stream/radio/ |
RadioConverter.java | 22 import android.content.Intent; 125 * Returns an {@link Intent} that will take the user to the radio application. 132 Intent intent = new Intent(); local 133 intent.setComponent(radioComponent); 134 intent.addFlags(Intent.FLAG_ACTIVITY_LAUNCH_ADJACENT); 136 return PendingIntent.getActivity(mContext, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT); 140 * Returns an {@link Intent} that will perform the given action 146 Intent intent = new Intent(RadioStreamProducer.RADIO_INTENT_ACTION); local [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/ |
TestAuthenticationService.java | 20 import android.content.Intent; 44 public IBinder onBind(Intent intent) { 46 Log.v(TestauthConstants.LOG_TAG, this + " getBinder() intent=" + intent);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
VoicemailProviderChangeReceiver.java | 20 import android.content.Intent; 30 public void onReceive(Context context, Intent intent) { 34 boolean isSelfChanged = intent.getBooleanExtra(VoicemailContract.EXTRA_SELF_CHANGE, false);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
AlbumPicker.java | 19 import android.content.Intent; 31 Intent intent = getIntent(); local 32 Bundle extras = intent.getExtras();
|
DialogPicker.java | 19 import android.content.Intent; 32 Intent intent = getIntent(); local 33 Bundle extras = intent.getExtras();
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ShortcutInfo.java | 22 import android.content.Intent; 75 * The intent used to start the application. 77 public Intent intent; field in class:ShortcutInfo 83 public Intent.ShortcutIconResource iconResource; 141 intent = new Intent(info.intent); 152 intent = new Intent(info.intent) [all...] |
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
CameraStartUp.java | 24 import android.content.Intent; 49 Intent intent = new Intent(Intent.ACTION_MAIN); local 50 intent.setClass(getInstrumentation().getTargetContext(), Camera.class); 51 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 54 Activity cameraActivity = inst.startActivitySync(intent); 71 Intent intent = new Intent(Intent.ACTION_MAIN) local [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
ClickableSpanFactory.java | 18 import android.content.Intent; 35 * @param intent to start on click 37 public @NonNull ClickableSpan create(@NonNull Intent intent) { 42 widget.getContext().startActivity(intent);
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/ |
ManagedProfileAdminReceiver.java | 22 import android.content.Intent; 31 public static final Intent INTENT_PROVISION_MANAGED_PROFILE = 32 E2eUiTestUtils.insertProvisioningExtras(new Intent( 39 public void onProfileProvisioningComplete(Context context, Intent intent) { 41 boolean testResult = E2eUiTestUtils.verifyProfile(context, intent, getManager(context));
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
BuglePhotoPageAdapter.java | 19 import android.content.Intent; 34 protected PhotoViewFragment createPhotoViewFragment(Intent intent, int position, 36 return BuglePhotoViewFragment.newInstance(intent, position, onlyShowSpinner);
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/ |
BugleActivityTest.java | 38 final ActivityInstrumentationTestCaseIntent intent = local 41 startActivity(intent, null, null);
|
ViewTest.java | 39 final ActivityInstrumentationTestCaseIntent intent = local 42 startActivity(intent, null, null);
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
BeamReceiveService.java | 7 import android.content.Intent; 38 public void onReceive(Context context, Intent intent) { 39 String action = intent.getAction(); 41 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, 55 public int onStartCommand(Intent intent, int flags, int startId) { 59 if (intent == null || 60 (transferRecord = intent.getParcelableExtra(EXTRA_BEAM_TRANSFER_RECORD)) == null) { 66 mCompleteCallback = intent.getParcelableExtra(EXTRA_BEAM_COMPLETE_CALLBACK) [all...] |