/frameworks/base/cmds/idmap2/tests/ |
D | BinaryStreamVisitorTests.cpp | 96 bool success = LoadedIdmap::Lookup(header, 0x0000, &entry); in TEST() local 97 ASSERT_TRUE(success); in TEST() 103 success = LoadedIdmap::Lookup(header, 0x0000, &entry); // string/a in TEST() 104 ASSERT_FALSE(success); in TEST() 106 success = LoadedIdmap::Lookup(header, 0x0001, &entry); // string/b in TEST() 107 ASSERT_FALSE(success); in TEST() 109 success = LoadedIdmap::Lookup(header, 0x0002, &entry); // string/c in TEST() 110 ASSERT_FALSE(success); in TEST() 112 success = LoadedIdmap::Lookup(header, 0x0003, &entry); // string/policy_odm in TEST() 113 ASSERT_FALSE(success); in TEST() [all …]
|
D | CommandLineOptionsTests.cpp | 46 auto success = opts.Parse({"--foo", "--bar"}); in TEST() local 47 ASSERT_TRUE(success); in TEST() 52 success = opts.Parse({"--foo"}); in TEST() 53 ASSERT_TRUE(success); in TEST() 64 auto success = opts.Parse({"--foo", "FOO", "--bar", "BAR"}); in TEST() local 65 ASSERT_TRUE(success); in TEST() 69 success = opts.Parse({"--foo"}); in TEST() 70 ASSERT_FALSE(success); in TEST() 76 auto success = opts.Parse({"--foo", "FIRST", "--foo", "SECOND"}); in TEST() local 77 ASSERT_TRUE(success); in TEST() [all …]
|
/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 89 EGLBoolean success = eglTerminate(mEglDisplay); in TearDown() local 90 ASSERT_EQ(EGL_UNSIGNED_TRUE, success); in TearDown() 99 EGLBoolean success; in TEST_F() local 106 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); in TEST_F() 107 ASSERT_EQ(EGL_UNSIGNED_TRUE, success); in TEST_F() 113 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]); in TEST_F() 114 ASSERT_EQ(EGL_UNSIGNED_TRUE, success); in TEST_F() 116 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]); in TEST_F() 117 ASSERT_EQ(EGL_UNSIGNED_TRUE, success); in TEST_F() 119 success = eglGetConfigAttrib(mEglDisplay, config, EGL_BLUE_SIZE, &components[2]); in TEST_F() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ModelInterpreter.java | 284 boolean success; in triggerRing() 286 success = mSimulatedCallState.triggerRing(number); in triggerRing() 288 if (success) { in triggerRing() 340 boolean success; in triggerHangupForeground() 342 success = mSimulatedCallState.triggerHangupForeground(); in triggerHangupForeground() 344 if (success) { in triggerHangupForeground() 354 boolean success; in triggerHangupBackground() 356 success = mSimulatedCallState.triggerHangupBackground(); in triggerHangupBackground() 358 if (success) { in triggerHangupBackground() 369 boolean success; in triggerHangupAll() [all …]
|
D | SimPhoneBookTest.java | 74 boolean success = simPhoneBook.updateAdnRecordsInEfByIndex(IccConstants.EF_ADN, in testBasic() 78 assertTrue(success); in testBasic() 82 success = simPhoneBook.updateAdnRecordsInEfBySearch(IccConstants.EF_ADN, in testBasic() 87 assertTrue(success); in testBasic() 92 success = simPhoneBook.updateAdnRecordsInEfBySearch(IccConstants.EF_ADN, in testBasic() 97 assertTrue(success); in testBasic() 101 success = simPhoneBook.updateAdnRecordsInEfByIndex(IccConstants.EF_ADN, in testBasic() 106 assertTrue(success); in testBasic()
|
/frameworks/ml/nn/common/ |
D | CpuExecutor.cpp | 798 bool success = false; in executeOperation() local 848 success = false; in executeOperation() 860 success = reshapePrepare(input.shape(), in executeOperation() 881 success = false; in executeOperation() 894 success = depthToSpaceGeneric( in executeOperation() 900 success = depthToSpaceGeneric( in executeOperation() 906 success = depthToSpaceGeneric( in executeOperation() 912 success = depthToSpaceGeneric( in executeOperation() 919 success = false; in executeOperation() 925 if (!success || !convertFromNhwc(output, output_tmp, data_layout, &result)) { in executeOperation() [all …]
|
/frameworks/base/libs/androidfw/ |
D | ObbFile.cpp | 89 bool success = false; in readFrom() local 96 success = readFrom(fd); in readFrom() 99 if (!success) { in readFrom() 104 return success; in readFrom() 229 bool success = false; in writeTo() local 235 success = writeTo(fd); in writeTo() 239 if (!success) { in writeTo() 242 return success; in writeTo() 314 bool success = false; in removeFrom() local 320 success = removeFrom(fd); in removeFrom() [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | SecurityLogTags.logtags | 11 210007 security_keyguard_dismiss_auth_attempt (success|1),(method_strength|1) 31 210024 security_key_generated (success|1),(key_id|3),(uid|1) 32 210025 security_key_imported (success|1),(key_id|3),(uid|1) 33 210026 security_key_destroyed (success|1),(key_id|3),(uid|1) 36 210029 security_cert_authority_installed (success|1),(subject|3) 37 210030 security_cert_authority_removed (success|1),(subject|3) 38 210031 security_crypto_self_test_completed (success|1)
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ServiceTest.java | 196 boolean success = false; in startExpectResult() 206 success = true; in startExpectResult() 208 if (!success) { in startExpectResult() 234 boolean success = false; in bindExpectResult() 247 success = true; in bindExpectResult() 249 if (!success) { in bindExpectResult() 268 success = false; in bindExpectResult() 277 success = true; in bindExpectResult() 279 if (!success) { in bindExpectResult() 298 success = false; in bindExpectResult() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_reduce_backward.java | 76 final boolean success = javaRslt.equals(rsRslt); in result() 79 (success ? "PASSED" : "FAILED")); in result() 80 return success; in result() 84 final boolean success = (javaRslt.x == rsRslt.x) && (javaRslt.y == rsRslt.y); in result() 89 ": " + (success ? "PASSED" : "FAILED")); in result() 90 return success; in result() 94 final boolean success = (javaRslt.x == rsRslt.x) && (javaRslt.y == rsRslt.y); in result() 99 ": " + (success ? "PASSED" : "FAILED")); in result() 100 return success; in result() 183 final boolean success = (input[rsRslt] == 0); in fz() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_reduce_backward.java | 78 final boolean success = javaRslt.equals(rsRslt); in result() 81 (success ? "PASSED" : "FAILED")); in result() 82 return success; in result() 86 final boolean success = (javaRslt.x == rsRslt.x) && (javaRslt.y == rsRslt.y); in result() 91 ": " + (success ? "PASSED" : "FAILED")); in result() 92 return success; in result() 96 final boolean success = (javaRslt.x == rsRslt.x) && (javaRslt.y == rsRslt.y); in result() 101 ": " + (success ? "PASSED" : "FAILED")); in result() 102 return success; in result() 185 final boolean success = (input[rsRslt] == 0); in fz() [all …]
|
/frameworks/rs/script_api/ |
D | Generator.cpp | 198 bool success = true; in main() local 201 success = false; in main() 204 if (success) { in main() 205 success = systemSpecification.generateFiles(maxApiLevel); in main() 207 return success ? 0 : -2; in main()
|
D | GenerateDocumentation.cpp | 178 bool success = true; in convertDocumentationRefences() local 196 success = false; in convertDocumentationRefences() 200 return success; in convertDocumentationRefences() 417 bool success = true; in writeOverviewForFile() local 420 success = false; in writeOverviewForFile() 428 return success; in writeOverviewForFile() 436 bool success = true; in generateOverview() local 445 success = false; in generateOverview() 451 return success; in generateOverview() 630 bool success = true; in writeDetailedDocumentationFile() local [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
D | MediaRecorderTest.java | 121 boolean success = true; in validateGetSurface() 210 success = false; in validateGetSurface() 221 success = false; in validateGetSurface() 224 return success; in validateGetSurface() 538 boolean success = false; in testGetSurfaceApi() 542 success = validateGetSurface( in testGetSurfaceApi() 544 if (!success) { in testGetSurfaceApi() 556 boolean success = false; in testSurfaceRecording() 565 success = recordVideoFromSurface(frameRate, 0, 352, 288, codec, in testSurfaceRecording() 568 if (success) { in testSurfaceRecording() [all …]
|
/frameworks/av/media/mtp/ |
D | MtpUtils.cpp | 217 int success; in deleteRecursive() local 220 success = rmdir(childPath.c_str()); in deleteRecursive() 222 success = unlink(childPath.c_str()); in deleteRecursive() 225 if (success == -1) in deleteRecursive() 233 int success; in deletePath() local 239 success = rmdir(path); in deletePath() 241 success = unlink(path); in deletePath() 247 if (success == -1) in deletePath() 250 return success == 0; in deletePath()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockscreenWallpaper.java | 103 if (result.success) { in getBitmap() 116 return LoaderResult.success(null); in loadBitmap() 129 return LoaderResult.success(BitmapFactory.decodeFileDescriptor( in loadBitmap() 140 return LoaderResult.success(mWallpaperManager.getBitmapAsUser( in loadBitmap() 145 return LoaderResult.success(null); in loadBitmap() 205 if (result.success) { in run() 218 public final boolean success; field in LockscreenWallpaper.LoaderResult 221 LoaderResult(boolean success, Bitmap bitmap) { in LoaderResult() argument 222 this.success = success; in LoaderResult() 226 static LoaderResult success(Bitmap b) { in success() method in LockscreenWallpaper.LoaderResult
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_vertex_frame.cpp | 44 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(int_ptr), in Java_android_filterfw_core_VertexFrame_setNativeInts() local 47 return ToJBool(success); in Java_android_filterfw_core_VertexFrame_setNativeInts() 61 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(float_ptr), in Java_android_filterfw_core_VertexFrame_setNativeFloats() local 64 return ToJBool(success); in Java_android_filterfw_core_VertexFrame_setNativeFloats() 79 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), in Java_android_filterfw_core_VertexFrame_setNativeData() local 82 return ToJBool(success); in Java_android_filterfw_core_VertexFrame_setNativeData()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccProvider.java | 208 boolean success = addIccRecordToEf(efType, tag, number, null, pin2, subId); in insert() 210 if (!success) { in insert() 336 boolean success = deleteIccRecordFromEf(efType, tag, number, emails, pin2, subId); in delete() 337 if (!success) { in delete() 389 boolean success = updateIccRecordInEf(efType, tag, number, in update() 392 if (!success) { in update() 440 boolean success = false; in addIccRecordToEf() 451 success = iccIpb.updateAdnRecordsInEfBySearchForSubscriber(subId, efType, in addIccRecordToEf() 459 if (DBG) log("addIccRecordToEf: " + success); in addIccRecordToEf() 460 return success; in addIccRecordToEf() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDiscoverySessionState.java | 160 boolean success = mWifiAwareNativeApi.publish(transactionId, mPubSubId, config); in updatePublish() 161 if (!success) { in updatePublish() 169 return success; in updatePublish() 190 boolean success = mWifiAwareNativeApi.subscribe(transactionId, mPubSubId, config); in updateSubscribe() 191 if (!success) { in updateSubscribe() 199 return success; in updateSubscribe() 226 boolean success = mWifiAwareNativeApi.sendMessage(transactionId, mPubSubId, in sendMessage() 228 if (!success) { in sendMessage() 237 return success; in sendMessage()
|
/frameworks/base/tools/aapt/ |
D | AaptConfig.cpp | 45 goto success; in parse() 51 goto success; in parse() 59 goto success; in parse() 73 goto success; in parse() 81 goto success; in parse() 89 goto success; in parse() 97 goto success; in parse() 105 goto success; in parse() 113 goto success; in parse() 121 goto success; in parse() [all …]
|
/frameworks/base/core/jni/ |
D | com_google_android_gles_jni_EGLImpl.cpp | 126 EGLBoolean success = eglInitialize(dpy, NULL, NULL); in jni_eglInitialize() local 127 if (success && major_minor) { in jni_eglInitialize() 137 return EglBoolToJBool(success); in jni_eglInitialize() 149 EGLBoolean success = EGL_FALSE; in jni_eglQueryContext() local 153 success = eglQueryContext(dpy, ctx, attribute, base); in jni_eglQueryContext() 156 return EglBoolToJBool(success); in jni_eglQueryContext() 169 EGLBoolean success = EGL_FALSE; in jni_eglQuerySurface() local 173 success = eglQuerySurface(dpy, sur, attribute, base); in jni_eglQuerySurface() 176 return EglBoolToJBool(success); in jni_eglQuerySurface() 198 EGLBoolean success = EGL_FALSE; in jni_eglChooseConfig() local [all …]
|
/frameworks/base/services/core/jni/ |
D | com_android_server_ConsumerIrService.cpp | 52 bool success = mHal->transmit(carrierFrequency, patternVec); in halTransmit() local 53 return success ? 0 : -1; in halTransmit() 59 bool success; in halGetCarrierFrequencies() local 63 success = s; in halGetCarrierFrequencies() 67 if (!success) { in halGetCarrierFrequencies()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadHardwareInterface.java | 253 (boolean success, String errMsg) -> { in initOffloadConfig() 254 results.mSuccess = success; in initOffloadConfig() 318 (boolean success, String errMsg) -> { in initOffloadControl() 319 results.mSuccess = success; in initOffloadControl() 336 (boolean success, String errMsg) -> { in stopOffloadControl() argument 337 if (!success) mLog.e("stopOffload failed: " + errMsg); in stopOffloadControl() 377 (boolean success, String errMsg) -> { in setLocalPrefixes() 378 results.mSuccess = success; in setLocalPrefixes() 399 (boolean success, String errMsg) -> { in setDataLimit() 400 results.mSuccess = success; in setDataLimit() [all …]
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEventQueue.cpp | 43 bool success; in push() local 48 success = true; in push() 52 success = false; in push() 57 return success; in push()
|
/frameworks/av/services/minijail/ |
D | av_services_minijail_unittest.cpp | 45 bool success = android::base::ReadFdToString(fd.get(), &final_string); in TEST_F() local 46 EXPECT_TRUE(success); in TEST_F() 55 bool success = android::base::ReadFdToString(fd.get(), &final_string); in TEST_F() local 56 EXPECT_TRUE(success); in TEST_F()
|