/frameworks/minikin/libs/minikin/ |
H A D | FontLanguageListCache.cpp | 80 std::vector<FontLanguage> result; local 94 result.push_back(lang); 95 if (result.size() == FONT_LANGUAGES_LIMIT) { 101 if (result.size() < FONT_LANGUAGES_LIMIT) { 107 result.push_back(lang); 110 return result;
|
H A D | MinikinFontFreeType.cpp | 76 GlyphBitmap *result) { 88 result->buffer = bitmap.buffer; 89 result->width = bitmap.width; 90 result->height = bitmap.rows; 91 result->left = mTypeface->glyph->bitmap_left; 92 result->top = mTypeface->glyph->bitmap_top; 75 Render(uint32_t glyph_id, const MinikinPaint& , GlyphBitmap *result) argument
|
/frameworks/native/libs/gui/ |
H A D | IConsumerListener.cpp | 68 status_t result = data.writeInterfaceToken( local 70 if (result != NO_ERROR) { 71 ALOGE("getFrameTimestamps failed to write token: %d", result); 74 result = data.writeUint64(frameNumber); 75 if (result != NO_ERROR) { 76 ALOGE("getFrameTimestamps failed to write: %d", result); 79 result = remote()->transact(GET_FRAME_TIMESTAMPS, data, &reply); 80 if (result != NO_ERROR) { 81 ALOGE("getFrameTimestamps failed to transact: %d", result); 85 result 131 status_t result = data.readUint64(&frameNumber); local [all...] |
H A D | IGraphicBufferAlloc.cpp | 64 status_t result = reply.readInt32(); local 65 if (result == NO_ERROR) { 67 result = reply.read(*graphicBuffer); 68 if (result != NO_ERROR) { 75 *error = result; 113 sp<GraphicBuffer> result = createGraphicBuffer(width, height, local 116 if (result != 0) { 117 reply->write(*result); 124 reply->writeStrongBinder( new BufferReference(result) );
|
H A D | ISensorEventConnection.cpp | 115 status_t result = enableDisable(handle, enabled, samplingPeriodNs, local 117 reply->writeInt32(result); 124 status_t result = setEventRate(handle, ns); local 125 reply->writeInt32(result); 130 status_t result = flush(); local 131 reply->writeInt32(result);
|
/frameworks/native/libs/gui/tests/ |
H A D | Surface_test.cpp | 71 int result = -123; local 73 &result); 75 EXPECT_EQ(1, result); 82 int result = -123; local 84 &result); 86 EXPECT_EQ(1, result); 137 int result = -123; local 138 int err = anw->query(anw.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result); 140 EXPECT_EQ(NATIVE_WINDOW_SURFACE, result);
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glGetShaderSource.cpp | 104 jstring result = _env->NewStringUTF(buf); local 106 return result;
|
/frameworks/native/services/sensorservice/ |
H A D | SensorFusion.cpp | 186 void SensorFusion::dump(String8& result) { argument 188 result.appendFormat("9-axis fusion %s (%zd clients), gyro-rate=%7.2fHz, " 204 result.appendFormat("game fusion(no mag) %s (%zd clients), " 221 result.appendFormat("geomag fusion (no gyro) %s (%zd clients), "
|
H A D | SensorList.cpp | 122 String8 result; local 124 forEachSensor([&result] (const Sensor& s) -> bool { 125 result.appendFormat( 138 result.append(" continuous | "); 140 result.append(" on-change | "); 142 result.append(" one-shot | "); 144 result.append(" special-trigger | "); 146 result.append(" unknown-mode | "); 150 result.appendFormat("minRate=%.2fHz | ", 1e6f / s.getMaxDelay()); 152 result [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Program.cpp | 115 String8& Program::dumpShader(String8& result, GLenum /*type*/) { argument 121 result.append(src); 123 return result;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiNetworkScoreCache.java | 80 public boolean isScoredNetwork(ScanResult result) { argument 81 return getScoredNetwork(result) != null; 90 public boolean hasScoreCurve(ScanResult result) { argument 91 ScoredNetwork network = getScoredNetwork(result); 95 public int getNetworkScore(ScanResult result) { argument 99 ScoredNetwork network = getScoredNetwork(result); 101 score = network.rssiCurve.lookupScore(result.level); 105 + " RSSI " + result.level); 116 public boolean getMeteredHint(ScanResult result) { argument 117 ScoredNetwork network = getScoredNetwork(result); 121 getNetworkScore(ScanResult result, boolean isActiveNetwork) argument 138 getScoredNetwork(ScanResult result) argument 163 buildNetworkKey(ScanResult result) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | ScanScheduleUtil.java | 128 * Returns true if the given scan result should be reported to a listener with the given 132 ScanResult result, int bucketsScanned, ScanSettings settings, int scheduledBucket) { 134 return channelHelper.settingsContainChannel(settings, result.frequency); 142 * requested in the settings. Will return null if the result should not be reported. 148 * ScanData will be included if the scan was empty or there was at least one scan result that 170 // one result that matched the scan request or we are sure that all the requested 131 shouldReportFullScanResultForSettings(ChannelHelper channelHelper, ScanResult result, int bucketsScanned, ScanSettings settings, int scheduledBucket) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmInboundSmsHandler.java | 92 * @return a result code from {@link android.provider.Telephony.Sms.Intents}, 171 * @param result result code indicating any error 175 protected void acknowledgeLastIncomingSms(boolean success, int result, Message response) { argument 176 mPhone.mCi.acknowledgeLastIncomingGsmSms(success, resultToCause(result), response); 196 * Convert Android result code to 3GPP SMS failure cause. 197 * @param rc the Android SMS intent result value
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
H A D | ImageCompare.java | 52 public static void compareBitmap(Bitmap bitmap1, Bitmap bitmap2, CompareValue result) { argument 66 //if (error > result.maxDiff) { 67 //result.maxDiff = error; 72 result.diffPercent = ((float)diffCount)/first.length; 73 result.aveDiff = ((float)diffSum)/first.length;
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
H A D | UnitTest.java | 24 public int result; field in class:UnitTest 43 result = initResult; 61 if (result == 0) { 64 result = 1; 67 result = -1; 76 mItem.result = result;
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
H A D | UnitTest.java | 24 public int result; field in class:UnitTest 43 result = initResult; 61 result = -1; 68 mItem.result = result; 83 if (result == 0) { 86 result = 1; 89 result = -1;
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
H A D | UnitTest.java | 24 public int result; field in class:UnitTest 43 result = initResult; 61 result = -1; 68 mItem.result = result; 83 if (result == 0) { 86 result = 1; 89 result = -1;
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | DirectedAcyclicGraph.java | 101 ArrayList<T> result = null; 105 if (result == null) { 106 result = new ArrayList<>(); 108 result.add(mGraph.keyAt(i)); 111 return result; 158 private void dfs(final T node, final ArrayList<T> result, final HashSet<T> tmpMarked) { argument 159 if (result.contains(node)) { 160 // We've already seen and added the node to the result list, skip... 172 dfs(edges.get(i), result, tmpMarked); 177 // Finally add it to the result lis [all...] |
/frameworks/support/media-compat/api24/android/support/v4/media/ |
H A D | MediaBrowserServiceCompatApi24.java | 56 void onLoadChildren(String parentId, ResultWrapper result, Bundle options); argument 62 ResultWrapper(MediaBrowserService.Result result) { argument 63 mResultObj = result; 66 public void sendResult(List<Parcel> result, int flags) { argument 72 mResultObj.sendResult(parcelListToItemList(result)); 100 public void onLoadChildren(String parentId, Result<List<MediaBrowser.MediaItem>> result, argument 103 parentId, new ResultWrapper(result), options);
|
/frameworks/wilhelm/src/android/ |
H A D | BufferQueueSource.cpp | 150 SLresult result = (*callback)(&mAndroidBufferQueueSource->mItf, callbackPContext, local 155 if (SL_RESULT_SUCCESS != result) { 157 SL_LOGW("Unsuccessful result %d returned from AndroidBufferQueueCallback", result);
|
H A D | channels.c | 194 uint32_t result = audio_channel_mask_from_representation_and_bits( local 209 result, 213 return result;
|
/frameworks/wilhelm/src/ |
H A D | entry.c | 33 SLresult result; local 43 result = SL_RESULT_PARAMETER_INVALID; 50 result = SL_RESULT_PARAMETER_INVALID; 61 result = SL_RESULT_SUCCESS; 73 result = SL_RESULT_PARAMETER_INVALID; 77 if (SL_RESULT_SUCCESS != result) { 83 result = checkInterfaces(pCEngine_class, numInterfaces, 85 if (SL_RESULT_SUCCESS != result) { 145 result = SL_RESULT_MEMORY_FAILURE; 174 return result; 183 SLresult result; local 218 SLresult result; local [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IBufferQueue.c | 53 result = SL_RESULT_PARAMETER_INVALID; 62 result = SL_RESULT_BUFFER_INSUFFICIENT; 68 result = SL_RESULT_SUCCESS; 71 interface_unlock_exclusive_attributes(thiz, ((SL_RESULT_SUCCESS == result) && 83 result = SL_RESULT_SUCCESS; local 91 result = android_audioPlayer_bufferQueue_onClear(audioPlayer); 94 if (SL_RESULT_SUCCESS == result) { 129 result = SL_RESULT_PARAMETER_INVALID; 142 result = SL_RESULT_SUCCESS; 160 result [all...] |
/frameworks/wilhelm/src/objects/ |
H A D | CEngine.c | 55 SLresult result; local 59 result = err_to_result(err); 60 if (SL_RESULT_SUCCESS != result) 61 return result; 64 result = ThreadPool_init(&thiz->mThreadPool, 0, 0); 65 if (SL_RESULT_SUCCESS != result) { 68 return 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...] |