/frameworks/av/media/module/foundation/include/media/stagefright/foundation/ |
D | Mutexed.h | 103 class Locked { 105 inline Locked(Mutexed<T> &mParent); 106 inline Locked(Locked &&from) noexcept : in Locked() function 110 inline ~Locked(); 142 Locked(const Locked&) = delete; 143 void operator=(const Locked&) = delete; 156 inline Locked lock() { in lock() 157 return Locked(*this); in lock() 161 friend class Locked; 171 inline Mutexed<T>::Locked::Locked(Mutexed<T> &mParent) in Locked() function [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/stickykeys/data/repository/ |
D | StickyKeysRepository.kt | 28 import com.android.systemui.keyboard.stickykeys.shared.model.Locked in <lambda>() 45 val stickyKeys: Flow<LinkedHashMap<ModifierKey, Locked>> in <lambda>() 59 override val stickyKeys: Flow<LinkedHashMap<ModifierKey, Locked>> = 78 private fun toStickyKeysMap(state: StickyModifierState): LinkedHashMap<ModifierKey, Locked> { in toStickyKeysMap() 79 val keys = linkedMapOf<ModifierKey, Locked>() in toStickyKeysMap() 81 if (isAltGrModifierOn) keys[ALT_GR] = Locked(false) in toStickyKeysMap() 82 if (isAltGrModifierLocked) keys[ALT_GR] = Locked(true) in toStickyKeysMap() 83 if (isAltModifierOn) keys[ALT] = Locked(false) in toStickyKeysMap() 84 if (isAltModifierLocked) keys[ALT] = Locked(true) in toStickyKeysMap() 85 if (isCtrlModifierOn) keys[CTRL] = Locked(false) in toStickyKeysMap() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyboard/data/repository/ |
D | FakeStickyKeysRepository.kt | 20 import com.android.systemui.keyboard.stickykeys.shared.model.Locked 27 private val _stickyKeys: MutableStateFlow<LinkedHashMap<ModifierKey, Locked>> = 30 override val stickyKeys: Flow<LinkedHashMap<ModifierKey, Locked>> = _stickyKeys 32 fun setStickyKeys(keys: LinkedHashMap<ModifierKey, Locked>) { in setStickyKeys()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/stickykeys/ui/viewmodel/ |
D | StickyKeysIndicatorViewModelTest.kt | 29 import com.android.systemui.keyboard.stickykeys.shared.model.Locked 163 assertThat(stickyKeys).isEqualTo(mapOf(ALT to Locked(false))) in emitsStickyKeysListWhenStickyKeyIsPressed() 175 assertThat(stickyKeys).isEqualTo(emptyMap<ModifierKey, Locked>()) in emitsEmptyListWhenNoStickyKeysAreActive() 191 ALT to Locked(false), in passesAllStickyKeysToDialog() 192 META to Locked(false), in passesAllStickyKeysToDialog() 193 SHIFT to Locked(false), in passesAllStickyKeysToDialog() 208 assertThat(stickyKeys).isEqualTo(mapOf(ALT to Locked(true))) in showsOnlyLockedStateIfKeyIsStickyAndLocked() 222 val previousShiftIndex = stickyKeys?.toList()?.indexOf(SHIFT to Locked(false)) in doesNotChangeOrderOfKeysIfTheyBecomeLocked() 229 assertThat(stickyKeys?.toList()?.indexOf(SHIFT to Locked(true))) in doesNotChangeOrderOfKeysIfTheyBecomeLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/stickykeys/ |
D | StickyKeysLogger.kt | 19 import com.android.systemui.keyboard.stickykeys.shared.model.Locked 29 fun logNewStickyKeysReceived(stickyKeys: Map<ModifierKey, Locked>) { in logNewStickyKeysReceived() 38 fun logNewUiState(stickyKeys: Map<ModifierKey, Locked>) { in logNewUiState()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.cpp | 125 Mutexed<CCodecBufferChannel::QueueSync::Counter>::Locked count(mSync.mCount); in QueueGuard() 138 Mutexed<CCodecBufferChannel::QueueSync::Counter>::Locked count(mSync.mCount); in ~QueueGuard() 147 Mutexed<Counter>::Locked count(mCount); in start() 155 Mutexed<Counter>::Locked count(mCount); in stop() 191 Mutexed<Input>::Locked input(mInput); in CCodecBufferChannel() 201 Mutexed<Output>::Locked output(mOutput); in CCodecBufferChannel() 207 Mutexed<BlockPools>::Locked pools(mBlockPools); in CCodecBufferChannel() 288 Mutexed<Input>::Locked input(mInput); in queueInputBufferInternal() 320 Mutexed<OutputSurface>::Locked output(mOutputSurface); in queueInputBufferInternal() 360 Mutexed<Input>::Locked input(mInput); in queueInputBufferInternal() [all …]
|
D | CCodec.cpp | 111 Mutexed<std::set<wp<CCodec>>>::Locked codecs(mCodecsToWatch); in watch() 127 Mutexed<std::set<wp<CCodec>>>::Locked codecs(mCodecsToWatch); in onMessageReceived() 963 Mutexed<State>::Locked state(mState); in initiateAllocateComponent() 1010 Mutexed<State>::Locked state(mState); in allocate() 1020 Mutexed<State>::Locked state(mState); in allocate() 1035 Mutexed<std::unique_ptr<Config>>::Locked configLocked(mConfig); in allocate() 1049 Mutexed<State>::Locked state(mState); in initiateConfigureComponent() 1064 Mutexed<State>::Locked state(mState); in configure() 1117 Mutexed<std::unique_ptr<Config>>::Locked configLocked(mConfig); in configure() 1152 Mutexed<std::unique_ptr<Config>>::Locked configLocked(mConfig); in configure() [all …]
|
D | C2NodeImpl.cpp | 66 Mutexed<Jobs>::Locked jobs(mJobs); in queue() 74 Mutexed<Jobs>::Locked jobs(mJobs); in setDataspace() 99 Mutexed<Jobs>::Locked jobs(mJobs); in threadLoop() 378 Mutexed<BuffersTracker>::Locked buffers(mBuffersTracker); in submitBuffer() 413 Mutexed<BuffersTracker>::Locked buffers(mBuffersTracker); in onInputBufferDone() 428 Mutexed<BuffersTracker>::Locked buffers(mBuffersTracker); in onInputBufferDone() 452 Mutexed<BuffersTracker>::Locked buffers(mBuffersTracker); in onInputBufferEmptied()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/stickykeys/ui/ |
D | StickyKeysIndicatorCoordinatorTest.kt | 26 import com.android.systemui.keyboard.stickykeys.shared.model.Locked 80 stickyKeysRepository.setStickyKeys(linkedMapOf(SHIFT to Locked(true))) in dialogIsShownWhenStickyKeysAreEmitted() 92 stickyKeysRepository.setStickyKeys(linkedMapOf(SHIFT to Locked(true))) in dialogDisappearsWhenStickyKeysAreEmpty()
|
/frameworks/av/media/codec2/components/base/ |
D | SimpleC2Component.cpp | 820 Mutexed<ExecState>::Locked state(mExecState); in setListener_vb() 836 Mutexed<ExecState>::Locked state(mExecState); in queue_nb() 843 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in queue_nb() 865 Mutexed<ExecState>::Locked state(mExecState); in flush_sm() 871 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in flush_sm() 894 Mutexed<ExecState>::Locked state(mExecState); in drain_nb() 901 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in drain_nb() 913 Mutexed<ExecState>::Locked state(mExecState); in start() 938 Mutexed<ExecState>::Locked state(mExecState); in stop() 945 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in stop() [all …]
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyboard/stickykeys/ui/view/ |
D | StickyKeysIndicator.kt | 41 import com.android.systemui.keyboard.stickykeys.shared.model.Locked in <lambda>() 65 fun StickyKeysIndicator(stickyKeys: Map<ModifierKey, Locked>, modifier: Modifier = Modifier) { in StickyKeysIndicator() 82 private fun StickyKeyText(key: ModifierKey, isLocked: Locked, modifier: Modifier = Modifier) { in StickyKeyText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/stickykeys/ui/viewmodel/ |
D | StickyKeysIndicatorViewModel.kt | 22 import com.android.systemui.keyboard.stickykeys.shared.model.Locked in <lambda>() 42 val indicatorContent: Flow<Map<ModifierKey, Locked>> = in <lambda>()
|
/frameworks/av/media/libstagefright/ |
D | SimpleDecodingSource.cpp | 140 Mutexed<ProtectedState>::Locked me(mProtectedState); in start() 161 Mutexed<ProtectedState>::Locked me(mProtectedState); in stop() 186 Mutexed<ProtectedState>::Locked me(mProtectedState); in getFormat() 207 Mutexed<ProtectedState>::Locked me(mProtectedState); in read() 225 Mutexed<ProtectedState>::Locked &me, MediaBufferBase **buffer, const ReadOptions *options) { in doRead()
|
D | MediaCodecSource.cpp | 151 Mutexed<Queue>::Locked queue(mQueue); in readBuffer() 192 Mutexed<Queue>::Locked queue(mQueue); in stop() 209 Mutexed<Queue>::Locked queue(mQueue); in pause() 214 Mutexed<Queue>::Locked queue(mQueue); in resume() 238 Mutexed<Queue>::Locked queue(mQueue); in onMessageReceived() 286 Mutexed<Queue>::Locked queue(mQueue); in onMessageReceived() 399 Mutexed<sp<MetaData>>::Locked meta(mMeta); in getFormat() 410 Mutexed<Output>::Locked output(mOutput); in read() 615 Mutexed<Output>::Locked output(mOutput); in initEncoder() 651 Mutexed<Output>::Locked output(mOutput); in signalEOS() [all …]
|
D | CryptoAsync.cpp | 74 Mutexed<std::list<sp<AMessage>>>::Locked pendingBuffers(mPendingBuffers); in decrypt() 227 Mutexed<std::list<sp<AMessage>>>::Locked pendingBuffers(mPendingBuffers); in onMessageReceived() 276 Mutexed<std::list<sp<AMessage>>>::Locked pendingBuffers(mPendingBuffers); in onMessageReceived() 300 Mutexed<std::list<sp<AMessage>>>::Locked pendingBuffers(mPendingBuffers); in onMessageReceived()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/stickykeys/shared/model/ |
D | StickyKey.kt | 20 value class Locked(val locked: Boolean)
|
/frameworks/base/libs/input/ |
D | PointerControllerContext.h | 149 struct Locked { struct 177 struct Locked { struct
|
D | SpriteController.h | 234 struct Locked { struct 262 struct Locked { struct
|
D | MouseCursorController.h | 77 struct Locked { struct
|
D | TouchSpotController.h | 81 struct Locked { struct
|
D | PointerController.h | 111 struct Locked { struct
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | SimpleDecodingSource.h | 107 Mutexed<ProtectedState>::Locked &me, MediaBufferBase **buffer,
|
/frameworks/av/media/codec2/vndk/ |
D | C2DmaBufAllocator.cpp | 210 Mutexed<std::list<Mapping>>::Locked mappings(mMappings); in unmap() 259 Mutexed<std::list<Mapping>>::Locked mappings(mMappings); in ~C2DmaBufAllocation()
|
D | C2AllocatorIon.cpp | 218 Mutexed<std::list<Mapping>>::Locked mappings(mMappings); in unmap() 246 Mutexed<std::list<Mapping>>::Locked mappings(mMappings); in ~Impl()
|
/frameworks/proto_logging/stats/enums/telephony/ |
D | enums.proto | 182 /** SIM card state: Locked: requires the user's SIM PIN to unlock */ 184 /** SIM card state: Locked: requires the user's SIM PUK to unlock */ 186 /** SIM card state: Locked: requires a network PIN to unlock */
|