Searched defs:protect (Results 1 - 6 of 6) sorted by relevance

/frameworks/compile/linkloader/include/impl/
H A DELFSectionBits.hxx50 inline bool ELFSectionBits<Bitwidth>::protect() { function in class:ELFSectionBits
61 return chunk.protect(prot);
/frameworks/compile/linkloader/lib/
H A DMemChunk.cpp80 bool MemChunk::protect(int prot) { function in class:MemChunk
/frameworks/native/libs/utils/
H A DFileMap.cpp106 DWORD protect = readOnly ? PAGE_READONLY : PAGE_READWRITE; local
109 mFileMapping = CreateFileMapping( mFileHandle, NULL, protect, 0, 0, NULL);
112 mFileHandle, protect, GetLastError() );
/frameworks/base/core/java/android/net/
H A DVpnService.java156 * outside of VPN. For example, a VPN tunnel should protect itself if its
165 public boolean protect(int socket) { method in class:VpnService
182 * Convenience method to protect a {@link Socket} from VPN connections.
185 * @see #protect(int)
187 public boolean protect(Socket socket) { method in class:VpnService
188 return protect(socket.getFileDescriptor$().getInt$());
192 * Convenience method to protect a {@link DatagramSocket} from VPN
196 * @see #protect(int)
198 public boolean protect(DatagramSocket socket) { method in class:VpnService
199 return protect(socke
[all...]
/frameworks/base/services/jni/
H A Dcom_android_server_connectivity_Vpn.cpp436 static void protect(JNIEnv *env, jobject thiz, jint socket, jstring jName) function in namespace:android
444 throwException(env, SYSTEM_ERROR, "Cannot protect socket");
458 {"jniProtect", "(ILjava/lang/String;)V", (void *)protect},
/frameworks/base/services/java/com/android/server/connectivity/
H A DVpn.java218 public void protect(ParcelFileDescriptor socket, String interfaze) throws Exception { method in class:Vpn

Completed in 83 milliseconds