Home
last modified time | relevance | path

Searched refs:inputFlags (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/flags/
DFeatureFlagsServiceTest.java122 List<SyncableFlag> inputFlags = List.of( in testSyncFlags_noOverrides() local
128 List<SyncableFlag> outputFlags = mFeatureFlagsService.syncFlags(inputFlags); in testSyncFlags_noOverrides()
130 assertThat(inputFlags.size()).isEqualTo(outputFlags.size()); in testSyncFlags_noOverrides()
132 for (SyncableFlag inpF: inputFlags) { in testSyncFlags_noOverrides()
147 List<SyncableFlag> inputFlags = List.of( in testSyncFlags_withSomeOverrides() local
155 List<SyncableFlag> outputFlags = mFeatureFlagsService.syncFlags(inputFlags); in testSyncFlags_withSomeOverrides()
157 assertThat(inputFlags.size()).isEqualTo(outputFlags.size()); in testSyncFlags_withSomeOverrides()
159 for (SyncableFlag inpF: inputFlags) { in testSyncFlags_withSomeOverrides()
213 List<SyncableFlag> inputFlags = List.of( in testQueryFlags_onlyOnce() local
219 List<SyncableFlag> outputFlags = mFeatureFlagsService.queryFlags(inputFlags); in testQueryFlags_onlyOnce()
[all …]
/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp57 out->inputFlags = env->GetIntField(clazz, gConfigurationClassInfo.keyboardHidden); in android_Configuration_getFromJava()
59 if (out->inputFlags == ACONFIGURATION_KEYSHIDDEN_NO in android_Configuration_getFromJava()
61 out->inputFlags = ACONFIGURATION_KEYSHIDDEN_SOFT; in android_Configuration_getFromJava()
63 out->inputFlags |= env->GetIntField(clazz, gConfigurationClassInfo.navigationHidden) in android_Configuration_getFromJava()
Dandroid_util_AssetManager.cpp380 configuration.inputFlags = static_cast<uint8_t>(keyboard_hidden); in NativeSetConfiguration()
/frameworks/base/native/android/
Dconfiguration.cpp88 return config->inputFlags&ResTable_config::MASK_KEYSHIDDEN; in AConfiguration_getKeysHidden()
92 return (config->inputFlags&ResTable_config::MASK_NAVHIDDEN) in AConfiguration_getNavHidden()
181 config->inputFlags = (config->inputFlags&~ResTable_config::MASK_KEYSHIDDEN) in AConfiguration_setKeysHidden()
186 config->inputFlags = (config->inputFlags&~ResTable_config::MASK_NAVHIDDEN) in AConfiguration_setNavHidden()
/frameworks/base/libs/androidfw/
DConfigDescription.cpp461 if (out) out->inputFlags = (out->inputFlags & ~mask) | value; in parseKeysHidden()
501 if (out) out->inputFlags = (out->inputFlags & ~mask) | value; in parseNavHidden()
975 if ((inputFlags | o.inputFlags) & MASK_KEYSHIDDEN) { in HasHigherPrecedenceThan()
976 return !(o.inputFlags & MASK_KEYSHIDDEN); in HasHigherPrecedenceThan()
978 if ((inputFlags | o.inputFlags) & MASK_NAVHIDDEN) { in HasHigherPrecedenceThan()
979 return !(o.inputFlags & MASK_NAVHIDDEN); in HasHigherPrecedenceThan()
1016 !pred(inputFlags & MASK_KEYSHIDDEN, o.inputFlags & MASK_KEYSHIDDEN) || in ConflictsWith()
1017 !pred(inputFlags & MASK_NAVHIDDEN, o.inputFlags & MASK_NAVHIDDEN) || in ConflictsWith()
DResourceTypes.cpp2288 if (((inputFlags^o.inputFlags)&(MASK_KEYSHIDDEN|MASK_NAVHIDDEN)) != 0) in diff()
2456 if (((inputFlags^o.inputFlags) & MASK_KEYSHIDDEN) != 0) { in isMoreSpecificThan()
2457 if (!(inputFlags & MASK_KEYSHIDDEN)) return false; in isMoreSpecificThan()
2458 if (!(o.inputFlags & MASK_KEYSHIDDEN)) return true; in isMoreSpecificThan()
2461 if (((inputFlags^o.inputFlags) & MASK_NAVHIDDEN) != 0) { in isMoreSpecificThan()
2462 if (!(inputFlags & MASK_NAVHIDDEN)) return false; in isMoreSpecificThan()
2463 if (!(o.inputFlags & MASK_NAVHIDDEN)) return true; in isMoreSpecificThan()
2832 const int keysHidden = inputFlags & MASK_KEYSHIDDEN; in isBetterThan()
2833 const int oKeysHidden = o.inputFlags & MASK_KEYSHIDDEN; in isBetterThan()
2836 requested->inputFlags & MASK_KEYSHIDDEN; in isBetterThan()
[all …]
/frameworks/av/services/audioflinger/
DPatchPanel.cpp548 audio_input_flags_t inputFlags = mAudioPatch.sources[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createConnections_l() local
556 inputFlags = (audio_input_flags_t) (inputFlags | AUDIO_INPUT_FLAG_FAST); in createConnections_l()
559 inputFlags = (audio_input_flags_t) (inputFlags & ~AUDIO_INPUT_FLAG_FAST); in createConnections_l()
584 (inputFlags & AUDIO_INPUT_FLAG_DIRECT) && (outputFlags & AUDIO_OUTPUT_FLAG_DIRECT); in createConnections_l()
600 inputFlags, in createConnections_l()
621 inputFlags, in createConnections_l()
DThreads.cpp8912 audio_input_flags_t inputFlags = mInput->flags; in createRecordTrack_l() local
8947 inputFlags = (audio_input_flags_t)(inputFlags | AUDIO_INPUT_FLAG_FAST); in createRecordTrack_l()
8951 if ((*flags & inputFlags) != *flags) { in createRecordTrack_l()
8954 *flags, inputFlags); in createRecordTrack_l()
8955 *flags = (audio_input_flags_t)(*flags & inputFlags); in createRecordTrack_l()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp283 out_config->inputFlags = (out_config->inputFlags & ~ConfigDescription::MASK_KEYSHIDDEN) | in DeserializeConfigFromPb()
288 out_config->inputFlags = (out_config->inputFlags & ~ConfigDescription::MASK_KEYSHIDDEN) | in DeserializeConfigFromPb()
293 out_config->inputFlags = (out_config->inputFlags & ~ConfigDescription::MASK_KEYSHIDDEN) | in DeserializeConfigFromPb()
320 out_config->inputFlags = (out_config->inputFlags & ~ConfigDescription::MASK_NAVHIDDEN) | in DeserializeConfigFromPb()
325 out_config->inputFlags = (out_config->inputFlags & ~ConfigDescription::MASK_NAVHIDDEN) | in DeserializeConfigFromPb()
DProtoSerialize.cpp221 switch (config.inputFlags & ConfigDescription::MASK_KEYSHIDDEN) { in SerializeConfig()
249 switch (config.inputFlags & ConfigDescription::MASK_NAVHIDDEN) { in SerializeConfig()
/frameworks/base/tools/aapt2/test/
DBuilders.h252 ConfigDescriptionBuilder& setInputFlags(uint8_t inputFlags) { in setInputFlags() argument
253 config_.inputFlags = inputFlags; in setInputFlags()
/frameworks/av/media/libaudioclient/fuzzer/
DREADME.md25 13. Input Flags (parameter name: `inputFlags`)
44 | `inputFlags` | 9 values of type `audio_input_flags_t` | Value chosen from valid values by obtaini…
/frameworks/base/tools/aapt/
DAaptConfig.cpp688 if (out) out->inputFlags = (out->inputFlags&~mask) | value; in parseKeysHidden()
728 if (out) out->inputFlags = (out->inputFlags&~mask) | value; in parseNavHidden()
DResourceTable.cpp3166 config.inputFlags, in flatten()
3211 tHeader->config.inputFlags, in flatten()
3946 config->inputFlags, in getEntry()
DResource.cpp145 mParams.inputFlags, mParams.navigation); in next()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DCredentialPasswordViewBinder.kt46 viewModel.inputFlags.firstOrNull()?.let { flags -> passwordField.inputType = flags } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DCredentialViewModelTest.kt55 val job = launch { viewModel.inputFlags.collect { flags = it } } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DCredentialViewModel.kt59 val inputFlags: Flow<Int?> = in <lambda>() constant in com.android.systemui.biometrics.ui.viewmodel.CredentialViewModel
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1094 uint8_t inputFlags; member
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp1256 audio_input_flags_t inputFlags=AUDIO_INPUT_FLAG_NONE);
1324 audio_config_base_t config, audio_input_flags_t inputFlags) { in addPolicyMixAndStartInputForLoopback() argument
1345 config.sample_rate, inputFlags, &mLoopbackInputPortId)); in addPolicyMixAndStartInputForLoopback()