Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 60) sorted by relevance

123

/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DRemotePlayer.java150 public void onError(String error, int code, Bundle data) { in play() argument
151 logError("play: failed", error, code); in play()
192 public void onError(String error, int code, Bundle data) { in getStatus() argument
193 logError("getStatus: failed", error, code); in getStatus()
220 public void onError(String error, int code, Bundle data) { in pause()
221 logError("pause: failed", error, code); in pause()
245 public void onError(String error, int code, Bundle data) { in resume()
246 logError("resume: failed", error, code); in resume()
273 public void onError(String error, int code, Bundle data) { in stop()
274 logError("stop: failed", error, code); in stop()
[all …]
/development/samples/ShortcutSample/
DAndroid.mk31 LOCAL_AAPT_FLAGS += --version-code 10
55 LOCAL_AAPT_FLAGS += --version-code 11
79 LOCAL_AAPT_FLAGS += --version-code 12
103 LOCAL_AAPT_FLAGS += --version-code 11
128 LOCAL_AAPT_FLAGS += --version-code 12
/development/samples/ApiDemos/src/com/example/android/apis/app/
DNotifyingService.java124 protected boolean onTransact(int code, Parcel data, Parcel reply,
126 return super.onTransact(code, data, reply, flags);
DAlarmService_Service.java127 protected boolean onTransact(int code, Parcel data, Parcel reply,
129 return super.onTransact(code, data, reply, flags);
/development/samples/Alarm/src/com/example/android/newalarm/
DAlarmService.java118 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument
122 return super.onTransact(code, data, reply, flags); in onTransact()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsMessagingDemo.java235 private void handleSentResult(int code, Intent intent) { in handleSentResult() argument
238 if (code == Activity.RESULT_OK) { in handleSentResult()
257 Log.e(TAG, "MMS not sent, error=" + code); in handleSentResult()
276 private void handleReceivedResult(Context context, int code, Intent intent) { in handleReceivedResult() argument
278 if (code == Activity.RESULT_OK) { in handleReceivedResult()
307 Log.e(TAG, "MMS not received, error=" + code); in handleReceivedResult()
/development/sdk/
Dsdk_files_NOTICE.txt10 * Redistributions of source code must retain the above copyright
41 == in this case for the Android-specific code. ==
119 a) in the case of the initial Contributor, the initial code and
156 derivative works, in source code and object code form.
162 Contributor, if any, in source code and object code form. This
192 A Contributor may choose to distribute the Program in object code form
213 iv) states that source code for the Program is available from
218 When the Program is made available in source code form:
447 http://www.unicode.org/cldr/data/ . Unicode Software includes any source code
495 /* This ICU code derived from: */
[all …]
/development/tools/checkcolor/
Dgradlew.bat82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 rem the _cmd.exe /c_ return code!
/development/samples/devbytes/telephony/SmsSampleProject/
Dgradlew.bat82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 rem the _cmd.exe /c_ return code!
/development/samples/training/testingfun/
Dgradlew.bat82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 rem the _cmd.exe /c_ return code!
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DSoftKeyboard.java498 private boolean isAlphabet(int code) { in isAlphabet() argument
499 if (Character.isLetter(code)) { in isAlphabet()
701 public boolean isWordSeparator(int code) { in isWordSeparator() argument
703 return separators.contains(String.valueOf((char)code)); in isWordSeparator()
/development/tools/repo_diff/
DREADME.md96 a list of changes that actually have lines of code in the tree.
98 that have lines of code in the final source tree.
106 * It does not find commits that only delete lines of code.
/development/samples/AccelerometerPlay/
D_index.jd6 <p>Example code that shows how to use the device accelerometer in apps and games.</p>
/development/samples/browseable/Camera2Basic/
D_index.jd8 This sample demonstrates the basic use of Camera2 API. Check the source code to see how
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py187 code = ord(char)
188 if code == 0x00:
190 elif code < 0x80:
191 res.write(bytearray((code,)))
192 elif code < 0x800:
193 res.write(bytearray((0xc0 | (code >> 6), 0x80 | (code & 0x3f))))
194 elif code < 0x10000:
195 res.write(bytearray((0xe0 | (code >> 12),
196 0x80 | ((code >> 6) & 0x3f),
197 0x80 | (code & 0x3f))))
[all …]
/development/samples/browseable/MediaRecorder/
D_index.jd9 A TextureView is used as the camera preview which limits the code to API 14+. This
/development/samples/browseable/ActionBarCompat-Basic/
D_index.jd10 an item in code. Items that are not shown as action items on the Action Bar are
/development/tools/winscope/adb_proxy/
Dwinscope_proxy.py520 def respond(self, code: int, data: bytes, mime: str) -> None:
521 self.send_response(code)
539 def log_request(self, code='-', size='-'): argument
540 log.info('{} {} {}'.format(self.requestline, str(code), str(size)))
/development/apps/CustomLocale/src/com/android/customlocale2/
DCustomLocaleActivity.java288 String code = ((LocaleInfo) o).getLocale(); in checkLocaleInList() local
289 if (code != null && code.equals(locale)) { in checkLocaleInList()
/development/samples/training/ads-and-ux/
DReadMe.txt7 http://code.google.com/mobile/ads/download.html
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DRssService.java259 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) {
260 return super.onTransact(code, data, reply, flags);
/development/samples/ControllerSample/
Dproject.properties10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.d…
/development/samples/training/testingfun/app/
Dproject.properties10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.d…
/development/samples/training/NsdChat/
Dproject.properties10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.d…
/development/samples/training/basic/FragmentBasics/
Dproject.properties10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.d…

123