Home
last modified time | relevance | path

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

1234

/development/tools/apkcheck/src/com/android/apkcheck/
DApkCheck.java255 PackageInfo pubPkgInfo = pubList.getPackage(apkPkgInfo.getName()); in check()
276 apkPkgInfo.getName() + "." + apkClassInfo.getName()); in check()
279 apkPkgInfo.getName() + "." + apkClassInfo.getName()); in check()
296 ClassInfo pubClassInfo = pubPkgInfo.getClass(classInfo.getName()); in checkClass()
301 pubPkgInfo.getName() + "." + classInfo.getName()); in checkClass()
304 pubPkgInfo.getName() + "." + classInfo.getName()); in checkClass()
307 pubPkgInfo.getName() + "." + classInfo.getName()); in checkClass()
323 apkWarning("Enum field ref: " + pubPkgInfo.getName() + in checkClass()
324 "." + classInfo.getName() + "." + nameAndType); in checkClass()
326 apkError("Illegal field ref: " + pubPkgInfo.getName() + in checkClass()
[all …]
DApiDescrHandler.java108 String className = mCurrentClass.getName(); in startElement()
115 mCurrentMethod.addParameter(mCurrentPackage.getName() + in startElement()
/development/tools/idegen/src/com/android/idegen/
DModule.java51 private static final Logger logger = Logger.getLogger(Module.class.getName());
100 File.separatorChar + getName() + "_intermediates" + File.separator + "src"; in Module()
145 public String getName() { in getName() method in Module
146 return moduleRoot.getName(); in getName()
263 .append(module.getName()).append("\" />\n"); in buildImlFile()
267 imlFile = new File(moduleDir, getName() + ".iml"); in buildImlFile()
367 return Objects.hashCode(getName()); in hashCode()
379 return Objects.equal(getName(), other.getName()); in equals()
385 .add("name", getName()) in toString()
DIntellijProject.java40 private static final Logger logger = Logger.getLogger(IntellijProject.class.getName());
103 createNameFile(ideaDir, projectPath.getName()); in createProjectFiles()
174 File destDir = new File(toDir, file.getName()); in copyTemplates()
180 File toFile = new File(toDir, file.getName()); in copyTemplates()
DDirectorySearch.java42 private static final Logger logger = Logger.getLogger(DirectorySearch.class.getName());
167 if (SOURCE_DIRS.contains(child.getName())) { in findSourceDirs()
195 Matcher matcher = EXCLUDE_PATTERN.matcher(child.getName()); in findExcludeDirs()
/development/samples/UiAutomator/src/com/android/test/uiautomator/demos/
DSetTwoMinuteAlarm.java41 new UiSelector().className(android.widget.TextView.class.getName());
62 new UiSelector().className(android.widget.TabWidget.class.getName()) in testDemo()
80 .className(TextView.class.getName()).text("Alarm")); in testDemo()
106 android.widget.NumberPicker.class.getName()).instance(1); in setAlarm()
108 new UiSelector().className(android.widget.Button.class.getName()).instance(1)); in setAlarm()
DLogBuildNumber.java52 new UiSelector().className(android.widget.TextView.class.getName());
62 new UiSelector().className(android.widget.ListView.class.getName());
64 new UiSelector().className(android.widget.LinearLayout.class.getName());
84 new UiSelector().className(android.widget.TabWidget.class.getName()) in testDemo()
146 new UiSelector().className(android.widget.TextView.class.getName()).instance(1)); in getAboutItem()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DFlagUtils.java54 .filter(f -> f.getName().startsWith(INTENT_FLAG_PREFIX)) // filter FLAG_ fields in discoverFlags()
63 .map(Field::getName) // map present Fields to their string names in discoverFlags()
73 .filter(f -> f.getName().startsWith(INTENT_FLAG_PREFIX))
74 .map(Field::getName)
169 return hasIntentFlag(intent, flag.getName());
265 .filter(f -> f.getName().startsWith(ACTIVITY_INFO_FLAG_PREFIX))
274 .map(Field::getName) // map present Fields to their string names
346 … return getAllIntentFlags().stream().filter(flag -> flag.getName().equals(stringFlag)).findAny()
DIntentBuilderView.java265 List<String> suggestions = flag.getComplements().stream().map(IntentFlag::getName) in suggestFlags()
278 return suggestions.contains(flag.getName()); in hasSuggestion()
342 selectFlags(flags.stream().map(IntentFlag::getName).collect(Collectors.toList())); in selectFlags()
364 return getAllCheckBoxes().stream().filter(box -> flag.getName().equals(box.getText())) in getCheckBox()
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/
DMidiPrinter.java50 public static String getName(int status) { in getName() method in MidiPrinter
74 sb.append(getName(status)).append("("); in formatMessage()
102 sb.append("[").append(port.getPortNumber()).append("] = \"").append(port.getName() in formatDeviceInfo()
/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarLander.java139 Log.w(this.getClass().getName(), "SIS is null"); in onCreate()
143 Log.w(this.getClass().getName(), "SIS is nonnull"); in onCreate()
167 Log.w(this.getClass().getName(), "SIS called"); in onSaveInstanceState()
/development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/
DSpellCheckerSettingsActivity.java35 modIntent.putExtra(EXTRA_SHOW_FRAGMENT, SpellCheckerSettingsFragment.class.getName()); in getIntent()
42 return SpellCheckerSettingsFragment.class.getName().equals(fragmentName); in isValidFragment()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DImePreferences.java31 modIntent.putExtra(EXTRA_SHOW_FRAGMENT, Settings.class.getName()); in getIntent()
46 return Settings.class.getName().equals(fragmentName); in isValidFragment()
/development/samples/apkcachetest/src/com/android/apkcachetest/
DMain.java50 txt.append(" " + file.getName() + ": [" + readTextFile(file) + "]\n"); in onCreate()
52 txt.append(" " + file.getName() + ": Error " + e + "\n"); in onCreate()
/development/samples/training/network-usage/src/com/example/android/networkusage/
DStackOverflowXmlParser.java57 String name = parser.getName(); in readFeed()
94 String name = parser.getName(); in readEntry()
120 String tag = parser.getName(); in readLink()
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/net/
DFeedParser.java95 String name = parser.getName(); in readFeed()
138 String name = parser.getName(); in readEntry()
214 String tag = parser.getName(); in readAlternateLink()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmIntentService.java35 public static final String ALARM_WENT_OFF_ACTION = AlarmIntentService.class.getName()
50 super(AlarmIntentService.class.getName()); in AlarmIntentService()
/development/tools/rmtypedefs/test/com/android/tools/rmtypedefs/
DRmTypeDefsTest.java220 String fileName = file.getName(); in list()
235 return o1.getName().compareTo(o2.getName()); in list()
/development/samples/training/threadsample/src/com/example/android/threadsample/
DRSSPullParser.java127 String eventName = localXmlPullParser.getName(); in parseXml()
186 && (localXmlPullParser.getName().equalsIgnoreCase(ITEM)) in parseXml()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DRemoteService.java111 if (IRemoteService.class.getName().equals(intent.getAction())) { in onBind()
114 if (ISecondary.class.getName().equals(intent.getAction())) { in onBind()
372 intent.setAction(IRemoteService.class.getName());
374 intent.setAction(ISecondary.class.getName());
553 mBindIntent.setAction(IRemoteService.class.getName()); in onCreate()
/development/samples/ContactManager/src/com/example/android/contactmanager/
DContactAdder.java188 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, mSelectedAccount.getName()) in createContactEntry()
212 Log.i(TAG,"Selected account: " + mSelectedAccount.getName() + " (" + in createContactEntry()
338 public String getName() { in getName() method in ContactAdder.AccountData
380 firstAccountLine.setText(data.getName()); in getDropDownView()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameControllerInput.java265 Log.i(TAG, mDevice.getName() + " - Key Down: " + symbolicName); in onKeyDown()
279 Log.i(TAG, mDevice.getName() + " - Key Up: " + symbolicName); in onKeyUp()
288 message.append(mDevice.getName()).append(" - Joystick Motion:\n"); in onJoystickMotion()
381 mDeviceNameTextColumn.setContent(state.getDevice().getName()); in show()
/development/samples/browseable/DirectShare/src/com.example.android.directshare/
DContactViewBinder.java33 textView.setText(contact.getName()); in bind()
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DDeviceListActivity.java112 mPairedDevicesArrayAdapter.add(device.getName() + "\n" + device.getAddress()); in onCreate()
188 mNewDevicesArrayAdapter.add(device.getName() + "\n" + device.getAddress());
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DDeviceListActivity.java121 pairedDevicesArrayAdapter.add(device.getName() + "\n" + device.getAddress()); in onCreate()
202 mNewDevicesArrayAdapter.add(device.getName() + "\n" + device.getAddress());

1234