/aosp14/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | NotificationTestList.java | 124 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 D | FrameMetricsReporterTests.cpp | 43 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 D | StylusUsiPowerUiTest.kt | 116 .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 D | DeviceStateNotificationControllerTest.java | 136 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 D | com_android_server_fingerprint_FingerprintService.cpp | 46 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 D | SoundManager.cpp | 94 void SoundManager::notify(SoundPoolEvent event) in notify() function in android::soundpool::SoundManager 96 mCallbackHandler.notify(event); in notify()
|
H A D | SoundManager.h | 64 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 D | RemoteBugreportManager.java | 216 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 D | CsdWarningDialogTest.java | 72 verify(mNotificationManager).notify( in create1XCsdDialogAndWait_sendsNotification() 84 verify(mNotificationManager).notify( in create5XCsdDiSalogAndWait_willSendNotification()
|
/aosp14/frameworks/base/core/java/com/android/server/net/ |
H A D | NetworkPinner.java | 99 sLock.notify(); in onAvailable() 112 sLock.notify(); in onLost()
|
/aosp14/frameworks/base/media/jni/ |
H A D | android_media_MediaDrm.h | 85 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 D | KeyguardSliceProvider.java | 514 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 D | VpnStatusObserver.kt | 77 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 D | NekoService.java | 88 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 D | PersistentDataStore.java | 429 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 D | CustomSurfaceView.java | 177 mSurfaceLock.notify(); in surfaceChanged() 187 mSurfaceLock.notify(); in surfaceDestroyed()
|
/aosp14/frameworks/base/tests/testables/src/android/testing/ |
H A D | TestableInstrumentation.java | 94 notify(); in run() 117 notify(); in run()
|
/aosp14/frameworks/base/core/java/com/android/internal/midi/ |
H A D | EventScheduler.java | 166 lock.notify(); in add() 259 lock.notify(); in close()
|
/aosp14/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
H A D | CustomSurfaceView.java | 231 mSurfaceLock.notify(); in surfaceChanged() 240 mSurfaceLock.notify(); in surfaceDestroyed()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/ui/ |
H A D | TaskSwitcherNotificationCoordinatorTest.kt | 98 verify(notificationManager).notify(any(), any(), notification.capture()) 121 verify(notificationManager).notify(any(), idNotify.capture(), any())
|
/aosp14/frameworks/base/libs/hwui/ |
H A D | FrameMetricsObserver.h | 26 virtual void notify(const int64_t* buffer) = 0;
|
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaPlayerStateUnitTestTemplate.java | 124 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 D | PolicyWarningUIControllerTest.java | 124 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 D | KernelCpuUidTimeReader.java | 495 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 D | PersisterQueue.java | 116 notify(); in addItem() 218 notify(); // May need to wake up flush(). in processNextItem()
|