Home
last modified time | relevance | path

Searched refs:notify (Results 1 – 25 of 156) sorted by relevance

1234567

/aosp14/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java124 mNM.notify(7001, n);
456 mNM.notify(1, n);
483 mNM.notify(1, n);
501 mNM.notify(1, n);
516 mNM.notify(1, n);
568 mNM.notify(1, n);
581 mNM.notify(1, n);
594 mNM.notify(1, n);
608 mNM.notify(1, n);
622 mNM.notify(1, n);
[all …]
/aosp14/frameworks/base/libs/hwui/tests/unit/
H A DFrameMetricsReporterTests.cpp43 EXPECT_CALL(*observer, notify).Times(0); in TEST()
78 EXPECT_CALL(*observer, notify).Times(1); in TEST()
82 EXPECT_CALL(*observer, notify).Times(0); in TEST()
99 EXPECT_CALL(*observer, notify).Times(0); in TEST()
103 EXPECT_CALL(*observer, notify).Times(1); in TEST()
180 EXPECT_CALL(*observer, notify).Times(1); in TEST()
185 EXPECT_CALL(*observer, notify).Times(0); in TEST()
204 EXPECT_CALL(*observer1, notify).Times(1); in TEST()
205 EXPECT_CALL(*observer2, notify).Times(0); in TEST()
208 EXPECT_CALL(*observer1, notify).Times(1); in TEST()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/stylus/
H A DStylusUsiPowerUiTest.kt116 .notify(eq(R.string.stylus_battery_low_percentage), any())
135 .notify(eq(R.string.stylus_battery_low_percentage), any())
145 .notify(eq(R.string.stylus_battery_low_percentage), any())
157 .notify(eq(R.string.stylus_battery_low_percentage), notificationCaptor.capture())
177 .notify(eq(R.string.stylus_battery_low_percentage), any())
180 .notify(eq(R.string.stylus_battery_low_percentage), any())
201 .notify(eq(R.string.stylus_battery_low_percentage), any())
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
H A DDeviceStateNotificationControllerTest.java136 verify(mNotificationManager).notify( in test_activeNotification()
166 verify(mNotificationManager).notify( in test_powerSaveNotification()
181 verify(mNotificationManager).notify( in test_powerSaveNotification()
202 verify(mNotificationManager).notify( in test_thermalNotification()
217 verify(mNotificationManager).notify( in test_thermalNotification()
238 verify(mNotificationManager, Mockito.never()).notify( in test_deviceStateWithoutNotification()
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_fingerprint_FingerprintService.cpp46 jmethodID notify; member
67 env->CallVoidMethod(gCallback, gFingerprintServiceClassInfo.notify, type, arg1, arg2, arg3); in handleMessage()
239 if (gContext.device->notify != hal_notify_callback) { in nativeOpenHal()
240 ALOGE("NOTIFY not set properly: %p != %p", gContext.device->notify, hal_notify_callback); in nativeOpenHal()
274 gFingerprintServiceClassInfo.notify = in register_android_server_fingerprint_FingerprintService()
/aosp14/frameworks/base/media/jni/soundpool/
H A DSoundManager.cpp94 void SoundManager::notify(SoundPoolEvent event) in notify() function in android::soundpool::SoundManager
96 mCallbackHandler.notify(event); in notify()
H A DSoundManager.h64 void notify(SoundPoolEvent event);
80 void notify(SoundPoolEvent event) const in notify() function
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DRemoteBugreportManager.java216 notify(NOTIFICATION_BUGREPORT_STARTED); in requestBugreport()
263 notify(NOTIFICATION_BUGREPORT_FINISHED_NOT_ACCEPTED); in onBugreportFinished()
288 notify(NOTIFICATION_BUGREPORT_ACCEPTED_NOT_FINISHED); in onBugreportSharingAccepted()
337 notify(NOTIFICATION_BUGREPORT_FINISHED_NOT_ACCEPTED); in checkForPendingBugreportAfterBoot()
340 private void notify(@RemoteBugreportNotificationType int type) { in notify() method in RemoteBugreportManager
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
H A DCsdWarningDialogTest.java72 verify(mNotificationManager).notify( in create1XCsdDialogAndWait_sendsNotification()
84 verify(mNotificationManager).notify( in create5XCsdDiSalogAndWait_willSendNotification()
/aosp14/frameworks/base/core/java/com/android/server/net/
H A DNetworkPinner.java99 sLock.notify(); in onAvailable()
112 sLock.notify(); in onLost()
/aosp14/frameworks/base/media/jni/
H A Dandroid_media_MediaDrm.h85 virtual void notify(DrmPlugin::EventType eventType, int extra,
135 void notify(DrmPlugin::EventType, int extra, const ListenerArgs *args);
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardSliceProvider.java514 final boolean notify; in onDozingChanged()
518 notify = neededMedia != needsMediaLocked(); in onDozingChanged()
520 if (notify) { in onDozingChanged()
527 final boolean notify; in onStateChanged()
531 notify = needsMedia != needsMediaLocked(); in onStateChanged()
533 if (notify) { in onStateChanged()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DVpnStatusObserver.kt77 private fun notifyVpnConnected() = notificationManager.notify(
87 notify(NOTIFICATION_TAG, SystemMessageProto.SystemMessage.NOTE_VPN_DISCONNECTED,
/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DNekoService.java88 noman.notify(DEBUG_NOTIFICATION, builder.build()); in onStartJob()
129 noman.notify(cat.getShortcutId(), CAT_NOTIFICATION, builder.build()); in notifyCat()
176 noman.notify(DEBUG_NOTIFICATION, new Notification.Builder(context) in registerJob()
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/
H A DPersistentDataStore.java429 final boolean notify = readBooleanAttribute(parser, XML_ATTR_NOTIFY_DEVICE_NEARBY); in readAssociationV0()
434 /* managedByCompanionApp */ false, notify, /* revoked */ false, timeApproved, in readAssociationV0()
463 final boolean notify = readBooleanAttribute(parser, XML_ATTR_NOTIFY_DEVICE_NEARBY); in readAssociationV1()
472 appPackage, macAddress, displayName, profile, selfManaged, notify, revoked, in readAssociationV1()
570 boolean notify, boolean revoked, long timeApproved, long lastTimeConnected, in createAssociationInfoNoThrow() argument
577 displayName, profile, null, selfManaged, notify, revoked, in createAssociationInfoNoThrow()
/aosp14/frameworks/base/tests/GamePerformance/src/android/gameperformance/
H A DCustomSurfaceView.java177 mSurfaceLock.notify(); in surfaceChanged()
187 mSurfaceLock.notify(); in surfaceDestroyed()
/aosp14/frameworks/base/tests/testables/src/android/testing/
H A DTestableInstrumentation.java94 notify(); in run()
117 notify(); in run()
/aosp14/frameworks/base/core/java/com/android/internal/midi/
H A DEventScheduler.java166 lock.notify(); in add()
259 lock.notify(); in close()
/aosp14/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DCustomSurfaceView.java231 mSurfaceLock.notify(); in surfaceChanged()
240 mSurfaceLock.notify(); in surfaceDestroyed()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/ui/
H A DTaskSwitcherNotificationCoordinatorTest.kt98 verify(notificationManager).notify(any(), any(), notification.capture())
121 verify(notificationManager).notify(any(), idNotify.capture(), any())
/aosp14/frameworks/base/libs/hwui/
H A DFrameMetricsObserver.h26 virtual void notify(const int64_t* buffer) = 0;
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerStateUnitTestTemplate.java124 lock.notify(); in initializeMessageLooper()
136 lock.notify(); in initializeMessageLooper()
142 lock.notify(); in initializeMessageLooper()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DPolicyWarningUIControllerTest.java124 verify(mNotificationManager).notify(eq(TEST_COMPONENT_NAME.flattenToShortString()), in receiveActionSendNotification_isNonA11yCategoryService_sendNotification()
138 verify(mNotificationManager, never()).notify(eq(TEST_COMPONENT_NAME.flattenToShortString()), in receiveActionSendNotification_sendNotificationDisabled_doNothing()
157 verify(mNotificationManager, never()).notify(eq(TEST_COMPONENT_NAME.flattenToShortString()), in receiveActionSendNotificationWithNotifiedService_doNothing()
/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DKernelCpuUidTimeReader.java495 boolean notify = false; in processUidDelta()
504 notify |= mDeltaTimes[i] > 0; in processUidDelta()
506 if (notify) { in processUidDelta()
851 boolean notify = false; in processUidDelta()
859 notify |= mDeltaTime[i] > 0; in processUidDelta()
861 if (notify) { in processUidDelta()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DPersisterQueue.java116 notify(); in addItem()
218 notify(); // May need to wake up flush(). in processNextItem()

1234567