/cts/tests/app/app/src/android/app/stubs/ |
MockAlarmReceiver.java | 21 import android.content.Intent; 40 public void onReceive(Context context, Intent intent) { 41 final String action = intent.getAction();
|
StubRemoteService.java | 20 import android.content.Intent; 47 public IBinder onBind(Intent intent) { 48 if (ISecondary.class.getName().equals(intent.getAction())) {
|
/cts/tests/fragment/src/android/fragment/cts/ |
NewIntentActivity.java | 20 import android.content.Intent; 40 public void onNewIntent(Intent intent) { 41 super.onNewIntent(intent);
|
/cts/tests/tests/content/src/android/content/cts/ |
ReadableFileReceiverActivity.java | 21 import android.content.Intent; 40 Intent intent = getIntent(); local 43 String action = intent.getAction(); 44 if (Intent.ACTION_SEND.equals(action) 45 || Intent.ACTION_SEND_MULTIPLE.equals(action)) { 46 readFilesFromClipDataUri(intent); 52 // Sends ACTION_FILE_READY intent when read from clipdata uri is succesful 54 private void readFilesFromClipDataUri(Intent intent) { [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
CtsRemoteService.java | 20 import android.content.Intent; 47 public IBinder onBind(Intent intent) { 48 if (ISecondary.class.getName().equals(intent.getAction())) {
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
CarrierServiceTest.java | 19 import android.content.Intent; 37 Intent intent = new Intent(getContext(), TestCarrierService.class); local 38 startService(intent);
|
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
CreditCardCompoundViewActivity.kt | 19 import android.content.Intent 47 val intent = WelcomeActivity.getStartActivityIntent(this) 48 startActivity(intent) 53 fun getStartActivityIntent(context: Context): Intent { 54 val intent = Intent(context, CreditCardCompoundViewActivity::class.java) 55 return intent
|
/developers/build/prebuilts/gradle/DirectShare/Application/src/main/java/com/example/android/directshare/ |
SendMessageActivity.java | 20 import android.content.Intent; 59 // Resolve the share Intent. 77 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 96 * Resolves the passed {@link Intent}. This method can only resolve intents for sharing a plain 99 * @param intent The {@link Intent}. 100 * @return True if the {@code intent} is resolved properly. 102 private boolean resolveIntent(Intent intent) { 103 if (Intent.ACTION_SEND.equals(intent.getAction()) & 127 Intent intent = new Intent(this, SelectContactActivity.class); local [all...] |
/developers/build/prebuilts/gradle/DocumentCentricRelinquishIdentity/Application/src/main/java/com/example/android/documentcentricrelinquishidentity/ |
RelinquishIdentityActivity.java | 20 import android.content.Intent; 26 * above it in the task stack. These identifiers include the task base Intent, and the task name, 27 * color and icon used in the recent task list. The base @link{Intent} is used to match the task when 28 * relaunching based on an incoming Intent. 44 final Intent intent = newDocumentIntent(); local 45 startActivity(intent); 49 * Returns an new intent to start {@link NewDocumentActivity} 52 private Intent newDocumentIntent() { 53 final Intent newDocumentIntent = new Intent(this, NewDocumentActivity.class) [all...] |
/developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
MessageReadReceiver.java | 21 import android.content.Intent; 31 public void onReceive(Context context, Intent intent) { 33 int conversationId = intent.getIntExtra(CONVERSATION_ID, -1);
|
/developers/build/prebuilts/gradle/MultiWindowPlayground/Application/src/main/java/com/android/multiwindowplayground/ |
MainActivity.java | 28 import android.content.Intent; 59 Intent intent = new Intent(this, UnresizableActivity.class); local 60 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 61 startActivity(intent); 67 startActivity(new Intent(this, MinimumSizeActivity.class)); 77 * previous activity that started the Intent. That's why the Intent.FLAG_ACTIVITY_NEW_TAS 80 Intent intent = new Intent(this, AdjacentActivity.class); local 96 Intent intent = new Intent(this, LaunchBoundsActivity.class); local [all...] |
/developers/samples/android/content/DirectShare/Application/src/main/java/com/example/android/directshare/ |
SendMessageActivity.java | 20 import android.content.Intent; 59 // Resolve the share Intent. 77 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 96 * Resolves the passed {@link Intent}. This method can only resolve intents for sharing a plain 99 * @param intent The {@link Intent}. 100 * @return True if the {@code intent} is resolved properly. 102 private boolean resolveIntent(Intent intent) { 103 if (Intent.ACTION_SEND.equals(intent.getAction()) & 127 Intent intent = new Intent(this, SelectContactActivity.class); local [all...] |
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
CreditCardCompoundViewActivity.kt | 19 import android.content.Intent 47 val intent = WelcomeActivity.getStartActivityIntent(this) 48 startActivity(intent) 53 fun getStartActivityIntent(context: Context): Intent { 54 val intent = Intent(context, CreditCardCompoundViewActivity::class.java) 55 return intent
|
/developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
MessageReadReceiver.java | 21 import android.content.Intent; 31 public void onReceive(Context context, Intent intent) { 33 int conversationId = intent.getIntExtra(CONVERSATION_ID, -1);
|
/developers/samples/android/ui/activitytasks/DocumentCentricRelinquishIdentity/Application/src/main/java/com/example/android/documentcentricrelinquishidentity/ |
RelinquishIdentityActivity.java | 20 import android.content.Intent; 26 * above it in the task stack. These identifiers include the task base Intent, and the task name, 27 * color and icon used in the recent task list. The base @link{Intent} is used to match the task when 28 * relaunching based on an incoming Intent. 44 final Intent intent = newDocumentIntent(); local 45 startActivity(intent); 49 * Returns an new intent to start {@link NewDocumentActivity} 52 private Intent newDocumentIntent() { 53 final Intent newDocumentIntent = new Intent(this, NewDocumentActivity.class) [all...] |
/developers/samples/android/ui/window/MultiWindowPlayground/Application/src/main/java/com/android/multiwindowplayground/ |
MainActivity.java | 28 import android.content.Intent; 59 Intent intent = new Intent(this, UnresizableActivity.class); local 60 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 61 startActivity(intent); 67 startActivity(new Intent(this, MinimumSizeActivity.class)); 77 * previous activity that started the Intent. That's why the Intent.FLAG_ACTIVITY_NEW_TAS 80 Intent intent = new Intent(this, AdjacentActivity.class); local 96 Intent intent = new Intent(this, LaunchBoundsActivity.class); local [all...] |
/development/apps/Development/src/com/android/development/ |
DataList.java | 20 import android.content.Intent; 38 Intent intent = getIntent(); local 40 mCursor = getContentResolver().query(intent.getData(), null, null, null, null); 41 mDisplay = intent.getStringExtra("display"); 102 Intent intent = new Intent(Intent.ACTION_VIEW, uri); local 103 intent.setClass(this, Details.class) [all...] |
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
OutsideTaskActivity.java | 21 import android.content.Intent; 33 Intent intent = new Intent(Intent.ACTION_VIEW) local 35 .addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); 36 startActivity(intent);
|
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/ |
ShortcutPublishingService.java | 20 import android.content.Intent; 43 protected void onHandleIntent(Intent intent) { 44 if (intent.getAction().endsWith(".ADD")) {
|
/development/samples/browseable/DirectShare/src/com.example.android.directshare/ |
SendMessageActivity.java | 20 import android.content.Intent; 59 // Resolve the share Intent. 77 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 96 * Resolves the passed {@link Intent}. This method can only resolve intents for sharing a plain 99 * @param intent The {@link Intent}. 100 * @return True if the {@code intent} is resolved properly. 102 private boolean resolveIntent(Intent intent) { 103 if (Intent.ACTION_SEND.equals(intent.getAction()) & 127 Intent intent = new Intent(this, SelectContactActivity.class); local [all...] |
/development/samples/browseable/DocumentCentricRelinquishIdentity/src/com.example.android.documentcentricrelinquishidentity/ |
RelinquishIdentityActivity.java | 20 import android.content.Intent; 26 * above it in the task stack. These identifiers include the task base Intent, and the task name, 27 * color and icon used in the recent task list. The base @link{Intent} is used to match the task when 28 * relaunching based on an incoming Intent. 44 final Intent intent = newDocumentIntent(); local 45 startActivity(intent); 49 * Returns an new intent to start {@link NewDocumentActivity} 52 private Intent newDocumentIntent() { 53 final Intent newDocumentIntent = new Intent(this, NewDocumentActivity.class) [all...] |
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
MessageReadReceiver.java | 21 import android.content.Intent; 31 public void onReceive(Context context, Intent intent) { 33 int conversationId = intent.getIntExtra(CONVERSATION_ID, -1);
|
/development/samples/browseable/MultiWindowPlayground/src/com/android.multiwindowplayground/ |
MainActivity.java | 28 import android.content.Intent; 59 Intent intent = new Intent(this, UnresizableActivity.class); local 60 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 61 startActivity(intent); 67 startActivity(new Intent(this, MinimumSizeActivity.class)); 77 * previous activity that started the Intent. That's why the Intent.FLAG_ACTIVITY_NEW_TAS 80 Intent intent = new Intent(this, AdjacentActivity.class); local 96 Intent intent = new Intent(this, LaunchBoundsActivity.class); local [all...] |
/frameworks/base/core/java/android/content/ |
IIntentReceiver.aidl | 19 import android.content.Intent; 23 * System private API for dispatching intent broadcasts. This is given to the 24 * activity manager as part of registering for an intent broadcasts, and is 30 void performReceive(in Intent intent, int resultCode, String data,
|
/frameworks/base/core/java/android/content/pm/ |
IPackageInstallObserver2.aidl | 19 import android.content.Intent; 28 void onUserActionRequired(in Intent intent);
|