Home
last modified time | relevance | path

Searched refs:getName (Results 1 – 25 of 1751) sorted by relevance

12345678910>>...71

/packages/apps/Settings/src/com/android/settings/core/gateway/
DSettingsGateway.java205 AdvancedConnectedDeviceDashboardFragment.class.getName(),
206 CreateShortcut.class.getName(),
207 BluetoothPairingDetail.class.getName(),
208 WifiSettings.class.getName(),
209 WifiNetworkDetailsFragment.class.getName(),
210 ConfigureWifiSettings.class.getName(),
211 SavedAccessPointsWifiSettings2.class.getName(),
212 AllInOneTetherSettings.class.getName(),
213 TetherSettings.class.getName(),
214 SmartAutoRotatePreferenceFragment.class.getName(),
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFragmentRegistry.java75 PARENT_TO_CATEGORY_KEY_MAP.put(TopLevelSettings.class.getName(), in TopLevelSettings.class.getName()
78 NetworkDashboardFragment.class.getName(), CategoryKey.CATEGORY_NETWORK); in NetworkDashboardFragment.class.getName()
79 PARENT_TO_CATEGORY_KEY_MAP.put(ConnectedDeviceDashboardFragment.class.getName(), in ConnectedDeviceDashboardFragment.class.getName()
81 PARENT_TO_CATEGORY_KEY_MAP.put(AdvancedConnectedDeviceDashboardFragment.class.getName(), in AdvancedConnectedDeviceDashboardFragment.class.getName()
83 PARENT_TO_CATEGORY_KEY_MAP.put(AppDashboardFragment.class.getName(), in AppDashboardFragment.class.getName()
85 PARENT_TO_CATEGORY_KEY_MAP.put(PowerUsageSummary.class.getName(), in PowerUsageSummary.class.getName()
87 PARENT_TO_CATEGORY_KEY_MAP.put(DisplaySettings.class.getName(), in DisplaySettings.class.getName()
89 PARENT_TO_CATEGORY_KEY_MAP.put(EmergencyDashboardFragment.class.getName(), in EmergencyDashboardFragment.class.getName()
91 PARENT_TO_CATEGORY_KEY_MAP.put(SoundSettings.class.getName(), in SoundSettings.class.getName()
93 PARENT_TO_CATEGORY_KEY_MAP.put(StorageDashboardFragment.class.getName(), in StorageDashboardFragment.class.getName()
[all …]
/packages/apps/Settings/src/com/android/settings/search/
DCustomSiteMapRegistry.java52 CUSTOM_SITE_MAP.put(ScreenLockSettings.class.getName(), SecuritySettings.class.getName()); in ScreenLockSettings.class.getName()
54 WifiSettings.class.getName(), NetworkDashboardFragment.class.getName()); in WifiSettings.class.getName()
55 CUSTOM_SITE_MAP.put(PowerUsageAdvanced.class.getName(), PowerUsageSummary.class.getName()); in PowerUsageAdvanced.class.getName()
56 CUSTOM_SITE_MAP.put(RecentLocationAccessSeeAllFragment.class.getName(), in RecentLocationAccessSeeAllFragment.class.getName()
57 LocationSettings.class.getName()); in RecentLocationAccessSeeAllFragment.class.getName()
58 CUSTOM_SITE_MAP.put(UsbDetailsFragment.class.getName(), in UsbDetailsFragment.class.getName()
59 ConnectedDeviceDashboardFragment.class.getName()); in UsbDetailsFragment.class.getName()
60 CUSTOM_SITE_MAP.put(UserBackupSettingsActivity.class.getName(), in UserBackupSettingsActivity.class.getName()
61 SystemDashboardFragment.class.getName()); in UserBackupSettingsActivity.class.getName()
62 CUSTOM_SITE_MAP.put(ZenModeBlockedEffectsSettings.class.getName(), in ZenModeBlockedEffectsSettings.class.getName()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DFragmentUtils.java42 sLatinImeFragments.add(DictionarySettingsFragment.class.getName()); in DictionarySettingsFragment.class.getName()
43 sLatinImeFragments.add(AboutPreferences.class.getName()); in AboutPreferences.class.getName()
44 sLatinImeFragments.add(PreferencesSettingsFragment.class.getName()); in PreferencesSettingsFragment.class.getName()
45 sLatinImeFragments.add(AccountsSettingsFragment.class.getName()); in AccountsSettingsFragment.class.getName()
46 sLatinImeFragments.add(AppearanceSettingsFragment.class.getName()); in AppearanceSettingsFragment.class.getName()
47 sLatinImeFragments.add(ThemeSettingsFragment.class.getName()); in ThemeSettingsFragment.class.getName()
48 sLatinImeFragments.add(CustomInputStyleSettingsFragment.class.getName()); in CustomInputStyleSettingsFragment.class.getName()
49 sLatinImeFragments.add(GestureSettingsFragment.class.getName()); in GestureSettingsFragment.class.getName()
50 sLatinImeFragments.add(CorrectionSettingsFragment.class.getName()); in CorrectionSettingsFragment.class.getName()
51 sLatinImeFragments.add(AdvancedSettingsFragment.class.getName()); in AdvancedSettingsFragment.class.getName()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/search/
DCustomSiteMapRegistryTest.java48 assertThat(CustomSiteMapRegistry.CUSTOM_SITE_MAP.get(ScreenLockSettings.class.getName())) in shouldContainScreenLockSettingsPairs()
49 .isEqualTo(SecuritySettings.class.getName()); in shouldContainScreenLockSettingsPairs()
54 assertThat(CustomSiteMapRegistry.CUSTOM_SITE_MAP.get(WifiSettings.class.getName())) in shouldContainWifiSettingsPairs()
55 .isEqualTo(NetworkDashboardFragment.class.getName()); in shouldContainWifiSettingsPairs()
60 assertThat(CustomSiteMapRegistry.CUSTOM_SITE_MAP.get(PowerUsageAdvanced.class.getName())) in shouldContainPowerUsageAdvancedPairs()
61 .isEqualTo(PowerUsageSummary.class.getName()); in shouldContainPowerUsageAdvancedPairs()
67 RecentLocationAccessSeeAllFragment.class.getName())).isEqualTo( in shouldContainRecentLocationAccessSeeAllFragmentPairs()
68 LocationSettings.class.getName()); in shouldContainRecentLocationAccessSeeAllFragmentPairs()
74 UsbDetailsFragment.class.getName())).isEqualTo( in shouldContainUsbDetailsFragmentPairs()
75 ConnectedDeviceDashboardFragment.class.getName()); in shouldContainUsbDetailsFragmentPairs()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/
DCustomAudienceDaoTest.java882 CUSTOM_AUDIENCE_NO_USER_BIDDING_SIGNALS.getName())); in testCreateOrUpdate_immediatelyEligibleForUpdate()
888 CUSTOM_AUDIENCE_NO_USER_BIDDING_SIGNALS.getName())); in testCreateOrUpdate_immediatelyEligibleForUpdate()
895 CUSTOM_AUDIENCE_NO_TRUSTED_BIDDING_DATA.getName())); in testCreateOrUpdate_immediatelyEligibleForUpdate()
901 CUSTOM_AUDIENCE_NO_TRUSTED_BIDDING_DATA.getName())); in testCreateOrUpdate_immediatelyEligibleForUpdate()
908 CUSTOM_AUDIENCE_NO_ADS.getName())); in testCreateOrUpdate_immediatelyEligibleForUpdate()
914 CUSTOM_AUDIENCE_NO_ADS.getName())); in testCreateOrUpdate_immediatelyEligibleForUpdate()
1078 CUSTOM_AUDIENCE_1.getName())); in testGetNumActiveEligibleCustomAudienceBackgroundFetchData()
1084 CUSTOM_AUDIENCE_1.getName())); in testGetNumActiveEligibleCustomAudienceBackgroundFetchData()
1090 CUSTOM_AUDIENCE_UPDATED.getName())); in testGetNumActiveEligibleCustomAudienceBackgroundFetchData()
1096 CUSTOM_AUDIENCE_UPDATED.getName())); in testGetNumActiveEligibleCustomAudienceBackgroundFetchData()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileFragmentBridge.java43 FRAGMENT_MAP.put(AccountDashboardFragment.class.getName(), in AccountDashboardFragment.class.getName()
44 ProfileSelectAccountFragment.class.getName()); in AccountDashboardFragment.class.getName()
45 FRAGMENT_MAP.put(ManageApplications.class.getName(), in ManageApplications.class.getName()
46 ProfileSelectManageApplications.class.getName()); in ManageApplications.class.getName()
47 FRAGMENT_MAP.put(LocationServices.class.getName(), in LocationServices.class.getName()
48 ProfileSelectLocationServicesFragment.class.getName()); in LocationServices.class.getName()
49 FRAGMENT_MAP.put(StorageDashboardFragment.class.getName(), in StorageDashboardFragment.class.getName()
50 ProfileSelectStorageFragment.class.getName()); in StorageDashboardFragment.class.getName()
51 FRAGMENT_MAP.put(AvailableVirtualKeyboardFragment.class.getName(), in AvailableVirtualKeyboardFragment.class.getName()
52 ProfileSelectKeyboardFragment.class.getName()); in AvailableVirtualKeyboardFragment.class.getName()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java299 public String getName() { in getName() method in PpsMoParser.PPSNode
482 if (TextUtils.equals(ppsNodeRoot.getName(), NODE_UPDATE_IDENTIFIER)) { in parsePpsNode()
598 if (parsedNodes.contains(ppsNode.getName())) { in buildPpsNode()
599 throw new ParsingException("Duplicate node: " + ppsNode.getName()); in buildPpsNode()
601 parsedNodes.add(ppsNode.getName()); in buildPpsNode()
641 throw new ParsingException("Cannot get value from a non-leaf node: " + node.getName()); in getPpsNodeValue()
661 switch(child.getName()) { in parsePpsInstance()
688 throw new ParsingException("Unknown node: " + child.getName()); in parsePpsInstance()
708 switch (child.getName()) { in parseHomeSP()
734 throw new ParsingException("Unknown node under HomeSP: " + child.getName()); in parseHomeSP()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
DXmlUtils.java39 if (parser.getName().equals(endTag)) { in readThisArrayMapXml()
42 throw new XmlPullParserException("Expected " + endTag + " end tag at: " + parser.getName()); in readThisArrayMapXml()
75 if (parser.getName().equals(endTag)) { in readThisListXml()
78 throw new XmlPullParserException("Expected " + endTag + " end tag at: " + parser.getName()); in readThisListXml()
106 if (parser.getName().equals("item")) { in readThisStringArrayXml()
115 throw new XmlPullParserException("Expected item tag at: " + parser.getName()); in readThisStringArrayXml()
118 if (parser.getName().equals(endTag)) { in readThisStringArrayXml()
120 } else if (parser.getName().equals("item")) { in readThisStringArrayXml()
124 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisStringArrayXml()
137 final String tagName = parser.getName(); in readThisValueXml()
[all …]
/packages/services/Car/car-test-lib/src/android/car/test/util/
DAnnotationHelper.java47 method.getReturnType().toString() + method.getName() + Arrays.toString(
77 errorsExtraAnnotation.add(className + " FIELD: " + field.getName()); in checkForAnnotation()
81 errorsNoAnnotation.add(className + " FIELD: " + field.getName()); in checkForAnnotation()
99 errorsExemptAnnotation.add(className + " METHOD: " + method.getName()); in checkForAnnotation()
105 errorsExtraAnnotation.add(className + " METHOD: " + method.getName()); in checkForAnnotation()
109 errorsNoAnnotation.add(className + " METHOD: " + method.getName()); in checkForAnnotation()
182 (field.getDeclaringClass().getName() + "." + field.getName()).replace('$', '.'); in validatedAddInOrBeforeAnnotation()
188 field.getDeclaringClass(), field.getName()) in validatedAddInOrBeforeAnnotation()
194 field.getDeclaringClass(), field.getName()) in validatedAddInOrBeforeAnnotation()
200 field.getDeclaringClass(), field.getName()) in validatedAddInOrBeforeAnnotation()
[all …]
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_parser.cpp30 AKLOGE("minCount = maxCount = 0 for %s.", mArgumentSpecs[i].getName().c_str()); in validateSpecs()
36 mArgumentSpecs[i].getName().c_str()v ); in validateSpecs()
39 if (argumentNameSet.count(mArgumentSpecs[i].getName()) > 0) { in validateSpecs()
41 mArgumentSpecs[i].getName().c_str()); in validateSpecs()
44 argumentNameSet.insert(mArgumentSpecs[i].getName()); in validateSpecs()
63 printf(" [<%s>]", argSpec.getName().c_str()); in printUsage()
65 printf(" <%s>", argSpec.getName().c_str()); in printUsage()
67 printf(" [<%s>...]", argSpec.getName().c_str()); in printUsage()
69 printf(" <%s>...", argSpec.getName().c_str()); in printUsage()
87 printf(" <%s>\t\t\t%s\n", argSpec.getName().c_str(), argSpec.getDescription().c_str()); in printUsage()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiApIfaceAidlImplTest.java50 when(mIWifiApIfaceMock.getName()).thenReturn(ifaceName); in testGetNameSuccess()
51 assertEquals(ifaceName, mDut.getName()); in testGetNameSuccess()
52 verify(mIWifiApIfaceMock).getName(); in testGetNameSuccess()
57 doThrow(new RemoteException()).when(mIWifiApIfaceMock).getName(); in testGetNameRemoteException()
58 assertNull(mDut.getName()); in testGetNameRemoteException()
59 verify(mIWifiApIfaceMock).getName(); in testGetNameRemoteException()
65 .when(mIWifiApIfaceMock).getName(); in testGetNameServiceSpecificException()
66 assertNull(mDut.getName()); in testGetNameServiceSpecificException()
67 verify(mIWifiApIfaceMock).getName(); in testGetNameServiceSpecificException()
DWifiNanIfaceTest.java88 mDut.getName(); in testInitWithHidlImpl()
89 verify(mWifiNanIfaceHidlImplMock).getName(); in testInitWithHidlImpl()
90 verify(mWifiNanIfaceAidlImplMock, never()).getName(); in testInitWithHidlImpl()
100 assertNull(mDut.getName()); in testInitFailureCase()
101 verify(mWifiNanIfaceHidlImplMock, never()).getName(); in testInitFailureCase()
102 verify(mWifiNanIfaceAidlImplMock, never()).getName(); in testInitFailureCase()
108 () -> mDut.getName(), in testGetName()
109 mWifiNanIfaceAidlImplMock.getName(), in testGetName()
111 verify(mWifiNanIfaceAidlImplMock).getName(); in testGetName()
DWifiP2pIfaceTest.java88 mDut.getName(); in testInitWithHidlImpl()
89 verify(mWifiP2pIfaceHidlImplMock).getName(); in testInitWithHidlImpl()
90 verify(mWifiP2pIfaceAidlImplMock, never()).getName(); in testInitWithHidlImpl()
100 assertNull(mDut.getName()); in testInitFailureCase()
101 verify(mWifiP2pIfaceHidlImplMock, never()).getName(); in testInitFailureCase()
102 verify(mWifiP2pIfaceAidlImplMock, never()).getName(); in testInitFailureCase()
108 () -> mDut.getName(), in testGetName()
109 mWifiP2pIfaceAidlImplMock.getName(), in testGetName()
111 verify(mWifiP2pIfaceAidlImplMock).getName(); in testGetName()
DWifiStaIfaceTest.java98 mDut.getName(); in testInitWithHidlImpl()
99 verify(mWifiStaIfaceHidlImplMock).getName(); in testInitWithHidlImpl()
100 verify(mWifiStaIfaceAidlImplMock, never()).getName(); in testInitWithHidlImpl()
110 assertNull(mDut.getName()); in testInitFailureCase()
111 verify(mWifiStaIfaceHidlImplMock, never()).getName(); in testInitFailureCase()
112 verify(mWifiStaIfaceAidlImplMock, never()).getName(); in testInitFailureCase()
118 () -> mDut.getName(), in testGetName()
119 mWifiStaIfaceAidlImplMock.getName(), in testGetName()
121 verify(mWifiStaIfaceAidlImplMock).getName(); in testGetName()
DWifiApIfaceTest.java94 mDut.getName(); in testInitWithHidlImpl()
95 verify(mWifiApIfaceHidlImplMock).getName(); in testInitWithHidlImpl()
96 verify(mWifiApIfaceAidlImplMock, never()).getName(); in testInitWithHidlImpl()
106 assertNull(mDut.getName()); in testInitFailureCase()
107 verify(mWifiApIfaceHidlImplMock, never()).getName(); in testInitFailureCase()
108 verify(mWifiApIfaceAidlImplMock, never()).getName(); in testInitFailureCase()
114 () -> mDut.getName(), in testGetName()
115 mWifiApIfaceAidlImplMock.getName(), in testGetName()
117 verify(mWifiApIfaceAidlImplMock).getName(); in testGetName()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DXmlUtilHelper.java841 if (parser.getName().equals(endTag)) { in readThisMapXml()
845 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisMapXml()
870 if (parser.getName().equals(endTag)) { in readThisArrayMapXml()
874 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisArrayMapXml()
928 if (parser.getName().equals(endTag)) { in readThisListXml()
932 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisListXml()
993 if (parser.getName().equals(endTag)) { in readThisSetXml()
997 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisSetXml()
1051 if (parser.getName().equals(endTag)) { in readThisByteArrayXml()
1056 + parser.getName()); in readThisByteArrayXml()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParser.java127 Slogf.e(TAG, "XML root element invalid: " + parser.getName()); in parse()
154 return XML_ROOT_ELEMENT.equals(parser.getName()); in traverseUntilStartTag()
163 switch (parser.getName()) { in traverseUntilEndOfDocument()
184 Slogf.w(TAG, "Unknown class:" + parser.getName()); in traverseUntilEndOfDocument()
202 if (!XML_RESTRICTION_MAPPING.equals(parser.getName())) { in mapDrivingStateToRestrictions()
203 Slogf.e(TAG, "Parser not at RestrictionMapping element: " + parser.getName()); in mapDrivingStateToRestrictions()
236 while (XML_DRIVING_STATE.equals(parser.getName())) { in mapDrivingStateToRestrictions()
303 if (!XML_RESTRICTIONS.equals(parser.getName())) { in parseAllRestrictions()
304 Slogf.e(TAG, "Parser not at Restrictions element: " + parser.getName()); in parseAllRestrictions()
307 while (XML_RESTRICTIONS.equals(parser.getName())) { in parseAllRestrictions()
[all …]
/packages/services/Car/tests/CarTelemetryApp/src/com/android/car/cartelemetryapp/
DConfigParser.java110 if (eventType == XmlPullParser.START_TAG && Objects.equals(parser.getName(), in getConfigs()
114 configs.put(config.getName(), config); in getConfigs()
169 while (eventType != XmlPullParser.END_TAG || !Objects.equals(parser.getName(), in parseMetricsConfig()
172 && Objects.equals(parser.getName(), SUBSCRIBERS_TAG)) { in parseMetricsConfig()
195 || !Objects.equals(parser.getName(), SUBSCRIBERS_TAG)) { in parseSubscribers()
197 && Objects.equals(parser.getName(), SUBSCRIBER_TAG)) { in parseSubscribers()
235 || !Objects.equals(parser.getName(), SUBSCRIBER_TAG)) { in parseSubscriber()
237 && Objects.equals(parser.getName(), PUBLISHER_TAG)) { in parseSubscriber()
294 || !Objects.equals(parser.getName(), PUBLISHER_TAG)) { in parseVehiclePropertyPublisher()
296 && Objects.equals(parser.getName(), VEHICLE_PROP_PUB_PROP_ID_TAG)) { in parseVehiclePropertyPublisher()
[all …]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupDatabaseHelper.java170 String tagName = parser.getName(); in initDatabase()
180 tagName = parser.getName(); in initDatabase()
199 String tagName = parser.getName(); in loadTable()
225 tagName = parser.getName(); in loadTable()
232 String tagName = parser.getName(); in getTableMccIddRow()
245 tagName = parser.getName(); in getTableMccIddRow()
253 String tagName = parser.getName(); in getTableMccLookupTableRow()
280 tagName = parser.getName(); in getTableMccLookupTableRow()
288 String tagName = parser.getName(); in getTableMccSidConflictRow()
301 tagName = parser.getName(); in getTableMccSidConflictRow()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/
DSuggestionFeatureProviderImpl.java59 if (className.equals(WallpaperSuggestionActivity.class.getName())) { in isSuggestionComplete()
61 } else if (className.equals(StyleSuggestionActivity.class.getName())) { in isSuggestionComplete()
63 } else if (className.equals(FingerprintSuggestionActivity.class.getName())) { in isSuggestionComplete()
65 } else if (className.equals(FingerprintEnrollSuggestionActivity.class.getName())) { in isSuggestionComplete()
67 } else if (className.equals(ScreenLockSuggestionActivity.class.getName())) { in isSuggestionComplete()
69 } else if (className.equals(WifiCallingSuggestionActivity.class.getName())) { in isSuggestionComplete()
71 } else if (className.equals(NightDisplaySuggestionActivity.class.getName())) { in isSuggestionComplete()
73 } else if (className.equals(ZenSuggestionActivity.class.getName())) { in isSuggestionComplete()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/profile/
DPacsControllerSessionTest.java168 assertEquals(mRangingSessionController.getCurrentState().getName(), in testAllStateTransitions()
169 mRangingSessionController.getIdleState().getName()); in testAllStateTransitions()
179 assertEquals(mRangingSessionController.getCurrentState().getName(), in testAllStateTransitions()
180 mRangingSessionController.getDiscoveryState().getName()); in testAllStateTransitions()
187 assertEquals(mRangingSessionController.getCurrentState().getName(), in testAllStateTransitions()
188 mRangingSessionController.getTransportState().getName()); in testAllStateTransitions()
194 assertEquals(mRangingSessionController.getCurrentState().getName(), in testAllStateTransitions()
195 mRangingSessionController.getSecureState().getName()); in testAllStateTransitions()
201 assertEquals(mRangingSessionController.getCurrentState().getName(), in testAllStateTransitions()
202 mRangingSessionController.getRangingState().getName()); in testAllStateTransitions()
[all …]
DPacsControleeSessionTest.java199 assertEquals(mRangingSessionController.getCurrentState().getName(), in testAllStateTransitions()
200 mRangingSessionController.getIdleState().getName()); in testAllStateTransitions()
207 assertEquals(mRangingSessionController.getCurrentState().getName(), in testAllStateTransitions()
208 mRangingSessionController.getDiscoveryState().getName()); in testAllStateTransitions()
214 assertEquals(mRangingSessionController.getCurrentState().getName(), in testAllStateTransitions()
215 mRangingSessionController.getTransportState().getName()); in testAllStateTransitions()
221 assertEquals(mRangingSessionController.getCurrentState().getName(), in testAllStateTransitions()
222 mRangingSessionController.getSecureState().getName()); in testAllStateTransitions()
228 assertEquals(mRangingSessionController.getCurrentState().getName(), in testAllStateTransitions()
229 mRangingSessionController.getRangingState().getName()); in testAllStateTransitions()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/compat/
DCompatUtilsTest.java38 assertTrue(CompatUtils.isClassAvailable(BaseClass.class.getName())); in testIsClassAvailable()
63 assertFalse(CompatUtils.isMethodAvailable(BaseClass.class.getName(), "derivedMethod")); in testIsMethodAvailable_NonexistentMethod()
67 assertTrue(CompatUtils.isMethodAvailable(BaseClass.class.getName(), "baseMethod")); in testIsMethodAvailable()
71 assertTrue(CompatUtils.isMethodAvailable(DerivedClass.class.getName(), "baseMethod")); in testIsMethodAvailable_InheritedMethod()
75 assertTrue(CompatUtils.isMethodAvailable(DerivedClass.class.getName(), "overloadedMethod")); in testIsMethodAvailable_OverloadedMethod()
76 assertTrue(CompatUtils.isMethodAvailable(DerivedClass.class.getName(), "overloadedMethod", in testIsMethodAvailable_OverloadedMethod()
81 assertFalse(CompatUtils.isMethodAvailable(DerivedClass.class.getName(), "overloadedMethod", in testIsMethodAvailable_NonexistentOverload()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/command/
DSppCommand.java85 if (!sCommands.containsKey(soapResponse.getName())) { in SppCommand()
86 throw new IllegalArgumentException("can't find the command: " + soapResponse.getName()); in SppCommand()
88 mSppCommandId = sCommands.get(soapResponse.getName()); in SppCommand()
90 Log.i(TAG, "command name: " + soapResponse.getName()); in SppCommand()
107 if (!sExecs.containsKey(commandInfo.getName())) { in SppCommand()
109 "Unrecognized exec command: " + commandInfo.getName()); in SppCommand()
111 mExecCommandId = sExecs.get(commandInfo.getName()); in SppCommand()
112 Log.i(TAG, "exec command: " + commandInfo.getName()); in SppCommand()

12345678910>>...71