Home
last modified time | relevance | path

Searched refs:to (Results 1 – 25 of 3317) sorted by relevance

12345678910>>...133

/frameworks/native/libs/gui/bufferqueue/2.0/
Dtypes.cpp34 bool b2h(status_t from, HStatus* to, in b2h() argument
38 *to = HStatus::OK; break; in b2h()
40 *to = HStatus::NO_MEMORY; break; in b2h()
42 *to = HStatus::NO_INIT; break; in b2h()
44 *to = HStatus::BAD_VALUE; break; in b2h()
46 *to = HStatus::DEAD_OBJECT; break; in b2h()
48 *to = HStatus::INVALID_OPERATION; break; in b2h()
50 *to = HStatus::TIMED_OUT; break; in b2h()
52 *to = HStatus::WOULD_BLOCK; break; in b2h()
54 *to = HStatus::UNKNOWN_ERROR; break; in b2h()
[all …]
/frameworks/av/media/codec2/vndk/
Dtypes.cpp42 bool b2h(status_t from, HStatus* to, in b2h() argument
46 *to = HStatus::OK; break; in b2h()
48 *to = HStatus::NO_MEMORY; break; in b2h()
50 *to = HStatus::NO_INIT; break; in b2h()
52 *to = HStatus::BAD_VALUE; break; in b2h()
54 *to = HStatus::DEAD_OBJECT; break; in b2h()
56 *to = HStatus::INVALID_OPERATION; break; in b2h()
58 *to = HStatus::TIMED_OUT; break; in b2h()
60 *to = HStatus::WOULD_BLOCK; break; in b2h()
62 *to = HStatus::UNKNOWN_ERROR; break; in b2h()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DRenderInfo.kt89 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_OFF) to
91 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_HEAT) to
93 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_COOL) to
96 to Pair(R.color.light_foreground, R.color.control_enabled_light_background),
98 to Pair(R.color.camera_foreground, R.color.control_enabled_default_background)
104 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_OFF) to
106 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_HEAT) to
108 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_COOL) to
110 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_HEAT_COOL) to
112 (THERMOSTAT_RANGE + TemperatureControlTemplate.MODE_ECO) to
[all …]
/frameworks/base/core/java/android/service/notification/
DZenModeDiff.java71 public FieldDiff(@Nullable T from, @Nullable T to) { in FieldDiff() argument
73 mTo = to; in FieldDiff()
86 public T to() { in to() method in ZenModeDiff.FieldDiff
138 BaseDiff(Object from, Object to) { in BaseDiff() argument
140 if (to != null) { in BaseDiff()
145 } else if (to == null) { in BaseDiff()
240 public ConfigDiff(ZenModeConfig from, ZenModeConfig to) { in ConfigDiff() argument
241 super(from, to); in ConfigDiff()
243 if (from == null && to == null) { in ConfigDiff()
253 if (from.user != to.user) { in ConfigDiff()
[all …]
/frameworks/native/libs/binder/include/binder/
DTextOutput.h40 inline explicit Bundle(TextOutput& to) : mTO(to) { to.pushBundle(); } in Bundle() argument
69 TextOutput& endl(TextOutput& to);
70 TextOutput& indent(TextOutput& to);
71 TextOutput& dedent(TextOutput& to);
74 TextOutput& operator<<(TextOutput& to, const T& val)
79 to.print(str.c_str(), str.size());
80 return to;
83 LIBBINDER_EXPORTED TextOutput& operator<<(TextOutput& to, TextOutputManipFunc func);
96 LIBBINDER_EXPORTED std::ostream& operator<<(std::ostream& to, const TypeCode& val);
124 LIBBINDER_EXPORTED std::ostream& operator<<(std::ostream& to, const HexDump& val);
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSFactoryImplTest.kt66 "internet" to InternetTile::class.java, in <lambda>()
67 "bt" to BluetoothTile::class.java, in <lambda>()
68 "dnd" to DndTile::class.java, in <lambda>()
69 "inversion" to ColorInversionTile::class.java, in <lambda>()
70 "airplane" to AirplaneModeTile::class.java, in <lambda>()
71 "work" to WorkModeTile::class.java, in <lambda>()
72 "rotation" to RotationLockTile::class.java, in <lambda>()
73 "flashlight" to FlashlightTile::class.java, in <lambda>()
74 "location" to LocationTile::class.java, in <lambda>()
75 "cast" to CastTile::class.java, in <lambda>()
[all …]
/frameworks/compile/mclinker/include/mcld/Config/
DConfig.h.cmake1 /* include/llvm/Config/config.h.cmake corresponding to config.h.in. */
31 /* Define to 1 if you have the `arc4random' function. */
34 /* Define to 1 if you have the `argz_append' function. */
37 /* Define to 1 if you have the `argz_create_sep' function. */
40 /* Define to 1 if you have the <argz.h> header file. */
43 /* Define to 1 if you have the `argz_insert' function. */
46 /* Define to 1 if you have the `argz_next' function. */
49 /* Define to 1 if you have the `argz_stringify' function. */
52 /* Define to 1 if you have the <assert.h> header file. */
55 /* Define to 1 if you have the `backtrace' function. */
[all …]
DConfig.h.in16 /* Define to 1 if you have the <cxxabi.h> header file. */
19 /* Define to 1 if you have the <dlfcn.h> header file. */
22 /* Define to 1 if you have the <fcntl.h> header file. */
25 /* Define to 1 if you have the <inttypes.h> header file. */
28 /* Define to 1 if you have the <memory.h> header file. */
34 /* Define to 1 if you have the <stdint.h> header file. */
37 /* Define to 1 if you have the <stdlib.h> header file. */
40 /* Define to 1 if you have the <strings.h> header file. */
43 /* Define to 1 if you have the <string.h> header file. */
46 /* Define to 1 if you have the <sys/mman.h> header file. */
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp474 virtual bool simpleMap(C2Config::level_t from, int32_t *to) = 0;
475 virtual bool simpleMap(int32_t from, C2Config::level_t *to) = 0;
476 virtual bool simpleMap(C2Config::profile_t from, int32_t *to) = 0;
477 virtual bool simpleMap(int32_t from, C2Config::profile_t *to) = 0;
480 bool passThroughMap(T from, U *to) { in passThroughMap()
483 *to = (U)from; in passThroughMap()
486 return simpleMap(from, to); in passThroughMap()
489 virtual bool mapLevel(C2Config::level_t from, int32_t *to) { in mapLevel()
490 return passThroughMap(from, to); in mapLevel()
493 virtual bool mapLevel(int32_t from, C2Config::level_t *to) { in mapLevel()
[all …]
/frameworks/av/media/module/extractors/fuzzers/
DREADME.md19 called `ExtractorFuzzerBase` to ensure code is reused between fuzzer plugins.
30 implements only the `createExtractor` to create the MP4 extractor class.
33 Dict file (dictionary file) is created for MP4 to ensure that the required MP4
34 atoms are present in every input file that goes to the fuzzer.
41 This describes steps to build mp4_extractor_fuzzer binary.
45 #### Steps to build
51 #### Steps to run
52 Create a directory CORPUS_DIR and copy some MP4 files to that folder
53 Push this directory to device.
65 implements only the `createExtractor` to create the WAV extractor class.
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DEdge.kt31 is StateToState -> verifyValidKeyguardStates(from, to) in verifyValidKeyguardStates()
32 is SceneToState -> verifyValidKeyguardStates(null, to) in verifyValidKeyguardStates()
37 private fun verifyValidKeyguardStates(from: KeyguardState?, to: KeyguardState?) { in verifyValidKeyguardStates()
39 val mappedTo = to?.mapToSceneContainerState() in verifyValidKeyguardStates()
42 val toChanged = to != mappedTo in verifyValidKeyguardStates()
68 if (from == UNDEFINED || to == UNDEFINED) { in verifyValidKeyguardStates()
80 is SceneToState -> to == null in isSceneWildcardEdge()
85 data class StateToState(val from: KeyguardState?, val to: KeyguardState?) : Edge() { constant in com.android.systemui.keyguard.shared.model.Edge.StateToState
88 check(!(from == null && to == null)) { "to and from can't both be null" } in <lambda>()
92 data class StateToScene(val from: KeyguardState? = null, val to: SceneKey) : Edge() constant in com.android.systemui.keyguard.shared.model.Edge.StateToScene
[all …]
/frameworks/base/core/java/android/content/pm/
Dflags.aconfig16 description: "Feature flag to enable the archiving feature."
23 description: "Feature flag to disallow a <sdk-library> to be an <application>."
32 description: "Feature flag to improve stopped state enforcement"
39 description: "Feature flag to allow ApplicationInfo.dataDir to be null."
48 description: "Feature flag to enable the feature to retrieve package info without installation."
56 …description: "Feature flag to enable the features that rely on new ART Service APIs that are in th…
64 …description: "Feature flag to keep app working even if its declared sdk-library dependency is unav…
73 description: "Feature flag to enable custom rollback lifetime during install."
81 description: "Feature flag to improve install freeze time."
89 description: "Feature flag to retrieve resolved path of the base APK during an app install."
[all …]
/frameworks/base/core/java/android/window/
DSurfaceSyncGroup.md5to be gathered so multiple surfaces can be synced. This is intended to be used with AttachedSurfac…
12 The first step is to create a sync request. This is done by creating a new `SurfaceSyncGroup`.
13to allow the caller to get back the merged transaction without it being applied. ViewRootImpl uses…
19 …This is to sync a SurfaceView. Since SurfaceViews are rendered by the app, the caller will be expe…
20 …is is to sync an embedded window. The host can call addToSync and pass in the SurfacePackage, wher…
21 * `addToSync(ISurfaceSyncGroup)` - This is the generic method. It can be used to sync arbitrary inf…
23to ensure consistent behavior, where any UI changes done while still on the UI thread are included…
25 …ld SurfaceSyncGroup to the parent. The purpose of this Runnable is to execute any changes the call…
29to the sync, they should call `markSyncReady()` If the caller doesn't call this, the sync will nev…
33to add generic Transactions to the sync. The caller invokes `addTransactionToSync(Transaction)`. T…
[all …]
/frameworks/base/core/tests/coretests/src/android/content/res/
DFontScaleConverterTest.kt31 val table = createTable(8f to 8f, 10f to 10f, 20f to 20f) in straightInterpolation()
43 val table = createTable(8f to 16f, 10f to 20f, 30f to 60f) in interpolate200Percent()
55 val table = createTable(2f to 3f, 10f to 15f, 20f to 30f, 100f to 150f) in interpolate150Percent()
68 val table = createTable(8f to 16f, 10f to 20f, 30f to 60f) in pastEndsUsesLastScalingFactor()
78 val table = createTable(8f to 16f, 10f to 20f, 30f to 60f) in negativeSpIsNegativeDp()
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-layout.md4to configure and run physics-based animations for each of its child views. During the initial cons…
6 …ertyAnimator** instances to run them. The animator behaves similarly to the familiar `ViewProperty…
10to configure the translation animations to be chained (for the ‘following’ drag effect), and has m…
13 …imations, and animation control methods, which are called to initiate animations in response to ev…
23 …urn the index of the other animation. Otherwise, return NONE. This is used to chain animations tog…
26to add every time chained animations update the subsequent animation in the chain. For example, re…
29to use for animations of the given property. This allows the controller to configure stiffness and…
32to build the animations, the controller can use them to actually run animations. This is done for …
34 … can use `super.animationForChild` to retrieve a `PhysicsPropertyAnimator` instance. This object b…
43 ...as well as shortcut methods to reduce the amount of boilerplate code needed for common use cases:
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationPackageTest.kt97 DOMAIN_1 to STATE_NO_RESPONSE, in <lambda>()
98 DOMAIN_2 to STATE_NO_RESPONSE, in <lambda>()
107 DOMAIN_1 to DOMAIN_STATE_NONE, in <lambda>()
108 DOMAIN_2 to DOMAIN_STATE_NONE, in <lambda>()
132 DOMAIN_1 to STATE_NO_RESPONSE, in <lambda>()
133 DOMAIN_2 to STATE_NO_RESPONSE, in <lambda>()
145 DOMAIN_1 to DOMAIN_STATE_NONE, in <lambda>()
146 DOMAIN_2 to DOMAIN_STATE_NONE, in <lambda>()
156 DOMAIN_1 to STATE_UNMODIFIABLE, in <lambda>()
157 DOMAIN_2 to STATE_UNMODIFIABLE, in <lambda>()
[all …]
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/util/
DParameterTest.kt53 "string_param" to "myStr", in navLinkTest()
54 "int_param" to 10, in navLinkTest()
61 "string_param" to "myStr", in navLinkTest()
62 "int_param" to 10, in navLinkTest()
63 "unknown_param" to "unknown", in navLinkTest()
70 "string_param" to "myStr", in navLinkTest()
71 "int_param" to "wrongStr", in navLinkTest()
96 "string_param" to "myStr", in normalizeTest()
97 "rt_param" to "rtStr", in normalizeTest()
107 "string_param" to "myStr", in normalizeTest()
[all …]
/frameworks/av/media/libaaudio/
DDoxyfile3 # This file describes the settings to be used by the documentation system
37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
52 # to the output directory.
56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
58 # entered, it will be relative to the location where doxygen was started. If
63 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
73 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
75 # information to generate all constant output in the proper language.
88 # If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
90 # documentation (similar to Javadoc). Set to NO to disable this.
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DPromptIconViewBinder.kt275 R.raw.fingerprint_dialogue_error_to_fingerprint_lottie to
277 R.raw.fingerprint_dialogue_error_to_success_lottie to
279 R.raw.fingerprint_dialogue_fingerprint_to_error_lottie to
281 R.raw.fingerprint_dialogue_fingerprint_to_success_lottie to
284 R.raw.biometricprompt_fingerprint_to_error_landscape to
286 R.raw.biometricprompt_folded_base_bottomright to "biometricprompt_folded_base_bottomright",
287 R.raw.biometricprompt_folded_base_default to "biometricprompt_folded_base_default",
288 R.raw.biometricprompt_folded_base_topleft to "biometricprompt_folded_base_topleft",
289 R.raw.biometricprompt_landscape_base to "biometricprompt_landscape_base",
290 R.raw.biometricprompt_portrait_base_bottomright to
[all …]
/frameworks/wilhelm/doc/
DDoxyfile3 # This file describes the settings to be used by the documentation system
30 # The PROJECT_NUMBER tag can be used to enter a project or revision number.
36 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
38 # If a relative path is entered, it will be relative to the location
43 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
54 # information to generate all constant output in the proper language.
65 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
67 # the file and class documentation (similar to JavaDoc).
68 # Set to NO to disable this.
[all …]
/frameworks/base/media/native/midi/include/
DDoxyfile3 # This file describes the settings to be used by the documentation system
37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
52 # the logo to the output directory.
56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
58 # entered, it will be relative to the location where doxygen was started. If
63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
74 # characters to appear in the names of generated files. If set to NO, non-ASCII
81 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
83 # information to generate all constant output in the proper language.
[all …]
/frameworks/av/media/codec2/docs/
Ddoxygen.config3 # This file describes the settings to be used by the documentation system
37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
52 # the logo to the output directory.
56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
58 # entered, it will be relative to the location where doxygen was started. If
63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
74 # characters to appear in the names of generated files. If set to NO, non-ASCII
81 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
83 # information to generate all constant output in the proper language.
[all …]
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DNamer.kt40 private val planetTable = RandomTable(0.75f to planetDescriptors, 0.25f to anyDescriptors)
42 private var lifeTable = RandomTable(0.75f to lifeDescriptors, 0.25f to anyDescriptors)
45 RandomTable(RARE_PROB to constellationsRare, 1f - RARE_PROB to constellations)
47 private var suffixesTable = RandomTable(RARE_PROB to suffixesRare, 1f - RARE_PROB to suffixes)
49 private var atmoTable = RandomTable(0.75f to atmoDescriptors, 0.25f to anyDescriptors)
53 15f to " ",
54 3f to "-",
55 1f to "_",
56 1f to "/",
57 1f to ".",
[all …]
/frameworks/native/docs/
DDoxyfile3 # This file describes the settings to be used by the documentation system
27 # to put quotes around the project name if it contains spaces.
31 # The PROJECT_NUMBER tag can be used to enter a project or revision number.
46 # Doxygen will copy the logo to the output directory.
50 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
52 # If a relative path is entered, it will be relative to the location
57 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
66 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
68 # information to generate all constant output in the proper language.
79 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/scenetransition/
DLockscreenSceneTransitionInteractorTest.kt102 to = KeyguardState.UNDEFINED, in transition_from_ls_scene_end_in_gone()
118 to = KeyguardState.UNDEFINED, in transition_from_ls_scene_end_in_gone()
139 to = KeyguardState.UNDEFINED, in transition_from_ls_scene_end_in_ls()
156 to = KeyguardState.UNDEFINED, in transition_from_ls_scene_end_in_ls()
164 to = KeyguardState.LOCKSCREEN, in transition_from_ls_scene_end_in_ls()
172 to = KeyguardState.LOCKSCREEN, in transition_from_ls_scene_end_in_ls()
192 to = KeyguardState.AOD, in transition_from_ls_scene_on_aod_end_in_ls()
202 to = KeyguardState.UNDEFINED, in transition_from_ls_scene_on_aod_end_in_ls()
219 to = KeyguardState.UNDEFINED, in transition_from_ls_scene_on_aod_end_in_ls()
227 to = KeyguardState.AOD, in transition_from_ls_scene_on_aod_end_in_ls()
[all …]

12345678910>>...133