Home
last modified time | relevance | path

Searched refs:slashIdx (Results 1 – 3 of 3) sorted by relevance

/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java1059 int slashIdx = name.indexOf('/'); in resourceUrlFromName() local
1061 if (colonIdx != -1 && slashIdx != -1) { in resourceUrlFromName()
1066 if (colonIdx == -1 && slashIdx == -1) { in resourceUrlFromName()
1090 ResourceType type = ResourceType.fromClassName(name.substring(0, slashIdx)); in resourceUrlFromName()
1097 name.substring(slashIdx + 1)); in resourceUrlFromName()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java508 int slashIdx = name.indexOf("/"); in getFlagOverrideToSync() local
509 if (slashIdx <= 0 || slashIdx >= name.length() - 1) { in getFlagOverrideToSync()
514 String namespace = name.substring(0, slashIdx); in getFlagOverrideToSync()
515 String fullFlagName = name.substring(slashIdx + 1); in getFlagOverrideToSync()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp3001 std::string::size_type slashIdx = name.find('/'); in parseProviderName() local
3002 if (slashIdx == std::string::npos || slashIdx == name.size() - 1) { in parseProviderName()
3009 std::string typeVal = name.substr(0, slashIdx); in parseProviderName()
3013 long idVal = strtol(name.c_str() + slashIdx + 1, &endPtr, 10); in parseProviderName()