HomeSort by relevance Sort by last modified time
    Searched refs:RINGTONE (Results 1 - 25 of 48) sorted by null

1 2

  /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;
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsHelper.java 147 } else if (Settings.System.RINGTONE.equals(name)
178 if (Settings.System.RINGTONE.equals(name)
181 if (Settings.System.RINGTONE.equals(name)) {
184 // Backup a null ringtone as silent on voice-capable devices
187 // Skip backup of ringtone on non-telephony devices.
203 * Sets the ringtone of type specified by the name.
205 * @param name should be Settings.System.RINGTONE or Settings.System.NOTIFICATION_SOUND.
206 * @param value can be a canonicalized uri or "_silent" to indicate a silent (null) ringtone.
222 final int ringtoneType = Settings.System.RINGTONE.equals(name)
SettingsProtoDumpUtil.java     [all...]
SettingsProvider.java 623 cacheRingtoneSetting = Settings.System.RINGTONE;
633 + "ringtone playback is available through android.media.Ringtone");
637 // Redirect cache to parent if ringtone setting is owned by profile parent
    [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
  /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/2.0/default/
PrimaryDevice.cpp 145 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. */
455 + Settings.System.RINGTONE);
610 "since ringtone setting didn't finish");
    [all...]
RingtoneManager.java 69 * results into a single cursor. It also provides a {@link Ringtone} for each
70 * ringtone. We generically call these sounds ringtones, however the
74 * To show a ringtone picker to the user, use the
77 * @see Ringtone
109 * Activity Action: Shows a ringtone picker.
122 * Given to the ringtone picker as a boolean. Whether to show an item for
128 "android.intent.extra.ringtone.SHOW_DEFAULT";
131 * Given to the ringtone picker as a boolean. Whether to show an item for
138 "android.intent.extra.ringtone.SHOW_SILENT";
141 * 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...]
  /frameworks/base/core/java/android/provider/
Settings.java     [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
HandleApiCalls.java 544 * <li>ringtone uri</li>
580 selection.append(" AND ").append(Alarm.RINGTONE).append("=?");
582 // If the intent explicitly specified a NULL ringtone, treat it as the default ringtone.
584 final Uri ringtone = getAlertFromIntent(intent, defaultRingtone); local
585 args.add(ringtone.toString());
  /hardware/interfaces/audio/2.0/vts/functional/
AudioPrimaryHidlHalTest.cpp     [all...]
  /packages/apps/Music/src/com/android/music/
MusicUtils.java     [all...]
  /external/robolectric/v1/lib/main/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/18/
android.jar 

Completed in 437 milliseconds

1 2