Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 74) sorted by relevance

123

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java258 String tmp; in customizeViewContent() local
263 tmp = getString(R.string.download_line1, mTransInfo.mDeviceName); in customizeViewContent()
264 mLine1View.setText(tmp); in customizeViewContent()
266 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
267 mLine2View.setText(tmp); in customizeViewContent()
269 tmp = getString(R.string.download_line3, in customizeViewContent()
271 mLine3View.setText(tmp); in customizeViewContent()
274 tmp = getString(R.string.download_line5); in customizeViewContent()
276 tmp = getString(R.string.download_succ_line5); in customizeViewContent()
278 mLine5View.setText(tmp); in customizeViewContent()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DColorSpaceMatrix.java84 float[] tmp = c.mMatrix; in xRotateMatrix() local
86 tmp[5] = rc; in xRotateMatrix()
87 tmp[6] = rs; in xRotateMatrix()
88 tmp[9] = -rs; in xRotateMatrix()
89 tmp[10] = rc; in xRotateMatrix()
91 multiply(tmp); in xRotateMatrix()
97 float[] tmp = c.mMatrix; in yRotateMatrix() local
99 tmp[0] = rc; in yRotateMatrix()
100 tmp[2] = -rs; in yRotateMatrix()
101 tmp[8] = rs; in yRotateMatrix()
[all …]
/packages/apps/Gallery2/jni/filters/
Dedge.c61 float tmp = 0.0f; in JNIFUNCF() local
62 tmp += *(ptr + (loc - row_stride + 4 + l)); in JNIFUNCF()
63 tmp += *(ptr + (loc + 4 + l)) * 2.0f; in JNIFUNCF()
64 tmp += *(ptr + (loc + row_stride + 4 + l)); in JNIFUNCF()
65 tmp -= *(ptr + (loc - row_stride - 4 + l)); in JNIFUNCF()
66 tmp -= *(ptr + (loc - 4 + l)) * 2.0f; in JNIFUNCF()
67 tmp -= *(ptr + (loc + row_stride - 4 + l)); in JNIFUNCF()
68 if (fabs(tmp) > fabs(bestx)) { in JNIFUNCF()
69 bestx = tmp; in JNIFUNCF()
75 float tmp = 0.0f; in JNIFUNCF() local
[all …]
Dkmeans.h146 N tmp[pop_size]; in calculateNewCentroids() local
152 tmp[x] = 0; in calculateNewCentroids()
158 add<T, N>(values + x, tmp + best, dimension); in calculateNewCentroids()
167 divide<N, int>(tmp + x, popularities[x / stride], dimension); in calculateNewCentroids()
169 if ((dst + x)[y] != (T) ((tmp + x)[y])) { in calculateNewCentroids()
173 set(dst + x, tmp + x, dimension); in calculateNewCentroids()
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/test/
Dlarge_test.sh18 ../../parse_systrace.py hdrnet.html > hdrnet.tmp
20 ../../parse_systrace.py cpu.html > cpu.tmp
22 ../../parse_systrace.py unittest.html > unittest.tmp
24 ../../parse_systrace.py --per-execution hdrnet.html > hdrnet-bm.tmp
25 ../../parse_systrace.py --per-execution --json omr1_incomplete.html > omr1_incomplete.tmp
26 ../../parse_systrace.py omr1.html > omr1.tmp
27 ../../parse_systrace.py old.html > old.tmp
30 diff hdrnet.txt hdrnet.tmp
32 diff cpu.txt cpu.tmp
34 diff unittest.txt unittest.tmp
[all …]
/packages/modules/Virtualization/microdroid/
DREADME.md31 "bootloader": "/data/local/tmp/microdroid/bootloader",
34 "image": "/data/local/tmp/microdroid/os_composite.img",
38 "image": "/data/local/tmp/microdroid/env_composite.img",
42 "image": "/data/local/tmp/microdroid/payload.img",
46 "image": "/data/local/tmp/microdroid/userdata_composite.qcow2",
60 $ adb shell 'mkdir /data/local/tmp/microdroid'
61 $ adb shell 'cp /apex/com.android.virt/etc/microdroid_bootloader /data/local/tmp/microdroid/bootloa…
62 $ adb shell 'cp /apex/com.android.virt/etc/fs/*.img /data/local/tmp/microdroid'
63 $ adb shell 'cp /apex/com.android.virt/etc/uboot_env.img /data/local/tmp/microdroid'
64 $ adb shell 'dd if=/dev/zero of=/data/local/tmp/microdroid/misc.img bs=4k count=256'
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageStraighten.java206 private void updateCurrentCrop(Matrix m, GeometryHolder h, RectF tmp, int imageWidth, in updateCurrentCrop() argument
208 tmp.set(0, 0, imageHeight, imageWidth); in updateCurrentCrop()
209 m.mapRect(tmp); in updateCurrentCrop()
210 float top = tmp.top; in updateCurrentCrop()
211 float bottom = tmp.bottom; in updateCurrentCrop()
212 float left = tmp.left; in updateCurrentCrop()
213 float right = tmp.right; in updateCurrentCrop()
214 m.mapRect(tmp); in updateCurrentCrop()
217 tmp.set(0, 0, imageHeight, imageWidth); in updateCurrentCrop()
221 tmp.set(0, 0, imageWidth, imageHeight); in updateCurrentCrop()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java250 long tmp = time / 1000L; in toHMS() local
251 long ms = time - tmp * 1000L; in toHMS()
253 time = tmp; in toHMS()
254 tmp /= 60L; in toHMS()
255 long s = time - tmp * 60L; in toHMS()
257 time = tmp; in toHMS()
258 tmp /= 60L; in toHMS()
259 long m = time - tmp * 60L; in toHMS()
261 return String.format("%s%d:%02d:%02d.%03d", millis < 0 ? "-" : "", tmp, m, s, ms); in toHMS()
/packages/modules/adb/coverage/
Dgen_coverage.sh50 adb shell rm -rf /data/local/tmp/adb_coverage
51 adb shell mkdir /data/local/tmp/adb_coverage
54 …adb shell LLVM_PROFILE_FILE=/data/local/tmp/adb_coverage/$TEST.profraw /data/nativetest64/$TEST/$T…
55 adb pull /data/local/tmp/adb_coverage/$TEST.profraw "$TRACEDIR"/test_traces/
58 adb pull /data/local/tmp/adb_coverage "$TRACEDIR"/test_traces
71 adb wait-for-device shell rm -rf "/data/misc/trace/*" /data/local/tmp/adb_coverage/
/packages/modules/DnsResolver/
Dgetaddrinfo.cpp349 addrinfo tmp = ai; in android_getaddrinfofornetcontext() local
350 if (tmp.ai_family == PF_UNSPEC) { in android_getaddrinfofornetcontext()
351 tmp.ai_family = PF_INET6; in android_getaddrinfofornetcontext()
353 error = get_portmatch(&tmp, servname); in android_getaddrinfofornetcontext()
366 addrinfo tmp = ai; in android_getaddrinfofornetcontext() local
367 if (tmp.ai_family == PF_UNSPEC) tmp.ai_family = ex.e_af; in android_getaddrinfofornetcontext()
368 if (tmp.ai_socktype == ANY && ex.e_socktype != ANY) tmp.ai_socktype = ex.e_socktype; in android_getaddrinfofornetcontext()
369 if (tmp.ai_protocol == ANY && ex.e_protocol != ANY) tmp.ai_protocol = ex.e_protocol; in android_getaddrinfofornetcontext()
371 LOG(DEBUG) << __func__ << ": explore_numeric: ai_family=" << tmp.ai_family in android_getaddrinfofornetcontext()
372 << " ai_socktype=" << tmp.ai_socktype << " ai_protocol=" << tmp.ai_protocol; in android_getaddrinfofornetcontext()
[all …]
DPrivateDnsConfiguration.cpp66 PrivateDnsTracker tmp; in set() local
76 tmp[ServerIdentity(*server)] = std::move(server); in set()
82 } else if (!tmp.empty()) { in set()
95 for (auto& [identity, server] : tmp) { in set()
102 const bool active = tmp.find(identity) != tmp.end(); in set()
/packages/modules/Virtualization/docs/getting_started/
Dindex.md48 "kernel": "/data/local/tmp/kernel",
49 "initrd": "/data/local/tmp/ramdisk",
53 $ adb push <kernel> /data/local/tmp/kernel
54 $ adb push <ramdisk> /data/local/tmp/ramdisk
55 $ adb push vm_config.json /data/local/tmp/vm_config.json
57 $ adb shell "/apex/com.android.virt/bin/vm run /data/local/tmp/vm_config.json"
/packages/apps/Test/connectivity/sl4n/facades/test/
Dtest_facade.cpp128 rapidjson::Value tmp; in test_string_empty_return_wrapper() local
129 tmp.SetString(result.c_str(), doc.GetAllocator()); in test_string_empty_return_wrapper()
130 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); in test_string_empty_return_wrapper()
156 rapidjson::Value tmp; in test_string_max_return_wrapper() local
157 tmp.SetString(result.c_str(), doc.GetAllocator()); in test_string_max_return_wrapper()
158 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); in test_string_max_return_wrapper()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java452 Bitmap tmp = Bitmap.createBitmap(ret, 0, 0, ret.getWidth(), in doInBackground() local
454 if (tmp != null) { in doInBackground()
455 ret = tmp; in doInBackground()
526 Bitmap tmp = Bitmap.createBitmap((int) returnRect.width(), in doInBackground() local
528 if (tmp != null) { in doInBackground()
529 Canvas c = new Canvas(tmp); in doInBackground()
531 crop = tmp; in doInBackground()
536 Bitmap tmp = Bitmap.createBitmap(crop, 0, 0, crop.getWidth(), in doInBackground() local
538 if (tmp != null) { in doInBackground()
539 crop = tmp; in doInBackground()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java680 String tmp = "Unknown"; in eventInfoToString() local
684 tmp = "Go to time/event"; in eventInfoToString()
686 tmp = "View event"; in eventInfoToString()
688 tmp = "View details"; in eventInfoToString()
690 tmp = "Refresh events"; in eventInfoToString()
692 tmp = "Gone home"; in eventInfoToString()
694 tmp = "Update title"; in eventInfoToString()
696 builder.append(tmp); in eventInfoToString()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DMosaic.cpp244 double tmp[3][3]; in balanceRotations() local
247 memcpy(tmp, frames[i]->trs, sizeof(tmp)); in balanceRotations()
248 mult33d(frames[i]->trs, m, tmp); in balanceRotations()
/packages/modules/adb/
Dadb.bash200 while read -r tmp; do
201 command=${tmp##*/}
420 while read -r tmp; do
421 filetype=${tmp%% *}
422 filename=${tmp:${#filetype}+1}
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
Dvisualize_random_graph.sh48 …ush $NNTEST_DIR/NeuralNetworksTest_static_fuzzing/NeuralNetworksTest_static_fuzzing /data/local/tmp
49 adb shell /data/local/tmp/NeuralNetworksTest_static_fuzzing --gtest_filter=$TEST_NAME
56 adb pull /data/local/tmp/${SPEC_NAME}.mod.py $LOG_DIR
/packages/apps/Gallery2/jni_jpegstream/src/
Dstream_wrapper.cpp52 jbyteArray tmp = env->NewByteArray(getBufferSize()); in init() local
53 if (tmp == NULL || env->ExceptionCheck()){ in init()
57 mByteArray = reinterpret_cast<jbyteArray>(env->NewGlobalRef(tmp)); in init()
/packages/apps/Settings/src/com/android/settings/sim/
DSimListDialogFragment.java116 final List<SubscriptionInfo> tmp = new ArrayList<>(currentSubscriptions.size() + 1); in updateDialog() local
117 tmp.add(null); in updateDialog()
118 tmp.addAll(currentSubscriptions); in updateDialog()
119 currentSubscriptions = tmp; in updateDialog()
/packages/apps/Test/connectivity/sl4n/facades/bluetooth/
Dbt_binder_facade.cpp221 rapidjson::Value tmp; in bt_binder_get_local_name_wrapper() local
222 tmp.SetString(name.c_str(), doc.GetAllocator()); in bt_binder_get_local_name_wrapper()
223 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); in bt_binder_get_local_name_wrapper()
285 rapidjson::Value tmp; in bt_binder_get_local_address_wrapper() local
286 tmp.SetString(address.c_str(), doc.GetAllocator()); in bt_binder_get_local_address_wrapper()
287 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); in bt_binder_get_local_address_wrapper()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/storage/
DSharedDataPreferenceControllerTest.java115 final List<BlobInfo> tmp = new ArrayList<>(); in generateBlobList() local
116 tmp.add(new BlobInfo(10, System.currentTimeMillis(), "testing blob 1", 54 * 1024 * 1024, in generateBlobList()
118 return tmp; in generateBlobList()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_nodes_cache.h150 DicNodePriorityQueue *tmp = *dest; in moveNodesAndReturnReusableEmptyQueue() local
153 tmp->clearAndResize(srcMaxSize); in moveNodesAndReturnReusableEmptyQueue()
154 return tmp; in moveNodesAndReturnReusableEmptyQueue()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
DInputStreamProvider.java210 Bitmap tmp = Bitmap.createBitmap((int) returnRect.width(), in readCroppedBitmap() local
212 if (tmp != null) { in readCroppedBitmap()
213 Canvas c = new Canvas(tmp); in readCroppedBitmap()
217 crop = tmp; in readCroppedBitmap()
/packages/modules/Virtualization/microdroid/signature/
DREADME.md69 $ adb push payload_config.json hello.apex /data/local/tmp/
70 $ adb shell 'cd /data/local/tmp; /apex/com.android.virt/bin/mk_payload payload_config.json payload.…
71 $ adb shell ls /data/local/tmp/*.img

123