Home
last modified time | relevance | path

Searched refs:getSystem (Results 1 – 25 of 740) sorted by relevance

12345678910>>...30

/aosp_15_r20/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue479/
H A DMergeKeyDeepMergeTest.java34 assertEquals("2", property.getSystem().get("erp").getTest1()); in testOnlyTheCurrentMappingIsMerged()
35 assertNull(property.getSystem().get("erp").getMysql().getDb_host()); in testOnlyTheCurrentMappingIsMerged()
36 assertNull(property.getSystem().get("erp").getMysql().getDb_port()); in testOnlyTheCurrentMappingIsMerged()
37 assertEquals("erp", property.getSystem().get("erp").getMysql().getDb_name()); in testOnlyTheCurrentMappingIsMerged()
38 assertNull(property.getSystem().get("erp").getMysql().getDb_user()); in testOnlyTheCurrentMappingIsMerged()
39 assertNull(property.getSystem().get("erp").getMysql().getDb_password()); in testOnlyTheCurrentMappingIsMerged()
71 assertEquals("2", property.getSystem().get("erp").getTest1()); in testMergeAsJavabean()
72 assertEquals("mysql.avatar2.test", property.getSystem().get("erp").getMysql().getDb_host()); in testMergeAsJavabean()
73 assertEquals(3306, (int) property.getSystem().get("erp").getMysql().getDb_port()); in testMergeAsJavabean()
74 assertEquals("erp", property.getSystem().get("erp").getMysql().getDb_name()); in testMergeAsJavabean()
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/config/
H A DResourceUnfoldTransitionConfig.kt25 val id = Resources.getSystem() in <lambda>()
27 Resources.getSystem().getBoolean(id) in <lambda>()
31 val id = Resources.getSystem() in <lambda>()
33 Resources.getSystem().getBoolean(id) in <lambda>()
37 val id = Resources.getSystem() in <lambda>()
39 Resources.getSystem().getBoolean(id) in <lambda>()
43 val id = Resources.getSystem() in <lambda>()
45 Resources.getSystem().getInteger(id) in <lambda>()
/aosp_15_r20/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteGlobal.java89 Resources.getSystem().getString( in getDefaultJournalMode()
98 Resources.getSystem().getInteger( in getJournalSizeLimit()
112 Resources.getSystem().getString( in getDefaultSyncMode()
126 Resources.getSystem().getString( in getWALSyncMode()
135 Resources.getSystem().getInteger( in getWALAutoCheckpoint()
145 Resources.getSystem().getInteger( in getWALConnectionPoolSize()
156 Resources.getSystem().getInteger( in getIdleConnectionTimeout()
173 Resources.getSystem().getInteger( in getWALTruncateSize()
/aosp_15_r20/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/
DRoleManagerUtil.kt31 Resources.getSystem().configuration.uiMode and Configuration.UI_MODE_TYPE_MASK == in isCddCompliantScreenSize()
39 Resources.getSystem().configuration.screenLayout and in isCddCompliantScreenSize()
54 val dpi = Resources.getSystem().displayMetrics.densityDpi in hasMinScreenSize()
55 val widthDp = (160f / dpi) * Resources.getSystem().displayMetrics.widthPixels in hasMinScreenSize()
56 val heightDp = (160f / dpi) * Resources.getSystem().displayMetrics.heightPixels in hasMinScreenSize()
/aosp_15_r20/packages/modules/Permission/tests/cts/permissionmultidevice/TestUtils/src/android/permissionmultidevice/cts/
DPermissionUtils.kt43 Resources.getSystem().configuration.uiMode and Configuration.UI_MODE_TYPE_MASK == in isAutomotive()
51 Resources.getSystem().configuration.screenLayout and in isAutomotive()
66 val dpi = Resources.getSystem().displayMetrics.densityDpi in hasMinScreenSize()
67 val widthDp = (160f / dpi) * Resources.getSystem().displayMetrics.widthPixels in hasMinScreenSize()
68 val heightDp = (160f / dpi) * Resources.getSystem().displayMetrics.heightPixels in hasMinScreenSize()
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/
H A DRuntimeEnvironment.java169 Resources systemResources = Resources.getSystem(); in getQualifiers()
202 configuration = new Configuration(Resources.getSystem().getConfiguration()); in setQualifiers()
203 displayMetrics.setTo(Resources.getSystem().getDisplayMetrics()); in setQualifiers()
246 Resources.getSystem().updateConfiguration(configuration, displayMetrics); in updateConfiguration()
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
H A DAssetManagerCachingTest.java30 AssetManager systemAssetManager = Resources.getSystem().getAssets(); in test1_getAssetManagerPtr()
37 AssetManager systemAssetManager = Resources.getSystem().getAssets(); in test2_verifySamePtr()
44 AssetManager systemAssetManager = Resources.getSystem().getAssets(); in test3_createApplicationAssets()
H A DShadowUiAutomationTest.java50 assertThat(Resources.getSystem().getConfiguration().orientation) in setRotation_freeze90_rotatesToLandscape()
61 assertThat(Resources.getSystem().getConfiguration().orientation) in setRotation_freeze180_rotatesToPortrait()
72 assertThat(Resources.getSystem().getConfiguration().orientation) in setRotation_freezeCurrent_doesNothing()
/aosp_15_r20/device/google/contexthub/contexthubhal/
Dsystem_comms.h440 static SystemComm *getSystem() { in getSystem() function
476 return getSystem()->doHandleTx(txMsg, transactionId); in handleTx()
479 return getSystem()->doHandleRx(rxMsg); in handleRx()
482 return getSystem()->doHandleRx(rxMsg); in handleRx()
485 return getSystem()->doDumpAppInfo(result); in dumpAppInfo()
/aosp_15_r20/packages/apps/Car/systemlibs/car-scalable-ui-lib/src/com/android/car/scalableui/model/
DBounds.java150 return (int) (value * Resources.getSystem().getDisplayMetrics().density); in getDimensionPixelSize()
154 return (int) (value * Resources.getSystem().getDisplayMetrics().density); in getDimensionPixelSize()
158 DisplayMetrics displayMetrics = Resources.getSystem().getDisplayMetrics(); in getDimensionPixelSize()
/aosp_15_r20/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/util/
H A DTestSourceLocation.java18 assertEquals("c/d.xml", location.getSystem(path_b)); in testSourcePath()
19 assertEquals("c/d.xml", location.getSystem(path_b + "/")); // with trailing slash in testSourcePath()
/aosp_15_r20/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
H A DMediaOutputDeviceInfo.java35 Resources.getSystem() in collectDeviceInfo()
41 Resources.getSystem().getValue(identifier, typedValue, true); in collectDeviceInfo()
/aosp_15_r20/frameworks/base/core/java/android/credentials/selection/
H A DIntentFactory.java185 Resources.getSystem().getString( in setCredentialSelectorUiComponentName()
200 ComponentName componentName = ComponentName.unflattenFromString(Resources.getSystem() in setCredentialSelectorUiComponentName()
216 Resources.getSystem() in getOemOverrideComponentName()
/aosp_15_r20/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DLocaleTestUtils.java89 mSavedSystemLocale = setResourcesLocale(Resources.getSystem(), locale); in setLocale()
103 setResourcesLocale(Resources.getSystem(), mSavedSystemLocale); in restoreLocale()
/aosp_15_r20/packages/modules/Bluetooth/service/src/
DBluetoothService.kt58 Resources.getSystem() in onUserStarting()
60 Resources.getSystem() in onUserStarting()
/aosp_15_r20/tools/loganalysis/javatests/com/android/loganalysis/parser/
H A DTopParserTest.java46 assertEquals(200, item.getSystem()); in testTopParser()
68 assertEquals(200, item.getSystem()); in testLastTop()
/aosp_15_r20/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
H A DRequiredSystemResourceRule.java83 final int resourceId = Resources.getSystem().getIdentifier(name, "string", "android");
84 return Resources.getSystem().getString(resourceId);
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerTest.java238 Resources.getSystem().getDrawable(userTypeDetails.getBadgePlain())); in testCloneUser()
248 Resources.getSystem().getString(userTypeDetails.getAccessibilityString())); in testCloneUser()
289 .isEqualTo(Resources.getSystem() in testCommunalProfile()
376 Resources.getSystem().getDrawable(userTypeDetails.getBadgePlain())); in testPrivateProfile()
386 Resources.getSystem().getString(userTypeDetails.getLabel(0))); in testPrivateProfile()
388 Resources.getSystem().getString(userTypeDetails.getAccessibilityString())); in testPrivateProfile()
1146 Resources.getSystem().getDrawable(userTypeDetails.getBadgePlain())); in testProfileTypeInformation()
1150 Resources.getSystem().getColor(userTypeDetails.getBadgeColor(badgeIndex), null)); in testProfileTypeInformation()
1152 Resources.getSystem().getColor(userTypeDetails.getDarkThemeBadgeColor(badgeIndex), in testProfileTypeInformation()
1156 Resources.getSystem().getString(userTypeDetails.getBadgeLabel(badgeIndex), "Test")); in testProfileTypeInformation()
[all …]
/aosp_15_r20/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0315/src/android/security/cts/CVE_2021_0315/
H A DPocService.java38 return Resources.getSystem().getDisplayMetrics().widthPixels; in getScreenWidth()
42 return Resources.getSystem().getDisplayMetrics().heightPixels; in getScreenHeight()
/aosp_15_r20/cts/hostsidetests/securitybulletin/test-apps/TestOverlayRequestManageCredentials/src/android/security/cts/overlay/RequestManageCredentials/
H A DPocService.java49 int screenWidth = Resources.getSystem().getDisplayMetrics().widthPixels; in onStartCommand()
50 int screenHeight = Resources.getSystem().getDisplayMetrics().heightPixels; in onStartCommand()
/aosp_15_r20/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39796/src/android/security/cts/CVE_2021_39796/
H A DPocService.java37 return Resources.getSystem().getDisplayMetrics().widthPixels; in getScreenWidth()
41 return Resources.getSystem().getDisplayMetrics().heightPixels; in getScreenHeight()
/aosp_15_r20/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39692/src/android/security/cts/CVE_2021_39692/
H A DPocService.java39 return Resources.getSystem().getDisplayMetrics().widthPixels; in getScreenWidth()
43 return Resources.getSystem().getDisplayMetrics().heightPixels; in getScreenHeight()
/aosp_15_r20/cts/hostsidetests/securitybulletin/test-apps/CVE-2020-0015/src/android/security/cts/CVE_2020_0015/
H A DPocService.java39 return Resources.getSystem().getDisplayMetrics().widthPixels; in getScreenWidth()
43 return Resources.getSystem().getDisplayMetrics().heightPixels; in getScreenHeight()
/aosp_15_r20/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DScreenSizeCalculator.java63 switch (Resources.getSystem().getConfiguration().orientation) { in getScreenSize()
70 + Resources.getSystem().getConfiguration().orientation); in getScreenSize()
/aosp_15_r20/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0523/src/android/security/cts/CVE_2021_0523/
H A DPocService.java36 return Resources.getSystem().getDisplayMetrics().widthPixels; in getScreenWidth()
40 return Resources.getSystem().getDisplayMetrics().heightPixels; in getScreenHeight()

12345678910>>...30