/frameworks/base/core/java/android/service/euicc/ |
H A D | GetDownloadableSubscriptionMetadataResult.java | 49 public final int result; field in class:GetDownloadableSubscriptionMetadataResult 55 * Gets the result of the operation. 61 return result; 67 * <p>Only non-null if {@link #result} is {@link EuiccService#RESULT_OK}. 77 * @param result Result of the operation. May be one of the predefined {@code RESULT_} constants 81 * result is {@link EuiccService#RESULT_OK}. 83 public GetDownloadableSubscriptionMetadataResult(int result, argument 85 this.result = result; 86 if (this.result [all...] |
H A D | GetEuiccProfileInfoListResult.java | 51 public final int result; field in class:GetEuiccProfileInfoListResult 59 * Gets the result of the operation. 65 return result; 83 * @param result Result of the operation. May be one of the predefined {@code RESULT_} constants 86 * @param profiles the list of profiles. Should only be provided if the result is 94 int result, @Nullable EuiccProfileInfo[] profiles, boolean isRemovable) { 95 this.result = result; 97 if (this.result == EuiccService.RESULT_OK) { 102 "Error result wit 93 GetEuiccProfileInfoListResult( int result, @Nullable EuiccProfileInfo[] profiles, boolean isRemovable) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
H A D | TextSelectionTest.java | 51 final TextSelection result = TextSelection.CREATOR.createFromParcel(parcel); 53 assertEquals(startIndex, result.getSelectionStartIndex()); 54 assertEquals(endIndex, result.getSelectionEndIndex()); 55 assertEquals(id, result.getId()); 57 assertEquals(3, result.getEntityCount()); 58 assertEquals(TextClassifier.TYPE_PHONE, result.getEntity(0)); 59 assertEquals(TextClassifier.TYPE_ADDRESS, result.getEntity(1)); 60 assertEquals(TextClassifier.TYPE_URL, result.getEntity(2)); 61 assertEquals(0.7f, result.getConfidenceScore(TextClassifier.TYPE_PHONE), 1e-7f); 62 assertEquals(0.3f, result [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | TestHelpers.cpp | 31 int32_t result = OpenArchive(zip_path.c_str(), &handle); local 32 if (result != 0) { 34 << "': " << ::ErrorCodeString(result); 39 result = ::FindEntry(handle, name, &entry); 40 if (result != 0) { 43 << "' : " << ::ErrorCodeString(result); 47 result = ::ExtractToMemory( 50 if (result != 0) { 53 << "': " << ::ErrorCodeString(result);
|
/frameworks/base/media/java/android/media/ |
H A D | ExternalRingtonesCursorWrapper.java | 40 String result = super.getString(index); 42 result = ContentProvider.maybeAddUserId(Uri.parse(result), mUserId).toString(); 44 return result;
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | EGLContextImpl.java | 52 int result = 17; 53 result = 31 * result + (int) (mEGLContext ^ (mEGLContext >>> 32)); 54 return result;
|
H A D | EGLSurfaceImpl.java | 47 int result = 17; 48 result = 31 * result + (int) (mEGLSurface ^ (mEGLSurface >>> 32)); 49 return result;
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
H A D | PackageVersions.java | 51 int result = Long.hashCode(mUpdateAppVersion); 52 result = 31 * result + Long.hashCode(mDataAppVersion); 53 return result;
|
/frameworks/base/services/core/java/com/android/server/utils/ |
H A D | AppInstallerUtil.java | 28 ResolveInfo result = context.getPackageManager().resolveActivity(i, 0); 29 return result != null ? new Intent(i.getAction()) 30 .setClassName(result.activityInfo.packageName, result.activityInfo.name) : null; 56 final Intent result = resolveIntent(context, intent); 57 if (result != null) { 58 result.putExtra(Intent.EXTRA_PACKAGE_NAME, packageName); 59 result.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 60 return result;
|
/frameworks/base/tools/streaming_proto/ |
H A D | string_utils.cpp | 13 string result; local 15 result.reserve(N); 33 result += c; 36 return result; 42 string result; local 49 result += '_'; 58 result += c; 60 return result; 82 string result(str); 83 const int N = result 95 vector<string> result; local [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | HyphenatorMap.cpp | 76 const Hyphenator* result = lookupByIdentifier(id); local 77 if (result != nullptr) { 78 return result; // Found with exact match. 82 result = lookupBySubtag(locale, LANGUAGE | REGION | SCRIPT | VARIANT); 83 if (result != nullptr) { 87 result = lookupBySubtag(locale, LANGUAGE | REGION | VARIANT); 88 if (result != nullptr) { 92 result = lookupBySubtag(locale, LANGUAGE | VARIANT); 93 if (result != nullptr) { 97 result [all...] |
/frameworks/support/core/ktx/src/main/java/androidx/core/database/sqlite/ |
H A D | SQLiteDatabase.kt | 36 val result = body() 38 return result
|
/frameworks/support/persistence/db/ktx/src/main/java/androidx/sqlite/db/ |
H A D | SupportSQLiteDatabase.kt | 34 val result = body() 36 return result
|
/frameworks/wilhelm/src/itf/ |
H A D | IDynamicSource.cpp | 27 result = SL_RESULT_PARAMETER_INVALID; 32 SLresult result; 33 result = checkDataSource("pDataSource", pDataSource, &myDataSource, DATALOCATOR_MASK_ALL, 35 // handle result here 43 result = SL_RESULT_FEATURE_UNSUPPORTED;
|
H A D | IMetadataExtraction.cpp | 27 result = SL_RESULT_PARAMETER_INVALID; 32 result = android_audioPlayer_metadata_getItemCount((CAudioPlayer *)thiz->mThis, 35 result = SL_RESULT_FEATURE_UNSUPPORTED; 38 result = SL_RESULT_PARAMETER_INVALID; 52 result = SL_RESULT_PARAMETER_INVALID; 57 result = android_audioPlayer_metadata_getKeySize((CAudioPlayer *)thiz->mThis, 60 result = SL_RESULT_FEATURE_UNSUPPORTED; 63 result = SL_RESULT_PARAMETER_INVALID; 77 result = SL_RESULT_PARAMETER_INVALID; 82 result [all...] |
H A D | IAndroidEffectSend.cpp | 30 result = SL_RESULT_PARAMETER_INVALID; 39 result = SL_RESULT_PARAMETER_INVALID; 43 result = android_fxSend_attachToAux(ap, effectImplementationId, enable, 45 if (SL_RESULT_SUCCESS == result) { 65 result = SL_RESULT_PARAMETER_INVALID; 73 result = SL_RESULT_SUCCESS; 88 result = SL_RESULT_PARAMETER_INVALID; 103 result = SL_RESULT_SUCCESS; 107 result = SL_RESULT_PARAMETER_INVALID; 121 result [all...] |
/frameworks/wilhelm/src/ |
H A D | trace.cpp | 41 void slTraceLeaveGlobal(const char *function, SLresult result) argument 43 if (SL_RESULT_SUCCESS == result) { 49 const char *str = slesutResultToString(result); 53 SL_LOGW("Leaving %s (0x%X)", function, result); 86 void slTraceLeaveInterface(const char *function, SLresult result) argument 101 if (SL_RESULT_SUCCESS == result) { 112 const char *str = slesutResultToString(result); 119 &underscore[1], result); 125 SL_LOGW("Leaving %s (0x%X)", function, result);
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestEffectCapabilities.cpp | 37 void ExitOnErrorFunc( SLresult result , int line) 39 if (SL_RESULT_SUCCESS != result) { 40 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line); 69 SLresult result; local 92 result = slCreateEngine( &sl, 1, EngineOption, 1, iidArray, required); 93 ExitOnError(result); 96 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); 97 ExitOnError(result); 104 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 105 ExitOnError(result); [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | AsyncRunner.java | 49 RunnerResult result = new RunnerResult(); 67 result.status = RESULT_RUNNING; 68 while (!isCancelled() && result.status == RESULT_RUNNING) { 70 result.status = runner[0].determinePostRunState(); 71 if (result.status == GraphRunner.RESULT_SLEEPING) { 73 result.status = RESULT_RUNNING; 80 result.status = RESULT_STOPPED; 83 result.exception = exception; 84 result.status = RESULT_ERROR; 91 result 100 onCancelled(RunnerResult result) argument 105 onPostExecute(RunnerResult result) argument [all...] |
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/ |
H A D | TimeStatsHelper.cpp | 60 std::string result; local 64 StringAppendF(&result, "%dms=%d ", bucket, count); 66 result.back() = '\n'; 67 return result; 71 std::string result = ""; local 72 StringAppendF(&result, "layerName = %s\n", layerName.c_str()); 73 StringAppendF(&result, "packageName = %s\n", packageName.c_str()); 74 StringAppendF(&result, "statsStart = %lld\n", static_cast<long long int>(statsStart)); 75 StringAppendF(&result, "statsEnd = %lld\n", static_cast<long long int>(statsEnd)); 76 StringAppendF(&result, "totalFrame 90 std::string result = "SurfaceFlinger TimeStats:\\n"; local [all...] |
/frameworks/base/core/java/android/view/ |
H A D | WindowInsets.java | 304 final WindowInsets result = new WindowInsets(this); 305 result.mDisplayCutout = null; 306 result.mDisplayCutoutConsumed = true; 307 return result; 319 * <p>The result of this method is equivalent to the return value of 349 final WindowInsets result = new WindowInsets(this); 350 result.mSystemWindowInsets = EMPTY_RECT; 351 result.mSystemWindowInsetsConsumed = true; 352 return result; 368 final WindowInsets result [all...] |
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
H A D | ListRowPresenterTest.java | 379 ShadowOverlayResult result = new ShadowOverlayResult(); 382 result.mShadowOverlayContainer = true; 383 result.mShadowOverlayContainerOverlayColor = ((ShadowOverlayContainer) view) 385 result.mShadowOverlayContainerOverlayZ = ViewCompat.getZ(view); 386 result.mShadowOverlayContainerOpticalBounds = view.getWidth() > 100; 387 result.mShadowOverlayContainerClipToOutline = Build.VERSION.SDK_INT >= 21 390 result.mShadowOverlayContainer = false; 394 result.mViewOverlayColor = d instanceof ColorDrawable ? ((ColorDrawable) d).getColor() 396 result.mViewZ = ViewCompat.getZ(view); 397 result [all...] |
/frameworks/av/services/oboeservice/ |
H A D | AAudioServiceStreamMMAP.cpp | 67 aaudio_result_t result = AAudioServiceStreamBase::open(request, local 69 if (result != AAUDIO_OK) { 70 return result; 79 result = endpoint->registerStream(keep); 80 if (result != AAUDIO_OK) { 81 return result; 91 aaudio_result_t result = AAudioServiceStreamBase::startDevice(); local 92 if (!mInService && result == AAUDIO_OK) { 94 result = startClient(mMmapClient, &mClientHandle); 96 return result; 104 aaudio_result_t result = AAudioServiceStreamBase::pause(); local 116 aaudio_result_t result = AAudioServiceStreamBase::stop(); local 132 aaudio_result_t result = endpoint->startClient(client, clientHandle); local 142 aaudio_result_t result = endpoint->stopClient(clientHandle); local 157 aaudio_result_t result = serviceEndpointMMAP->getFreeRunningPosition(positionFrames, timeNanos); local [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | NotificationSnoozeTest.java | 66 ArrayList<SnoozeOption> result = mNotificationSnooze.getDefaultSnoozeOptions(); 67 assertEquals(3, result.size()); 68 assertEquals(1, result.get(0).getMinutesToSnoozeFor()); // respect order 69 assertEquals(2, result.get(1).getMinutesToSnoozeFor()); 70 assertEquals(3, result.get(2).getMinutesToSnoozeFor()); 79 ArrayList<SnoozeOption> result = mNotificationSnooze.getDefaultSnoozeOptions(); 80 assertEquals(3, result.size()); 81 assertEquals(1, result.get(0).getMinutesToSnoozeFor()); // respect order 82 assertEquals(2, result.get(1).getMinutesToSnoozeFor()); 83 assertEquals(3, result [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | FramebufferSurface.cpp | 98 status_t result = nextBuffer(slot, buf, acquireFence, dataspace); local 100 if (result != NO_ERROR) { 102 strerror(-result), result); 104 return result; 145 status_t result = local 147 if (result != NO_ERROR) { 148 ALOGE("error posting framebuffer: %d", result); 149 return result; 166 status_t result local 171 status_t result = releaseBufferLocked(mPreviousBufferSlot, mPreviousBuffer); local 188 dumpLocked(String8& result, const char* prefix) const argument [all...] |