/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListEmptyViewTest.java | 20 import android.content.Intent; 73 Intent intent = new Intent(); 116 Intent intent = new Intent();
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
H A D | SenderFilter.java | 21 import android.content.Intent; 81 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, 89 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, 97 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, 106 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent,
|
H A D | StringFilter.java | 20 import android.content.Intent; 121 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, 137 public abstract String getValue(ComponentName resolvedComponent, Intent intent, 232 public String getValue(ComponentName resolvedComponent, Intent intent, 243 public String getValue(ComponentName resolvedComponent, Intent intent, 254 public String getValue(ComponentName resolvedComponent, Intent intent, 265 public String getValue(ComponentName resolvedComponent, Intent intent, 273 public String getValue(ComponentName resolvedComponent, Intent intent, 285 public String getValue(ComponentName resolvedComponent, Intent intent, 293 public String getValue(ComponentName resolvedComponent, Intent inten [all...] |
/frameworks/support/v4/jellybean/android/support/v4/app/ |
H A D | RemoteInputCompatJellybean.java | 21 import android.content.Intent; 79 static Bundle getResultsFromIntent(Intent intent) { 94 static void addResultsToIntent(RemoteInputCompatBase.RemoteInput[] remoteInputs, Intent intent, 103 Intent clipIntent = new Intent();
|
/frameworks/base/core/java/com/android/internal/net/ |
H A D | VpnConfig.java | 22 import android.content.Intent; 54 public static Intent getIntentForConfirmation() { 55 Intent intent = new Intent(); 65 Intent intent = new Intent(); 67 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_NO_HISTORY | 68 Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS); 75 Intent inten [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ServiceMonitor.java | 23 import android.content.Intent; 82 packageIntent((Intent)msg.obj); 142 public void onReceive(Context context, Intent intent) { 178 filter.addAction(Intent.ACTION_PACKAGE_ADDED); 179 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); 194 private void packageIntent(Intent intent) { 197 if (Intent.ACTION_PACKAGE_ADDED.equals(intent.getAction())) { 199 } else if (Intent.ACTION_PACKAGE_CHANGED.equals(intent.getAction())) { 217 boolean stopped = mContext.stopService(new Intent().setComponent(mServiceName)); 237 Intent inten [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | NetworkScorerAppManagerTest.java | 21 import android.content.Intent; 101 Mockito.argThat(new ArgumentMatcher<Intent>() { 104 Intent intent = (Intent) object; 115 Mockito.argThat(new ArgumentMatcher<Intent>() { 118 Intent intent = (Intent) object;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | SecureCameraLaunchManager.java | 20 import android.content.Intent; 176 Intent intent = new Intent(); 178 intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT); 225 Intent intent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE) 226 .addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbResolverActivity.java | 20 import android.content.Intent; 51 Intent intent = getIntent(); 52 Parcelable targetParcelable = intent.getParcelableExtra(Intent.EXTRA_INTENT); 53 if (!(targetParcelable instanceof Intent)) { 58 Intent target = (Intent)targetParcelable; 96 protected void onIntentSelected(ResolveInfo ri, Intent intent, boolean alwaysCheck) {
|
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/ |
H A D | BatteryWaster.java | 22 import android.content.Intent; 62 mFilter.addAction(Intent.ACTION_BATTERY_CHANGED); 63 mFilter.addAction(Intent.ACTION_BATTERY_LOW); 64 mFilter.addAction(Intent.ACTION_BATTERY_OKAY); 65 mFilter.addAction(Intent.ACTION_POWER_CONNECTED); 165 public void onReceive(Context context, Intent intent) { 172 if (Intent.ACTION_BATTERY_CHANGED.equals(action)) {
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
H A D | AppCompatibility.java | 23 import android.content.Intent; 153 Intent homeIntent = new Intent(Intent.ACTION_MAIN); 154 homeIntent.addCategory(Intent.CATEGORY_HOME); 155 homeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 156 Intent intent;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentsActivity.java | 24 import android.content.Intent; 54 public void onReceive(Context context, Intent intent) { 151 Intent homeIntent = new Intent(Intent.ACTION_MAIN, null); 152 homeIntent.addCategory(Intent.CATEGORY_HOME); 153 homeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK 154 | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED); 219 protected void onNewIntent(Intent intent) { 223 private void handleIntent(Intent inten [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | UserInfoController.java | 22 import android.content.Intent; 61 filter.addAction(Intent.ACTION_USER_SWITCHED); 62 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); 67 profileFilter.addAction(Intent.ACTION_USER_INFO_CHANGED); 78 public void onReceive(Context context, Intent intent) { 80 if (Intent.ACTION_USER_SWITCHED.equals(action)) { 82 } else if (Intent.ACTION_CONFIGURATION_CHANGED.equals(action)) { 92 public void onReceive(Context context, Intent intent) { 95 Intent.ACTION_USER_INFO_CHANGED.equals(action)) { 99 intent.getIntExtra(Intent [all...] |
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerServiceImpl.java | 25 import android.content.Intent; 71 public void onReceive(Context context, Intent intent) { 72 if (Intent.ACTION_CLOSE_SYSTEM_DIALOGS.equals(intent.getAction())) { 113 Intent serviceIntent = new Intent(VoiceInteractionService.SERVICE_INTERFACE); 221 filter.addAction(Intent.ACTION_CLOSE_SYSTEM_DIALOGS); 245 Intent intent, String resolvedType) { 251 intent = new Intent(intent); 252 intent.addCategory(Intent.CATEGORY_VOICE); 253 intent.addFlags(Intent [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | IBackupManager.aidl | 22 import android.content.Intent; 232 * Get the configuration Intent, if any, from the given transport. Callers must 236 * @return An Intent to use with Activity#startActivity() to bring up the configuration 240 Intent getConfigurationIntent(String transport); 256 Intent getDataManagementIntent(String transport);
|
/frameworks/base/core/java/android/widget/ |
H A D | ViewFlipper.java | 21 import android.content.Intent; 72 public void onReceive(Context context, Intent intent) { 74 if (Intent.ACTION_SCREEN_OFF.equals(action)) { 77 } else if (Intent.ACTION_USER_PRESENT.equals(action)) { 90 filter.addAction(Intent.ACTION_SCREEN_OFF); 91 filter.addAction(Intent.ACTION_USER_PRESENT);
|
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/ |
H A D | SampleTrustAgent.java | 21 import android.content.Intent; 141 public void onReceive(Context context, Intent intent) { 159 Intent intent = new Intent(ACTION_GRANT_TRUST); 167 Intent intent = new Intent(ACTION_REVOKE_TRUST);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | GlobalKeyManager.java | 20 import android.content.Intent; 40 * {@link Intent#ACTION_GLOBAL_BUTTON} and the KeyEvent will be included in the intent with 41 * {@link Intent#EXTRA_KEY_EVENT}. 74 Intent intent = new Intent(Intent.ACTION_GLOBAL_BUTTON) 76 .setFlags(Intent.FLAG_RECEIVER_FOREGROUND) 77 .putExtra(Intent.EXTRA_KEY_EVENT, event);
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
H A D | PlayerService.java | 19 import android.content.Intent; 39 private Intent mIntent; 57 public IBinder onBind(Intent intent) { 65 public int onStartCommand(Intent intent, int flags, int startId) { 95 protected Intent onCreateServiceIntent() { 96 return new Intent(this, PlayerService.class).setPackage(getBasePackageName());
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceInflater.java | 27 import android.content.Intent; 71 Intent intent = null; 74 intent = Intent.parseIntent(getContext().getResources(), parser, attrs);
|
/frameworks/base/core/java/android/view/ |
H A D | MenuItem.java | 20 import android.content.Intent; 228 * Change the Intent associated with this item. By default there is no 229 * Intent associated with a menu item. If you set one, and nothing 231 * {@link android.content.Context#startActivity} with the given Intent. 240 * @param intent The Intent to associated with the item. This Intent 245 public MenuItem setIntent(Intent intent); 248 * Return the Intent associated with this item. This returns a 249 * reference to the Intent which you can change as desired to modify 256 public Intent getInten [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | PermissionMonitor.java | 27 import android.content.Intent; 80 public void onReceive(Context context, Intent intent) { 82 int user = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); 83 int appUid = intent.getIntExtra(Intent.EXTRA_UID, -1); 87 if (Intent.ACTION_USER_ADDED.equals(action)) { 89 } else if (Intent.ACTION_USER_REMOVED.equals(action)) { 91 } else if (Intent.ACTION_PACKAGE_ADDED.equals(action)) { 93 } else if (Intent.ACTION_PACKAGE_REMOVED.equals(action)) { 106 intentFilter.addAction(Intent.ACTION_USER_ADDED); 107 intentFilter.addAction(Intent [all...] |
/frameworks/base/services/core/java/com/android/server/webkit/ |
H A D | WebViewUpdateService.java | 21 import android.content.Intent; 53 public void onReceive(Context context, Intent intent) { 61 filter.addAction(Intent.ACTION_PACKAGE_REPLACED);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | A3DSelector.java | 25 import android.content.Intent; 104 Intent resultIntent = new Intent();
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | FileSelector.java | 25 import android.content.Intent; 104 Intent resultIntent = new Intent();
|