Home
last modified time | relevance | path

Searched refs:safe (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayFrames.java85 final Rect safe = mDisplayCutoutSafe; in update() local
102 state.getDisplayCutoutSafe(safe); in update()
103 if (safe.left > u.left) { in update()
105 .setFrame(u.left, u.top, safe.left, u.bottom) in update()
110 if (safe.top > u.top) { in update()
112 .setFrame(u.left, u.top, u.right, safe.top) in update()
117 if (safe.right < u.right) { in update()
119 .setFrame(safe.right, u.top, u.right, u.bottom) in update()
124 if (safe.bottom < u.bottom) { in update()
126 .setFrame(u.left, safe.bottom, u.right, u.bottom) in update()
DDisplayPolicy.java1172 final Rect safe = displayFrames.mDisplayCutoutSafe; in getFrameProvider() local
1199 WindowLayout.extendFrameByCutout(safe, displayFrame, inOutFrame, sTmpRect); in getFrameProvider()
1206 WindowLayout.extendFrameByCutout(safe, displayFrame, sTmpRect2, sTmpRect); in getFrameProvider()
2577 final Rect safe = sTmpDisplayCutoutSafe;
2581 safe.set(displayFrames.mDisplayCutoutSafe);
2588 safe.set(displayFrames.mDisplayCutoutSafe);
2593 safe.left = Math.max(df.left + waterfallInsets.left, df.left);
2595 safe.top = Math.max(df.top + waterfallInsets.top, df.top);
2597 safe.right = Math.max(df.right - waterfallInsets.right, df.right);
2599 safe.bottom = Math.max(df.bottom - waterfallInsets.bottom, df.bottom);
[all …]
/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/
DCarDevicePolicySafetyChecker.java95 boolean safe = true; in isDevicePolicyOperationSafe()
100 safe = false; in isDevicePolicyOperationSafe()
108 + "): " + safe + " (mSafe=" + globalSafe + ")"); in isDevicePolicyOperationSafe()
110 return safe; in isDevicePolicyOperationSafe()
116 void setSafe(boolean safe) { in setSafe() argument
117 Slog.i(TAG, "Setting safe to " + safe); in setSafe()
118 mSafe.set(safe); in setSafe()
121 OPERATION_SAFETY_REASON_DRIVING_DISTRACTION, /* isSafe= */ safe); in setSafe()
DCarServiceHelperInterface.java36 void setSafetyMode(boolean safe); in setSafetyMode() argument
DCarServiceHelperService.java403 boolean safe = reason == DevicePolicyManager.OPERATION_SAFETY_REASON_NONE; in dump()
406 safe ? "SAFE" : "UNSAFE", in dump()
735 public void setSafetyMode(boolean safe) { in setSafetyMode() argument
736 mCarDevicePolicySafetyChecker.setSafe(safe); in setSafetyMode()
/frameworks/rs/script_api/
Drs_atomic.spec39 summary: Thread-safe addition
58 summary: Thread-safe bitwise and
79 summary: Thread-safe compare and set
102 summary: Thread-safe decrement
119 summary: Thread-safe increment
137 summary: Thread-safe maximum
157 summary: Thread-safe minimum
177 summary: Thread-safe bitwise or
197 summary: Thread-safe subtraction
216 summary: Thread-safe bitwise exclusive or
/frameworks/rs/script_api/include/
Drs_atomic.rsh40 * rsAtomicAdd: Thread-safe addition
61 * rsAtomicAnd: Thread-safe bitwise and
83 * rsAtomicCas: Thread-safe compare and set
109 * rsAtomicDec: Thread-safe decrement
129 * rsAtomicInc: Thread-safe increment
149 * rsAtomicMax: Thread-safe maximum
171 * rsAtomicMin: Thread-safe minimum
193 * rsAtomicOr: Thread-safe bitwise or
215 * rsAtomicSub: Thread-safe subtraction
236 * rsAtomicXor: Thread-safe bitwise exclusive or
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerServiceShellCommand.java166 boolean safe = reason == DevicePolicyManager.OPERATION_SAFETY_REASON_NONE; in runIsSafeOperation()
168 DevicePolicyManager.operationToString(operation), safeToString(safe), in runIsSafeOperation()
175 boolean safe = mService.isSafeOperation(reason); in runIsSafeOperationByReason()
177 DevicePolicyManager.operationSafetyReasonToString(reason), safeToString(safe)); in runIsSafeOperationByReason()
181 private static String safeToString(boolean safe) { in safeToString() argument
182 return safe ? "SAFE" : "UNSAFE"; in safeToString()
DOneTimeSafetyChecker.java100 boolean safe = mReason != reason; in isSafeOperation()
101 Slog.i(TAG, "isSafeOperation(" + operationSafetyReasonToString(reason) + "): " + safe); in isSafeOperation()
104 return safe; in isSafeOperation()
/frameworks/base/core/java/android/net/vcn/
Dflags.aconfig8 description: "Feature flag for safe mode configurability"
15 description: "Feature flag for adjustable safe mode timeout"
/frameworks/av/media/libnbaio/
DREADME.txt13 no mutexes, so safe to use between SCHED_NORMAL and SCHED_FIFO threads
29 no mutexes, so safe to use between SCHED_NORMAL and SCHED_FIFO threads
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
DProximitySensor.java44 void setSecondarySafe(boolean safe); in setSecondarySafe() argument
DProximitySensorImpl.java166 public void setSecondarySafe(boolean safe) { in setSecondarySafe() argument
167 mSecondarySafe = mSecondaryThresholdSensor.isLoaded() && safe; in setSecondarySafe()
/frameworks/opt/car/services/builtInServices/tests/src/com/android/internal/car/
DCarDevicePolicySafetyCheckerTest.java112 public CarDevicePolicySafetyCheckerTest(@DevicePolicyOperation int operation, boolean safe) { in CarDevicePolicySafetyCheckerTest() argument
114 mSafe = safe; in CarDevicePolicySafetyCheckerTest()
/frameworks/av/media/module/extractors/mkv/
DAndroid.bp33 "libstagefright_foundation_colorutils_ndk", // for mainline-safe ColorUtils
/frameworks/libs/binary_translation/tests/ndk_program_tests/
DAndroid.bp92 // TODO(b/188086209): Errno emulation is not thread-safe - some checks fail.
210 // TODO(b/188086209): Errno emulation is not thread-safe - some checks fail.
/frameworks/native/libs/input/tests/data/
Dkl_with_required_real_config.kl16 # The CONFIG_UHID option has been required for a while, and therefore it's safe
/frameworks/base/core/java/android/content/res/
Dflags.aconfig18 …description: "Enables the public API for FontScaleConverter, including enabling thread-safe cachin…
/frameworks/opt/car/services/updatableServices/src/com/android/internal/car/updatable/
DCarServiceHelperServiceUpdatableImpl.java365 public void setSafetyMode(boolean safe) { in setSafetyMode() argument
366 mCarServiceHelperInterface.setSafetyMode(safe); in setSafetyMode()
/frameworks/base/packages/SettingsLib/DataStore/
DREADME.md73 implements `Observable`. There are builtin thread-safe implementations of the
94 - It is safe to switch between compression and no compression in future,
180 // thread safe data structure
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/
Doverview.md8 WindowManager by making it easy&trade; and safe to create windowing features to fit the needs of
/frameworks/base/core/java/android/window/flags/
Dwindowing_sdk.aconfig97 description: "Ensure the Configuration pre/post changed is thread safe"
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/Settings/
Ddevice_for_product_strategy_sonification_respectful.pfw10 # - Otherwise follows sonification by replacing speaker with speaker safe if speaker is
35 # Follows sonification strategy if not in call and replace speaker by speaker safe
/frameworks/base/core/java/android/os/
DMessageQueue.java445 void quit(boolean safe) { in quit() argument
456 if (safe) { in quit()
/frameworks/base/core/java/android/text/flags/
Dflags.aconfig218 description: "Reimplement hyphenator for safe file read"

12