/cts/hostsidetests/securitybulletin/test-apps/BUG-321707289/test-app/src/android/security/cts/BUG_321707289/ |
D | DeviceTest.java | 44 SharedPreferences sharedPreferences = in testPocBUG_321707289() local 48 sharedPreferences.getString(context.getString(R.string.msgException), null); in testPocBUG_321707289() 56 sharedPreferences.getString( in testPocBUG_321707289() 66 sharedPreferences in testPocBUG_321707289()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-0053/src/android/security/cts/CVE_2024_0053/ |
D | TestPrintService.java | 96 final SharedPreferences sharedPreferences = in onRequestCustomPrinterIcon() local 98 int userId = sharedPreferences.getInt("userId", USER_NULL); in onRequestCustomPrinterIcon() 104 String imageId = sharedPreferences.getString("imageId", null /* default id */); in onRequestCustomPrinterIcon()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20007/test-app/src/android/security/cts/CVE_2022_20007/ |
D | DeviceTest.java | 96 mSharedPrefs = mContext.getSharedPreferences(getStringRes(R.string.sharedPreferences), in testRaceCondition() 103 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, in testRaceCondition() 106 if (sharedPreferences.getInt(key, in testRaceCondition() 113 if (sharedPreferences.getInt(key, in testRaceCondition()
|
D | FirstPocActivity.java | 46 SharedPreferences sh = getSharedPreferences(getString(R.string.sharedPreferences), in setSharedPreferenes()
|
D | PocMainActivity.java | 63 SharedPreferences sh = getSharedPreferences(getString(R.string.sharedPreferences), in onCreate()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39808/src/android/security/cts/CVE_2021_39808/ |
D | DeviceTest.java | 55 SharedPreferences sharedPreferences, String key) { in testService() 57 if (sharedPreferences.getInt(key, 0) == context in testService()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39704/src/android/security/cts/CVE_2021_39704/ |
D | DeviceTest.java | 58 SharedPreferences sharedPreferences, String key) { in testdeleteNotificationChannelGroup() 60 if (sharedPreferences.getInt(key, 0) == context in testdeleteNotificationChannelGroup()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20138/src/android/security/cts/CVE_2022_20138/ |
D | PocReceiver.java | 32 context.getString(R.string.sharedPreferences), Context.MODE_PRIVATE); in onReceive()
|
D | DeviceTest.java | 59 context.getString(R.string.sharedPreferences), Context.MODE_APPEND); in testCVE_2022_20138() 62 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, in testCVE_2022_20138()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20007/second-test-app/src/android/security/cts/CVE_2022_20007_second/ |
D | SecondPocActivity.java | 49 getString(R.string.sharedPreferences), Context.MODE_PRIVATE); in setSharedPreferenes()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39797/test-app/src/android/security/cts/CVE_2021_39797_test/ |
D | DeviceTest.java | 82 context.getString(R.string.sharedPreferences), Context.MODE_APPEND); in testTaskOverride() 87 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in testTaskOverride()
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | OwnerChangedBroadcastTest.java | 49 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in testOwnerChangedBroadcastReceived()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20353/src/android/security/cts/CVE_2022_20353/ |
D | PocActivity.java | 51 SharedPreferences sh = getSharedPreferences(getString(R.string.sharedPreferences), in sendTestResult()
|
D | DeviceTest.java | 103 mContext.getString(R.string.sharedPreferences), Context.MODE_APPEND); in testDefaultRingtonePreference() 108 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, in testDefaultRingtonePreference()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | SharedPreferencesTest.java | 353 (sharedPreferences, key) -> latch.countDown(); in testSharedPrefsChangeListenerIsCalledOnCommit() 372 (sharedPreferences, key) -> latch.countDown(); in testSharedPrefsChangeListenerIsCalledOnApply() 392 (sharedPreferences, key) -> { in testSharedPrefsChangeListenerIsCalledForClearOnCommit() 416 (sharedPreferences, key) -> { in testSharedPrefsChangeListenerIsCalledForClearOnApply()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0954/src/android/security/cts/CVE_2021_0954/ |
D | DeviceTest.java | 83 getStringRes(R.string.sharedPreferences), Context.MODE_PRIVATE); in testOverlayButtonPresence() 87 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, in testOverlayButtonPresence()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20223/src/android/security/cts/CVE_2022_20223/ |
D | PocBroadcastReceiver.java | 48 context.getString(R.string.sharedPreferences), Context.MODE_PRIVATE); in onReceive()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0487/src/android/security/cts/CVE_2021_0487/ |
D | DeviceTest.java | 99 mResources.getString(R.string.sharedPreferences), Context.MODE_APPEND); in testOverlayButtonPresence() 103 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, in testOverlayButtonPresence()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39626/src/android/security/cts/CVE_2021_39626/ |
D | DeviceTest.java | 111 mResources.getString(R.string.sharedPreferences), Context.MODE_APPEND); in testBtDiscoverable() 115 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, in testBtDiscoverable()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39706/src/android/security/cts/CVE_2021_39706/ |
D | PocActivity.java | 54 SharedPreferences sh = getSharedPreferences(getString(R.string.sharedPreferences), in credentialStorageReset()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39692/src/android/security/cts/CVE_2021_39692/ |
D | DeviceTest.java | 105 resources.getString(R.string.sharedPreferences), Context.MODE_APPEND); in testOverlayButtonPresence() 109 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in testOverlayButtonPresence()
|
D | PocActivity.java | 68 getSharedPreferences(getString(R.string.sharedPreferences), Context.MODE_PRIVATE); in setResult()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20115/src/android/security/cts/CVE_2022_20115/ |
D | DeviceTest.java | 131 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in testCellLocation() 133 if (sharedPreferences.getInt(key, 0) == mContext.getResources() in testCellLocation()
|
/cts/hostsidetests/calllog/app/src/android/provider/cts/contacts/testapp/ |
D | BootReceiver.java | 44 (sharedPreferences, key) -> { in waitForBootComplete() argument
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20116/src/android/security/cts/CVE_2022_20116/ |
D | PocService.java | 69 SharedPreferences sh = getSharedPreferences(getString(R.string.sharedPreferences), in showNotification()
|