Home
last modified time | relevance | path

Searched refs:names (Results 1 – 25 of 370) sorted by relevance

12345678910>>...15

/frameworks/compile/mclinker/include/mcld/Support/
DCXADemangle.tcc57 for (auto& s : db.names) in print_stack()
202 db.names.push_back(typename C::String(num, static_cast<std::size_t>(n))); in parse_floating_number()
232 db.names.push_back("(anonymous namespace)"); in parse_source_name()
234 db.names.push_back(std::move(r)); in parse_source_name()
264 db.names.push_back("std::allocator"); in parse_substitution()
268 db.names.push_back("std::basic_string"); in parse_substitution()
272 db.names.push_back("std::string"); in parse_substitution()
276 db.names.push_back("std::istream"); in parse_substitution()
280 db.names.push_back("std::ostream"); in parse_substitution()
284 db.names.push_back("std::iostream"); in parse_substitution()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DUidProcessMap.java34 final ArrayMap<String, E> names = mMap.get(uid); in get() local
35 if (names == null) { in get()
38 return names.get(name); in get()
45 ArrayMap<String, E> names = mMap.get(uid); in put() local
46 if (names == null) { in put()
47 names = new ArrayMap<String, E>(2); in put()
48 mMap.put(uid, names); in put()
50 names.put(name, value); in put()
62 final ArrayMap<String, E> names = mMap.valueAt(index); in remove() local
63 if (names != null) { in remove()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DWorkSourceParcelTest.java37 private native Parcel nativeObtainWorkSourceParcel(int[] uids, String[] names, in nativeObtainWorkSourceParcel() argument
41 String[] names, int parcelEndMarker); in nativeUnparcelAndVerifyWorkSource() argument
84 private void unparcelWorkSourceFromNativeAndVerify(int[] uids, String[] names) { in unparcelWorkSourceFromNativeAndVerify() argument
87 Parcel wsParcel = nativeObtainWorkSourceParcel(uids, names, END_OF_PARCEL_MARKER); in unparcelWorkSourceFromNativeAndVerify()
104 if (names != null) { in unparcelWorkSourceFromNativeAndVerify()
105 for (int i = 0; i < names.length; i++) { in unparcelWorkSourceFromNativeAndVerify()
106 assertEquals(ws.getPackageName(i), names[i]); in unparcelWorkSourceFromNativeAndVerify() local
115 private void parcelWorkSourceToNativeAndVerify(int[] uids, String[] names) { in parcelWorkSourceToNativeAndVerify() argument
118 if (names == null) { in parcelWorkSourceToNativeAndVerify()
123 assertEquals(uids.length, names.length); in parcelWorkSourceToNativeAndVerify()
[all …]
/frameworks/av/media/codec2/core/include/
DC2Enum.h65 const std::vector<C2StringLiteral> names,
77 std::vector<C2StringLiteral> names,
80 std::vector<C2String> sanitizedNames = sanitizeEnumValueNames(names, prefix);
115 #define DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(name, names) \ argument
116 _DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(__C2_GENERATE_GLOBAL_VARS__, name, names)
117 #define _DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(enabled, name, names) \ argument
118 __DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(enabled, name, names)
119 #define __DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(enabled, name, names) \ argument
120 ___DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER##enabled(name, names)
121 #define ___DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(name, names) \ argument
[all …]
/frameworks/av/media/libstagefright/
DCodecBase.cpp43 status_t CodecBase::querySupportedParameters(std::vector<std::string> *names) { in querySupportedParameters() argument
44 if (names == nullptr) { in querySupportedParameters()
47 names->clear(); in querySupportedParameters()
55 status_t CodecBase::subscribeToParameters(const std::vector<std::string> &names) { in subscribeToParameters() argument
56 if (names.empty()) { in subscribeToParameters()
62 status_t CodecBase::unsubscribeFromParameters(const std::vector<std::string> &names) { in unsubscribeFromParameters() argument
63 if (names.empty()) { in unsubscribeFromParameters()
/frameworks/base/telephony/java/android/telephony/mbms/
DServiceInfo.java44 private final Map<Locale, String> names; field in ServiceInfo
66 names = new HashMap(newNames.size()); in ServiceInfo()
67 names.putAll(newNames); in ServiceInfo()
81 names = new HashMap(mapCount); in ServiceInfo()
85 names.put(locale, name); in ServiceInfo()
104 Set<Locale> keySet = names.keySet(); in writeToParcel()
108 dest.writeString(names.get(l)); in writeToParcel()
131 if (!names.containsKey(locale)) { in getNameForLocale()
134 return names.get(locale); in getNameForLocale()
145 return Collections.unmodifiableSet(names.keySet()); in getNamedContentLocales()
[all …]
/frameworks/base/tools/preload/
DLoadedClass.java108 Set<String> names = new HashSet<String>(); in processNames() local
109 addProcessNames(loads, names); in processNames()
110 addProcessNames(initializations, names); in processNames()
111 return names; in processNames()
114 private void addProcessNames(List<Operation> ops, Set<String> names) { in addProcessNames() argument
117 names.add(operation.process.name); in addProcessNames()
/frameworks/base/core/java/android/os/
DVibratorInfo.java405 List<String> names = new ArrayList<>(); in getCapabilitiesNames() local
407 names.add("ON_CALLBACK"); in getCapabilitiesNames()
410 names.add("PERFORM_CALLBACK"); in getCapabilitiesNames()
413 names.add("COMPOSE_EFFECTS"); in getCapabilitiesNames()
416 names.add("COMPOSE_PWLE_EFFECTS"); in getCapabilitiesNames()
419 names.add("ALWAYS_ON_CONTROL"); in getCapabilitiesNames()
422 names.add("AMPLITUDE_CONTROL"); in getCapabilitiesNames()
425 names.add("FREQUENCY_CONTROL"); in getCapabilitiesNames()
428 names.add("EXTERNAL_CONTROL"); in getCapabilitiesNames()
431 names.add("EXTERNAL_AMPLITUDE_CONTROL"); in getCapabilitiesNames()
[all …]
/frameworks/base/core/java/android/view/
DMotionEvent.java1358 SparseArray<String> names = AXIS_SYMBOLIC_NAMES;
1359 names.append(AXIS_X, "AXIS_X"); in names.append()
1360 names.append(AXIS_Y, "AXIS_Y"); in names.append()
1361 names.append(AXIS_PRESSURE, "AXIS_PRESSURE"); in names.append()
1362 names.append(AXIS_SIZE, "AXIS_SIZE"); in names.append()
1363 names.append(AXIS_TOUCH_MAJOR, "AXIS_TOUCH_MAJOR"); in names.append()
1364 names.append(AXIS_TOUCH_MINOR, "AXIS_TOUCH_MINOR"); in names.append()
1365 names.append(AXIS_TOOL_MAJOR, "AXIS_TOOL_MAJOR"); in names.append()
1366 names.append(AXIS_TOOL_MINOR, "AXIS_TOOL_MINOR"); in names.append()
1367 names.append(AXIS_ORIENTATION, "AXIS_ORIENTATION"); in names.append()
[all …]
/frameworks/native/opengl/tests/lib/
DglTestLib.cpp72 struct {EGLint attribute; const char* name;} names[] = { in glTestPrintEGLConfiguration() local
108 for (size_t j = 0; j < sizeof(names) / sizeof(names[0]); j++) { in glTestPrintEGLConfiguration()
110 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, in glTestPrintEGLConfiguration()
114 testPrintI(" %s: %d (%#x)", names[j].name, value, value); in glTestPrintEGLConfiguration()
/frameworks/base/apct-tests/perftests/settingsprovider/src/android/provider/
DSettingsProviderPerfTest.java106 final List<String> names = new ArrayList<>(); in testSettingsNamespaceConsecutiveRead() local
107 names.add(SETTING_NAME1); in testSettingsNamespaceConsecutiveRead()
110 Settings.Config.getStrings(mContentResolver, NAMESPACE, names); in testSettingsNamespaceConsecutiveRead()
116 final List<String> names = new ArrayList<>(); in testSettingsNamespaceConsecutiveReadAfterWrite() local
117 names.add(SETTING_NAME1); in testSettingsNamespaceConsecutiveReadAfterWrite()
126 Settings.Config.getStrings(mContentResolver, NAMESPACE, names); in testSettingsNamespaceConsecutiveReadAfterWrite()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrActivity.java66 String [] names = mLoader.getNames(); in onCreate() local
67 setup.execute(names[0]); in onCreate()
69 tv.setText(names[0]); in onCreate()
94 protected Volume doInBackground(String... names) { in doInBackground() argument
95 if (names[0].equals(Droid.NAME) || names[0].equals(Mandelbulb.NAME)) { in doInBackground()
96 message = "Computing "+names[0]+": "; in doInBackground()
98 message =" Loading " + names[0]+": "; in doInBackground()
100 return mLoader.getVolume(mRs, names[0]); in doInBackground()
/frameworks/native/services/powermanager/tests/
DWorkSourceTest.cpp33 std::optional<Names> names = std::make_optional<Names>({std::make_optional(String16("name"))}); in TEST() local
34 os::WorkSource ws{uids, names}; in TEST()
45 EXPECT_EQ(names, otherWs.getNames()); in TEST()
/frameworks/av/media/codec2/sfplugin/include/media/stagefright/
DCCodec.h68 virtual status_t querySupportedParameters(std::vector<std::string> *names) override;
71 virtual status_t subscribeToParameters(const std::vector<std::string> &names) override;
72 virtual status_t unsubscribeFromParameters(const std::vector<std::string> &names) override;
81 const std::vector<std::string> &names, const C2MemoryUsage &usage, bool *isCompatible);
84 size_t capacity, const C2MemoryUsage &usage, const std::vector<std::string> &names);
87 const std::vector<std::string> &names, bool *isCompatible);
94 const std::vector<std::string> &names);
/frameworks/av/media/libaudiohal/impl/
DDevicesFactoryHalAidl.cpp72 status_t DevicesFactoryHalAidl::getDeviceNames(std::vector<std::string> *names) { in getDeviceNames() argument
73 if (names == nullptr) { in getDeviceNames()
76 AServiceManager_forEachDeclaredInstance(IModule::descriptor, static_cast<void*>(names), in getDeviceNames()
79 static_cast<decltype(names)>(context)->push_back(instance); in getDeviceNames()
81 std::sort(names->begin(), names->end(), [](const std::string& lhs, in getDeviceNames()
/frameworks/base/services/tests/PackageManagerServiceTests/appenumeration/src/com/android/server/pm/test/appenumeration/
DAppEnumerationInternalTests.java90 final List<String> names = new ArrayList<>(); in querySyncProviders_canSeeForceQueryable() local
93 mIPackageManager.querySyncProviders(names, infos); in querySyncProviders_canSeeForceQueryable()
95 assertThat(names).contains(SYNC_PROVIDER_AUTHORITY); in querySyncProviders_canSeeForceQueryable()
102 final List<String> names = new ArrayList<>(); in querySyncProviders_cannotSeeSyncProvider() local
105 mIPackageManager.querySyncProviders(names, infos); in querySyncProviders_cannotSeeSyncProvider()
107 assertThat(names).doesNotContain(SYNC_PROVIDER_AUTHORITY); in querySyncProviders_cannotSeeSyncProvider()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierConfigEfData.java83 String[] names = pnnStr.split("\\s*,\\s*"); in getPlmnNetworkNameList() local
84 String alphal = names[0]; in getPlmnNetworkNameList()
85 String alphas = names.length > 1 ? names[1] : ""; in getPlmnNetworkNameList()
/frameworks/native/services/inputflinger/dispatcher/
DEventLogTags.logtags1 # The entries in this file map a sparse set of log tag numbers to tag names.
7 # Tag names are one or more ASCII letters and numbers or underscores, i.e.
11 # Tag numbers and names are separated by whitespace. Blank lines and lines
14 # Optionally, after the tag names can be put a description for the value(s)
/frameworks/av/media/utils/
DEventLogTags.logtags1 # The entries in this file map a sparse set of log tag numbers to tag names.
7 # Tag names are one or more ASCII letters and numbers or underscores, i.e.
11 # Tag numbers and names are separated by whitespace. Blank lines and lines
14 # Optionally, after the tag names can be put a description for the value(s)
/frameworks/native/services/surfaceflinger/EventLog/
DEventLogTags.logtags1 # The entries in this file map a sparse set of log tag numbers to tag names.
7 # Tag names are one or more ASCII letters and numbers or underscores, i.e.
11 # Tag numbers and names are separated by whitespace. Blank lines and lines
14 # Optionally, after the tag names can be put a description for the value(s)
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java694 Set<String> names = uri.getQueryParameterNames(); in testGetQueryParameterNames() local
695 assertEquals(1, names.size()); in testGetQueryParameterNames()
696 assertEquals("a", names.iterator().next()); in testGetQueryParameterNames()
701 Set<String> names = uri.getQueryParameterNames(); in testGetQueryParameterNamesEmptyKey() local
702 Iterator<String> iter = names.iterator(); in testGetQueryParameterNamesEmptyKey()
703 assertEquals(3, names.size()); in testGetQueryParameterNamesEmptyKey()
711 Set<String> names = uri.getQueryParameterNames(); in testGetQueryParameterNamesEmptyKey2() local
712 Iterator<String> iter = names.iterator(); in testGetQueryParameterNamesEmptyKey2()
713 assertEquals(3, names.size()); in testGetQueryParameterNamesEmptyKey2()
721 Set<String> names = uri.getQueryParameterNames(); in testGetQueryParameterNamesEmptyValues() local
[all …]
/frameworks/base/tools/bit/
Dmake.cpp103 vector<string> names = json.getMemberNames(); in BuildVars() local
104 const int N = names.size(); in BuildVars()
106 const string& name = names[i]; in BuildVars()
227 vector<string> names = json.getMemberNames(); in read_modules() local
228 const int N = names.size(); in read_modules()
230 const string& name = names[i]; in read_modules()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerNative.java46 String[] names = null; in getNamesForUids() local
52 names = mPm.snapshotComputer().getNamesForUids(uids); in getNamesForUids()
53 results = (names != null) ? names : new String[uids.length]; in getNamesForUids()
64 Slog.e(TAG, "names: " + Arrays.toString(names)); in getNamesForUids()
/frameworks/base/test-base/src/junit/framework/
DTestSuite.java147 List<String> names= new ArrayList<String>();
150 addTestMethod(each, names, theClass);
284 private void addTestMethod(Method m, List<String> names, Class<?> theClass) {
286 if (names.contains(name))
293 names.add(name);
/frameworks/base/services/core/java/com/android/server/input/
DConfigurationProcessor.java38 List<String> names = new ArrayList<>(); in processExcludedDeviceNames() local
49 names.add(name); in processExcludedDeviceNames()
53 return names; in processExcludedDeviceNames()

12345678910>>...15