/cts/tests/signature/tests/src/android/signature/cts/tests/ |
D | AnnotationCheckerTest.java | 86 try (ExpectFailure observer = new ExpectFailure(FailureType.EXTRA_CONSTRUCTOR)) { in testDetectUnauthorizedConstructorApi() 97 try (ExpectFailure observer = new ExpectFailure(FailureType.EXTRA_CONSTRUCTOR)) { in testDetectUnauthorizedConstructorApi() 116 try (ExpectFailure observer = new ExpectFailure(FailureType.EXTRA_METHOD)) { in testDetectUnauthorizedMethodApi() 127 try (ExpectFailure observer = new ExpectFailure(FailureType.EXTRA_METHOD)) { in testDetectUnauthorizedMethodApi() 144 try (ExpectFailure observer = new ExpectFailure(FailureType.EXTRA_FIELD)) { in testDetectUnauthorizedFieldApi() 155 try (ExpectFailure observer = new ExpectFailure(FailureType.EXTRA_FIELD)) { in testDetectUnauthorizedFieldApi() 172 try (ExpectFailure observer = new ExpectFailure(FailureType.EXTRA_CLASS)) { in testDetectUnauthorizedClassApi() 183 try (ExpectFailure observer = new ExpectFailure(FailureType.EXTRA_CLASS)) { in testDetectUnauthorizedClassApi() 241 try (ExpectFailure observer = new ExpectFailure(FailureType.MISSING_ANNOTATION)) { in testDetectMissingAnnotation() 253 try (ExpectFailure observer = new ExpectFailure(FailureType.MISSING_ANNOTATION)) { in testDetectMissingAnnotation() [all …]
|
D | ApiComplianceCheckerTest.java | 73 try (ExpectFailure observer = new ExpectFailure(FailureType.MISSING_CLASS)) { in testMissingClass() 327 try (ExpectFailure observer = new ExpectFailure(FailureType.MISMATCH_FIELD)) { in testFieldValueChanged() 413 try (ExpectFailure observer = new ExpectFailure(FailureType.MISMATCH_CLASS)) { in testRemovingFinalFromAClass() 436 try (ExpectFailure observer = new ExpectFailure(FailureType.MISMATCH_CLASS)) { in testRemovingFinalFromAClassSwitchToAbstract() 465 try (ExpectFailure observer = new ExpectFailure(FailureType.MISMATCH_CLASS)) { in testRemovingFinalFromAClassWithCtorSwitchToAbstract_PreviousApi() 526 try (ExpectFailure observer = new ExpectFailure(FailureType.MISMATCH_CLASS)) { in testRemovingAbstractFromAClass() 553 try (ExpectFailure observer = new ExpectFailure(FailureType.MISMATCH_CLASS)) { in testAddingAbstractToAClass() 565 try (ExpectFailure observer = new ExpectFailure(FailureType.MISMATCH_CLASS)) { in testAddingFinalToAClass() 594 try (ExpectFailure observer = new ExpectFailure(FailureType.MISMATCH_CLASS)) { in testAddingFinalToAClassWithCtor_PreviousApi() 609 try (ExpectFailure observer = new ExpectFailure(FailureType.MISMATCH_CLASS)) { in testAddingStaticToInnerClass() [all …]
|
D | ExpectedFailuresFilterAnnotationCheckerTest.java | 48 try (NoFailures observer = new NoFailures()) { in testIgnoreExpectedFailures_TestPasses() 73 try (ExpectFailure observer = new ExpectFailure(FailureType.MISSING_ANNOTATION)) { in testIgnoreExpectedFailures_TestStillFails()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | AttachedSurfaceControlSyncTest.java | 161 ViewTreeObserver observer = getViewTreeObserver(); in onAttachedToWindow() local 168 ViewTreeObserver observer = getViewTreeObserver(); in onDetachedFromWindow() local 183 ViewTreeObserver observer = getViewTreeObserver(); in onAttachedToWindow() local 190 ViewTreeObserver observer = getViewTreeObserver(); in onDetachedFromWindow() local
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | GlobalSearchSessionCtsTestBase.java | 933 TestObserverCallback observer = new TestObserverCallback(); in testAddObserver() local 980 mGlobalSearchSession.unregisterObserverCallback(mContext.getPackageName(), observer); in testAddObserver() local 1400 TestObserverCallback observer = new TestObserverCallback(); in testRegisterObserver_sameCallback_differentSpecs() local 1424 observer); in testRegisterObserver_sameCallback_differentSpecs() local 1458 mGlobalSearchSession.unregisterObserverCallback(mContext.getPackageName(), observer); in testRegisterObserver_sameCallback_differentSpecs() local 1708 TestObserverCallback observer = new TestObserverCallback(); in testAddObserver_schemaChange_added() local 1713 observer); in testAddObserver_schemaChange_added() local 1754 mGlobalSearchSession.unregisterObserverCallback(mContext.getPackageName(), observer); in testAddObserver_schemaChange_added() local 1775 TestObserverCallback observer = new TestObserverCallback(); in testAddObserver_schemaChange_removed() local 1780 observer); in testAddObserver_schemaChange_removed() local [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsMmTelManagerTest.java | 233 ContentObserver observer = createObserver(callingUri, contentObservedLatch); in testAdvancedCallingSetting() local 265 ContentObserver observer = createObserver(callingUri, contentObservedLatch); in testVtSetting() local 300 ContentObserver observer = createObserver(callingUri, contentObservedLatch); in testVoWiFiSetting() local 337 ContentObserver observer = createObserver(callingUri, contentObservedLatch); in testCrossSIMSetting() local 376 ContentObserver observer = createObserver(callingUri, contentObservedLatch); in testVoWiFiRoamingSetting() local 441 ContentObserver observer = createObserver(callingUri, contentObservedLatch); in testVoWiFiModeSetting() local 477 ContentObserver observer = createObserver(callingUri, contentObservedLatch); in testVoWiFiRoamingModeSetting() local 540 ContentObserver observer = createObserver(callingUri, contentObservedLatch); in testVoWiFiRoamingModeSettingUsingNonTerrestrialNetwork() local 765 ContentObserver observer = new ContentObserver(sHandler) { in createObserver() local 777 private void waitForLatch(CountDownLatch latch, ContentObserver observer) { in waitForLatch()
|
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
D | AccessoryAttachmentHandler.java | 39 static void addObserver(@NonNull AccessoryAttachmentObserver observer) { in addObserver() 50 static void removeObserver(@NonNull AccessoryAttachmentObserver observer) { in removeObserver()
|
D | TestCompanion.java | 41 TestCompanion(@NonNull Context context, @NonNull TestObserver observer) { in TestCompanion() 144 TestHandler(@NonNull TestObserver observer) { in TestHandler()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/ |
D | AccessoryAttachmentHandler.java | 39 static void addObserver(@NonNull AccessoryAttachmentObserver observer) { in addObserver() 50 static void removeObserver(@NonNull AccessoryAttachmentObserver observer) { in removeObserver()
|
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/external/ |
D | GlobalSearchSessionShim.java | 162 @NonNull ObserverCallback observer) in registerObserverCallback() 187 @NonNull String targetPackageName, @NonNull ObserverCallback observer) in unregisterObserverCallback()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/ |
D | AddPrintersActivity.java | 28 public static void addObserver(@NonNull Runnable observer) { in addObserver()
|
D | InfoActivity.java | 31 public static void addObserver(Observer observer) { in addObserver()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | ObservableTest.java | 41 Object observer = new Object(); in testRegisterUnRegisterObserver() local
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimCtsActivity.java | 66 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() 69 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver()
|
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/ |
D | GlobalSearchSessionShimImpl.java | 132 @NonNull ObserverCallback observer) throws AppSearchException { in registerObserverCallback() 138 @NonNull String targetPackageName, @NonNull ObserverCallback observer) in unregisterObserverCallback()
|
/cts/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | AbstractApiTest.java | 160 void run(ResultObserver observer) throws Exception; in run() 170 ResultObserver observer = mResultObserver; in runWithTestResultObserver() local
|
/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | ScanningSettingsTest.java | 201 final ContentObserver observer = in clickAndWaitForSettingChange() local 209 resolver.registerContentObserver(Settings.Global.getUriFor(settingKey), false, observer); in clickAndWaitForSettingChange() local
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | UninstallCallbackTest.java | 38 PackageDeleteObserver observer = new PackageDeleteObserver(); in testUninstallCallback_binderReceivesCorrectParams() local
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentQueryMapTest.java | 173 MockObserver observer = new MockObserver(); in testSetKeepUpdated() local 273 MockObserver observer = new MockObserver(); in testSetKeepUpdatedWithHandler() local
|
/cts/tests/tests/companion/core/src/android/companion/cts/core/ |
D | AssociationsChangedListenerTest.kt | 114 val observer = RecordingCdmEventObserver() in <lambda>() constant
|
/cts/tests/tests/nativemedia/resourceobserver/src/ |
D | ResourceObserverNativeTest.cpp | 103 std::shared_ptr<ResourceObserver> observer = ::ndk::SharedRefBase::make<ResourceObserver>(); in testResourceObserver() local 163 std::shared_ptr<ResourceObserver> observer = ::ndk::SharedRefBase::make<ResourceObserver>(); in TEST_F() local
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | UserSettings.java | 132 OneTimeSettingsListener observer = new OneTimeSettingsListener(mContext, mNamespace.get(), in syncSet() local 174 OneTimeSettingsListener observer = new OneTimeSettingsListener(mContext, mNamespace.get(), in syncDelete() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AbsSpinnerTest.java | 323 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() 326 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver()
|
D | HeaderViewListAdapterTest.java | 401 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() 404 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver() 459 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver() 463 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteCursorTest.java | 98 MockObserver observer = new MockObserver(); in testRegisterDataSetObserver() local 153 MockObserver observer = new MockObserver(); in testRequery() local
|