/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/packages/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadHardwareInterface.java | 254 results.mSuccess = success; in initOffloadConfig() 266 return results.mSuccess; in initOffloadConfig() 319 results.mSuccess = success; in initOffloadControl() 328 return results.mSuccess; in initOffloadControl() 378 results.mSuccess = success; in setLocalPrefixes() 387 return results.mSuccess; in setLocalPrefixes() 400 results.mSuccess = success; in setDataLimit() 409 return results.mSuccess; in setDataLimit() 428 results.mSuccess = success; in setUpstreamParameters() 437 return results.mSuccess; in setUpstreamParameters() [all …]
|
/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 | 79 protected boolean mSuccess; field in IccSmsInterfaceManager 124 mSuccess = (ar.exception == null); 148 mSuccess = (ar.exception == null); 167 mSuccess = (ar.exception == null); 276 mSuccess = false; in updateMessageOnIccEf() 294 return mSuccess; /* is false */ in updateMessageOnIccEf() 307 return mSuccess; in updateMessageOnIccEf() 336 mSuccess = false; in copyMessageToIccEf() 353 return mSuccess; in copyMessageToIccEf() 908 mSuccess = false; in setSmscAddressOnIccEf() [all …]
|
/frameworks/base/core/tests/bugreports/src/android/server/bugreports/ |
D | BugreportManagerTest.java | 211 private boolean mSuccess = false; field in BugreportManagerTest.BugreportCallbackImpl 234 mSuccess = true; in onFinished() 241 return (mErrorCode != -1) || mSuccess; in isDone() 253 return mSuccess; in isSuccess()
|
/frameworks/ml/nn/runtime/test/ |
D | TestIntrospectionControl.cpp | 421 mSuccess(success) {} 425 switch (mSuccess) { in execute() 451 switch (mSuccess) { in execute_1_2() 459 getExpectedTiming(mSuccess, false).first); in execute_1_2() 489 switch (mSuccess) { in executeSynchronously() 495 cb(V1_0::ErrorStatus::NONE, {}, getExpectedTiming(mSuccess, false).first); in executeSynchronously() 544 if (hasBit(mSuccess, Success::PASS_BIT)) { in executeFenced() 546 const auto expectedTiming = getExpectedTiming(mSuccess, true); in executeFenced() 553 switch (mSuccess) { in executeFenced() 587 Success mSuccess; member in __anon736024e70111::test_drivers::TestPreparedModelLatest [all …]
|
/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 | 1762 private boolean mSuccess = false; field in PackageManagerShellCommand.SnapshotRuntimeProfileCallback 1769 mSuccess = true; in onSuccess() 1783 mSuccess = false; in onError() 1796 return done && mSuccess; in waitTillDone()
|