/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
EditorUiUtilsTest.java | 47 private static final String RINGTONE = "content://media/external/audio/media/31"; 145 assertEquals(RINGTONE, EditorUiUtils.getRingtoneStringFromUri(Uri.parse(RINGTONE), 154 assertEquals(RINGTONE, EditorUiUtils.getRingtoneStringFromUri(Uri.parse(RINGTONE), 163 assertEquals(Uri.parse(RINGTONE), EditorUiUtils.getRingtoneUriFromString(RINGTONE, 172 assertEquals(Uri.parse(RINGTONE), EditorUiUtils.getRingtoneUriFromString(RINGTONE,
|
/frameworks/base/drm/java/android/drm/ |
DrmStore.java | 173 * The rights-protected content can be set as a ringtone. 175 public static final int RINGTONE = 0x02; 203 case RINGTONE:
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
ClockContract.java | 57 * This string is used to indicate no ringtone. 62 * This string is used to indicate no ringtone. 82 * Uri.EMPTY.toString() means no ringtone. 86 String RINGTONE = "ringtone";
|
ClockDatabaseHelper.java | 82 ClockContract.AlarmsColumns.RINGTONE + " TEXT, " + 97 ClockContract.InstancesColumns.RINGTONE + " TEXT, " + 125 ClockContract.AlarmsColumns.RINGTONE + cs + 220 rowId = db.insert(ALARMS_TABLE_NAME, ClockContract.AlarmsColumns.RINGTONE, values);
|
Alarm.java | 61 RINGTONE, 73 ClockDatabaseHelper.ALARMS_TABLE_NAME + "." + RINGTONE, 128 values.putNull(RINGTONE); 130 values.put(RINGTONE, alarm.alert.toString()); 174 // Prime the ringtone title cache for later access. Most alarms will refer to 322 // Should we be saving this with the current ringtone or leave it null 323 // so it changes when user changes default ringtone?
|
AlarmInstance.java | 67 RINGTONE, 106 values.putNull(RINGTONE); 108 values.put(RINGTONE, instance.mRingtone.toString()); 348 // Should we be saving this with the current ringtone or leave it null 349 // so it changes when user changes default ringtone?
|
ClockProvider.java | 74 sAlarmsWithInstancesProjection.put(ALARMS_TABLE_NAME + "." + AlarmsColumns.RINGTONE, 75 ALARMS_TABLE_NAME + "." + AlarmsColumns.RINGTONE);
|
/frameworks/av/include/drm/ |
drm_framework_common.h | 168 static const int RINGTONE = 0x02;
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
SoundSettingsTest.java | 184 * Rather than verifying every ringtone, verify the ones least likely to change 185 * (None and Hangouts) and an arbitrary one from the ringtone pool. 190 mHelper.clickSetting("Phone ringtone"); 192 Settings.System.RINGTONE); 199 mHelper.clickSetting("Phone ringtone"); 200 verifyRingtone(new RingtoneSetting("Hangouts Call", "31"), Settings.System.RINGTONE); 206 mHelper.clickSetting("Phone ringtone"); 207 String ringtone = ringtoneSounds.get(mDevice.getProductName()).toString(); local 209 verifyRingtone(new RingtoneSetting(ringtone, ringtoneSettingValue), 210 Settings.System.RINGTONE); [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
RingtoneSyncTest.java | 46 * Checks that the ringtone set in the settings provider and the ringtone retrieved from 49 * Used to test that the ringtone sync setting is enabled by default, and that managed profile 58 Settings.System.RINGTONE); 79 * Tests that setting a work ringtone disables Settings.Secure.SYNC_PARENT_SOUNDS. 84 // Make sure we have the rights we need to set a new ringtone. 102 // Manually disabling sync again, without changing settings, should put the ringtone uri
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsHelper.java | 157 } else if (Settings.System.RINGTONE.equals(name) 189 if (Settings.System.RINGTONE.equals(name) 192 if (Settings.System.RINGTONE.equals(name)) { 195 // Backup a null ringtone as silent on voice-capable devices 198 // Skip backup of ringtone on non-telephony devices. 214 * Sets the ringtone of type specified by the name. 216 * @param name should be Settings.System.RINGTONE or Settings.System.NOTIFICATION_SOUND. 217 * @param value can be a canonicalized uri or "_silent" to indicate a silent (null) ringtone. 233 final int ringtoneType = Settings.System.RINGTONE.equals(name)
|
SettingsProtoDumpUtil.java | [all...] |
SettingsProvider.java | 665 cacheRingtoneSetting = Settings.System.RINGTONE; 675 + "ringtone playback is available through android.media.Ringtone"); 679 // Redirect cache to parent if ringtone setting is owned by profile parent [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
RingtoneFactory.java | 24 import android.media.Ringtone; 40 * Uses the incoming {@link Call}'s ringtone URI (obtained by the Contact Lookup) to obtain a 41 * {@link Ringtone} from the {@link RingtoneManager} that can be played by the system during an 42 * incoming call. If the ringtone URI is null, use the default Ringtone for the active user. 55 public Ringtone getRingtone(Call incomingCall) { 56 // Use the default ringtone of the work profile if the contact is a work profile contact. 61 Ringtone ringtone = null; local 64 // Ringtone URI is explicitly specified. First, try to create a Ringtone with that [all...] |
/hardware/interfaces/audio/core/all-versions/default/include/core/all-versions/default/ |
PrimaryDevice.impl.h | 176 case AudioMode::RINGTONE:
|
/frameworks/base/media/java/android/media/ |
MediaScanner.java | 343 /** Whether the scanner has set a default sound for the ringer ringtone. */ 345 /** Whether the scanner has set a default sound for the notification ringtone. */ 347 /** Whether the scanner has set a default sound for the alarm ringtone. */ 349 /** The filename for the default sound for the ringer ringtone. */ 351 /** The filename for the default sound for the notification ringtone. */ 353 /** The filename for the default sound for the alarm ringtone. */ 454 + Settings.System.RINGTONE); 611 "since ringtone setting didn't finish"); [all...] |
RingtoneManager.java | 66 * results into a single cursor. It also provides a {@link Ringtone} for each 67 * ringtone. We generically call these sounds ringtones, however the 71 * To show a ringtone picker to the user, use the 74 * @see Ringtone 106 * Activity Action: Shows a ringtone picker. 119 * Given to the ringtone picker as a boolean. Whether to show an item for 125 "android.intent.extra.ringtone.SHOW_DEFAULT"; 128 * Given to the ringtone picker as a boolean. Whether to show an item for 135 "android.intent.extra.ringtone.SHOW_SILENT"; 138 * Given to the ringtone picker as a boolean. Whether to include DRM ringtones [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 278 case Action::RINGTONE:
|
/hardware/interfaces/audio/common/2.0/ |
types.hal | 484 RINGTONE = 1, [all...] |
/hardware/interfaces/audio/common/4.0/ |
types.hal | 492 RINGTONE = 1, [all...] |
/frameworks/base/core/java/android/provider/ |
Settings.java | [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
HandleApiCalls.java | 589 * <li>ringtone uri</li> 625 selection.append(" AND ").append(Alarm.RINGTONE).append("=?"); 627 // If the intent explicitly specified a NULL ringtone, treat it as the default ringtone. 629 final Uri ringtone = getAlertFromIntent(intent, defaultRingtone); local 630 args.add(ringtone.toString());
|
/hardware/interfaces/audio/core/2.0/vts/functional/ |
AudioPrimaryHidlHalTest.cpp | [all...] |
/hardware/interfaces/audio/core/4.0/vts/functional/ |
AudioPrimaryHidlHalTest.cpp | [all...] |
/external/robolectric/v1/lib/main/ |
android.jar | |