Home
last modified time | relevance | path

Searched refs:mSuccess (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DTestHandlerThread.java21 private boolean mSuccess = false; field in TestHandlerThread
51 if (!mSuccess) { in doTest()
62 mSuccess = true; in success()
69 mSuccess = false; in failure()
84 if (!mSuccess && mFailure == null) { in run()
DHandlerTester.java41 if (!mSuccess) { in doTest()
48 mSuccess = true; in success()
53 mSuccess = false; in failure()
82 private boolean mSuccess = false; field in HandlerTester
DBroadcasterTest.java67 boolean mSuccess[]; field in BroadcasterTest.Tests2and3
72 mSuccess = new boolean[N]; in go()
75 mSuccess[i] = false; in go()
91 mSuccess[index] = true; in handleMessage()
96 if (!mSuccess[i]) { in handleMessage()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCamera2Focuser.java64 private boolean mSuccess = false; field in Camera2Focuser
138 mSuccess = true; in onAutoFocusSuccess()
148 mSuccess = false; in onAutoFocusFail()
158 mSuccess = false; in onAutoFocusScan()
164 mSuccess = false; in onAutoFocusInactive()
210 mSuccess = false; in cancelAutoFocus()
253 if (mSuccess && mLocked) { in startAutoFocusLocked()
256 } else if (mSuccess) { in startAutoFocusLocked()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DNonRequiredPackageDeleteObserver.java38 private boolean mSuccess; field in NonRequiredPackageDeleteObserver
54 mSuccess = true; in packageDeleted()
68 return mSuccess; in awaitPackagesDeletion()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingCameraManager.java182 private boolean mSuccess = false; field in BlockingCameraManager.OpenListener
203 assertEquals(false, mSuccess); in assertInitialState()
215 mSuccess = true; in onOpened()
307 if (!mSuccess && mDevice != null) { in blockUntilOpen()
311 if (mSuccess) { in blockUntilOpen()
/frameworks/base/core/tests/coretests/src/android/content/
DContentQueryMapTest.java37 public boolean mSuccess = false; field in ContentQueryMapTest.LooperThread
86 mSuccess = true; in testContentQueryMap()
102 assertTrue(thread.mSuccess); in testContentQueryMap()
/frameworks/base/core/tests/bugreports/src/com/android/os/bugreports/tests/
DBugreportManagerTest.java311 private boolean mSuccess = false; field in BugreportManagerTest.BugreportCallbackImpl
335 mSuccess = true; in onFinished()
349 return (mErrorCode != -1) || mSuccess; in isDone()
361 return mSuccess; in isSuccess()
/frameworks/av/services/camera/libcameraservice/common/
DDepthPhotoProcessor.cpp125 bool mSuccess; in encodeGrayscaleJpeg() member
149 dmgr.mSuccess = false; in encodeGrayscaleJpeg()
158 dmgr.mSuccess = true; in encodeGrayscaleJpeg()
229 if (dmgr.mSuccess) { in encodeGrayscaleJpeg()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java2889 private boolean mSuccess = false; field in PackageManagerTests.TestDexModuleRegisterCallback
2896 mSuccess = success; in onDexModuleRegistered()
2923 assertFalse("BaseCodePath should not be registered", callback.mSuccess); in testRegisterDexModuleBaseCode()
2935 callback.mSuccess); in testRegisterDexModuleNotOwningModule()
2954 assertTrue(callback.mMessage, callback.mSuccess); in testRegisterDexModuleSuccessfully()
2978 assertFalse("DexModule registration should fail", callback.mSuccess); in testRegisterDexModuleNotExists()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java1961 private boolean mSuccess = false; field in PackageManagerShellCommand.SnapshotRuntimeProfileCallback
1968 mSuccess = true; in onSuccess()
1982 mSuccess = false; in onError()
1995 return done && mSuccess; in waitTillDone()