Home
last modified time | relevance | path

Searched refs:cat (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoService.java81 final Cat cat = Cat.create(this); in onStartJob() local
83 = cat.buildNotification(this) in onStartJob()
103 Cat cat; in triggerFoodResponse() local
114 cat = newRandomCat(context, prefs); in triggerFoodResponse()
115 Log.v(TAG, "A new cat is here: " + cat.getName()); in triggerFoodResponse()
117 cat = getExistingCat(prefs); in triggerFoodResponse()
118 Log.v(TAG, "A cat has returned: " + cat.getName()); in triggerFoodResponse()
121 notifyCat(context, cat); in triggerFoodResponse()
126 static void notifyCat(Context context, Cat cat) { in notifyCat() argument
128 final Notification.Builder builder = cat.buildNotification(context); in notifyCat()
[all …]
DNekoLand.java116 public int compare(Cat cat, Cat cat2) { in updateCats()
117 Color.colorToHSV(cat.getBodyColor(), hsv); in updateCats()
130 private void onCatClick(Cat cat) { in onCatClick() argument
132 mPrefs.addCat(cat); in onCatClick()
138 showNameDialog(cat); in onCatClick()
142 private void onCatRemove(Cat cat) { in onCatRemove() argument
143 cat.logRemove(this); in onCatRemove()
144 mPrefs.removeCat(cat); in onCatRemove()
147 private void showNameDialog(final Cat cat) { in showNameDialog() argument
153 text.setText(cat.getName()); in showNameDialog()
[all …]
DPrefState.java47 public void addCat(Cat cat) { in addCat() argument
49 .putString(CAT_KEY_PREFIX + String.valueOf(cat.getSeed()), cat.getName()) in addCat()
53 public void removeCat(Cat cat) { in removeCat() argument
54 mPrefs.edit().remove(CAT_KEY_PREFIX + String.valueOf(cat.getSeed())).apply(); in removeCat()
63 Cat cat = new Cat(mContext, seed); in getCats() local
64 cat.setName(String.valueOf(map.get(key))); in getCats()
65 cats.add(cat); in getCats()
/frameworks/base/libs/hwui/tests/scripts/
Dprep_generic.sh97 fpsgoState=`cat /d/fpsgo/common/force_onoff`
133 maxFreq=`cat ${CPU_BASE}/cpu$cpu/cpufreq/cpuinfo_max_freq`
134 availFreq=`cat ${CPU_BASE}/cpu$cpu/cpufreq/scaling_available_frequencies`
188 AVAIL_OP_FREQS=`cat /proc/cpufreq/MT_CPU_DVFS_LL/cpufreq_oppidx \
238 obsCur=`cat ${freq}/scaling_cur_freq`
239 obsMin=`cat ${freq}/scaling_min_freq`
240 obsMax=`cat ${freq}/scaling_max_freq`
288 gpuAvailFreq=`cat $GPU_BASE/devfreq/available_frequencies`
337 obsCur=`cat ${GPU_BASE}/devfreq/cur_freq`
338 obsMin=`cat ${GPU_BASE}/devfreq/min_freq`
[all …]
/frameworks/base/data/sounds/
Dgenerate-all-audio.sh22 cat > AllAudio.mk << EOF
42 cat OriginalAudio.mk AudioPackage*.mk |
50 cat *.mk |
/frameworks/base/tools/hoststubgen/scripts/
Ddump-jar20 cat <<'EOF'
111 cat # Print as-is.
118 cat >"$output"
121 cat # print to stdout
/frameworks/native/libs/tracing_perfetto/tests/
Dutils.cpp77 for (const std::string& cat : enabled_categories_) { in Build() local
79 &te_cfg, cat.data(), cat.size()); in Build()
81 for (const std::string& cat : disabled_categories_) { in Build() local
83 &te_cfg, cat.data(), cat.size()); in Build()
/frameworks/rs/perf-test-scripts/
Dtiming209 adb shell cat /sdcard/rsTimes/${TEST_NAMES[$testId]}_DATA.txt > timing.tmp
217 AVG=`cat timing.tmp | awk '{sum+=$2}END{printf "%.2f",sum/NR}'`
218 …STDCOEF=`cat timing.tmp | awk '{sum+=$2;sos+=$2*$2}END{printf "%.2f",sqrt((sos-sum*sum/NR)/NR)/(su…
269 adb shell cat /sdcard/rsTimes/${TEST_NAMES[$testId]}_DATA.txt > timing.tmp
276 AVG=`cat timing.tmp | awk '{sum+=$2}END{printf "%.2f",sum/NR}'`
277 …STDCOEF=`cat timing.tmp | awk '{sum+=$2;sos+=$2*$2}END{printf "%.2f",sqrt((sos-sum*sum/NR)/NR)/(su…
Dget-freq13 echo `adb shell cat $1 | tr -d '\r'`
57 …frequencies=(`adb shell cat $CPU_DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\…
Dset-cpu-freq17 echo `adb shell cat $1 | tr -d '\r'`
72 … frequencies=(`adb shell cat $DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\r'`)
/frameworks/av/tools/
Dmainline_hook_partial.sh159 cat - <<EOF
175 cat - <<EOF
193 cat - <<EOF
/frameworks/compile/libbcc/gdb_plugin/
Dandroid-commands.py337 def __init__(self, adb, name="android-status", cat=gdb.COMMAND_OBSCURE, verbose=False): argument
338 super (AndroidStatus, self).__init__(name, cat)
427 def __init__ (self, adb, name="start-android-app", cat=gdb.COMMAND_RUNNING, verbose=False): argument
428 super (StartAndroidApp, self).__init__(adb, name, cat, verbose)
581 def __init__(self, adb, name="run-android-app", cat=gdb.COMMAND_RUNNING, verbose=False): argument
582 super (RunAndroidApp, self).__init__(adb, name, cat, verbose)
591 def __init__(self, adb, name="attach-android-app", cat=gdb.COMMAND_RUNNING, verbose=False): argument
592 super (AttachAndroidApp, self).__init__(adb, name, cat, verbose)
658 def __init__(self, adb, name="load-android-app", cat=gdb.COMMAND_RUNNING, verbose=False): argument
659 super (LoadApp, self).__init__(adb, name, cat, verbose)
[all …]
/frameworks/base/tests/backup/
Dtest_restore.sh25 data=$(a shell cat /data/data/com.android.backuptest/$1)
108 a shell cat /data/data/com.android.backuptest/files/3.txt | tail -n 3
/frameworks/av/services/audiopolicy/engine/common/include/
DVolumeCurve.h128 device_category cat = keyAt(index); in switchCurvesFrom() local
129 setVolumeCurve(cat, referenceCurves.getOriginVolumeCurve(cat)); in switchCurvesFrom()
/frameworks/wilhelm/tools/hashgen/
DMakefile14 cat part1.c part2.c part3.c part4.c part5.c part6.c part7.c part8.c >> $@
55 cat frag3.c >> $@
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DLaunchBrowserMode.java17 package com.android.internal.telephony.cat;
DPresentationType.java17 package com.android.internal.telephony.cat;
DCatException.java17 package com.android.internal.telephony.cat;
DFontSize.java17 package com.android.internal.telephony.cat;
DTextAlignment.java17 package com.android.internal.telephony.cat;
DSendSMSParams.java17 package com.android.internal.telephony.cat;
DTextColor.java17 package com.android.internal.telephony.cat;
DTextAttribute.java17 package com.android.internal.telephony.cat;
/frameworks/base/api/
Dgen_combined_removed_dex.sh10 cat "${tmp_dir}/tmp"
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DCriticalNotificationExtractorTest.java91 private void assertCriticality(String cat, int criticality) { in assertCriticality() argument
92 NotificationRecord info = generateRecord(cat); in assertCriticality()

1234