Home
last modified time | relevance | path

Searched refs:removePrefix (Results 1 – 9 of 9) 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()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/util/
DPrefixUtil.java106 public static String removePrefix(@NonNull String prefixedString) throws AppSearchException { in removePrefix() method in PrefixUtil
204 documentBuilder.setSchema(removePrefix(documentBuilder.getSchema())); in removePrefixesFromDocument()
205 documentBuilder.setNamespace(removePrefix(documentBuilder.getNamespace())); in removePrefixesFromDocument()
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/worker/
DCollectV1Worker.kt65 successfulHosts += key.removePrefix(SingleV1RequestWorker.HOST_SUCCESS_PREFIX) in <lambda>()
67 failedHosts += key.removePrefix(SingleV1RequestWorker.HOST_FAILURE_PREFIX) in <lambda>()
/frameworks/base/packages/SettingsLib/EmergencyNumber/src/com/android/settingslib/emergencynumber/
DEmergencyNumberUtils.java229 .map(d -> removePrefix(d, carrierPrefixes)) in sanitizeEmergencyNumbers()
233 private String removePrefix(EmergencyNumber emergencyNumber, String[] prefixes) { in removePrefix() method in EmergencyNumberUtils
/frameworks/base/core/java/android/hardware/radio/
DRadioMetadata.java317 final String removePrefix = "android.hardware.radio.metadata"; in toString() local
325 if (key.startsWith(removePrefix)) keyDisp = key.substring(removePrefix.length()); in toString()
/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
DStatementUtils.kt161 WEB_ASSET_FORMAT.format(URL("https", host.removePrefix("*."), "").toString())
/frameworks/base/tools/codegen/src/com/android/codegen/
DClassPrinter.kt168 it.removePrefix("$CANONICAL_BUILDER_CLASS.") in <lambda>()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java24 import static com.android.server.appsearch.external.localstorage.util.PrefixUtil.removePrefix;
1940 namespace = removePrefix(prefixedNamespace); in addPerPackagePerNamespaceResultGroupingsLocked()
2038 namespace = removePrefix(prefixedNamespace); in addPerNamespaceResultGroupingsLocked()