Home
last modified time | relevance | path

Searched defs:res (Results 1 – 25 of 613) sorted by relevance

12345678910>>...25

/aosp14/system/core/fastboot/
H A Dvendor_boot_img_utils.cpp225 if (auto res = updater.Copy(o); !res.ok()) return res.error(); in replace_default_vendor_ramdisk() local
239 if (auto res = updater.Replace(hdr->vendor_ramdisk_size, new_ramdisk); !res.ok()) in replace_default_vendor_ramdisk() local
248 if (auto res = updater.Copy(q); !res.ok()) return res.error(); in replace_default_vendor_ramdisk() local
258 if (auto res = updater.Skip(r, new_r); !res.ok()) return res.error(); in replace_default_vendor_ramdisk() local
270 if (auto res = updater.Copy(s); !res.ok()) return res.error(); in replace_default_vendor_ramdisk() local
273 if (auto res = copy_avb_footer(&updater); !res.ok()) return res.error(); in replace_default_vendor_ramdisk() local
341 if (auto res = updater.Copy(o); !res.ok()) return res.error(); in replace_vendor_ramdisk_fragment() local
372 if (auto res = updater.Copy(q); !res.ok()) return res.error(); in replace_vendor_ramdisk_fragment() local
391 if (auto res = updater.Copy(r - hdr->vendor_ramdisk_table_entry_num * in replace_vendor_ramdisk_fragment() local
399 if (auto res = updater.Copy(s); !res.ok()) return res.error(); in replace_vendor_ramdisk_fragment() local
[all …]
/aosp14/frameworks/base/core/java/android/os/incremental/
H A DIncrementalStorage.java81 int res = mService.makeBindMount(mId, sourcePath, targetPath, in bind() local
112 int res = mService.makeBindMount(mId, sourcePath, targetPath, in bindPermanent() local
129 int res = mService.deleteBindMount(mId, targetPath); in unBind() local
145 int res = mService.makeDirectory(mId, path); in makeDirectory() local
162 int res = mService.makeDirectories(mId, path); in makeDirectories() local
253 int res = mService.unlink(mId, path); in unlink() local
272 int res = mService.makeLink(mId, sourcepath, mId, destpath); in moveFile() local
298 int res = mService.makeBindMount(mId, sourcePath, destPath, in moveDir() local
320 int res = mService.isFileFullyLoaded(mId, path); in isFileFullyLoaded() local
337 final int res = mService.isFullyLoaded(mId); in isFullyLoaded() local
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/content/res/
H A DConfigurationBoundResourceCacheTest.java47 final Resources res = getActivity().getResources(); in testGetEmpty() local
55 final Resources res = getActivity().getResources(); in testSetGet() local
65 final Resources res = getActivity().getResources(); in testSetGetThemed() local
77 final Resources res = getActivity().getResources(); in testMultiThreadPutGet() local
89 final Resources res = getActivity().getResources(); in testVoidConfigChange() local
111 final Resources res = getActivity().getResources(); in testEffectiveConfigChange() local
136 final Resources res = getActivity().getResources(); in testConfigChangeMultipleResources() local
173 final Resources res = getActivity().getResources(); in testConfigChangeMultipleThemes() local
/aosp14/frameworks/base/services/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/
H A DRemoteProvisioningShellCommandTest.java118 CommandResult res = exec(cmd, new String[] {"list"}); in list_zeroInstances() local
128 CommandResult res = exec(cmd, new String[] {"list"}); in list_oneInstances() local
140 CommandResult res = exec(cmd, new String[] {"list"}); in list_twoInstances() local
162 CommandResult res = exec(cmd, new String[] { in csr_hwVersion1_withChallenge() local
193 CommandResult res = exec(cmd, new String[] { in csr_hwVersion2_withChallenge() local
219 CommandResult res = exec(cmd, new String[] {"csr", "default"}); in csr_hwVersion3_withoutChallenge() local
237 CommandResult res = exec(cmd, new String[] {"csr", "--challenge", "dHJpYWw=", "default"}); in csr_hwVersion3_withChallenge() local
/aosp14/frameworks/base/libs/hwui/jni/
H A Dgraphics_jni_helpers.h50 jfieldID res = env->GetFieldID(clazz, field_name, field_signature); in GetFieldIDOrDie() local
57 jmethodID res = env->GetMethodID(clazz, method_name, method_signature); in GetMethodIDOrDie() local
64 jfieldID res = env->GetStaticFieldID(clazz, field_name, field_signature); in GetStaticFieldIDOrDie() local
71 jmethodID res = env->GetStaticMethodID(clazz, method_name, method_signature); in GetStaticMethodIDOrDie() local
78 jobject res = env->NewGlobalRef(in); in MakeGlobalRefOrDie() local
85 int res = jniRegisterNativeMethods(env, className, gMethods, numMethods); in RegisterMethodsOrDie() local
/aosp14/frameworks/base/cmds/idmap2/tests/
H A DResourceMappingTests.cpp149 auto& res = *resources; in TEST() local
167 auto& res = *resources; in TEST() local
183 auto& res = *resources; in TEST() local
198 auto& res = *resources; in TEST() local
229 auto& res = *resources; in TEST() local
253 auto& res = *resources; in TEST() local
272 auto& res = *resources; in TEST() local
292 auto& res = *resources; in TEST() local
326 auto& res = *resources; in TEST() local
360 auto& res = *resources; in TEST() local
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/input/
H A DConfigurationProcessorTest.java51 final int res = com.android.frameworks.servicestests.R.raw.input_port_associations; in testGetInputPortAssociations() local
67 final int res = in testGetInputPortAssociationsBadDisplayport() local
82 final int res = com.android.frameworks.servicestests.R.raw.input_port_associations_bad_xml; in testGetInputPortAssociationsEmptyConfig() local
/aosp14/frameworks/base/core/jni/
H A Dcore_jni_helpers.h49 jfieldID res = env->GetFieldID(clazz, field_name, field_signature); in GetFieldIDOrDie() local
57 jmethodID res = env->GetMethodID(clazz, method_name, method_signature); in GetMethodIDOrDie() local
65 jfieldID res = env->GetStaticFieldID(clazz, field_name, field_signature); in GetStaticFieldIDOrDie() local
73 jmethodID res = env->GetStaticMethodID(clazz, method_name, method_signature); in GetStaticMethodIDOrDie() local
81 jobject res = env->NewGlobalRef(in); in MakeGlobalRefOrDie() local
88 int res = AndroidRuntime::registerNativeMethods(env, className, gMethods, numMethods); in RegisterMethodsOrDie() local
/aosp14/frameworks/base/rs/java/android/renderscript/
H A DDouble2.java54 Double2 res = new Double2(); in add() local
89 Double2 res = new Double2(); in add() local
114 Double2 res = new Double2(); in sub() local
139 Double2 res = new Double2(); in sub() local
164 Double2 res = new Double2(); in mul() local
189 Double2 res = new Double2(); in mul() local
214 Double2 res = new Double2(); in div() local
239 Double2 res = new Double2(); in div() local
H A DFloat2.java53 Float2 res = new Float2(); in add() local
88 Float2 res = new Float2(); in add() local
113 Float2 res = new Float2(); in sub() local
138 Float2 res = new Float2(); in sub() local
163 Float2 res = new Float2(); in mul() local
188 Float2 res = new Float2(); in mul() local
213 Float2 res = new Float2(); in div() local
238 Float2 res = new Float2(); in div() local
H A DDouble3.java56 Double3 res = new Double3(); in add() local
94 Double3 res = new Double3(); in add() local
121 Double3 res = new Double3(); in sub() local
148 Double3 res = new Double3(); in sub() local
175 Double3 res = new Double3(); in mul() local
202 Double3 res = new Double3(); in mul() local
229 Double3 res = new Double3(); in div() local
256 Double3 res = new Double3(); in div() local
H A DDouble4.java59 Double4 res = new Double4(); in add() local
100 Double4 res = new Double4(); in add() local
141 Double4 res = new Double4(); in sub() local
158 Double4 res = new Double4(); in sub() local
199 Double4 res = new Double4(); in mul() local
216 Double4 res = new Double4(); in mul() local
257 Double4 res = new Double4(); in div() local
274 Double4 res = new Double4(); in div() local
H A DFloat3.java56 Float3 res = new Float3(); in add() local
94 Float3 res = new Float3(); in add() local
121 Float3 res = new Float3(); in sub() local
148 Float3 res = new Float3(); in sub() local
175 Float3 res = new Float3(); in mul() local
202 Float3 res = new Float3(); in mul() local
229 Float3 res = new Float3(); in div() local
256 Float3 res = new Float3(); in div() local
H A DFloat4.java59 Float4 res = new Float4(); in add() local
100 Float4 res = new Float4(); in add() local
141 Float4 res = new Float4(); in sub() local
158 Float4 res = new Float4(); in sub() local
199 Float4 res = new Float4(); in mul() local
216 Float4 res = new Float4(); in mul() local
257 Float4 res = new Float4(); in div() local
274 Float4 res = new Float4(); in div() local
/aosp14/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
H A DRequiresPermissionChecker.java266 String res = "{allOf=" + allOf; in toString() local
275 final ParsedRequiresPermission res = new ParsedRequiresPermission(); in from() local
345 final AtomicReference<ParsedRequiresPermission> res = new AtomicReference<>(); in parseBroadcastSourceRequiresPermission() local
394 final ParsedRequiresPermission res = new ParsedRequiresPermission(); in parseBroadcastTargetRequiresPermission() local
416 final ParsedRequiresPermission res = new ParsedRequiresPermission(); in parseRequiresPermissionRecursively() local
420 final ParsedRequiresPermission res = new ParsedRequiresPermission(); in parseRequiresPermissionRecursively() local
439 final ParsedRequiresPermission res = new ParsedRequiresPermission(); in parseRequiresPermissionRecursively() local
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DBrightnessMappingStrategyTest.java159 Resources res = createResources(DISPLAY_LEVELS_BACKLIGHT); in testSimpleStrategyMappingAtControlPoints() local
174 Resources res = createResources(DISPLAY_LEVELS_BACKLIGHT); in testSimpleStrategyMappingBetweenControlPoints() local
189 Resources res = createResources(DISPLAY_LEVELS_BACKLIGHT); in testSimpleStrategyIgnoresNewConfiguration() local
204 Resources res = createResources(DISPLAY_LEVELS_BACKLIGHT); in testSimpleStrategyIgnoresNullConfiguration() local
218 Resources res = createResources(EMPTY_INT_ARRAY); in testPhysicalStrategyMappingAtControlPoints() local
237 Resources res = createResources(EMPTY_INT_ARRAY); in testPhysicalStrategyMappingBetweenControlPoints() local
255 Resources res = createResources(EMPTY_INT_ARRAY); in testPhysicalStrategyUsesNewConfigurations() local
281 Resources res = createResources(EMPTY_INT_ARRAY); in testPhysicalStrategyRecalculateSplines() local
325 Resources res = createResources(DISPLAY_LEVELS_BACKLIGHT); in testDefaultStrategyIsPhysical() local
339 Resources res = createResources(EMPTY_INT_ARRAY); in testNonStrictlyIncreasingLuxLevelsFails() local
[all …]
/aosp14/frameworks/base/media/java/android/media/tv/tuner/filter/
H A DTimeFilter.java69 int res = nativeSetTimestamp(timestamp); in setCurrentTimestamp() local
85 int res = nativeClearTimestamp(); in clearTimestamp() local
134 int res = nativeClose(); in close() local
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DDisplayLayout.java151 public DisplayLayout(DisplayInfo info, Resources res, boolean hasNavigationBar, in DisplayLayout()
191 private void init(DisplayInfo info, Resources res, boolean hasNavigationBar, in init()
211 public void setInsets(Resources res, InsetsState state) { in setInsets()
217 void recalcInsets(Resources res) { in recalcInsets()
232 public void rotateTo(Resources res, @Surface.Rotation int targetRotation) { in rotateTo()
338 public @NavBarPosition int getNavigationBarPosition(Resources res) { in getNavigationBarPosition()
351 private void convertNonDecorInsetsToStableInsets(Resources res, Rect inOutInsets, in convertNonDecorInsetsToStableInsets()
370 static void computeNonDecorInsets(Resources res, int displayRotation, int displayWidth, in computeNonDecorInsets()
519 public static @NavBarPosition int navigationBarPosition(Resources res, int displayWidth, in navigationBarPosition()
534 public static int getNavigationBarSize(Resources res, int navBarSide, boolean landscape, in getNavigationBarSize()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/content/
H A DContentResolverTest.java114 Bitmap res = ContentResolver.loadThumbnail(mClient, in testLoadThumbnail_Normal() local
129 Bitmap res = ContentResolver.loadThumbnail(mClient, in testLoadThumbnail_Scaling() local
144 Bitmap res = ContentResolver.loadThumbnail(mClient, in testLoadThumbnail_Aspect() local
159 Bitmap res = ContentResolver.loadThumbnail(mClient, in testLoadThumbnail_Tiny() local
175 Bitmap res = ContentResolver.loadThumbnail(mClient, in testLoadThumbnail_Large() local
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/companion/utils/
H A DPackageUtilsTest.java67 final Resources res = spy(context.getResources()); in isAllowlisted_true() local
93 final Resources res = spy(context.getResources()); in isAllowlisted_package_disallowed() local
119 final Resources res = spy(context.getResources()); in isAllowlisted_signature_mismatch() local
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
H A DDisplayLayoutTest.java78 Resources res = createResources(40, 50, false); in testInsets() local
110 Resources res = createResources(40, 50, false); in testRotate() local
136 Resources res = mock(Resources.class); in createResources() local
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/text/
H A DTextUtilsPerfTest.java49 String res = String.format(TEMPLATE, mVar1, mVar2); in timeFormatUpstream() local
61 String res = TextUtils.formatSimple(TEMPLATE, mVar1, mVar2); in timeFormatLocal() local
72 String res = "Template that combines " + mVar1 + " and " + mVar2 + " together"; in timeFormatInline() local
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
H A DInstallConstraintsTagParser.java51 ParseInput input, ParsingPackage pkg, Resources res, XmlResourceParser parser) in parseInstallConstraints()
72 ParseInput input, Resources res, XmlResourceParser parser) in parseFingerprintPrefixes()
106 private static ParseResult<String> readFingerprintPrefixValue(ParseInput input, Resources res, in readFingerprintPrefixValue()
/aosp14/frameworks/base/core/java/android/content/res/
H A DConstantState.java52 public T newInstance(Resources res) { in newInstance()
60 public T newInstance(Resources res, Resources.Theme theme) { in newInstance()
/aosp14/system/core/init/test_upgrade_mte/
H A Dmte_upgrade_test_helper.cpp28 int res = prctl(PR_GET_TAGGED_ADDR_CTRL, 0, 0, 0, 0); in MaybeDowngrade() local
46 int res = prctl(PR_GET_TAGGED_ADDR_CTRL, 0, 0, 0, 0); in main() local

12345678910>>...25