Searched refs:secure (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/native/include/ui/
H A DDisplayInfo.h35 bool secure; member in struct:android::DisplayInfo
/frameworks/av/media/libmedia/
H A DICrypto.cpp95 bool secure,
105 data.writeInt32(secure);
133 if (secure) {
145 if (!secure && result >= 0) {
228 bool secure = data.readInt32() != 0; local
251 if (secure) {
259 secure,
275 if (!secure) {
94 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/av/include/media/
H A DICrypto.h45 bool secure,
/frameworks/av/media/libmediaplayerservice/
H A DCrypto.h46 bool secure,
H A DCrypto.cpp145 bool secure,
164 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr,
144 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/native/include/media/hardware/
H A DCryptoAPI.h61 // If this method returns false, a non-secure decoder will be used to
63 // to support insecure decryption of the data (secure = false) for
76 bool secure,
/frameworks/base/core/java/android/view/
H A DSurface.java106 * Surface creation flag: The surface contains secure content, special
264 private static native IBinder nativeCreateDisplay(String name, boolean secure); argument
617 public static IBinder createDisplay(String name, boolean secure) { argument
621 return nativeCreateDisplay(name, secure);
778 public boolean secure; field in class:Surface.PhysicalDisplayInfo
800 && secure == other.secure;
815 secure = other.secure;
822 + "density " + density + ", " + xDpi + " x " + yDpi + " dpi, secure "
[all...]
/frameworks/native/include/gui/
H A DISurfaceComposer.h73 bool secure) = 0;
95 * This function will fail if there is a secure window on screen.
H A DSurfaceComposerClient.h89 static sp<IBinder> createDisplay(const String8& displayName, bool secure);
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp182 virtual sp<IBinder> createDisplay(const String8& displayName, bool secure) argument
187 data.writeInt32(secure ? 1 : 0);
305 bool secure = bool(data.readInt32()); local
306 sp<IBinder> display(createDisplay(displayName, secure));
H A DSurfaceComposerClient.cpp134 sp<IBinder> createDisplay(const String8& displayName, bool secure);
178 sp<IBinder> Composer::createDisplay(const String8& displayName, bool secure) { argument
180 secure);
464 bool secure) {
465 return Composer::getInstance().createDisplay(displayName, secure);
463 createDisplay(const String8& displayName, bool secure) argument
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DLockPatternKeyguardView.java766 // non-secure keyguard screens are successfull by default
801 boolean secure = false;
804 secure = mLockPatternUtils.isLockPatternEnabled();
807 secure = mUpdateMonitor.getSimState() == IccCardConstants.State.PIN_REQUIRED;
810 secure = mUpdateMonitor.getSimState() == IccCardConstants.State.PUK_REQUIRED;
813 secure = true;
816 secure = mLockPatternUtils.isLockPasswordEnabled();
824 return secure;
/frameworks/base/core/java/android/provider/
H A DBrowser.java263 boolean secure = false;
269 secure = true;
275 if (secure) {
/frameworks/base/services/java/com/android/server/display/
H A DLocalDisplayAdapter.java131 // Assume that all built-in displays that have secure output (eg. HDCP) also
133 if (mPhys.secure) {
H A DWifiDisplayAdapter.java322 boolean secure = (flags & RemoteDisplay.DISPLAY_FLAG_SECURE) != 0;
324 if (secure) {
335 IBinder displayToken = Surface.createDisplay(name, secure);
/frameworks/base/tests/CoreTests/android/core/
H A DSSLSocketTest.java79 boolean secure, String path, int outerLoop, int innerLoop,
85 Socket socket = secure ? socketFactory.createSocket()
180 private void fetch(String host, int port, boolean secure, String path, argument
183 fetch(clientFactory, host, port, secure, path, outerLoop, innerLoop,
78 fetch(SSLSocketFactory socketFactory, String host, int port, boolean secure, String path, int outerLoop, int innerLoop, int delay, int timeout) argument
/frameworks/base/core/java/android/net/
H A DSSLCertificateSocketFactory.java62 * verify the server's identity yourself to ensure a secure connection.</p>
103 int handshakeTimeoutMillis, SSLSessionCache cache, boolean secure) {
106 mSecure = secure;
246 // Clear out all cached secure factories since configurations have changed.
102 SSLCertificateSocketFactory( int handshakeTimeoutMillis, SSLSessionCache cache, boolean secure) argument
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp92 jfieldID secure; member in struct:android::__anon1000
658 jboolean secure) {
661 String8(name.c_str()), bool(secure)));
718 env->SetBooleanField(infoObj, gPhysicalDisplayInfoClassInfo.secure, info.secure);
912 gPhysicalDisplayInfoClassInfo.secure = env->GetFieldID(clazz, "secure", "Z");
657 nativeCreateDisplay(JNIEnv* env, jclass clazz, jstring nameObj, jboolean secure) argument
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.h192 virtual sp<IBinder> createDisplay(const String8& displayName, bool secure);
H A DSurfaceFlinger.cpp167 bool secure)
188 info.isSecure = secure;
490 // All non-virtual displays are currently considered secure.
674 // All non-virtual displays are currently considered secure.
675 info->secure = true;
1166 // secure.
2666 // if we have secure windows on this display, never allow the screen capture
166 createDisplay(const String8& displayName, bool secure) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java771 * Generate an SHA-1 hash for the pattern. Not the most secure, but it is
814 * Not the most secure, but it is at least a second level of protection. First level is that
1227 final boolean secure = isPattern && isLockPatternEnabled() && savedPatternExists()
1229 return secure;
/frameworks/base/core/java/android/content/
H A DIntent.java6386 public String toShortString(boolean secure, boolean comp, boolean extras, boolean clip) { argument
6388 toShortString(b, secure, comp, extras, clip);
6393 public void toShortString(StringBuilder b, boolean secure, boolean comp, boolean extras, argument
6421 if (secure) {
6484 mSelector.toShortString(b, secure, comp, extras, clip);
/frameworks/base/core/java/android/app/
H A DIActivityManager.java232 public boolean killPids(int[] pids, String reason, boolean secure) throws RemoteException; argument
H A DActivityManagerNative.java1173 boolean secure = data.readInt() != 0;
1174 boolean res = killPids(pids, reason, secure);
3289 public boolean killPids(int[] pids, String reason, boolean secure) throws RemoteException { argument
3295 data.writeInt(secure ? 1 : 0);
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java292 private static final String SYSTEM_SECURE = "ro.secure";
9861 boolean secure) {
9932 if (mActivityManager.killPids(pids, "Free memory", secure)) {
9860 reclaimSomeSurfaceMemoryLocked(WindowStateAnimator winAnimator, String operation, boolean secure) argument

Completed in 520 milliseconds

12