/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/xml/ |
AndroidManifestParser.java | 82 * XML error & data handler used when parsing the AndroidManifest.xml file. 137 if (AndroidManifest.NODE_MANIFEST.equals(localName)) { 140 AndroidManifest.ATTRIBUTE_PACKAGE, 145 AndroidManifest.ATTRIBUTE_VERSIONCODE, true); 157 if (AndroidManifest.NODE_APPLICATION.equals(localName)) { 159 AndroidManifest.ATTRIBUTE_PROCESS, 166 AndroidManifest.ATTRIBUTE_DEBUGGABLE, 173 } else if (AndroidManifest.NODE_USES_SDK.equals(localName)) { 175 AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION, 178 AndroidManifest.ATTRIBUTE_TARGET_SDK_VERSION [all...] |
AndroidManifest.java | 32 * Helper and Constants for the AndroidManifest.xml file. 35 public final class AndroidManifest {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactoring/changes/ |
AndroidTypeRenameChange.java | 20 import com.android.sdklib.xml.AndroidManifest; 44 * @param androidManifest the android manifest file 51 public AndroidTypeRenameChange(IFile androidManifest, ITextFileBufferManager manager, 59 this.mAndroidManifest = androidManifest; 76 TextEdit edit = createTextEdit(key, AndroidManifest.ATTRIBUTE_NAME, mOldName, 81 if (AndroidManifest.NODE_ACTIVITY.equals(key)) { 82 TextEdit alias = createTextEdit(AndroidManifest.NODE_ACTIVITY_ALIAS, 83 AndroidManifest.ATTRIBUTE_TARGET_ACTIVITY, mOldName, mNewName); 88 AndroidManifest.NODE_APPLICATION, 89 AndroidManifest.ATTRIBUTE_MANAGE_SPACE_ACTIVITY, mOldName, mNewName) [all...] |
AndroidPackageRenameChange.java | 21 import com.android.sdklib.xml.AndroidManifest; 47 * @param androidManifest the android manifest file 55 public AndroidPackageRenameChange(IFile androidManifest, ITextFileBufferManager manager, 65 this.mAndroidManifest = androidManifest; 83 TextEdit edit = createTextEdit(AndroidManifest.NODE_MANIFEST, 84 AndroidManifest.ATTRIBUTE_PACKAGE, mOldName, mNewName, false); 92 String oldValue = AndroidManifest.combinePackageAndClassName(mAppPackage, value); 94 TextEdit edit = createTextEdit(key, AndroidManifest.ATTRIBUTE_NAME, oldValue, 99 if (AndroidManifest.NODE_ACTIVITY.equals(key)) { 100 TextEdit alias = createTextEdit(AndroidManifest.NODE_ACTIVITY_ALIAS [all...] |
AndroidDocumentChange.java | 23 import com.android.sdklib.xml.AndroidManifest; 124 String fullName = AndroidManifest.combinePackageAndClassName( 213 mAppPackage = getElementAttribute(xmlDoc, AndroidManifest.NODE_MANIFEST, 214 AndroidManifest.ATTRIBUTE_PACKAGE, false); 280 newValue = AndroidManifest.extractActivityName(newName, getAppPackage());
|
/development/testrunner/ |
android_manifest.py | 18 """In memory representation of AndroidManifest.xml file. 20 Specification of AndroidManifest.xml can be found at 30 class AndroidManifest(object): 31 """In memory representation of AndroidManifest.xml file.""" 33 FILENAME = 'AndroidManifest.xml' 55 """Parse AndroidManifest.xml at the specified path. 58 app_path: path to folder containing AndroidManifest.xml 60 IOError: AndroidManifest.xml cannot be found at given path, or cannot be 113 """Factory method for creating a AndroidManifest. 119 the AndroidManifest or None if there was no file presen [all...] |
create_test.py | 33 """Constants for test Android.mk and AndroidManifest.xml creation.""" 87 """Create and populate tests/AndroidManifest.xml with variable values from 88 Android.mk and AndroidManifest.xml. 90 Does nothing if tests/AndroidManifest.xml already exists. 93 manifest: AndroidManifest object for application manifest 96 extracted from AndroidManifest.xml 98 IOError: tests/AndroidManifest.xml cannot be opened for writing 117 # write tests/AndroidManifest.xml 203 manifest: AndroidManifest object for application manifest 228 manifest = android_manifest.AndroidManifest(app_path=app_path [all...] |
/development/testrunner/tests/ |
android_manifest_tests.py | 26 """Unit tests for AndroidManifest.""" 30 self._manifest = android_manifest.AndroidManifest(app_path='.')
|
/frameworks/base/tools/aapt/tests/plurals/ |
run.sh | 9 aapt package -v -x -m -z -J $TEST_OUT_DIR/java -M $TEST_DIR/AndroidManifest.xml \
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactoring/core/ |
AndroidTypeRenameParticipant.java | 28 import com.android.sdklib.xml.AndroidManifest; 332 add(xmlDoc, androidElements, AndroidManifest.NODE_ACTIVITY, 333 AndroidManifest.ATTRIBUTE_NAME); 334 add(xmlDoc, androidElements, AndroidManifest.NODE_APPLICATION, 335 AndroidManifest.ATTRIBUTE_NAME); 336 add(xmlDoc, androidElements, AndroidManifest.NODE_PROVIDER, 337 AndroidManifest.ATTRIBUTE_NAME); 338 add(xmlDoc, androidElements, AndroidManifest.NODE_RECEIVER, 339 AndroidManifest.ATTRIBUTE_NAME); 340 add(xmlDoc, androidElements, AndroidManifest.NODE_SERVICE [all...] |
AndroidPackageRenameParticipant.java | 28 import com.android.sdklib.xml.AndroidManifest; 471 add(xmlDoc, androidElements, AndroidManifest.NODE_ACTIVITY, 472 AndroidManifest.ATTRIBUTE_NAME); 473 add(xmlDoc, androidElements, AndroidManifest.NODE_APPLICATION, 474 AndroidManifest.ATTRIBUTE_NAME); 475 add(xmlDoc, androidElements, AndroidManifest.NODE_PROVIDER, 476 AndroidManifest.ATTRIBUTE_NAME); 477 add(xmlDoc, androidElements, AndroidManifest.NODE_RECEIVER, 478 AndroidManifest.ATTRIBUTE_NAME); 479 add(xmlDoc, androidElements, AndroidManifest.NODE_SERVICE [all...] |
AndroidTypeMoveParticipant.java | 28 import com.android.sdklib.xml.AndroidManifest; 369 add(xmlDoc, androidElements, AndroidManifest.NODE_ACTIVITY, 370 AndroidManifest.ATTRIBUTE_NAME); 371 add(xmlDoc, androidElements, AndroidManifest.NODE_APPLICATION, 372 AndroidManifest.ATTRIBUTE_NAME); 373 add(xmlDoc, androidElements, AndroidManifest.NODE_PROVIDER, 374 AndroidManifest.ATTRIBUTE_NAME); 375 add(xmlDoc, androidElements, AndroidManifest.NODE_RECEIVER, 376 AndroidManifest.ATTRIBUTE_NAME); 377 add(xmlDoc, androidElements, AndroidManifest.NODE_SERVICE [all...] |
/packages/experimental/UiAutomation/ |
Android.mk | 26 LOCAL_MANIFEST_FILE := service/AndroidManifest.xml
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/ |
AndroidManifestWriter.java | 20 import com.android.sdklib.xml.AndroidManifest; 46 * Helper class for modifying an AndroidManifest. 69 NodeList nodeList = mDoc.getElementsByTagName(AndroidManifest.NODE_USES_SDK); 73 usesSdkElement = mDoc.createElement(AndroidManifest.NODE_USES_SDK); 77 AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
ManifestInfo.java | 21 import static com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_ICON; 22 import static com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_LABEL; 23 import static com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION; 24 import static com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_NAME; 25 import static com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_PACKAGE; 26 import static com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_TARGET_SDK_VERSION; 27 import static com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_THEME; 28 import static com.android.sdklib.xml.AndroidManifest.NODE_ACTIVITY; 29 import static com.android.sdklib.xml.AndroidManifest.NODE_USES_SDK; 41 import com.android.sdklib.xml.AndroidManifest; [all...] |
/sdk/anttasks/src/com/android/ant/ |
NewSetupTask.java | 29 import com.android.sdklib.xml.AndroidManifest; 359 "/" + AndroidManifest.NODE_MANIFEST + 360 "/@" + AndroidManifest.ATTRIBUTE_PACKAGE, 373 "/" + AndroidManifest.NODE_MANIFEST + 374 "/" + AndroidManifest.NODE_USES_SDK + 376 AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION, 385 "For '%1$s' SDK Preview, attribute minSdkVersion in AndroidManifest.xml must be '%1$s' (current: %2$s)", 404 "Attribute %1$s in AndroidManifest.xml must be an Integer!", 405 AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION)); 414 "WARNING: Attribute %1$s in AndroidManifest.xml (%2$d) is lower than the project target API level (%3$d)" [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/ |
ApplicationPackageNameRefactoring.java | 23 import com.android.sdklib.xml.AndroidManifest; 103 // AndroidManifest.xml depends on not having compilation errors. 138 AndroidManifest.NODE_ACTIVITY, AndroidManifest.NODE_SERVICE, 139 AndroidManifest.NODE_RECEIVER, AndroidManifest.NODE_PROVIDER, 140 AndroidManifest.NODE_APPLICATION 279 * Replace all instances of the package name in AndroidManifest.xml. 348 + AndroidManifest.ATTRIBUTE_NAME; 350 } else if (AndroidManifest.NODE_MANIFEST.equals(lastTagName [all...] |
/build/core/tasks/ |
cts.mk | 74 # $2 : The AndroidManifest.xml corresponding to the test package 103 cts/tests/core/libcore/dalvik/AndroidManifest.xml,\ 107 cts/tests/core/libcore/com/AndroidManifest.xml,\ 111 cts/tests/core/libcore/sun/AndroidManifest.xml,\ 115 cts/tests/core/libcore/tests/AndroidManifest.xml,\ 119 cts/tests/core/libcore/org/AndroidManifest.xml,\ 123 cts/tests/core/libcore/libcore/AndroidManifest.xml,\ 145 cts/tests/vm-tests/AndroidManifest.xml,\ 166 cts/tests/vm-tests-tf/AndroidManifest.xml,\
|
/development/testrunner/test_defs/ |
instrumentation_test.py | 224 AndroidManifest.xml found at build_path. Will set additional filters if 239 manifest_parser = android_manifest.AndroidManifest(app_path= 244 (android_manifest.AndroidManifest.FILENAME, 271 (android_manifest.AndroidManifest.FILENAME,
|
/development/build/ |
sdk.atree | 90 development/tools/templates/AndroidManifest.template platforms/${PLATFORM_NAME}/templates/AndroidManifest.template 91 development/tools/templates/AndroidManifest.tests.template platforms/${PLATFORM_NAME}/templates/AndroidManifest.tests.template
|
/development/tools/findunused/ |
findunusedresources | 61 find $resources $sources $app/AndroidManifest.xml -type f -print |xargs cat | tr -d '\n ' > /tmp/everything$$
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
PreCompilerBuilder.java | 43 import com.android.sdklib.xml.AndroidManifest; 70 * AndroidManifest.xml file into the R.java class.</li> 383 codename, AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION); 392 AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION, 401 AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION, 415 AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION, minSdkVersion); 424 AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION, codename); 442 codename, AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION); 450 // looks like the AndroidManifest file isn't valid. 652 String libJavaPackage = AndroidManifest.getPackage(new IFolderWrapper(lib)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
NewProjectWizardState.java | 26 import com.android.sdklib.xml.AndroidManifest; 220 newActivityName = AndroidManifest.extractActivityName(activity.getName(),
|
/ndk/build/core/ |
build-local.mk | 81 ifneq (,$(strip $(wildcard AndroidManifest.xml))) 93 NDK_PROJECT_PATH := $(call find-project-dir,$(strip $(shell pwd)),AndroidManifest.xml)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
ExportHelper.java | 34 import com.android.sdklib.xml.AndroidManifest; 103 boolean debugMode = AndroidManifest.getDebuggable(manifestFile);
|