/frameworks/volley/tests/src/com/android/volley/toolbox/ |
H A D | BasicNetworkTest.java | 63 Map<String, String> result = new HashMap<String, String>(); 64 result.put("requestheader", "foo"); 65 return result; 70 Map<String, String> result = new HashMap<String, String>(); 71 result.put("requestpost", "foo"); 72 return result;
|
/frameworks/base/core/java/android/accounts/ |
H A D | AccountAuthenticatorActivity.java | 30 * The activity then sets the result that is to be handed to the response via 32 * This result will be sent as the result of the request when the activity finishes. If this 41 * Set the result that is to be sent as the result of the request that caused this 42 * Activity to be launched. If result is null or this method is never called then 44 * @param result this is returned as the result of the AbstractAccountAuthenticator request 46 public final void setAccountAuthenticatorResult(Bundle result) { argument 47 mResultBundle = result; [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | IRestoreObserver.aidl | 32 * @param result An array of {@link android.app.backup.RestoreSet RestoreSet} objects 34 * the current device. If no applicable datasets exist, {@code result} will be 37 void restoreSetsAvailable(in RestoreSet[] result);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | LegacyResultMapper.java | 51 * Generate capture result metadata from the legacy camera request. 53 * <p>This method caches and reuses the result from the previous call to this method if 58 * @param timestamp the timestamp to use for this result in nanoseconds. 60 * @return {@link CameraMetadataNative} object containing result metadata. 64 CameraMetadataNative result; 68 * Attempt to look up the result from the cache if the parameters haven't changed 71 result = new CameraMetadataNative(mCachedResult); 74 result = convertResultMetadata(legacyRequest); 77 // Always cache a *copy* of the metadata result, 78 // since api2's client side takes ownership of it after it receives a result [all...] |
/frameworks/base/core/java/android/service/trust/ |
H A D | ITrustAgentServiceCallback.aidl | 30 void onConfigureCompleted(boolean result, IBinder token);
|
/frameworks/base/core/java/android/text/util/ |
H A D | Rfc822Token.java | 173 int result = 17; 174 if (mName != null) result = 31 * result + mName.hashCode(); 175 if (mAddress != null) result = 31 * result + mAddress.hashCode(); 176 if (mComment != null) result = 31 * result + mComment.hashCode(); 177 return result;
|
/frameworks/base/core/java/com/android/internal/textservice/ |
H A D | ISpellCheckerSessionListener.aidl | 27 void onGetSentenceSuggestions(in SentenceSuggestionsInfo[] result);
|
/frameworks/base/libs/hwui/thread/ |
H A D | Future.h | 34 * Returns the result of this future, blocking if 35 * the result is not available yet. 45 void produce(T result) { argument 46 mResult = result;
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | TestDocumentsProvider.java | 132 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection)); 133 final RowBuilder row = result.newRow(); 141 return result; 150 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); 151 includeFile(result, documentId, 0); 152 return result; 193 public boolean includeIfFinished(MatrixCursor result) { argument 196 includeFile(result, "_networkfile1", 0); 197 includeFile(result, "_networkfile2", 0); 198 includeFile(result, "_networkfile 393 includeFile(MatrixCursor result, String docId, int flags) argument [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | JniLibTest.java | 56 int result = nativeStaticThing(1234.5f); 57 nativeThing(result);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouteDescriptor.java | 216 StringBuilder result = new StringBuilder(); 217 result.append("MediaRouteDescriptor{ "); 218 result.append("id=").append(getId()); 219 result.append(", name=").append(getName()); 220 result.append(", description=").append(getDescription()); 221 result.append(", isEnabled=").append(isEnabled()); 222 result.append(", isConnecting=").append(isConnecting()); 223 result.append(", controlFilters=").append(Arrays.toString(getControlFilters().toArray())); 224 result.append(", playbackType=").append(getPlaybackType()); 225 result [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | I3DDoppler.c | 27 result = SL_RESULT_PARAMETER_INVALID; 35 result = SL_RESULT_SUCCESS; 54 result = SL_RESULT_SUCCESS; 65 result = SL_RESULT_PARAMETER_INVALID; 103 result = SL_RESULT_SUCCESS; 118 result = SL_RESULT_SUCCESS; 129 result = SL_RESULT_PARAMETER_INVALID; 136 result = SL_RESULT_SUCCESS;
|
H A D | IAndroidEffect.cpp | 32 result = android_genericFx_createEffect(thiz, effectImplementationId, ap->mSessionId); 34 result = SL_RESULT_RESOURCE_ERROR; 37 result = android_genericFx_createEffect(thiz, effectImplementationId, 42 result = SL_RESULT_PARAMETER_INVALID; 55 result = android_genericFx_releaseEffect(thiz, effectImplementationId); 67 result = android_genericFx_setEnabled(thiz, effectImplementationId, enabled); 79 result = android_genericFx_isEnabled(thiz, effectImplementationId, pEnabled); 92 result = android_genericFx_sendCommand(thiz, effectImplementationId, command, commandSize,
|
H A D | IObject.c | 34 SLresult result; local 47 result = (*realize)(thiz, SL_BOOLEAN_TRUE); 49 state = SL_RESULT_SUCCESS == result ? SL_OBJECT_STATE_REALIZED : 52 result = SL_RESULT_SUCCESS; 58 result = SL_RESULT_OPERATION_ABORTED; 64 result = SL_RESULT_INTERNAL_ERROR; 79 (*callback)(&thiz->mItf, context, SL_OBJECT_EVENT_ASYNC_TERMINATION, result, state, NULL); 108 result = SL_RESULT_SUCCESS; 110 result = SL_RESULT_PRECONDITIONS_VIOLATED; 125 result 177 SLresult result; local 692 result = SL_RESULT_SUCCESS; local [all...] |
H A D | IBufferQueue.c | 54 result = SL_RESULT_PARAMETER_INVALID; 63 result = SL_RESULT_BUFFER_INSUFFICIENT; 69 result = SL_RESULT_SUCCESS; 72 interface_unlock_exclusive_attributes(thiz, ((SL_RESULT_SUCCESS == result) && 84 result = SL_RESULT_SUCCESS; local 92 result = android_audioPlayer_bufferQueue_onClear(audioPlayer); 93 if (SL_RESULT_SUCCESS == result) { 126 result = SL_RESULT_PARAMETER_INVALID; 139 result = SL_RESULT_SUCCESS; 157 result [all...] |
/frameworks/compile/mclinker/lib/Script/ |
H A D | BinaryOp.cpp | 26 IntOperand* res = result(); 35 IntOperand* res = result(); 44 IntOperand* res = result(); 53 IntOperand* res = result(); 62 IntOperand* res = result(); 71 IntOperand* res = result(); 80 IntOperand* res = result(); 89 IntOperand* res = result(); 98 IntOperand* res = result(); 107 IntOperand* res = result(); [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaAudioManagerTest.java | 110 boolean result = false; 114 result = validateSetRingTone(ringtoneMode[i]); 115 assertTrue("SetRingtoneMode : " + ringtoneMode[i], result); 145 int result = mAudioManager.requestAudioFocus(mAudioFocusListener, 148 assertTrue("requestAudioFocus returned " + result, 149 result == AudioManager.AUDIOFOCUS_REQUEST_GRANTED); 151 result = mAudioManager.requestAudioFocus(null, AudioManager.STREAM_MUSIC, 153 assertTrue("requestAudioFocus returned " + result, 154 result == AudioManager.AUDIOFOCUS_REQUEST_GRANTED); 218 int result [all...] |
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
H A D | AlignmentTest.java | 55 Button result = new Button(CONTEXT); 56 result.setText(name); 57 result.setOnClickListener(new OnClickListener() { 63 return result; 69 TextView result = new TextView(CONTEXT); 70 result.setText(name); 71 result.setTextSize(40); 72 return result; 78 EditText result = new EditText(CONTEXT); 79 result [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
H A D | DrmConvertSession.java | 84 byte[] result = null; 99 result = convertedStatus.convertedData; 111 return result; 126 int result = Downloads.Impl.STATUS_UNKNOWN_ERROR; 133 result = Downloads.Impl.STATUS_NOT_ACCEPTABLE; 140 result = Downloads.Impl.STATUS_SUCCESS; 142 result = Downloads.Impl.STATUS_FILE_ERROR; 145 result = Downloads.Impl.STATUS_FILE_ERROR; 148 result = Downloads.Impl.STATUS_FILE_ERROR; 158 result [all...] |
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | FrameProcessorBase.cpp | 89 String8 result(" Latest received frame:\n"); 90 write(fd, result.string(), result.size()); 124 CaptureResult result; local 128 while ( (res = device->getNextResult(&result)) == OK) { 131 // this from result.mResultExtras when CameraDeviceBase interface is fixed. 134 entry = result.mMetadata.find(ANDROID_REQUEST_FRAME_COUNT); 142 if (!processSingleFrame(result, device)) { 146 if (!result.mMetadata.isEmpty()) { 148 mLastFrame.acquire(result 160 processSingleFrame(CaptureResult &result, const sp<CameraDeviceBase> &device) argument 167 processListeners(const CaptureResult &result, const sp<CameraDeviceBase> &device) argument [all...] |
/frameworks/base/core/java/android/service/carrier/ |
H A D | CarrierMessagingService.java | 95 * @param callback result callback. Call with {@code true} to keep an inbound SMS message and 113 * @param callback result callback. Call with a {@link SendSmsResult}. 132 * @param callback result callback. Call with a {@link SendSmsResult}. 150 * @param callback result callback. Call with a {@link SendMultipartSmsResult}. 170 * @param callback result callback. Call with a {@link SendMmsResult}. 187 * @param callback result callback. Call with a status code which is one of 209 * The result of sending an MMS. 216 * Constructs a SendMmsResult with the MMS send result, and the SendConf PDU. 222 * was sent. sendConfPdu is ignored if the {@code result} is not 251 * The result o 340 onReceiveResult(@onNull T result) argument [all...] |
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | ModernAsyncTask.java | 131 final Result result = get(); 133 postResultIfNotInvoked(result); 149 private void postResultIfNotInvoked(Result result) { argument 152 postResult(result); 156 private Result postResult(Result result) { argument 158 new AsyncTaskResult<Result>(this, result)); 160 return result; 182 * @return A result, defined by the subclass of this task. 201 * specified result is the value returned by {@link #doInBackground}.</p> 205 * @param result Th 212 onPostExecute(Result result) argument 243 onCancelled(Result result) argument 457 finish(Result result) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | JetPlayer.cpp | 62 EAS_RESULT result; local 73 result = EAS_Init(&mEasData); 74 if (result != EAS_SUCCESS) { 77 return result; 80 result = JET_Init(mEasData, NULL, sizeof(S_JET_CONFIG)); 81 if (result != EAS_SUCCESS) { 84 return result; 157 EAS_RESULT result = EAS_FAILURE; local 203 result = EAS_Render(mEasData, p, pLibConfig->mixBufferSize, &count); 204 if (result ! 339 EAS_RESULT result = JET_OpenFile(mEasData, mEasJetFileLoc); local 361 EAS_RESULT result = JET_OpenFile(mEasData, mEasJetFileLoc); local 384 EAS_RESULT result = JET_Play(mEasData); local 406 EAS_RESULT result = JET_Pause(mEasData); local [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/ |
H A D | armCOMM.c | 503 * Returns the result of saturated addition of the two inputs Value1, Value2 556 * Returns the result of saturated addition of the two inputs Value1, Value2 609 * Returns the result of saturated substraction of the two inputs Value1, Value2 661 * Returns the result of Multiplication of Value1 and Value2 and subesquent saturated 687 * Returns the result of saturated MAC operation of the three inputs delayElem, filTap , mac 704 OMX_S32 result; local 706 result = armSatMulS16S32_S32(filTap,delayElem); 708 if ( result > OMX_MAX_S16 ) 710 result = OMX_MAX_S32; 712 else if( result < OMX_MIN_S1 859 OMX_S32 result; local 896 OMX_S32 result; local 933 OMX_F64 result; local [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/ |
H A D | armCOMM.c | 503 * Returns the result of saturated addition of the two inputs Value1, Value2 556 * Returns the result of saturated addition of the two inputs Value1, Value2 609 * Returns the result of saturated substraction of the two inputs Value1, Value2 661 * Returns the result of Multiplication of Value1 and Value2 and subesquent saturated 687 * Returns the result of saturated MAC operation of the three inputs delayElem, filTap , mac 704 OMX_S32 result; local 706 result = armSatMulS16S32_S32(filTap,delayElem); 708 if ( result > OMX_MAX_S16 ) 710 result = OMX_MAX_S32; 712 else if( result < OMX_MIN_S1 859 OMX_S32 result; local 896 OMX_S32 result; local 933 OMX_F64 result; local [all...] |