/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | SetTagsTest.java | 79 boolean result = false; 83 result = true; 85 assertTrue("Setting a tag with a framework id did not throw an exception", result); 90 boolean result = false; 94 result = true; 96 assertTrue("Setting a tag with an id with no package did not throw an exception", result); 106 boolean result = false; 110 result = true; 112 assertTrue("Setting a tag with an id with app package did not throw an exception", result);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | GLEnvironment.java | 103 int result = nativeAddSurface(surface); 104 if (result < 0) { 107 return result; 112 int result = nativeAddSurfaceWidthHeight(surface, width, height); 114 if (result < 0) { 117 return result; 121 int result = nativeAddSurfaceFromMediaRecorder(mediaRecorder); 122 if (result < 0) { 126 return result;
|
H A D | SimpleFrameManager.java | 43 Frame result = null; 48 result = glFrame; 56 return result; 60 Frame result = null; 63 result = new SimpleFrame(format, this); 67 result = new NativeFrame(format, this); 73 result = glFrame; 78 result = new VertexFrame(format, this); 86 return result;
|
/frameworks/wilhelm/src/itf/ |
H A D | IEqualizer.c | 63 result = SL_RESULT_SUCCESS; 66 result = SL_RESULT_CONTROL_LOST; 70 result = android_fx_statusToResult(status); 84 result = SL_RESULT_PARAMETER_INVALID; 91 result = SL_RESULT_SUCCESS; 94 result = SL_RESULT_CONTROL_LOST; 97 result = SL_RESULT_SUCCESS; 112 result = SL_RESULT_PARAMETER_INVALID; 117 result = SL_RESULT_SUCCESS; 130 result [all...] |
H A D | IAudioDecoderCapabilities.c | 28 result = SL_RESULT_PARAMETER_INVALID; 30 result = SL_RESULT_SUCCESS; 37 result = SL_RESULT_PARAMETER_INVALID; 54 result = GetCodecCapabilities(decoderId, pIndex, pDescriptor, DecoderDescriptors); local
|
H A D | IAudioEncoder.c | 28 result = SL_RESULT_PARAMETER_INVALID; 35 result = SL_RESULT_SUCCESS; 48 result = SL_RESULT_PARAMETER_INVALID; 55 result = SL_RESULT_SUCCESS;
|
H A D | IAudioEncoderCapabilities.c | 28 result = SL_RESULT_PARAMETER_INVALID; 30 result = SL_RESULT_SUCCESS; 37 result = SL_RESULT_PARAMETER_INVALID; 54 result = GetCodecCapabilities(encoderId, pIndex, pDescriptor, local
|
H A D | IVisualization.c | 28 result = SL_RESULT_PARAMETER_INVALID; 36 result = SL_RESULT_SUCCESS; 48 result = SL_RESULT_PARAMETER_INVALID; 51 result = SL_RESULT_SUCCESS;
|
H A D | IVolume.c | 27 result = SL_RESULT_PARAMETER_INVALID; 38 result = SL_RESULT_SUCCESS; 50 result = SL_RESULT_PARAMETER_INVALID; 57 result = SL_RESULT_SUCCESS; 69 result = SL_RESULT_PARAMETER_INVALID; 72 result = SL_RESULT_SUCCESS; 93 result = SL_RESULT_SUCCESS; 104 result = SL_RESULT_PARAMETER_INVALID; 111 result = SL_RESULT_SUCCESS; 132 result [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | PreciseCallState.java | 271 int result = 1; 272 result = prime * result + mRingingCallState; 273 result = prime * result + mForegroundCallState; 274 result = prime * result + mBackgroundCallState; 275 result = prime * result + mDisconnectCause; 276 result [all...] |
H A D | PreciseDataConnectionState.java | 194 int result = 1; 195 result = prime * result + mState; 196 result = prime * result + mNetworkType; 197 result = prime * result + ((mAPNType == null) ? 0 : mAPNType.hashCode()); 198 result = prime * result + ((mAPN == null) ? 0 : mAPN.hashCode()); 199 result [all...] |
/frameworks/wilhelm/src/objects/ |
H A D | CAudioRecorder.c | 26 SLresult result = SL_RESULT_SUCCESS; local 30 result = android_audioRecorder_realize(thiz, async); 33 return result;
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | value.cpp | 44 Value result; local 45 result.type = TYPEID; 46 result.value = malloc(sizeof(POD)); 47 result.count = 1; 48 *reinterpret_cast<POD*>(result.value) = value; 49 return result; 54 Value result; local 55 result.type = TYPEID; 56 result.value = malloc(sizeof(BASE) * count); 57 memcpy(result 150 Value result; local 174 Value result; local 186 Value result; local [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | configbq.c | 75 SLresult result; local 79 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); 80 assert(SL_RESULT_SUCCESS == result); 82 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); 83 assert(SL_RESULT_SUCCESS == result); 84 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); 85 assert(SL_RESULT_SUCCESS == result); 89 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL); 90 assert(SL_RESULT_SUCCESS == result); 91 result [all...] |
/frameworks/base/core/java/android/net/dhcp/ |
H A D | DhcpDeclinePacket.java | 44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); 46 fillInPacket(encap, mClientIp, mYourIp, destUdp, srcUdp, result, 48 result.flip(); 49 return result;
|
/frameworks/base/core/java/android/text/format/ |
H A D | Formatter.java | 52 float result = number; 54 if (result > 900) { 56 result = result / 1024; 58 if (result > 900) { 60 result = result / 1024; 62 if (result > 900) { 64 result = result / 102 [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | JournaledFile.java | 48 File result; 50 result = mReal; 55 result = mTemp; 60 return result;
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyList.java | 30 // result code for GetObjectPropList 44 public MtpPropertyList(int maxCount, int result) { argument 46 mResult = result; 75 public void setResult(int result) { argument 76 mResult = result;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | DirectoryLoader.java | 102 final DirectoryResult result = new DirectoryResult(); 114 result.exception = e; 115 return result; 133 result.mode = userMode; 136 result.mode = State.MODE_GRID; 138 result.mode = State.MODE_LIST; 143 result.sortOrder = mUserSortOrder; 146 result.sortOrder = State.SORT_ORDER_LAST_MODIFIED; 148 result.sortOrder = State.SORT_ORDER_DISPLAY_NAME; 154 result 205 deliverResult(DirectoryResult result) argument 238 onCanceled(DirectoryResult result) argument [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | Response.java | 28 * @param result The results. 30 void onResult(IN request, OUT... result); argument
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | LEB128.cpp | 97 uint64_t result = 0; local 113 result = ((*(pBuf + 3) & 0x7f) << 21) | 131 result |= (static_cast<uint64_t>(byte & 0x7f) << shift); 136 return result; 142 uint64_t result; local 145 result = byte & 0x7f; 147 return result; 150 result |= ((byte & 0x7f) << 7); 152 return result; 155 result | 189 uint64_t result = 0; local 210 uint64_t result = 0; local [all...] |
/frameworks/opt/chips/tests/src/com/android/ex/chips/ |
H A D | RecipientAlternatesAdapterTest.java | 32 Cursor result; 42 result = RecipientAlternatesAdapter.removeUndesiredDestinations(c, 44 assertEquals(1, result.getCount()); 45 assertRow(result, 0, "a", "1@android.com", 1, "home", 1000, 2000, "x", 0); 50 result = RecipientAlternatesAdapter.removeUndesiredDestinations(c, 52 assertEquals(2, result.getCount()); 53 assertRow(result, 0, "a", "1@android.com", 1, "home", 1000, 2000, "x", 0); 54 assertRow(result, 1, "a", "2@android.com", 1, "home", 1000, 2000, "x", 0); 60 result = RecipientAlternatesAdapter.removeUndesiredDestinations(c, 62 assertEquals(2, result [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CommandsInterface.java | 120 * response.obj.result is an int[2] 122 * response.obj.result[0] is IMS registration state 125 * response.obj.result[1] is of type RILConstants.GSM_PHONE or 128 void getImsRegistrationState(Message result); argument 226 * AsyncResult.result is a String containing the SMS PDU 236 * AsyncResult.result is a String containing the SMS PDU 244 * AsyncResult.result is a byte array containing the SMS-CB PDU 252 * AsyncResult.result is an int array containing the index of new SMS 260 * AsyncResult.result is a String containing the status report PDU 268 * AsyncResult.result i 422 setSuppServiceNotifications(boolean enable, Message result) argument 632 supplyIccPin(String pin, Message result) argument 651 supplyIccPinForApp(String pin, String aid, Message result) argument 668 supplyIccPuk(String puk, String newPin, Message result) argument 686 supplyIccPukForApp(String puk, String newPin, String aid, Message result) argument 705 supplyIccPin2(String pin2, Message result) argument 726 supplyIccPin2ForApp(String pin2, String aid, Message result) argument 745 supplyIccPuk2(String puk2, String newPin2, Message result) argument 766 supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message result) argument 769 changeIccPin(String oldPin, String newPin, Message result) argument 770 changeIccPinForApp(String oldPin, String newPin, String aidPtr, Message result) argument 771 changeIccPin2(String oldPin2, String newPin2, Message result) argument 772 changeIccPin2ForApp(String oldPin2, String newPin2, String aidPtr, Message result) argument 774 changeBarringPassword(String facility, String oldPwd, String newPwd, Message result) argument 776 supplyNetworkDepersonalization(String netpin, Message result) argument 786 getCurrentCalls(Message result) argument 797 getPDPContextList(Message result) argument 806 getDataCallList(Message result) argument 819 dial(String address, int clirMode, Message result) argument 832 dial(String address, int clirMode, UUSInfo uusInfo, Message result) argument 841 getIMSI(Message result) argument 850 getIMSIForApp(String aid, Message result) argument 859 getIMEI(Message result) argument 868 getIMEISV(Message result) argument 881 hangupConnection(int gsmIndex, Message result) argument 891 hangupWaitingOrBackground(Message result) argument 902 hangupForegroundResumeBackground(Message result) argument 913 switchWaitingOrHoldingAndActive(Message result) argument 923 conference(Message result) argument 931 setPreferredVoicePrivacy(boolean enable, Message result) argument 938 getPreferredVoicePrivacy(Message result) argument 945 separateConnection(int gsmIndex, Message result) argument 953 acceptCall(Message result) argument 961 rejectCall(Message result) argument 971 explicitCallTransfer(Message result) argument 981 getLastCallFailCause(Message result) argument 992 getLastPdpFailCause(Message result) argument 998 getLastDataCallFailCause(Message result) argument 1051 sendDtmf(char c, Message result) argument 1059 startDtmf(char c, Message result) argument 1066 stopDtmf(Message result) argument 1073 sendBurstDtmf(String dtmfString, int on, int off, Message result) argument 1345 resetRadio(Message result) argument 1401 getSmscAddress(Message result) argument 1409 setSmscAddress(String address, Message result) argument 1416 reportSmsMemoryStatus(boolean available, Message result) argument 1424 reportStkServiceIsRunning(Message result) argument 1489 setGsmBroadcastActivation(boolean activate, Message result) argument 1617 setupDataCall(String radioTechnology, String profile, String apn, String user, String password, String authType, String protocol, Message result) argument 1631 deactivateDataCall(int cid, int reason, Message result) argument 1641 setCdmaBroadcastActivation(boolean activate, Message result) argument 1657 getCdmaBroadcastConfig(Message result) argument 1673 getIccCardStatus(Message result) argument 1720 getVoiceRadioTechnology(Message result) argument 1729 getCellInfoList(Message result) argument 1772 setInitialAttachApn(String apn, String protocol, int authType, String username, String password, Message result) argument 1783 setDataProfile(DataProfile[] dps, Message result) argument 1894 getHardwareConfig(Message result) argument 1921 setUiccSubscription(int slotId, int appIndex, int subId, int subStatus, Message result) argument 1933 setDataAllowed(boolean allowed, Message result) argument 1940 requestShutdown(Message result) argument 1950 setRadioCapability(RadioCapability rc, Message result) argument 1957 getRadioCapability(Message result) argument [all...] |
/frameworks/support/v4/java/android/support/v4/database/ |
H A D | DatabaseUtilsCompat.java | 53 String[] result = new String[originalValues.length + newValues.length ]; 54 System.arraycopy(originalValues, 0, result, 0, originalValues.length); 55 System.arraycopy(newValues, 0, result, originalValues.length, newValues.length); 56 return result;
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaItemStatus.java | 256 StringBuilder result = new StringBuilder(); 257 result.append("MediaItemStatus{ "); 258 result.append("timestamp="); 259 TimeUtils.formatDuration(SystemClock.elapsedRealtime() - getTimestamp(), result); 260 result.append(" ms ago"); 261 result.append(", playbackState=").append(playbackStateToString(getPlaybackState())); 262 result.append(", contentPosition=").append(getContentPosition()); 263 result.append(", contentDuration=").append(getContentDuration()); 264 result.append(", extras=").append(getExtras()); 265 result [all...] |