Searched defs:secure (Results 1 - 24 of 24) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoPlugin.cpp35 ssize_t CryptoPlugin::decrypt(bool secure, const KeyId keyId, const Iv iv, argument
39 if (secure) {
/frameworks/native/include/ui/
H A DDisplayInfo.h36 bool secure; member in struct:android::DisplayInfo
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardMonitor.java86 public void notifyKeyguardState(boolean showing, boolean secure) { argument
87 if (mShowing == showing && mSecure == secure) return;
89 mSecure = secure;
/frameworks/av/media/libmedia/
H A DICrypto.cpp98 bool secure,
108 data.writeInt32(secure);
137 if (secure) {
149 if (!secure && result >= 0) {
273 bool secure = data.readInt32() != 0; local
297 if (secure) {
328 secure,
334 secure ? secureBufferId : dstPtr,
344 if (!secure) {
97 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const sp<IMemory> &sharedBuffer, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/av/media/libmediaplayerservice/
H A DCrypto.cpp238 bool secure,
259 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr,
237 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const sp<IMemory> &sharedBuffer, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/base/core/java/android/net/
H A DSSLCertificateSocketFactory.java63 * verify the server's identity yourself to ensure a secure connection.</p>
103 int handshakeTimeoutMillis, SSLSessionCache cache, boolean secure) {
106 mSecure = secure;
254 // Clear out all cached secure factories since configurations have changed.
102 SSLCertificateSocketFactory( int handshakeTimeoutMillis, SSLSessionCache cache, boolean secure) argument
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp179 virtual sp<IBinder> createDisplay(const String8& displayName, bool secure) argument
184 data.writeInt32(secure ? 1 : 0);
389 bool secure = bool(data.readInt32()); local
390 sp<IBinder> display(createDisplay(displayName, secure));
H A DSurfaceComposerClient.cpp137 sp<IBinder> createDisplay(const String8& displayName, bool secure);
188 sp<IBinder> Composer::createDisplay(const String8& displayName, bool secure) { argument
190 secure);
507 bool secure) {
508 return Composer::getInstance().createDisplay(displayName, secure);
506 createDisplay(const String8& displayName, bool secure) argument
/frameworks/base/services/core/java/com/android/server/display/
H A DOverlayDisplayWindow.java96 int width, int height, int densityDpi, int gravity, boolean secure,
101 mSecure = secure;
95 OverlayDisplayWindow(Context context, String name, int width, int height, int densityDpi, int gravity, boolean secure, Listener listener) argument
H A DOverlayDisplayAdapter.java65 * <li><pre>secure</pre>: creates a secure display</li>
195 boolean secure = flagString != null && flagString.contains(",secure");
200 mOverlays.add(new OverlayDisplayHandle(name, modes, gravity, secure, number));
240 boolean secure, int state,
246 mSecure = secure;
367 boolean secure, int number) {
371 mSecure = secure;
237 OverlayDisplayDevice(IBinder displayToken, String name, List<OverlayMode> modes, int activeMode, int defaultMode, float refreshRate, long presentationDeadlineNanos, boolean secure, int state, SurfaceTexture surfaceTexture, int number) argument
366 OverlayDisplayHandle(String name, List<OverlayMode> modes, int gravity, boolean secure, int number) argument
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
H A DKeyguardServiceDelegate.java54 // Assume keyguard is showing and secure until we know for sure. This is here in
59 secure = true;
66 boolean secure; field in class:KeyguardServiceDelegate.KeyguardState
136 mKeyguardState.secure = false;
229 mKeyguardState.secure = mKeyguardService.isSecure();
231 return mKeyguardState.secure;
406 pw.println(prefix + "secure=" + mKeyguardState.secure);
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp328 // byte[] mock-secure-stop -> first secure stop in list
330 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-secure-stop"));
332 ALOGD("Missing 'mock-secure-stop' parameter for mock");
346 // byte[] mock-secure-stop1 -> first secure stop in list
347 // byte[] mock-secure-stop2 -> second secure stop in list
350 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-secure-stop1"));
352 ALOGD("Missing 'mock-secure
800 decrypt(bool secure, const uint8_t key[16], const uint8_t iv[16], Mode mode, const void *srcPtr, const SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString * ) argument
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.cpp256 int32_t secure = 0; local
257 if (format->findInt32("secure", &secure) && secure != 0) {
260 mComponentName.append(".secure");
269 (secure ? "secure " : ""), mime.c_str());
273 mIsSecure = secure;
H A DGenericSource.cpp244 // check if the source requires secure buffers
245 int32_t secure; local
246 if (meta->findInt32(kKeyRequiresSecureBuffers, &secure)
247 && secure) {
356 // comes back as secure, set it to true then.
433 // secure decoders must be instantiated before starting widevine source
443 ALOGE("Failed to instantiate secure decoders!");
513 // For widevine or secure sources we need to prevent any further reads.
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java67 private static native IBinder nativeCreateDisplay(String name, boolean secure); argument
98 * Surface creation flag: The surface contains secure content, special
484 public boolean secure; field in class:SurfaceControl.PhysicalDisplayInfo
509 && secure == other.secure
527 secure = other.secure;
537 + "density " + density + ", " + xDpi + " x " + yDpi + " dpi, secure " + secure
620 public static IBinder createDisplay(String name, boolean secure) { argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp64 jfieldID secure; member in struct:android::__anon916
325 jboolean secure) {
328 String8(name.c_str()), bool(secure)));
400 env->SetBooleanField(infoObj, gPhysicalDisplayInfoClassInfo.secure, info.secure);
664 gPhysicalDisplayInfoClassInfo.secure = GetFieldIDOrDie(env, clazz, "secure", "Z");
324 nativeCreateDisplay(JNIEnv* env, jclass clazz, jstring nameObj, jboolean secure) argument
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java2360 public void createVirtualNetwork(int netId, boolean hasDNS, boolean secure) { argument
2365 secure ? "1" : "0");
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java1438 boolean secure = data.readInt() != 0;
1439 boolean res = killPids(pids, reason, secure);
4386 public boolean killPids(int[] pids, String reason, boolean secure) throws RemoteException { argument
4392 data.writeInt(secure ? 1 : 0);
H A DIActivityManager.java276 public boolean killPids(int[] pids, String reason, boolean secure) throws RemoteException; argument
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp219 bool secure)
240 info.isSecure = secure;
270 // All non-virtual displays are currently considered secure.
476 // All non-virtual displays are currently considered secure.
652 // All non-virtual displays are currently considered secure.
653 info.secure = true;
3166 // if we have secure windows on this display, never allow the screen capture
218 createDisplay(const String8& displayName, bool secure) argument
/frameworks/base/core/java/android/content/
H A DIntent.java6178 * This is NOT a secure mechanism to identify the user who sent the intent.
7459 public String toShortString(boolean secure, boolean comp, boolean extras, boolean clip) { argument
7461 toShortString(b, secure, comp, extras, clip);
7466 public void toShortString(StringBuilder b, boolean secure, boolean comp, boolean extras, argument
7491 if (secure) {
7566 mSelector.toShortString(b, secure, comp, extras, clip);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBar.java3164 boolean keyguardOccluded, boolean bouncerShowing, boolean secure,
3172 | ((secure ? 1 : 0) << 11)
3873 * If secure with redaction: Show bouncer, go to unlocked shade.
3875 * <p>If secure without redaction or no security: Go to {@link StatusBarState#SHADE_LOCKED}.</p>
3163 getLoggingFingerprint(int statusBarState, boolean keyguardShowing, boolean keyguardOccluded, boolean bouncerShowing, boolean secure, boolean currentlyInsecure) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java298 private static final String SYSTEM_SECURE = "ro.secure";
2683 // Update secure surface for all windows belonging to this user.
10543 boolean secure) {
10616 if (mActivityManager.killPids(pids, "Free memory", secure)) {
10825 // Check whether the current screen contains any secure content.
10542 reclaimSomeSurfaceMemoryLocked(WindowStateAnimator winAnimator, String operation, boolean secure) argument
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java11242 public boolean killPids(int[] pids, String pReason, boolean secure) { argument
11272 // If this is not a secure call, don't let it kill processes that
11274 if (!secure && worstType < ProcessList.SERVICE_ADJ) {

Completed in 922 milliseconds