/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
InstallEventReceiver.java | 21 import android.content.Intent; 48 public void onReceive(Context context, Intent intent) { 49 getReceiver(context).onEventReceived(context, intent);
|
/packages/apps/Settings/src/com/android/settings/ |
AppWidgetLoader.java | 22 import android.content.Intent; 56 void putCustomAppWidgets(List<Item> items, Intent intent) { 61 customInfo = intent.getParcelableArrayListExtra(AppWidgetManager.EXTRA_CUSTOM_INFO); 77 customExtras = intent.getParcelableArrayListExtra(AppWidgetManager.EXTRA_CUSTOM_EXTRAS); 144 protected List<Item> getItems(Intent intent) { 146 intent.getBooleanExtra(AppWidgetManager.EXTRA_CUSTOM_SORT, true); 151 int categoryFilter = intent.getIntExtra(AppWidgetManager.EXTRA_CATEGORY_FILTER, 158 putCustomAppWidgets(items, intent); [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
RequestPermissionHelperActivity.java | 23 import android.content.Intent; 135 Intent intent = dpm.createAdminSupportIntent(UserManager.DISALLOW_BLUETOOTH); local 136 if (intent != null) { 137 startActivity(intent); 153 * Parse the received Intent and initialize mLocalBluetoothAdapter. 157 Intent intent = getIntent(); local 158 if (intent == null) { 162 String action = intent.getAction() [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageUnmountReceiver.java | 21 import android.content.Intent; 32 public void onReceive(Context context, Intent intent) { 35 final String volId = intent.getStringExtra(VolumeInfo.EXTRA_VOLUME_ID);
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
SetupFingerprintEnrollIntroduction.java | 22 import android.content.Intent; 59 protected Intent getChooseLockIntent() { 60 Intent intent = new Intent(this, SetupChooseLockGeneric.class); local 63 intent.putExtra( 66 intent.putExtra(ChooseLockGenericFragment.EXTRA_SHOW_OPTIONS_BUTTON, true); 68 SetupWizardUtils.copySetupExtras(getIntent(), intent); local 69 return intent; 73 protected Intent getFindSensorIntent() 74 final Intent intent = new Intent(this, SetupFingerprintEnrollFindSensor.class); local 75 SetupWizardUtils.copySetupExtras(getIntent(), intent); local [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
ShadowTileService.java | 3 import android.content.Intent; 30 public final void startActivityAndCollapse(Intent intent) { 31 realService.startActivity(intent);
|
/packages/apps/TV/src/com/android/tv/customization/ |
CustomAction.java | 19 import android.content.Intent; 33 private final Intent mIntent; 35 public CustomAction(int positionPriority, String title, Drawable iconDrawable, Intent intent) { 39 mIntent = intent; 72 * Returns intent to launch when this option is clicked. 74 public Intent getIntent() {
|
/packages/apps/TV/src/com/android/tv/receiver/ |
PackageIntentsReceiver.java | 21 import android.content.Intent; 35 public void onReceive(Context context, Intent intent) { 43 Uri uri = intent.getData();
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
BluetoothDevicePickerActivity.java | 20 import android.content.Intent; 36 Intent intent = getIntent(); local 38 Log.d(TAG, "Bluetooth sharing not supported on this device, ignoring request. Intent = " + 39 intent);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
FrontDoor.java | 20 import android.content.Intent; 29 Intent intent = getIntent(); local 31 String componentName = intent.getComponent().getClassName(); 34 startActivity(new Intent(this, HomeNormal.class)); 37 startActivity(new Intent(this, HomeXLarge.class)); 40 startActivity(new Intent(this, HomeGroupsXLarge.class)); 46 startActivity(new Intent(this, HomeXLarge.class)); 49 startActivity(new Intent(this, HomeNormal.class));
|
/packages/providers/CallLogProvider/src/com/android/calllogbackup/ |
CallLogChangeReceiver.java | 22 import android.content.Intent; 27 * Call Log Change Broadcast Receiver. Receives an intent when the call log provider changes 38 public void onReceive(Context context, Intent intent) { 39 if (ACTION_CALL_LOG_CHANGE.equals(intent.getAction())) {
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
PhoneNumberUtilsAdapterImpl.java | 20 import android.content.Intent; 45 public String getNumberFromIntent(Intent intent, Context context) { 46 return PhoneNumberUtils.getNumberFromIntent(intent, context);
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
VvmSmsReceiver.java | 21 import android.content.Intent; 36 public void onReceive(Context context, Intent intent) { 37 VisualVoicemailSms sms = intent.getExtras()
|
/platform_testing/tests/perf/BootHelperApp/src/com/android/boothelper/ |
BootHelperTest.java | 24 import android.content.Intent; 62 .getPackageName(), AwareActivity.class, new Intent(Intent.ACTION_MAIN)); 66 final Intent intent = new Intent(DevicePolicyManager.ACTION_SET_NEW_PASSWORD); local 67 intent.addCategory(Intent.CATEGORY_DEFAULT); 68 activity.startActivity(intent); 92 public void onReceive(Context context, Intent intent) [all...] |
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/ |
CategoryManagerTest.java | 21 import android.content.Intent; 128 tile1.intent = 129 new Intent().setComponent(new ComponentName(testPackage, "class1")); 132 tile2.intent = 133 new Intent().setComponent(new ComponentName(testPackage, "class2")); 136 tile3.intent = 137 new Intent().setComponent(new ComponentName(testPackage, "class3")); 161 tile1.intent = 162 new Intent().setComponent(new ComponentName(testPackage2, "class1")); 165 tile2.intent [all...] |
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/btservice/ |
PhonePolicyTest.java | 26 import android.content.Intent; 103 Intent intent = new Intent(BluetoothDevice.ACTION_UUID); local 104 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); 109 intent.putExtra(BluetoothDevice.EXTRA_UUID, uuids); 110 injector.onReceive(null /* context */, intent); 162 Intent intent = new Intent(BluetoothAdapter.ACTION_STATE_CHANGED) local 214 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); local 277 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); local 336 Intent intent = new Intent(BluetoothDevice.ACTION_UUID); local [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchActivity.java | 21 import android.content.Intent; 151 // First get setup from intent 152 Intent intent = getIntent(); local 153 setupFromIntent(intent); 174 protected void onNewIntent(Intent intent) { 177 setIntent(intent); 178 setupFromIntent(intent); 202 // from the intent and the user can't change it 348 Intent intent = searchSource.createSearchIntent(query, mAppSearchData); local 361 Intent intent = mSource.createVoiceSearchIntent(mAppSearchData); local 429 Intent intent = SuggestionUtils.getSuggestionIntent(suggestions, mAppSearchData); local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/ |
IGnssTestStateContainer.java | 20 import android.content.Intent; 59 * @param intent The intent to start the Activity. 62 int executeActivity(Intent intent) throws InterruptedException;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/voicemail/ |
VoicemailBroadcastReceiver.java | 21 import android.content.Intent; 42 public void onReceive(Context context, Intent intent) {
|
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
AwareReceiver.java | 23 import android.content.Intent; 28 public void onReceive(Context context, Intent intent) {
|
UnawareReceiver.java | 23 import android.content.Intent; 28 public void onReceive(Context context, Intent intent) {
|
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/feature_b/src/com/android/cts/isolatedsplitapp/feature_b/ |
FeatureBReceiver.java | 19 import android.content.Intent; 25 public void onReceive(Context context, Intent intent) {
|
/cts/hostsidetests/backup/SharedPreferencesRestoreApp/src/android/cts/backup/sharedprefrestoreapp/ |
SharedPrefsRestoreTestActivity.java | 4 import android.content.Intent; 61 protected void onNewIntent(Intent intent) { 62 processLaunchCommand(intent); 65 private void processLaunchCommand(Intent intent) { 66 final String action = intent.getAction(); 88 Log.e(TAG, "Unexpected intent action"); 92 sendBroadcast(new Intent().setAction(RESULT_ACTION).putExtra(EXTRA_SUCCESS, success));
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/ |
ProtectedCrossUserService.java | 20 import android.content.Intent; 41 public IBinder onBind(Intent intent) {
|
/cts/tests/openglperf2/src/android/opengl2/cts/reference/ |
GLReferenceBenchmark.java | 16 import android.content.Intent; 43 Intent intent = new Intent(); local 44 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_FRAMES, NUM_FRAMES); 45 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_TIMEOUT, TIMEOUT); 48 setActivityIntent(intent);
|