/cts/tests/tests/permission/src/android/permission/cts/ |
ProviderPermissionTest.java | 34 * {@link android.Manifest.permission#READ_CONTACTS} 38 android.Manifest.permission.READ_CONTACTS); 44 * {@link android.Manifest.permission#WRITE_CONTACTS} 48 android.Manifest.permission.WRITE_CONTACTS); 54 * {@link android.Manifest.permission#READ_CONTACTS} 58 android.Manifest.permission.READ_CONTACTS); 64 * {@link android.Manifest.permission#WRITE_CONTACTS} 68 android.Manifest.permission.WRITE_CONTACTS); 74 * {@link android.Manifest.permission#WRITE_SETTINGS} 78 android.Manifest.permission.WRITE_SETTINGS) [all...] |
/external/webkit/WebCore/loader/appcache/ |
ManifestParser.h | 37 struct Manifest { 44 bool parseManifest(const KURL& manifestURL, const char* data, int length, Manifest&);
|
ApplicationCacheResource.h | 39 Manifest = 1 << 1,
|
ApplicationCacheResource.cpp | 75 if (type & Manifest) 76 printf("manifest ");
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
NoWriteSecureSettingsPermissionTest.java | 30 * {@link android.Manifest.permission#WRITE_SECURE_SETTINGS} 34 android.Manifest.permission.WRITE_SECURE_SETTINGS);
|
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
ManifestTest.java | 30 import java.util.jar.Manifest; 42 private Manifest m; 44 private Manifest m2; 48 private final String MANIFEST_NAME = "manifest/hyts_MANIFEST.MF"; 69 private Manifest getManifest(String fileName) { 73 Manifest m = jarFile.getManifest(); 83 * @tests java.util.jar.Manifest#Manifest() 86 // Test for method java.util.jar.Manifest() 87 Manifest emptyManifest = new Manifest() 160 Manifest manifest = new Manifest(new URL(Support_Resources local 204 Manifest manifest = new Manifest(new URL(Support_Resources local [all...] |
ZipExecTest.java | 31 import java.util.jar.Manifest; 43 Manifest man = new Manifest(); 60 zout.putNextEntry(new ZipEntry("META-INF/MANIFEST.MF")); 73 * tests Class-Path entry in manifest 83 // create the manifest 84 Manifest man = new Manifest(); 94 zoutFoo.putNextEntry(new ZipEntry("META-INF/MANIFEST.MF")); 113 // rewrite manifest so it contains not only reference to bar but useles [all...] |
JarOutputStreamTest.java | 29 import java.util.jar.Manifest; 50 // test whether specifying the main class in the manifest 58 // create the manifest 59 Manifest newman = new Manifest(); 132 Manifest man = new Manifest();
|
JarExecTest.java | 31 import java.util.jar.Manifest; 45 // create the manifest 46 Manifest man = new Manifest(); 74 * tests Class-Path entry in manifest 84 // create the manifest 85 Manifest man = new Manifest(); 112 // rewrite manifest so it contains not only reference to bar but useless 149 // create the manifest [all...] |
JarExceptionTest.java | 22 import java.util.jar.Manifest;
|
/libcore/luni/src/main/java/java/util/jar/ |
JarOutputStream.java | 31 private Manifest manifest; field in class:JarOutputStream 35 * content of the {@code Manifest} must match the JAR entry information 41 * the {@code Manifest} to output for this JAR file. 45 public JarOutputStream(OutputStream os, Manifest mf) throws IOException { 50 manifest = mf; 53 manifest.write(this);
|
Manifest.java | 36 * The {@code Manifest} class is used to obtain attribute information for a 39 public class Manifest implements Cloneable { 65 * The end of the main attributes section in the manifest is needed in 71 * Creates a new {@code Manifest} instance. 73 public Manifest() { 78 * Creates a new {@code Manifest} instance using the attributes obtained 84 * if an IO error occurs while creating this {@code Manifest} 86 public Manifest(InputStream is) throws IOException { 92 * Creates a new {@code Manifest} instance. The new instance will have the 93 * same attributes as those found in the parameter {@code Manifest} [all...] |
JarInputStream.java | 36 private Manifest manifest; field in class:JarInputStream 79 manifest = new Manifest(this, verify); 82 verifier.setManifest(manifest); 83 if (manifest != null) { 84 verifier.mainAttributesEnd = manifest 115 * Returns the {@code Manifest} object associated with this {@code 116 * JarInputStream} or {@code null} if no manifest entry exists. 118 * @return the MANIFEST specifying the contents of the JAR file [all...] |
InitManifest.java | 26 * Reads a JAR file manifest. The specification is here: 56 Map<String, Manifest.Chunk> chunks) throws IOException { 84 chunks.put(entryNameValue, new Manifest.Chunk(mark, pos)); 97 * Read a single line from the manifest buffer. 152 throw new IOException("NUL character in a manifest");
|
/libcore/luni/src/main/java/java/net/ |
JarURLConnection.java | 25 import java.util.jar.Manifest; 148 * Gets the manifest file associated with this JAR-URL. 150 * @return the manifest of the referenced JAR-file. 152 * if an error occurs while getting the manifest file. 154 public Manifest getManifest() throws java.io.IOException { 155 return (Manifest)getJarFile().getManifest().clone(); 179 * Gets all attributes of the manifest file referenced by this {@code 183 * @return the attributes of the manifest file or {@code null}. 189 Manifest m = getJarFile().getManifest();
|
/frameworks/base/services/java/com/android/server/ |
NetworkManagementService.java | 251 android.Manifest.permission.ACCESS_NETWORK_STATE, "NetworkManagementService"); 326 android.Manifest.permission.SHUTDOWN) 336 android.Manifest.permission.ACCESS_NETWORK_STATE, "NetworkManagementService"); 366 android.Manifest.permission.CHANGE_NETWORK_STATE, "NetworkManagementService"); 373 android.Manifest.permission.CHANGE_NETWORK_STATE, "NetworkManagementService"); 390 android.Manifest.permission.CHANGE_NETWORK_STATE, "NetworkManagementService"); 400 android.Manifest.permission.ACCESS_NETWORK_STATE, "NetworkManagementService"); 428 android.Manifest.permission.CHANGE_NETWORK_STATE, "NetworkManagementService"); 439 android.Manifest.permission.CHANGE_NETWORK_STATE, "NetworkManagementService"); 450 android.Manifest.permission.ACCESS_NETWORK_STATE, "NetworkManagementService") [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
PhoneSubInfo.java | 32 android.Manifest.permission.READ_PHONE_STATE; 35 android.Manifest.permission.CALL_PRIVILEGED; 135 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP)
|
IccPhoneBookInterfaceManager.java | 137 android.Manifest.permission.WRITE_CONTACTS) 185 android.Manifest.permission.WRITE_CONTACTS) 232 android.Manifest.permission.READ_CONTACTS)
|
/frameworks/base/core/java/android/content/ |
ContentService.java | 30 import android.Manifest; 62 mContext.enforceCallingOrSelfPermission(Manifest.permission.DUMP, 247 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_SETTINGS, 263 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS, 279 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS, 291 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS, 302 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_SETTINGS, 314 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_SETTINGS, 330 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS, 345 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_SETTINGS [all...] |
/packages/apps/Phone/src/com/android/phone/ |
PhoneInterfaceManager.java | 542 android.Manifest.permission.ACCESS_FINE_LOCATION, null); 548 android.Manifest.permission.ACCESS_COARSE_LOCATION, null); 557 android.Manifest.permission.CONTROL_LOCATION_UPDATES, null); 563 android.Manifest.permission.CONTROL_LOCATION_UPDATES, null); 571 android.Manifest.permission.ACCESS_FINE_LOCATION, null); 578 android.Manifest.permission.ACCESS_COARSE_LOCATION, null); 604 mApp.enforceCallingOrSelfPermission(android.Manifest.permission.READ_PHONE_STATE, null); 613 mApp.enforceCallingOrSelfPermission(android.Manifest.permission.MODIFY_PHONE_STATE, null); 622 mApp.enforceCallingOrSelfPermission(android.Manifest.permission.CALL_PHONE, null);
|
/external/emma/core/java12/com/vladium/util/ |
IPathEnumerator.java | 23 import java.util.jar.Manifest; 48 * is opened and the manifest entry is read. 50 void handleArchiveStart (File parentDir, File archive, Manifest manifest); 216 // I try to read the manifest again via a JarFile if the stream 223 Manifest manifest = in.getManifest (); // can be null local 224 if (manifest == null) manifest = readManifestViaJarFile (fullArchive); // can be null 226 handler.handleArchiveStart (m_currentPathDir, new File (archive), manifest); [all...] |
/external/proguard/src/proguard/io/ |
JarWriter.java | 33 * The manifest and comment properties can optionally be set. 40 private final Manifest manifest; field in class:JarWriter 53 * Creates a new JarWriter without manifest or comment. 65 Manifest manifest, 69 this.manifest = manifest; 201 // Create a new jar stream, with a manifest, if set. 202 currentJarOutputStream = manifest != null [all...] |
/build/tools/signapk/ |
SignApk.java | 64 import java.util.jar.Manifest; 169 /** Add the SHA1 of every file to the manifest, creating it if necessary. */ 170 private static Manifest addDigestsToManifest(JarFile jar) 172 Manifest input = jar.getManifest(); 173 Manifest output = new Manifest(); 178 main.putValue("Manifest-Version", "1.0"); 188 // output manifest in sorted order. We expect that the output 258 /** Write a .SF file with a digest of the specified manifest. */ 259 private static void writeSignatureFile(Manifest manifest, SignatureOutputStream out 468 Manifest manifest = addDigestsToManifest(inputJar); local [all...] |
/packages/providers/DrmProvider/src/com/android/providers/drm/ |
DrmProvider.java | 227 if (getContext().checkCallingOrSelfPermission(Manifest.permission.INSTALL_DRM) 343 if (getContext().checkCallingOrSelfPermission(Manifest.permission.ACCESS_DRM) 369 if (getContext().checkCallingOrSelfPermission(Manifest.permission.ACCESS_DRM) 396 Manifest.permission.INSTALL_DRM : Manifest.permission.ACCESS_DRM;
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/build/ |
SignedJarBuilder.java | 49 import java.util.jar.Manifest; 59 private static final String DIGEST_MANIFEST_ATTR = "SHA1-Digest-Manifest"; 94 private Manifest mManifest; 160 mManifest = new Manifest(); 162 main.putValue("Manifest-Version", "1.0"); 242 * Closes the Jar archive by creating the manifest, and signing the archive. 248 // write the manifest to the jar file 291 // update the manifest for this entry. 301 /** Writes a .SF file with a digest to the manifest. */ 304 Manifest sf = new Manifest() [all...] |