Home
last modified time | relevance | path

Searched refs:preferences (Results 1 – 6 of 6) sorted by relevance

/cts/libs/install/testapp/src/com/android/cts/install/lib/testapp/
DCrashingMainActivity.java37 SharedPreferences preferences = getSharedPreferences("prefs", Context.MODE_PRIVATE); in incrementCountAndBroadcast() local
38 SharedPreferences.Editor editor = preferences.edit(); in incrementCountAndBroadcast()
39 int count = preferences.getInt("crash_count", 0); in incrementCountAndBroadcast()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DCtsInteractiveActivity.java108 SharedPreferences preferences = in relaunchTest() local
110 String activityName = preferences.getString("ACTIVITY_NAME", null); in relaunchTest()
115 String displayMode = preferences.getString("DISPLAY_MODE", null); in relaunchTest()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothAdapterTest.java696 Bundle preferences = new Bundle(); in setPreferredAudioProfiles_getPreferredAudioProfiles() local
697 preferences.putInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY, BluetoothProfile.HEADSET); in setPreferredAudioProfiles_getPreferredAudioProfiles()
703 () -> mAdapter.setPreferredAudioProfiles(device, preferences)); in setPreferredAudioProfiles_getPreferredAudioProfiles()
706 preferences.putInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY, BluetoothProfile.HID_HOST); in setPreferredAudioProfiles_getPreferredAudioProfiles()
708 () -> mAdapter.setPreferredAudioProfiles(device, preferences)); in setPreferredAudioProfiles_getPreferredAudioProfiles()
710 preferences.putInt(BluetoothAdapter.AUDIO_MODE_OUTPUT_ONLY, BluetoothProfile.LE_AUDIO); in setPreferredAudioProfiles_getPreferredAudioProfiles()
711 preferences.putInt(BluetoothAdapter.AUDIO_MODE_DUPLEX, BluetoothProfile.A2DP); in setPreferredAudioProfiles_getPreferredAudioProfiles()
713 () -> mAdapter.setPreferredAudioProfiles(device, preferences)); in setPreferredAudioProfiles_getPreferredAudioProfiles()
715 preferences.putInt(BluetoothAdapter.AUDIO_MODE_DUPLEX, BluetoothProfile.GATT); in setPreferredAudioProfiles_getPreferredAudioProfiles()
717 () -> mAdapter.setPreferredAudioProfiles(device, preferences)); in setPreferredAudioProfiles_getPreferredAudioProfiles()
[all …]
/cts/tests/tests/preference/src/android/preference/cts/
DFragmentPreferences.java40 addPreferencesFromResource(R.xml.preferences); in onCreate()
DPreferenceWithHeaders.java73 addPreferencesFromResource(R.xml.preferences); in onCreate()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...