/aosp_15_r20/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue479/ |
H A D | MergeKeyDeepMergeTest.java | 34 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 D | ResourceUnfoldTransitionConfig.kt | 25 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 D | SQLiteGlobal.java | 89 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/ |
D | RoleManagerUtil.kt | 31 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/ |
D | PermissionUtils.kt | 43 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 D | RuntimeEnvironment.java | 169 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 D | AssetManagerCachingTest.java | 30 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 D | ShadowUiAutomationTest.java | 50 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/ |
D | system_comms.h | 440 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/ |
D | Bounds.java | 150 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 D | TestSourceLocation.java | 18 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 D | MediaOutputDeviceInfo.java | 35 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 D | IntentFactory.java | 185 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/ |
D | LocaleTestUtils.java | 89 mSavedSystemLocale = setResourcesLocale(Resources.getSystem(), locale); in setLocale() 103 setResourcesLocale(Resources.getSystem(), mSavedSystemLocale); in restoreLocale()
|
/aosp_15_r20/packages/modules/Bluetooth/service/src/ |
D | BluetoothService.kt | 58 Resources.getSystem() in onUserStarting() 60 Resources.getSystem() in onUserStarting()
|
/aosp_15_r20/tools/loganalysis/javatests/com/android/loganalysis/parser/ |
H A D | TopParserTest.java | 46 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 D | RequiredSystemResourceRule.java | 83 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 D | UserManagerTest.java | 238 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 D | PocService.java | 38 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 D | PocService.java | 49 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 D | PocService.java | 37 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 D | PocService.java | 39 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 D | PocService.java | 39 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/ |
D | ScreenSizeCalculator.java | 63 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 D | PocService.java | 36 return Resources.getSystem().getDisplayMetrics().widthPixels; in getScreenWidth() 40 return Resources.getSystem().getDisplayMetrics().heightPixels; in getScreenHeight()
|