Home
last modified time | relevance | path

Searched refs:packageName (Results 1 – 25 of 31) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DApkInstallManager.java54 public ApkInstall(IProject project, String packageName, IDevice device) { in ApkInstall() argument
56 this.packageName = packageName; in ApkInstall()
66 packageName.equals(apkObj.packageName)); in equals()
74 return (device.getSerialNumber() + project.getName() + packageName).hashCode(); in hashCode()
78 final String packageName; field in ApkInstallManager.ApkInstall
122 public void registerInstallation(IProject project, String packageName, IDevice device) { in registerInstallation() argument
124 mInstallList.add(new ApkInstall(project, packageName, device)); in registerInstallation()
134 public boolean isApplicationInstalled(IProject project, String packageName, IDevice device) { in isApplicationInstalled() argument
138 if (project.equals(install.project) && packageName.equals(install.packageName) && in isApplicationInstalled()
149 found.device.executeShellCommand("pm path " + packageName, receiver); in isApplicationInstalled()
DProjectHelper.java972 String packageName = project.getName() + SdkConstants.DOT_ANDROID_PACKAGE; in getApplicationPackage() local
973 IResource r = outputLocation.findMember(packageName); in getApplicationPackage()
980 String msg = String.format("Could not find %1$s!", packageName); in getApplicationPackage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DTestTargetPage.java204 String packageName = manifestData.getPackage(); in setExistingProject() local
211 if (packageName == null) { in setExistingProject()
212 packageName = ""; //$NON-NLS-1$ in setExistingProject()
214 mLastExistingPackageName = packageName; in setExistingProject()
225 packageName += ".test"; //$NON-NLS-1$ in setExistingProject()
226 mValues.packageName = packageName; in setExistingProject()
255 private void updateTestTargetPackageField(String packageName) { in updateTestTargetPackageField() argument
257 mValues.testTargetPackageName = mValues.packageName; in updateTestTargetPackageField()
258 } else if (packageName != null) { in updateTestTargetPackageField()
259 mValues.testTargetPackageName = packageName; in updateTestTargetPackageField()
DApplicationInfoPage.java203 if (mValues.packageName != null) { in setVisible()
204 mPackageText.setText(mValues.packageName); in setVisible()
290 if (mValues.packageName == null) { in isPageComplete()
342 mValues.packageName = mPackageText.getText().trim(); in modifyText()
346 mValues.testPackageName = suggestTestPackage(mValues.packageName); in modifyText()
419 mValues.testPackageName = suggestTestPackage(mValues.packageName); in widgetSelected()
441 IStatus status = validatePackage(mValues.packageName); in validatePage()
567 osTarget = mValues.packageName + File.separator + osTarget; in validateSourceFolder()
569 osTarget = mValues.packageName + osTarget; in validateSourceFolder()
715 String packageName = ""; //$NON-NLS-1$ in validateActivity() local
[all …]
DNewProjectCreator.java354 String packageName = manifest.getPackage(); in importProjects() local
364 parameters.put(PARAM_PACKAGE, packageName); in importProjects()
426 parameters.put(PARAM_PACKAGE, mValues.packageName); in collectMainPageInfo()
480 mValues.mode == Mode.TEST ? mValues.packageName : mValues.testPackageName; in collectTestPageInfo()
492 ? mValues.packageName : mValues.testTargetPackageName; in collectTestPageInfo()
1229 String packageName = (String) parameters.get(PARAM_PACKAGE); in addSampleCode() local
1250 resourcePackageClass = packageName + '.' + SdkConstants.FN_RESOURCE_BASE; in addSampleCode()
1255 packageName += activityName.substring(0, lastDotIndex); in addSampleCode()
1257 packageName = activityName.substring(0, lastDotIndex); in addSampleCode()
1265 java_activity_parameters.put(PARAM_PACKAGE, packageName); in addSampleCode()
[all …]
DNewProjectWizardState.java84 public String packageName; field in NewProjectWizardState
231 packageName = newPackageName; in extractFromAndroidManifest()
DNewProjectWizard.java177 return mValues.packageName; in getPackageName()
DProjectNamePage.java548 String packageName = manifestData.getPackage(); in validateLocation() local
549 if (packageName == null || packageName.length() == 0) { in validateLocation()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiClassAttributeNode.java124 String packageName = typeInfoRequestor.getPackageName(); in getFilterExtension()
129 StringBuilder sb = new StringBuilder(packageName); in getFilterExtension()
394 String packageName = getManifestPackage();
397 createNewClass(packageName, null /* className */);
402 fullClassName = packageName + className;
406 fullClassName = packageName + "." + className; //$NON-NLS-1$
428 createNewClass(packageName, className);
524 private void createNewClass(String packageName, String className) {
543 IPackageFragment fragment = root.getPackageFragment(packageName);
559 if (packageName.startsWith(fragment.getElementName())) {
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DDelayedLaunchInfo.java92 public DelayedLaunchInfo(IProject project, String packageName, String debugPackageName, in DelayedLaunchInfo() argument
96 mPackageName = packageName; in DelayedLaunchInfo()
DDeviceChooserDialog.java286 public DeviceChooserDialog(Shell parent, DeviceChooserResponse response, String packageName, in DeviceChooserDialog() argument
292 mPackageName = packageName; in DeviceChooserDialog()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DFixImportsJob.java97 String packageName = packageFragment.getElementName(); in runInWorkspace() local
98 if (packageName != null && packageName.startsWith(mJavaPackage)) { in runInWorkspace()
DAndroidTypeRenameParticipant.java173 String packageName = type.getPackageFragment().getElementName(); in initialize() local
176 if (packageName != null) { in initialize()
177 mNewFqcn = packageName + mNewDottedName; in initialize()
185 mNewFqcn = packageName + mNewDottedName; in initialize()
DAndroidPackageRenameParticipant.java189 String packageName = mPackageFragment.getElementName(); in initialize() local
196 mOldPackage = packageName; in initialize()
204 && mAppPackage.equals(packageName)) { in initialize()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestInfo.java122 public ActivityAttributes(Element activity, String packageName) { in ActivityAttributes() argument
130 if (index <= 0 && packageName != null && !packageName.isEmpty()) { in ActivityAttributes()
131 name = packageName + (index == -1 ? "." : "") + name; in ActivityAttributes()
163 if (index <= 0 && packageName != null && !packageName.isEmpty()) { in ActivityAttributes()
164 value = packageName + (index == -1 ? "." : "") + value; in ActivityAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DNewProjectWizardState.java57 public String packageName; field in NewProjectWizardState
DNewProjectPage.java452 mValues.packageName = mPackageText.getText(); in modifyText()
685 mValues.packageName = pkg; in suggestPackage()
688 mPackageText.setText(mValues.packageName); in suggestPackage()
869 if (mValues.packageName == null || mValues.packageName.startsWith(SAMPLE_PACKAGE_PREFIX)) { in validatePackageName()
870 if (mValues.packageName != null in validatePackageName()
871 && !mValues.packageName.equals(SAMPLE_PACKAGE_PREFIX)) { in validatePackageName()
872 status = ApplicationInfoPage.validatePackage(mValues.packageName); in validatePackageName()
883 status = ApplicationInfoPage.validatePackage(mValues.packageName); in validatePackageName()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/generator/
DCodeGenerator.java133 String packageName = context.getResources().getResourcePackageName(resId); in getResourceVar() local
136 return packageName + ".R." + type + "." + entryName; in getResourceVar()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DRulesEngine.java789 String packageName = ViewRule.class.getName(); in loadRule() local
790 packageName = packageName.substring(0, packageName.lastIndexOf('.')); in loadRule()
804 ruleClassName = packageName + "." + //$NON-NLS-1$ in loadRule()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DCompiledResourcesMonitor.java120 private boolean packagePathMatches(String path, String packageName) { in packagePathMatches() argument
126 String [] packageArray = packageName.split(AdtConstants.RE_DOT); in packagePathMatches()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGraphicalEditorPart.java2349 String packageName = url.substring(typeBegin, colon); in findResourceFile() local
2350 if (ANDROID_PKG.equals(packageName)) { in findResourceFile()
2636 String packageName = pos < 0 ? "" : fqcn.substring(0, pos); //$NON-NLS-1$ in createNewClass() local
2658 IPackageFragment fragment = root.getPackageFragment(packageName); in createNewClass()
2674 if (packageName.startsWith(fragment.getElementName())) { in createNewClass()
2705 int totalCount = packageName.split("\\.").length; //$NON-NLS-1$ in createNewClass()
2710 index = packageName.indexOf('.', index+1); in createNewClass()
2717 index = packageName.indexOf('.', index+1); in createNewClass()
2720 packageName.substring(0, index), in createNewClass()
2726 packageName, true /* force*/, new NullProgressMonitor())); in createNewClass()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/
DDeviceView.java482 String packageName = clientData.getClientDescription(); in createPartControl()
483 if (packageName != null) { in createPartControl()
492 if (connector.connectDebugger(packageName, in createPartControl()
512 packageName)); in createPartControl()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/
DSampleProjectTest.java112 state.packageName = "com.android.samples"; in doTestSampleProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DExportGradleTest.java276 state.packageName = TEST_PROJECT_PACKAGE; in createJavaProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringRefactoring.java1770 String packageName = null;
1780 packageName = manifestData.getPackage();
1781 if (packageName == null) {
1819 String Rqualifier = packageName + ".R"; //$NON-NLS-1$

12