Home
last modified time | relevance | path

Searched refs:allowed (Results 1 – 25 of 74) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/oemlock/
DVendorLock.java58 void setOemUnlockAllowedByCarrier(boolean allowed, @Nullable byte[] signature) { in setOemUnlockAllowedByCarrier() argument
60 switch (mOemLock.setOemUnlockAllowedByCarrier(allowed, toByteArrayList(signature))) { in setOemUnlockAllowedByCarrier()
62 Slog.i(TAG, "Updated carrier allows OEM lock state to: " + allowed); in setOemUnlockAllowedByCarrier()
87 mOemLock.isOemUnlockAllowedByCarrier((status, allowed) -> { in isOemUnlockAllowedByCarrier() argument
89 allowedByCarrier[0] = allowed; in isOemUnlockAllowedByCarrier()
135 mOemLock.isOemUnlockAllowedByDevice((status, allowed) -> { in isOemUnlockAllowedByDevice() argument
137 allowedByDevice[0] = allowed; in isOemUnlockAllowedByDevice()
DPersistentDataBlockLock.java43 void setOemUnlockAllowedByCarrier(boolean allowed, @Nullable byte[] signature) { in setOemUnlockAllowedByCarrier() argument
51 UserManager.DISALLOW_OEM_UNLOCK, !allowed, UserHandle.SYSTEM); in setOemUnlockAllowedByCarrier()
53 if (!allowed) { in setOemUnlockAllowedByCarrier()
DOemLockService.java116 public void setOemUnlockAllowedByCarrier(boolean allowed, @Nullable byte[] signature) {
122 mOemLock.setOemUnlockAllowedByCarrier(allowed, signature);
212 private void setPersistentDataBlockOemUnlockAllowedBit(boolean allowed) { in setPersistentDataBlockOemUnlockAllowedBit() argument
217 Slog.i(TAG, "Update OEM Unlock bit in pst partition to " + allowed); in setPersistentDataBlockOemUnlockAllowedBit()
218 pdbm.setOemUnlockEnabled(allowed); in setPersistentDataBlockOemUnlockAllowedBit()
DOemLock.java22 abstract void setOemUnlockAllowedByCarrier(boolean allowed, @Nullable byte[] signature); in setOemUnlockAllowedByCarrier() argument
/frameworks/base/core/java/android/service/oemlock/
DOemLockManager.java63 public void setOemUnlockAllowedByCarrier(boolean allowed, @Nullable byte[] signature) { in setOemUnlockAllowedByCarrier() argument
65 mService.setOemUnlockAllowedByCarrier(allowed, signature); in setOemUnlockAllowedByCarrier()
97 public void setOemUnlockAllowedByUser(boolean allowed) { in setOemUnlockAllowedByUser() argument
99 mService.setOemUnlockAllowedByUser(allowed); in setOemUnlockAllowedByUser()
DIOemLockService.aidl25 void setOemUnlockAllowedByCarrier(boolean allowed, in byte[] signature); in setOemUnlockAllowedByCarrier() argument
28 void setOemUnlockAllowedByUser(boolean allowed); in setOemUnlockAllowedByUser() argument
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceViewHolder.java93 public void setDividerAllowedAbove(boolean allowed) { in setDividerAllowedAbove() argument
94 mDividerAllowedAbove = allowed; in setDividerAllowedAbove()
117 public void setDividerAllowedBelow(boolean allowed) { in setDividerAllowedBelow() argument
118 mDividerAllowedBelow = allowed; in setDividerAllowedBelow()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DOverlayControl.java49 private void setOverlayAllowed(boolean allowed) { in setOverlayAllowed() argument
51 mAppOpsManager.setUserRestrictionForUser(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, !allowed, in setOverlayAllowed()
53 mAppOpsManager.setUserRestrictionForUser(AppOpsManager.OP_TOAST_WINDOW, !allowed, in setOverlayAllowed()
/frameworks/base/core/java/android/os/
DTrace.java102 private static native void nativeSetAppTracingAllowed(boolean allowed); in nativeSetAppTracingAllowed() argument
103 private static native void nativeSetTracingEnabled(boolean allowed); in nativeSetTracingEnabled() argument
193 public static void setAppTracingAllowed(boolean allowed) { in setAppTracingAllowed() argument
194 nativeSetAppTracingAllowed(allowed); in setAppTracingAllowed()
/frameworks/compile/slang/tests/F_union/
Dstderr.txt.expect2 union.rs:9:14: error: unions containing RS object types are not allowed
3 union.rs:16:11: error: unions containing RS object types are not allowed
/frameworks/native/cmds/servicemanager/
Dservice_manager.c68 bool allowed; in check_mac_perms() local
81 allowed = (result == 0); in check_mac_perms()
84 return allowed; in check_mac_perms()
94 bool allowed; in check_mac_perms_from_lookup() local
107 allowed = check_mac_perms(spid, uid, tctx, perm, name); in check_mac_perms_from_lookup()
109 return allowed; in check_mac_perms_from_lookup()
/frameworks/base/core/jni/
Dandroid_os_Trace.cpp94 jclass clazz, jboolean allowed) { in android_os_Trace_nativeSetAppTracingAllowed() argument
95 ALOGV("%s: %d", __FUNCTION__, allowed); in android_os_Trace_nativeSetAppTracingAllowed()
97 atrace_set_debuggable(allowed); in android_os_Trace_nativeSetAppTracingAllowed()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DDetailsOverviewRow.java240 public void setImageScaleUpAllowed(boolean allowed) { in setImageScaleUpAllowed() argument
241 if (allowed != mImageScaleUpAllowed) { in setImageScaleUpAllowed()
242 mImageScaleUpAllowed = allowed; in setImageScaleUpAllowed()
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java206 boolean allowed = mSystemSleepFlags == FLAG_ALL && mUserUnlocked; in updateVrModeAllowedLocked()
207 if (mVrModeAllowed != allowed) { in updateVrModeAllowedLocked()
208 mVrModeAllowed = allowed; in updateVrModeAllowedLocked()
209 if (DBG) Slog.d(TAG, "VR mode is " + ((allowed) ? "allowed" : "disallowed")); in updateVrModeAllowedLocked()
425 ArraySet<String> allowed = mAllowedPackages.get(currentUserId); in update() local
426 if (allowed == null) { in update()
427 allowed = new ArraySet<>(); in update()
443 for (String pkg : allowed) { in update()
452 if (!allowed.contains(pkg)) { in update()
460 allowed.clear(); in update()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceManager.java151 public void setBindAllowed(boolean allowed) { in setBindAllowed() argument
152 if (mBindAllowed == allowed) return; in setBindAllowed()
153 mBindAllowed = allowed; in setBindAllowed()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java496 boolean allowed = isDataAllowed(dataConnectionReasons); in testDataSetup()
497 assertFalse(dataConnectionReasons.toString(), allowed); in testDataSetup() local
534 allowed = isDataAllowed(dataConnectionReasons); in testDataSetup()
535 assertTrue(dataConnectionReasons.toString(), allowed); in testDataSetup() local
561 boolean allowed = isDataAllowed(dataConnectionReasons); in testDataRetry()
562 assertFalse(dataConnectionReasons.toString(), allowed); in testDataRetry() local
600 allowed = isDataAllowed(dataConnectionReasons); in testDataRetry()
601 assertTrue(dataConnectionReasons.toString(), allowed); in testDataRetry() local
803 boolean allowed = isDataAllowed(dataConnectionReasons); in testDDSResetAutoAttach()
804 assertFalse(dataConnectionReasons.toString(), allowed); in testDDSResetAutoAttach() local
[all …]
/frameworks/compile/slang/tests/F_kernel_static/
Dstderr.txt.expect1 kernel_static.rs:14:14: error: Non-const static variables are not allowed in kernels: 'i'
/frameworks/base/core/java/android/bluetooth/
DIBluetoothHeadset.aidl53 void setAudioRouteAllowed(boolean allowed); in setAudioRouteAllowed() argument
DIBluetoothHeadsetClient.aidl60 void setAudioRouteAllowed(in BluetoothDevice device, boolean allowed); in setAudioRouteAllowed() argument
/frameworks/base/core/java/android/view/
DLayoutInflater.java610 boolean allowed = mFilter.onLoadClass(clazz); in createView()
611 if (!allowed) { in createView()
628 boolean allowed = clazz != null && mFilter.onLoadClass(clazz); in createView()
629 mFilterMap.put(name, allowed); in createView()
630 if (!allowed) { in createView()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnectionReasons.java69 boolean allowed() { in allowed() method in DataConnectionReasons
/frameworks/rs/driver/
DREADME.txt7 compiler that produced that bitcode. A bitcode consumer is allowed to
/frameworks/av/camera/ndk/
DAndroid.bp15 // Headers module is in frameworks/av/Android.bp because modules are not allowed
/frameworks/base/core/java/com/android/server/
DSystemConfig.java411 boolean allowed; in readPermissionsFromXml()
413 allowed = true; in readPermissionsFromXml()
416 allowed = !"true".equals(notLowRam); in readPermissionsFromXml()
421 } else if (allowed) { in readPermissionsFromXml()
/frameworks/hardware/interfaces/schedulerservice/1.0/
DISchedulingPolicyService.hal37 * Must return 0 if no priority is allowed.

123