Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 25 of 217) sorted by relevance

123456789

/packages/apps/UnifiedEmail/tests/src/com/android/mail/ui/
DImgSrcReplacementTest.java29 private static void replace(final String input, final String expectedOutput) { in replace() method in ImgSrcReplacementTest
35 replace( in testSimple()
43 replace( in testSimpleSingleQuotes()
51 replace( in testSimpleNoQuotes()
59 replace( in testWithElementId()
67 replace( in testWithElementIdAndAltAttr()
75 replace( in testHttps()
84 replace( in testRelativeUrl()
93 replace( in testNoSrcAttr()
101 replace( in testSrcElsewhere()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/
DOmtpConstants.java216 .replace('=', '_') in getClientType()
217 .replace(';', '_') in getClientType()
218 .replace('.', '_') in getClientType()
219 .replace(' ', '_'), in getClientType()
226 .replace('=', '_') in getClientType()
227 .replace(';', '_') in getClientType()
228 .replace('.', '_') in getClientType()
229 .replace(' ', '_'), in getClientType()
235 .replace('=', '_') in getClientType()
236 .replace(';', '_') in getClientType()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilterTest.java45 dest.replace(5, 8, source); in testFilter()
61 dest.replace(8, 10, source); in testFilter()
64 dest.replace(0, 1, source); in testFilter()
68 dest.replace(0, 4, source); in testFilter()
78 dest.replace(2, 3, source); in testFilter()
82 dest.replace(3, 4, source); in testFilter()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DUtf8ByteLengthFilterTest.java91 dest.replace(5, 8, source); in exerciseFilter()
107 dest.replace(8, 10, source); in exerciseFilter()
110 dest.replace(0, 1, source); in exerciseFilter()
114 dest.replace(0, 4, source); in exerciseFilter()
124 dest.replace(2, 3, source); in exerciseFilter()
128 dest.replace(3, 4, source); in exerciseFilter()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java312 String numberWithControlSequence = rawValue.replace(PhoneNumberUtils.PAUSE, 'p') in getSelectedPhonebookNameList()
313 .replace(PhoneNumberUtils.WAIT, 'w'); in getSelectedPhonebookNameList()
729 String numberWithControlSequence = rawValue.replace(PhoneNumberUtils.PAUSE, 'p') in composeContactsAndSendVCards()
730 .replace(PhoneNumberUtils.WAIT, 'w'); in composeContactsAndSendVCards()
828 String numberWithControlSequence = rawValue.replace(PhoneNumberUtils.PAUSE, 'p') in composeContactsAndSendSelectedVCards()
829 .replace(PhoneNumberUtils.WAIT, 'w'); in composeContactsAndSendSelectedVCards()
996 vTagAndTel[1] = vTagAndTel[1].replace("-", "") in stripTelephoneNumber()
997 .replace("(", "") in stripTelephoneNumber()
998 .replace(")", "") in stripTelephoneNumber()
999 .replace(" ", ""); in stripTelephoneNumber()
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DSystemUpdaterActivity.java65 .replace(R.id.device_container, fragment, FRAGMENT_TAG) in onCreate()
70 .replace(R.id.device_container, fragment, FRAGMENT_TAG) in onCreate()
109 .replace(R.id.device_container, fragment, FRAGMENT_TAG) in applyUpdate()
/packages/apps/Email/tests/src/com/android/email/activity/
DIntentUtilitiesTests.java80 Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "ACCOUNT_ID"))); in checkGetIdFromIntent()
83 i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "MAILBOX_ID"))); in checkGetIdFromIntent()
86 i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "MESSAGE_ID"))); in checkGetIdFromIntent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiDppConfiguratorActivity.java200 fragmentTransaction.replace(R.id.fragment_container, fragment, in showQrCodeScannerFragment()
227 fragmentTransaction.replace(R.id.fragment_container, fragment, in showQrCodeGeneratorFragment()
256 fragmentTransaction.replace(R.id.fragment_container, fragment, in showChooseSavedWifiNetworkFragment()
283 fragmentTransaction.replace(R.id.fragment_container, fragment, in showAddDeviceFragment()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppConfiguratorActivity.java200 fragmentTransaction.replace(R.id.fragment_container, fragment, in showQrCodeScannerFragment()
227 fragmentTransaction.replace(R.id.fragment_container, fragment, in showQrCodeGeneratorFragment()
256 fragmentTransaction.replace(R.id.fragment_container, fragment, in showChooseSavedWifiNetworkFragment()
283 fragmentTransaction.replace(R.id.fragment_container, fragment, in showAddDeviceFragment()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPhotoActionPopup.java84 boolean replace = (mode & Flags.TAKE_OR_PICK_PHOTO_REPLACE_WORDING) > 0; in getChoices()
85 final int takePhotoResId = replace ? R.string.take_new_photo : R.string.take_photo; in getChoices()
87 final int pickPhotoResId = replace ? R.string.pick_new_photo : R.string.pick_photo; in getChoices()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDeletionHelperActivity.java63 manager.beginTransaction().replace(R.id.main_content, mFragment).commit(); in onCreate()
164 manager.beginTransaction().replace(R.id.main_content, mFragment).commit(); in onOptionsItemSelected()
186 manager.beginTransaction().replace(R.id.main_content, fragment).commit(); in onClick()
/packages/services/Car/tools/
Dupdate-obd2-sensors.py106 sensorName = theSensor.name.replace("_INDEX", "")
107 sensorId = str(theSensor.id).replace("_INDEX", "")
169 sensorName = theSensor.name.replace("_INDEX", "")
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialogFragment.java130 final boolean replace = VpnUtils.isVpnActive(mContext); in onClick()
132 ConfirmLockdownFragment.shouldShow(replace, wasLockdown, shouldLockdown)) { in onClick()
135 ConfirmLockdownFragment.show(this, replace, /* alwaysOn */ shouldLockdown, in onClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DConfigDialogFragment.java130 final boolean replace = VpnUtils.isVpnActive(mContext); in onClick()
132 ConfirmLockdownFragment.shouldShow(replace, wasLockdown, shouldLockdown)) { in onClick()
135 ConfirmLockdownFragment.show(this, replace, /* alwaysOn */ shouldLockdown, in onClick()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DUriUtils.java67 .replace(URI_PACKAGE_DELIMITER, URI_PATH_DELIMITER); in getAndroidResourceUri()
94 + iconResource.resourceName.replace(URI_PACKAGE_DELIMITER, URI_PATH_DELIMITER)); in getShortcutIconResourceUri()
103 + resourceName.replace(URI_PACKAGE_DELIMITER, URI_PATH_DELIMITER)); in getAndroidResourceUri()
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DBlockedNumbersSettingsActivity.java53 .replace(R.id.blocked_numbers_activity_container, fragment, TAG_BLOCKED_MANAGEMENT_FRAGMENT) in showManagementUi()
73 .replace( in showNumbersToImportPreviewUi()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DFormatActivity.java169 .replace(android.R.id.content, in handleFormatAsPrivateComplete()
242 .replace(android.R.id.content, fragment) in onRequestFormatAsPrivate()
285 .replace(android.R.id.content, fragment) in onRequestFormatAsPublic()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DJarUtils.java37 final String mainClassPath = "/" + mainClass.getName().replace('.', '/') + ".class"; in getJarFile()
106 return LocaleUtils.constructLocaleFromString(localeStr.replace("-r", "_"));
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DCarLauncher.java182 fragmentTransaction.replace(R.id.playback, playbackFragment); in initializeFragments()
184 fragmentTransaction.replace(R.id.contextual, contextualFragment); in initializeFragments()
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentDefaultDialog.java137 String sanitizedString = input.replace('\n', ' ').replace('\r', ' ').trim(); in sanitizePaymentAppCaption()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DPaymentDefaultDialog.java137 String sanitizedString = input.replace('\n', ' ').replace('\r', ' ').trim(); in sanitizePaymentAppCaption()
/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/
DUserBackupSettingsActivityTest.java115 doReturn(mFragmentTransaction).when(mFragmentTransaction).replace(anyInt(), in onCreate_hasManufacturerIntent()
122 verify(mFragmentTransaction).replace(anyInt(), isA(BackupSettingsFragment.class)); in onCreate_hasManufacturerIntent()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DDialogFragment.java212 ft.replace(mBase.mContentAreaId, fragment, BaseDialogFragment.TAG_CONTENT); in getContentFragmentTransaction()
234 ft.replace(mBase.mActionAreaId, fragment, BaseDialogFragment.TAG_ACTION); in addActionFragmentToTransaction()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivity.java239 .replace(R.id.overlay_container, overlayFragment) in setOverlayFragment()
339 .replace(R.id.content_fragment_container, fragment, fragmentTag) in setContentFragment()
350 .replace(R.id.content_fragment_container, topContentFragment) in pushContentFragment()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DManagePermissionsActivity.java161 getFragmentManager().beginTransaction().replace(android.R.id.content, fragment) in onCreate()
164 getSupportFragmentManager().beginTransaction().replace(android.R.id.content, in onCreate()

123456789