/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
UsbAccessoryActivity.java | 21 import android.content.Intent; 36 Intent intent = DemoKitLaunch.createIntent(this); local 37 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK 38 | Intent.FLAG_ACTIVITY_CLEAR_TOP); 40 startActivity(intent);
|
/external/svox/pico/src/com/svox/pico/ |
LangPackUninstaller.java | 20 import android.content.Intent;
33 public void onReceive(Context context, Intent intent) {
39 * Returns the name of the package that was added from the intent.
40 * @param intent the {@link Intent}
42 private static String getPackageName(Intent intent) {
43 return intent.getData().getSchemeSpecificPart();
|
/frameworks/base/core/java/android/app/ |
PackageDeleteObserver.java | 19 import android.content.Intent; 26 public void onUserActionRequired(Intent intent) { 27 PackageDeleteObserver.this.onUserActionRequired(intent); 41 public void onUserActionRequired(Intent intent) {
|
PackageInstallObserver.java | 19 import android.content.Intent; 27 public void onUserActionRequired(Intent intent) { 28 PackageInstallObserver.this.onUserActionRequired(intent); 44 public void onUserActionRequired(Intent intent) {
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
RemoteSubActivityScreen.java | 20 import android.content.Intent; 37 Intent intent = getIntent(); local 38 intent.setClass(this, SubActivityScreen.class); 42 boolean kill = intent.getBooleanExtra("kill", false);
|
BroadcastTest.java | 23 import android.content.Intent; 108 public Intent makeBroadcastIntent(String action) { 109 Intent intent = new Intent(action, null); local 110 intent.putExtra("caller", mCallTarget); 111 return intent; 114 public void finishWithResult(int resultCode, Intent data) { 119 public final void gotReceive(String name, Intent intent) { 305 Intent intent = new Intent(LaunchpadActivity.BROADCAST_STICKY1, null); local 320 Intent intent = new Intent(LaunchpadActivity.BROADCAST_STICKY1, null); local 335 Intent intent = new Intent(LaunchpadActivity.BROADCAST_STICKY1, null); local 352 Intent intent = new Intent(LaunchpadActivity.BROADCAST_STICKY1, null); local 362 Intent intent = new Intent(LaunchpadActivity.BROADCAST_STICKY1, null); local [all...] |
RemoteReceiver.java | 20 import android.content.Intent; 32 public void onReceive(Context context, Intent intent) 34 if (LaunchpadActivity.BROADCAST_REPEAT.equals(intent.getAction())) { 35 Intent newIntent = new Intent(intent); 40 IBinder caller = intent.getIBinderExtra("caller");
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
QuickContactBroadcastReceiver.java | 21 import android.content.Intent; 27 * intent receiver is to disable the animation that RemoveViews typically do, which interfere 32 public void onReceive(Context context, Intent intent) { 33 final Uri dataUri = intent.getData(); 34 final Intent newIntent = new Intent(QuickContact.ACTION_QUICK_CONTACT); 35 newIntent.setSourceBounds(intent.getSourceBounds()); 36 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
ApplicationInfo.java | 20 import android.content.Intent; 39 * The intent used to start the application. 41 Intent intent; field in class:ApplicationInfo 73 Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED); 84 intent = new Intent(Intent.ACTION_MAIN); 85 intent.addCategory(Intent.CATEGORY_LAUNCHER) [all...] |
/packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/ |
ImsFrameworkService.java | 20 import android.content.Intent; 29 * before {@link Intent#ACTION_BOOT_COMPLETED} is broadcast, so early 37 public int onStartCommand(Intent intent, int flags, int startId) { 38 String action = intent.getAction(); 39 Log.d(TAG, "Service starting for intent " + action); 40 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) { 53 public IBinder onBind(Intent intent) {
|
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
NotificationShowcaseActivity.java | 8 import android.content.Intent; 17 Intent intent = new Intent(NotificationService.ACTION_CREATE); local 18 intent.setComponent(new ComponentName(this, NotificationService.class)); 19 startService(intent);
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
DownloadList.java | 20 import android.content.Intent; 32 final Intent intent = new Intent(DocumentsContract.ACTION_MANAGE_ROOT); local 33 intent.setData(DocumentsContract.buildRootUri( 35 startActivity(intent);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
BroadcastInterceptingContext.java | 22 import android.content.Intent; 39 * {@link Context#sendBroadcast(Intent)}. 46 public class BroadcastInterceptor extends AbstractFuture<Intent> { 55 public boolean dispatchBroadcast(Intent intent) { 56 if (mFilter.match(getContentResolver(), intent, false, TAG) > 0) { 59 mReceiver.onReceive(context, intent); 62 set(intent); 71 public Intent get() throws InterruptedException, ExecutionException { 84 public Future<Intent> nextBroadcastIntent(String action) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ |
MailIntentService.java | 20 import android.content.Intent; 68 protected void onHandleIntent(final Intent intent) { 71 LogUtils.v(LOG_TAG, "Handling intent %s", intent); 73 final String action = intent.getAction(); 75 if (Intent.ACTION_LOCALE_CHANGED.equals(action)) { 79 final Account account = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT); 80 final Folder folder = intent.getParcelableExtra(Utils.EXTRA_FOLDER); 86 final Uri accountUri = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT_URI) 122 final Intent intent = new Intent(ACTION_BACKUP_DATA_CHANGED); local [all...] |
/packages/services/Telephony/src/com/android/phone/ |
InCallScreenShowActivation.java | 22 import android.content.Intent; 34 * Invisible activity that handles the com.android.phone.PERFORM_CDMA_PROVISIONING intent. 55 Intent intent = getIntent(); local 56 if (DBG) Log.d(LOG_TAG, "onCreate: intent = " + intent); 57 Bundle extras = intent.getExtras(); 72 if (intent.getAction().equals(OtaUtils.ACTION_PERFORM_CDMA_PROVISIONING)) { 92 // Testing: this intent extra allows test apps manually 96 if (intent.hasExtra(OtaUtils.EXTRA_OVERRIDE_INTERACTIVE_MODE 172 Intent intent = new Intent("android.intent.action.DEVICE_INITIALIZATION_WIZARD"); local 196 final Intent intent = new Intent(); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ContactEditorActivity.java | 23 import android.content.Intent; 56 * Boolean intent key that specifies that this activity should finish itself 57 * (instead of launching a new view intent) after the editor changes have been 72 final Intent intent = getIntent(); local 73 final String action = intent.getAction(); 78 mFinishActivityOnSaveCompleted = intent.getBooleanExtra( 111 if (Intent.ACTION_EDIT.equals(action)) { 128 Uri uri = Intent.ACTION_EDIT.equals(action) ? getIntent().getData() : null; 133 protected void onNewIntent(Intent intent) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BleClientService.java | 33 import android.content.Intent; 116 public int onStartCommand(Intent intent, int flags, int startId) { 117 if (intent != null) handleIntent(intent); 122 public IBinder onBind(Intent intent) { 133 private void handleIntent(Intent intent) { 134 int command = intent.getIntExtra(EXTRA_COMMAND, -1) 217 Intent intent = new Intent(BLE_BLUETOOTH_CONNECTED); local 222 Intent intent = new Intent(BLE_BLUETOOTH_DISCONNECTED); local 227 Intent intent = new Intent(BLE_SERVICES_DISCOVERED); local 232 Intent intent = new Intent(BLE_CHARACTERISTIC_READ); local 238 Intent intent = new Intent(BLE_CHARACTERISTIC_WRITE); local 243 Intent intent = new Intent(BLE_CHARACTERISTIC_CHANGED); local 249 Intent intent = new Intent(BLE_DESCRIPTOR_READ); local 255 Intent intent = new Intent(BLE_DESCRIPTOR_WRITE); local 260 Intent intent = new Intent(BLE_RELIABLE_WRITE_COMPLETED); local 265 Intent intent = new Intent(BLE_READ_REMOTE_RSSI); local [all...] |
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature/src/com/android/cts/splitapp/ |
FeatureService.java | 20 import android.content.Intent; 28 protected void onHandleIntent(Intent intent) {
|
/cts/tests/tests/app/src/android/app/cts/ |
AliasActivityTest.java | 22 import android.content.Intent; 38 Intent intent = new Intent(); local 39 intent.setClass(context, AliasActivityStub.class); 40 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 44 context.startActivity(intent);
|
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
ContentViewActivity.java | 22 import android.content.Intent; 34 Intent intent = getIntent(); local 35 if (Intent.ACTION_VIEW.equals(intent.getAction())) { 38 } else if (intent.hasExtra(EXTRA_TEXT)) { 40 tv.setText(intent.getStringExtra(EXTRA_TEXT));
|
/device/htc/flounder/VolantisKeyboard/src/com/android/volantiskeyboard/ |
VolantisKeyboardReceiver.java | 21 import android.content.Intent; 25 public void onReceive(Context context, Intent intent) {
|
/external/robolectric/src/main/java/com/foo/ |
Receiver.java | 5 import android.content.Intent; 10 public void onReceive(Context context, Intent intent) {
|
/external/robolectric/src/main/java/com/xtremelabs/ |
ConfigTestReceiver.java | 5 import android.content.Intent; 10 public void onReceive(Context context, Intent intent) {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
DotConfigTestReceiver.java | 5 import android.content.Intent; 10 public void onReceive(Context context, Intent intent) {
|
/frameworks/base/packages/InputDevices/src/com/android/inputdevices/ |
InputDeviceReceiver.java | 21 import android.content.Intent; 25 public void onReceive(Context context, Intent intent) {
|