OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:notificationChannel
(Results
1 - 12
of
12
) sorted by null
/developers/build/prebuilts/gradle/WearNotifications/Shared/src/main/java/com/example/android/wearable/wear/common/util/
NotificationUtil.java
19
import android.app.
NotificationChannel
;
50
// Initializes
NotificationChannel
.
51
NotificationChannel
notificationChannel
=
52
new
NotificationChannel
(channelId, channelName, channelImportance);
53
notificationChannel
.setDescription(channelDescription);
54
notificationChannel
.enableVibration(channelEnableVibrate);
55
notificationChannel
.setLockscreenVisibility(channelLockscreenVisibility);
57
// Adds
NotificationChannel
to system. Attempting to create an existing notification
62
notificationManager.createNotificationChannel(
notificationChannel
);
[
all
...]
/developers/samples/android/wearable/wear/WearNotifications/Shared/src/main/java/com/example/android/wearable/wear/common/util/
NotificationUtil.java
19
import android.app.
NotificationChannel
;
50
// Initializes
NotificationChannel
.
51
NotificationChannel
notificationChannel
=
52
new
NotificationChannel
(channelId, channelName, channelImportance);
53
notificationChannel
.setDescription(channelDescription);
54
notificationChannel
.enableVibration(channelEnableVibrate);
55
notificationChannel
.setLockscreenVisibility(channelLockscreenVisibility);
57
// Adds
NotificationChannel
to system. Attempting to create an existing notification
62
notificationManager.createNotificationChannel(
notificationChannel
);
[
all
...]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
TestFeatures.java
34
public boolean
notificationChannel
= true;
92
return
notificationChannel
;
/cts/hostsidetests/media/app/MediaSessionTestHelper/src/android/media/app/media_session_test_helper/
MediaSessionTestHelperService.java
20
import android.app.
NotificationChannel
;
57
NotificationChannel
notificationChannel
= new
NotificationChannel
(NOTIFICATION_CHANNEL,
59
manager.createNotificationChannel(
notificationChannel
);
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
AbstractJobTest.java
66
mFeatures.
notificationChannel
= InstrumentationRegistry.getTargetContext()
FileOperationServiceTest.java
84
features.
notificationChannel
= InstrumentationRegistry.getTargetContext()
/packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPairingService.java
21
import android.app.
NotificationChannel
;
104
NotificationChannel
notificationChannel
= new
NotificationChannel
(
108
mgr.createNotificationChannel(
notificationChannel
);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationInfo.java
23
import android.app.
NotificationChannel
;
63
private List<
NotificationChannel
> mNotificationChannels;
64
private
NotificationChannel
mSingleNotificationChannel;
91
void onClick(View v,
NotificationChannel
channel, int appUid);
101
final List<
NotificationChannel
> notificationChannels,
149
.equals(
NotificationChannel
.DEFAULT_CHANNEL_ID) &&
163
final
NotificationChannel
notificationChannel
= mNotificationChannels.get(i);
165
if (!
notificationChannel
.isBlockableSystem()) {
292
mSingleNotificationChannel.lockFields(
NotificationChannel
.USER_LOCKED_IMPORTANCE)
[
all
...]
/frameworks/base/services/tests/notification/src/com/android/server/notification/
SnoozeHelperTest.java
27
import android.app.
NotificationChannel
;
305
final
NotificationChannel
notificationChannel
= new
NotificationChannel
(
309
System.currentTimeMillis()),
notificationChannel
);
/packages/apps/Nfc/src/com/android/nfc/beam/
BeamTransferManager.java
22
import android.app.
NotificationChannel
;
177
NotificationChannel
notificationChannel
= new
NotificationChannel
(
180
mNotificationManager.createNotificationChannel(
notificationChannel
);
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapService.java
37
import android.app.
NotificationChannel
;
777
NotificationChannel
notificationChannel
= new
NotificationChannel
(PBAP_NOTIFICATION_CHANNEL,
779
nm.createNotificationChannel(
notificationChannel
);
[
all
...]
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
SapServer.java
5
import android.app.
NotificationChannel
;
216
NotificationChannel
notificationChannel
= new
NotificationChannel
(SAP_NOTIFICATION_CHANNEL,
219
notificationManager.createNotificationChannel(
notificationChannel
);
[
all
...]
Completed in 4105 milliseconds