/frameworks/base/core/tests/coretests/src/android/os/ |
D | TestHandlerThread.java | 21 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()
|
D | HandlerTester.java | 41 if (!mSuccess) { in doTest() 48 mSuccess = true; in success() 53 mSuccess = false; in failure() 82 private boolean mSuccess = false; field in HandlerTester
|
D | BroadcasterTest.java | 67 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/ |
D | Camera2Focuser.java | 64 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/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
D | BlockingCameraManager.java | 182 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/ |
D | ContentQueryMapTest.java | 37 public boolean mSuccess = false; field in ContentQueryMapTest.LooperThread 86 mSuccess = true; in testContentQueryMap() 102 assertTrue(thread.mSuccess); in testContentQueryMap()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccSmsInterfaceManager.java | 70 protected boolean mSuccess; field in IccSmsInterfaceManager 111 mSuccess = (ar.exception == null); 135 mSuccess = (ar.exception == null); 227 mSuccess = false; in updateMessageOnIccEf() 245 return mSuccess; /* is false */ in updateMessageOnIccEf() 258 return mSuccess; in updateMessageOnIccEf() 282 mSuccess = false; in copyMessageToIccEf() 300 return mSuccess; in copyMessageToIccEf() 1039 mSuccess = false; in setCellBroadcastConfig() 1049 return mSuccess; in setCellBroadcastConfig() [all …]
|
/frameworks/ml/nn/runtime/test/ |
D | TestIntrospectionControl.cpp | 330 : SamplePreparedModel(model, driver), mSuccess(success) {} in TestPreparedModel12() 334 switch (mSuccess) { in execute() 353 switch (mSuccess) { in execute_1_2() 358 callback->notify_1_2(ErrorStatus::NONE, {}, expectedTimingMap.at(mSuccess)); in execute_1_2() 375 switch (mSuccess) { in executeSynchronously() 380 cb(ErrorStatus::NONE, {}, expectedTimingMap.at(mSuccess)); in executeSynchronously() 413 Success mSuccess; member in __anon062581700111::timing_tests::TestPreparedModel12 435 : SampleDriver(name.c_str()), mSuccess(success) {} in TestDriver12() 464 callback->notify_1_2(ErrorStatus::NONE, new TestPreparedModel12(model, this, mSuccess)); in prepareModel_1_2() 472 new TestPreparedModel10(nn::convertToV1_2(model), this, mSuccess)); in prepareModel_1_1() [all …]
|
/frameworks/base/core/tests/bugreports/src/android/server/bugreports/ |
D | BugreportManagerTest.java | 231 private boolean mSuccess = false; field in BugreportManagerTest.BugreportCallbackImpl 254 mSuccess = true; in onFinished() 261 return (mErrorCode != -1) || mSuccess; in isDone() 273 return mSuccess; in isSuccess()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | DepthPhotoProcessor.cpp | 125 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/ |
D | PackageManagerTests.java | 2850 private boolean mSuccess = false; field in PackageManagerTests.TestDexModuleRegisterCallback 2857 mSuccess = success; in onDexModuleRegistered() 2884 assertFalse("BaseCodePath should not be registered", callback.mSuccess); in testRegisterDexModuleBaseCode() 2896 callback.mSuccess); in testRegisterDexModuleNotOwningModule() 2915 assertTrue(callback.mMessage, callback.mSuccess); in testRegisterDexModuleSuccessfully() 2939 assertFalse("DexModule registration should fail", callback.mSuccess); in testRegisterDexModuleNotExists()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 1600 private boolean mSuccess = false; field in PackageManagerShellCommand.SnapshotRuntimeProfileCallback 1607 mSuccess = true; in onSuccess() 1621 mSuccess = false; in onError() 1634 return done && mSuccess; in waitTillDone()
|