/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
LockProfileReceiver.java | 22 import android.content.Intent; 35 public void onReceive(Context context, Intent intent) { 36 if (ACTION_LOCK_PROFILE.equals(intent.getAction())) {
|
/cts/hostsidetests/harmfulappwarning/sampleapp/src/android/harmfulappwarning/sampleapp/ |
SampleDeviceActivity.java | 20 import android.content.Intent; 42 Intent intent = new Intent(ACTION_ACTIVITY_STARTED); local 43 sendBroadcast(intent);
|
/cts/tests/framework/base/activitymanager/app/src/android/server/am/ |
LaunchBroadcastReceiver.java | 21 import android.content.Intent; 29 public void onReceive(Context context, Intent intent) { 31 ActivityLauncher.launchActivityFromExtras(context, intent.getExtras());
|
/cts/tests/tests/content/src/android/content/cts/ |
ImageCaptureActivity.java | 21 import android.content.Intent; 38 Intent intent = getIntent(); local 41 String action = intent.getAction(); 45 writeToClipDataUri(intent); 51 // Sends ACTION_FILE_READY intent when write to clipdata uri is succesful. 52 private void writeToClipDataUri(Intent intent) { 53 if ((intent.getFlags() & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) == 0) [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
EmptyService.java | 20 import android.content.Intent; 35 public IBinder onBind(Intent intent) { 36 if (IEmptyService.class.getName().equals(intent.getAction())) {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
QuickContactBadgeTest.java | 25 import android.content.Intent; 54 public void startActivity(Intent intent) { 55 testCallback(intent); 59 public void startActivityAsUser(Intent intent, UserHandle user) { 60 testCallback(intent); 64 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) { 65 testCallback(intent); [all...] |
/developers/build/prebuilts/gradle/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/ |
Sample.kt | 19 import android.content.Intent 21 class Sample(var titleResId: Int, var descriptionResId: Int, var intent: Intent)
|
/developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/ |
InitializeChannelsReceiver.java | 20 import android.content.Intent; 31 public void onReceive(Context context, Intent intent) { 32 Log.d(TAG, "onReceive(): " + intent);
|
/developers/samples/android/ui/views/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/ |
Sample.kt | 19 import android.content.Intent 21 class Sample(var titleResId: Int, var descriptionResId: Int, var intent: Intent)
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
AppUpdateSspReceiver.java | 21 import android.content.Intent; 29 public void onReceive(Context context, Intent intent) { 30 String msg = "Ssp update received: " + intent.getData();
|
IntentActivityFlags.java | 10 import android.content.Intent; 18 * Example of various Intent flags to modify the activity stack. 35 * This creates an array of Intent objects representing the back stack 39 private Intent[] buildIntentsToViewsLists() { 44 Intent[] intents = new Intent[3]; 47 // This is a convenient way to make the proper Intent to launch and 49 intents[0] = Intent.makeRestartActivityTask(new ComponentName(this, 52 Intent intent = new Intent(Intent.ACTION_MAIN) local [all...] |
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/ |
ShortcutReceiver.java | 21 import android.content.Intent; 28 public void onReceive(Context context, Intent intent) { 29 Log.i(TAG, "Received: " + intent);
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
DeviceShutdown.java | 33 import android.content.Intent; 47 public void onReceive(Context context, Intent intent) { 48 logger.debug("onReceive() in PresencePolling, intent: " + 49 intent + ", context: " + context);
|
/external/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/ |
MainActivity.java | 3 import android.content.Intent; 18 Intent intent = new Intent(this, SkQPActivity.class); local 19 startActivity(intent);
|
/external/skqp/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/ |
MainActivity.java | 3 import android.content.Intent; 18 Intent intent = new Intent(this, SkQPActivity.class); local 19 startActivity(intent);
|
/external/volley/src/main/java/com/android/volley/ |
AuthFailureError.java | 19 import android.content.Intent; 26 /** An intent that can be used to resolve this exception. (Brings up the password dialog.) */ 27 private Intent mResolutionIntent; 31 public AuthFailureError(Intent intent) { 32 mResolutionIntent = intent; 47 public Intent getResolutionIntent() {
|
/frameworks/base/core/java/android/content/pm/ |
IPackageDeleteObserver2.aidl | 19 import android.content.Intent; 23 void onUserActionRequired(in Intent intent);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
IntentSenderTest.java | 21 import android.content.Intent; 41 final Intent intent = makeBroadcastIntent(BROADCAST_REGISTERED); local 48 public void onSendFinished(PendingIntent pi, Intent intent, 50 gotReceive(RECEIVER_RESULTS, intent); 54 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); 70 final Intent intent = makeBroadcastIntent(BROADCAST_LOCAL_DENIED); local 75 public void onSendFinished(PendingIntent pi, Intent intent [all...] |
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
FusedLocationService.java | 20 import android.content.Intent; 27 public IBinder onBind(Intent intent) { 35 public boolean onUnbind(Intent intent) {
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
AlarmSpamReceiver.java | 21 import android.content.Intent; 28 public void onReceive(Context context, Intent intent) { 29 Log.i("AlarmSpamReceiver", "Received spam = " + intent);
|
/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/ui/ |
MainActivity.java | 20 import android.content.Intent; 38 Intent intent = new Intent(this, VideoActivity.class); local 39 startActivity(intent);
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/trackers/ |
BatteryChargingTracker.java | 19 import android.content.Intent; 48 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_BATTERY_CHANGED); 49 Intent intent = mAppContext.registerReceiver(null, intentFilter); local 50 if (intent == null) { 51 Log.e(TAG, "getInitialState - null intent received"); 54 return isBatteryChangedIntentCharging(intent); 64 intentFilter.addAction(Intent.ACTION_POWER_CONNECTED); 65 intentFilter.addAction(Intent.ACTION_POWER_DISCONNECTED); 71 public void onBroadcastReceive(Context context, @NonNull Intent intent) [all...] |
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
SwitchPreview.java | 22 import android.content.Intent; 98 Intent intent = new Intent(MediaStore.INTENT_ACTION_VIDEO_CAMERA); local 99 intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); 100 intent.setClass(getInstrumentation().getTargetContext(), 102 getActivity().startActivity(intent); 104 intent = new Intent(); [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
OnBootOrUpgradeReceiver.java | 21 import android.content.Intent; 28 public void onReceive(Context context, Intent intent) { 29 final String action = intent.getAction(); 30 if (Intent.ACTION_BOOT_COMPLETED.equals(action) 31 || Intent.ACTION_MY_PACKAGE_REPLACED.equals(action)) {
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
CarrierVvmPackageInstalledReceiver.java | 21 import android.content.Intent; 31 public void onReceive(Context context, Intent intent) { 32 String packageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME);
|