Home
last modified time | relevance | path

Searched refs:same (Results 1 – 25 of 107) sorted by relevance

12345

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/utils/
H A DPriorityDumpTest.java107 verify(mDumper).dump(same(mFd), same(mPw), eq(new String[] { in testInvalidPriorityExtraArgs()
139 verify(mDumper).dumpCritical(same(mFd), same(mPw), eq(EMPTY_ARGS), in testCriticalNoExtraArgs()
148 verify(mDumper).dumpCritical(same(mFd), same(mPw), eq(new String[] { in testCriticalExtraArgs()
158 verify(mDumper).dumpCritical(same(mFd), same(mPw), eq(new String[] { in testCriticalExtraArgsInMiddle()
186 verify(mDumper).dumpHigh(same(mFd), same(mPw), eq(new String[] { in testHighExtraArgs()
204 verify(mDumper).dumpNormal(same(mFd), same(mPw), eq(new String[]{ in testNormalExtraArgs()
218 verify(mDumper).dumpNormal(same(mFd), same(mPw), in testProtoArgsWithPriorityArgs()
225 verify(mDumper).dumpNormal(same(mFd), same(mPw), in testProtoArgsWithPriorityArgsReverseOrder()
232 verify(mDumper).dump(same(mFd), same(mPw), in testProtoArgsInMiddle()
239 verify(mDumper).dump(same(mFd), same(mPw), in testProtoArgsAtEnd()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/health/
H A DHealthServiceWrapperTest.java197 verify(mRegCallbackAidl, times(1)).onRegistration(same(null), same(mMockedAidlHal));
199 .onRegistration(same(mMockedAidlHal), same(mMockedAidlHal));
201 .onRegistration(same(mMockedAidlHal), same(mMockedAidlHal2));
211 verify(mRegCallbackAidl, times(1)).onRegistration(same(null), same(mMockedAidlHal));
213 .onRegistration(same(mMockedAidlHal), same(mMockedAidlHal));
215 .onRegistration(same(mMockedAidlHal), same(mMockedAidlHal2));
226 verify(mCallback, times(1)).onRegistration(same(null), same(mMockedHal), eq(VENDOR));
227 verify(mCallback, never()).onRegistration(same(mMockedHal), same(mMockedHal), anyString());
228 verify(mCallback, times(1)).onRegistration(same(mMockedHal), same(mMockedHal2), eq(VENDOR));
/aosp14/frameworks/base/core/java/com/android/server/
H A DDropboxLogTags.logtags3 # The java package name happens to be the same as frameworks/base/services/core
5 # be EventLogTags.logtags because it generates a class with the same name.
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
H A DFaceEnrollClientTest.java26 import static org.mockito.Mockito.same;
120 order.verify(mHal).enrollWithContext(any(), anyByte(), any(), any(), same(aidlContext)); in enrollWithContext_v2()
140 verify(mHal).onContextChanged(same(opContext)); in notifyHalWhenContextChanges()
143 verify(mBiometricContext).unsubscribe(same(mOperationContextCaptor.getValue())); in notifyHalWhenContextChanges()
H A DFaceDetectClientTest.java25 import static org.mockito.Mockito.same;
126 order.verify(mHal).detectInteractionWithContext(same(aidlContext)); in detectWithContext_v2()
150 verify(mHal).onContextChanged(same(opContext)); in notifyHalWhenContextChanges()
153 verify(mBiometricContext).unsubscribe(same(mOperationContextCaptor.getValue())); in notifyHalWhenContextChanges()
H A DFaceAuthenticationClientTest.java32 import static org.mockito.Mockito.same;
150 order.verify(mHal).authenticateWithContext(eq(OP_ID), same(aidlContext)); in authWithContext_v2()
196 verify(mHal).onContextChanged(same(opContext)); in notifyHalWhenContextChanges()
199 verify(mBiometricContext).unsubscribe(same(mOperationContextCaptor.getValue())); in notifyHalWhenContextChanges()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
H A DFingerprintDetectClientTest.java26 import static org.mockito.Mockito.same;
122 order.verify(mHal).detectInteractionWithContext(same(aidlContext)); in detectNoContext_v2()
145 verify(mHal).onContextChanged(same(opContext)); in notifyHalWhenContextChanges()
148 verify(mBiometricContext).unsubscribe(same(mOperationContextCaptor.getValue())); in notifyHalWhenContextChanges()
H A DFingerprintEnrollClientTest.java26 import static org.mockito.Mockito.same;
144 same(mOperationContextCaptor.getValue().toAidlContext())); in enrollWithContext_v2()
245 verify(mHal).onContextChanged(same(opContext)); in notifyHalWhenContextChanges()
248 verify(mBiometricContext).unsubscribe(same(mOperationContextCaptor.getValue())); in notifyHalWhenContextChanges()
H A DFingerprintAuthenticationClientTest.java32 import static org.mockito.Mockito.same;
173 order.verify(mHal).authenticateWithContext(eq(OP_ID), same(aidlContext)); in authWithContext_v2()
343 verify(mHal).onContextChanged(same(opContext)); in notifyHalWhenContextChanges()
346 verify(mBiometricContext).unsubscribe(same(mOperationContextCaptor.getValue())); in notifyHalWhenContextChanges()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DBiometricDisplayListenerTest.java24 import static org.mockito.ArgumentMatchers.same;
92 verify(mDisplayManager).registerDisplayListener(any(), same(mHandler), in registersDisplayListener_whenEnabled()
117 same(mHandler), eq(DisplayManager.EVENT_FLAG_DISPLAY_CHANGED)); in callsOnChanged_forSideFingerprint_whenAnythingDisplayChanges()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
H A DWatchdogRollbackLoggerTest.java24 import static org.mockito.ArgumentMatchers.same;
134 when(mMockPm.getPackageInfo(same(LOGGING_PARENT_VALUE), anyInt())).thenThrow( in testLogPackageNameNotFound()
156 when(mMockPm.getPackageInfo(same(failingPackage), anyInt())).thenReturn(packageInfo); in testApexdLoggingCallsWithParents()
176 when(mMockPm.getPackageInfo(same(failingPackage), anyInt())).thenReturn(packageInfo); in testApexdLoggingCallsWithNoParents()
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dbroadcasts.md9 …ispatch situation that occurs whenever many classes are filtering for the same intent action. In p…
29 * Broadcasts will be dispatched on the main thread (same as `system_server`) by default but a `Hand…
83 All subscriptions are done with the same overloaded method. As specified in the doc, in order to pa…
85 In the same way as with `Context`, subscribing the same `BroadcastReceiver` for the same user using…
89 …he user can be specified. This allows using separate subscriptions of the same receiver for differ…
/aosp14/frameworks/base/services/core/java/com/android/server/timedetector/
H A DOWNERS2 # This code is maintained by the same OWNERS as timezonedetector.
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DBLASTSync.md17 Guarantee 1: If you make a set of changes to syncable state, at the same time that you begin a sync…
21 Here "at the same time" means in the same critical section (while holding the WM lock)
85 By the same argument it can't be sent too early! Since we only send seqIds we receive from the serv…
102 because relayoutWindow needed to acquire the same lock and relayoutWindow was a necessary part of c…
106 at the same time as the state? We solve this by pushing all client communication through a handler …
135 the same thread, they will arrive in SF in order, and SF will place them in the same
161 In normal operation, getSyncTransaction and getPendingTransaction both refer to the same
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DSafetyControllerTest.kt36 import org.mockito.ArgumentMatchers.same
87 same(controller.mPermControllerChangeReceiver), filter.capture())
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
H A DKeyguardQuickAffordanceInteractorParameterizedTest.kt70 import org.mockito.ArgumentMatchers.same
366 same(animationController),
373 same(animationController),
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/freeform/
H A DFreeformTaskTransitionObserverTest.java26 import static org.mockito.Mockito.same;
82 same(mTransitionObserver)); in setUp()
91 verify(mTransitions).registerObserver(same(mTransitionObserver)); in testRegistersObserverAtInit()
/aosp14/frameworks/base/services/core/java/com/android/server/timezonedetector/
H A DOWNERS3 # ultimately referenced by other OWNERS files for components maintained by the same team.
/aosp14/frameworks/base/core/proto/android/service/
H A Dusb.proto125 // all mice of the same model would have the same ID.
411 // All devices of the same model have the same name
420 // All accessories of the same model have the same description
/aosp14/frameworks/base/cmds/app_process/
H A DAndroid.bp80 …// // the same module). Using the same module also works around an issue with make: binaries
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
H A DDisplayStateRepositoryTest.kt49 import org.mockito.ArgumentMatchers.same
128 same(handler),
/aosp14/system/core/rootdir/
H A Dasan_extract.sh74 bzip2 -c -d $SRC | tar -x -f - --no-same-owner -C / || exit 1
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DAppLocaleCollector.java329 boolean same = false; in filterSameLanguageAndCountry()
335 same = true; in filterSameLanguageAndCountry()
339 if (!same) { in filterSameLanguageAndCountry()
/aosp14/frameworks/base/core/proto/android/app/
H A Dtime_zone_detector.proto78 // several objects (i.e. so the same time zone ID is always mapped to the same
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DInputDeviceDelegateTest.java24 import static org.mockito.ArgumentMatchers.same;
287 verify(mIInputManagerMock).vibrateCombined(eq(1), same(SYNCED_EFFECT), any()); in vibrateIfAvailable_withInputDevices_returnsTrueAndVibratesAllDevices()
288 verify(mIInputManagerMock).vibrateCombined(eq(2), same(SYNCED_EFFECT), any()); in vibrateIfAvailable_withInputDevices_returnsTrueAndVibratesAllDevices()

12345