Home
last modified time | relevance | path

Searched refs:removePrefix (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/PackageManagerServiceTests/host/libs/IntentVerifyUtils/src/com/android/server/pm/test/intent/verify/
DVerifyRequest.kt31 lines[0].removePrefix("id=").toInt(), in deserialize()
32 lines[1].removePrefix("scheme="), in deserialize()
33 lines[2].removePrefix("hosts=").split(","), in deserialize()
34 lines[3].removePrefix("packageName=") in deserialize()
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DHostUtils.kt97 .removePrefix("dataDir=")
144 .map { it.removePrefix("codePath=") } in <lambda>()
153 val userId = it.removePrefix("User ") in getUserIdToPkgEnabledState()
170 val userId = it.removePrefix("User ") in getUserIdToPkgInstalledState()
DApexUpdateTest.kt115 ?.removePrefix("apexModuleName=")
/frameworks/base/tools/codegen/src/com/android/codegen/
DImportsProvider.kt64 it.nameAsString.endsWith(fullName.removePrefix("com.android.internal.util.")) in <lambda>()
67 return fullName.removePrefix("com.android.internal.util.") in <lambda>()
DClassPrinter.kt168 it.removePrefix("$CANONICAL_BUILDER_CLASS.") in <lambda>()
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/worker/
DCollectV1Worker.kt78 successfulHosts += key.removePrefix(SingleV1RequestWorker.HOST_SUCCESS_PREFIX) in <lambda>()
80 failedHosts += key.removePrefix(SingleV1RequestWorker.HOST_FAILURE_PREFIX) in <lambda>()
/frameworks/base/packages/SettingsLib/EmergencyNumber/src/com/android/settingslib/emergencynumber/
DEmergencyNumberUtils.java233 .map(d -> removePrefix(d, carrierPrefixes)) in sanitizeEmergencyNumbers()
237 private String removePrefix(EmergencyNumber emergencyNumber, String[] prefixes) { in removePrefix() method in EmergencyNumberUtils
/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
DStatementUtils.kt162 WEB_ASSET_FORMAT.format(URL("https", host.removePrefix("*."), "").toString())
/frameworks/base/tools/lint/global/checks/src/main/java/com/google/android/lint/aidl/
DEnforcePermissionDetector.kt124 ): Boolean = permission1 == (permission2 as? String)?.removePrefix(PERMISSION_PREFIX_LITERAL) || in isOneShortPermissionOfOther()
125 permission2 == (permission1 as? String)?.removePrefix(PERMISSION_PREFIX_LITERAL) in isOneShortPermissionOfOther()
/frameworks/base/core/java/android/hardware/radio/
DRadioMetadata.java401 final String removePrefix = "android.hardware.radio.metadata"; in toString() local
409 if (key.startsWith(removePrefix)) keyDisp = key.substring(removePrefix.length()); in toString()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DParcelableComponentTest.kt133 val setFunctionName = "set" + getFunctionName.removePrefix(prefix) in <lambda>()
155 val setFunctionName = "add" + getFunctionName.removePrefix("get").run { in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothLeBroadcastMetadataExt.kt137 qrCodeString.removePrefix(SCHEME_BT_BROADCAST_METADATA) in <lambda>()