/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 332 ResXMLTree::event_code_t code; local 336 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { 337 if (code == ResXMLTree::END_TAG) { 344 if (code != ResXMLTree::START_TAG) { 436 ResXMLTree::event_code_t code; local 437 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { 438 if (code == ResXMLTree::END_TAG) { 451 } else if (code 887 ResXMLTree::event_code_t code; local 986 ResXMLTree::event_code_t code; local 1411 int32_t code = AaptXml::getIntegerAttribute(tree, MIN_SDK_VERSION_ATTR, local [all...] |
H A D | Resource.cpp | 237 ResXMLTree::event_code_t code; local 238 while ((code=block.next()) != ResXMLTree::START_TAG 239 && code != ResXMLTree::END_DOCUMENT 240 && code != ResXMLTree::BAD_DOCUMENT) { 244 if (code != ResXMLTree::START_TAG) { 271 while ((code=block.next()) != ResXMLTree::END_DOCUMENT 272 && code != ResXMLTree::BAD_DOCUMENT) { 273 if (code == ResXMLTree::START_TAG) { 580 ResXMLTree::event_code_t code; local 581 while ((code 1057 ResXMLTree::event_code_t code; local 1921 ResXMLTree::event_code_t code; local 2329 int32_t code = sym.typeCode == AaptSymbolEntry::TYPE_INT32 local 2562 int32_t code = sym.typeCode == AaptSymbolEntry::TYPE_INT32 local 2975 ResXMLTree::event_code_t code; local 3105 ResXMLTree::event_code_t code; local [all...] |
H A D | ResourceTable.cpp | 183 "a reference to another resource, in the form \"<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>\"\n" 184 "or to a theme attribute in the form \"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>\"."}, 188 "an integer value, such as \"<code>100</code>\"." }, 190 "a boolean value, either \"<code>true</code>\" or \"<code>false</code>\" 346 ResXMLTree::event_code_t code; local 864 ResXMLTree::event_code_t code; local [all...] |
/frameworks/native/cmds/installd/ |
H A D | InstalldNativeService.cpp | 102 static binder::Status exception(uint32_t code, const std::string& msg) { argument 103 return binder::Status::fromExceptionCode(code, String8(msg.c_str())); 115 static binder::Status error(uint32_t code, const std::string& msg) { argument 116 LOG(ERROR) << msg << " (" << code << ")"; local 117 return binder::Status::fromServiceSpecificError(code, String8(msg.c_str())); 1392 ATRACE_BEGIN("code"); 1403 ATRACE_BEGIN("code"); 1507 ATRACE_BEGIN("code"); 1571 ATRACE_BEGIN("code");
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | GsmCdmaPhone.java | 655 public void notifySuppServiceFailed(SuppService code) { argument 656 mSuppServiceFailedRegistrants.notifyResult(code); 1144 * @return {@code true} if the user should be informed of an attempt to dial an international 1145 * number while on WFC only, {@code false} otherwise. 1255 //todo: replace the generic failure with specific error code. 2913 * This function extracts the system selection code from the dial string. 2923 // Since we checked the condition above, the system selection code 2935 * This function checks if the system selection code extracted from 2936 * the dial string "sysSelCodeInt' is the system selection code specified 2942 // Get how many number of system selection code range [all...] |
H A D | ServiceStateTracker.java | 219 * Danmarkshavn (Denmark). The list must be sorted by code. 408 * The code of the rejection cause that is sent by network when the CS 767 * @param what what code of message when delivered 788 * @param what what code of message when delivered 809 * @param what what code of message when delivered 830 * @param what what code of message when delivered 2704 // NOTE: this code was previously located after mSS and mNewSS are swapped, so 3086 // Country code not found. This is likely a test network. 3184 /** convert ServiceState registration code 3186 private int regCodeToServiceState(int code) { argument 3200 regCodeIsRoaming(int code) argument [all...] |
H A D | Phone.java | 763 * Resulting events will have an AsyncResult in <code>Message.obj</code>. 931 * @param what User-defined message code. 951 * @param what User-defined message code. 1019 * @param what User-defined message code. 1039 * Register for notifications of initiation of a new MMI code request. 1045 * The returned <code>Message.obj</code> will contain an AsyncResult. 1047 * <code>obj.result</code> wil 2300 sendDialerSpecialCode(String code) argument [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 1945 // If this is ever needed, see openInput_l() for example code. 2984 // because of code checking output when entering the function. 3393 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 3395 return BnAudioFlinger::onTransact(code, data, reply, flags); 3392 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
/frameworks/base/core/java/android/app/assist/ |
H A D | AssistStructure.java | 134 @Override protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 136 if (code == TRANSACTION_XFER) { 163 return super.onTransact(code, data, reply, flags); 961 * @return id that can be used to autofill the view contents, or {@code null} if the 987 * @return The autofill hints for this view, or {@code null} if the structure was created 1000 * @return the autofill value of this view, or {@code null} if the structure was created 1021 * @return the options that can be used to autofill this view, or {@code null} if the 1268 * {@code http://my.site/login?user=my_user}, it returns {@code my.site}. 1280 * @return the HTML properties associated with this view, or {@code nul [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | InputMethodManagerService.java | 340 * Set once the system is ready to run third party code. 349 * <p>This can be transiently {@code null} when the system is re-initializing input method 411 * <p>This can be {@code null} when no input method is connected.</p> 457 * {@code true} if the current input method is in fullscreen mode. 930 * {@code true} if one or more packages that contain {@link InputMethodService} appeared. 1400 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 1403 return super.onTransact(code, data, reply, flags); 1823 // party code. 3480 // TODO: The following code should find better place to live.
|
H A D | StorageManagerService.java | 157 * Service responsible for various storage media. Connects to {@code vold} to 236 * Internal vold response code constants 834 * MediaProvider has a ton of code that makes assumptions about storage 1059 public boolean onCheckHoldWakeLock(int code) { argument 1067 public boolean onEvent(int code, String raw, String[] cooked) { argument 1069 return onEventLocked(code, raw, cooked); 1073 private boolean onEventLocked(int code, String raw, String[] cooked) { argument 1074 switch (code) { 1253 Slog.d(TAG, "Unhandled vold event " + code); 1525 // fstrim during reboot following the OTA that installs this code [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 263 * This should only be called by system code. One should only call this after the service 1043 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 1046 return super.onTransact(code, data, reply, flags); 5892 /** protected by the {@code dbLock}, {@code cacheLock} */ 5921 /** protected by the {@code dbLock}, {@code cacheLock} */
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 3751 status_t SurfaceFlinger::CheckTransactCodeCredentials(uint32_t code) { argument 3752 switch (code) { 3801 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 3803 status_t credentialCheck = CheckTransactCodeCredentials(code); 3808 status_t err = BnSurfaceComposer::onTransact(code, data, reply, flags); 3820 switch (code) { 3967 /* The code below is here to handle b/8734824 3996 uint32_t code; member in class:android::GraphicProducerWrapper 4010 virtual status_t transact(uint32_t code, argument 4012 this->code 3800 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
H A D | SurfaceFlinger_hwc1.cpp | 1533 // make the default display current because the VirtualDisplayDevice code cannot 1535 // the code below can call glFlush() which is allowed (and does in some case) call 3359 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 3361 switch (code) { 3409 status_t err = BnSurfaceComposer::onTransact(code, data, reply, flags); 3421 switch (code) { 3568 /* The code below is here to handle b/8734824 3597 uint32_t code; member in class:GraphicProducerWrapper 3611 virtual status_t transact(uint32_t code, argument 3613 this->code 3358 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 781 * cause code returned as Integer in Message.obj.response 782 * Returns integer cause code defined in TS 24.008 1387 * @param statusCode Status code string. See <code>setOnUSSD</code> 1509 public void triggerSsn(int type, int code) { argument 1512 not.code = code;
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityThread.java | 1522 String codeToString(int code) { argument 1524 switch (code) { 1582 return Integer.toString(code); 2041 "Requesting code from " + packageName 2079 String msg = "Requesting code from " + ai.packageName 2128 if (localLOGV) Slog.v(TAG, (includeCode ? "Loading code package " 4214 // stop operation on the activity to reduce code duplication and the chance of fixing a bug in 5096 // about code changes as possible. Take the diff of the old ApplicationInfo and the new 5585 // before any app code has been loaded. 5689 // Setup a location to store generated/compiled graphics code 6475 report(int code, Object... list) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | KeyEvent.java | 37 * Key events are generally accompanied by a key code ({@link #getKeyCode()}), 38 * scan code ({@link #getScanCode()}) and meta state ({@link #getMetaState()}). 39 * Key code constants are defined in this class. Scan code constants are raw 67 * that single repeated key code or a sequence of characters to insert. 81 /** Key code constant: Unknown key code. */ 83 /** Key code constant: Soft Left key. 88 /** Key code constant: Soft Right key. 93 /** Key code constan 1319 KeyEvent(int action, int code) argument 1339 KeyEvent(long downTime, long eventTime, int action, int code, int repeat) argument 1363 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState) argument 1390 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode) argument 1420 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags) argument 1452 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source) argument 1554 obtain(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source, String characters) argument [all...] |
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 726 int32_t InputReader::getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code, argument 734 result = (device->*getStateFunc)(sourceMask, code); 744 int32_t currentResult = (device->*getStateFunc)(sourceMask, code); 1115 ALOGD("Input event: device=%d type=0x%04x code=0x%04x value=0x%08x when=%lld", 1116 rawEvent->deviceId, rawEvent->type, rawEvent->code, rawEvent->value, 1121 if (rawEvent->type == EV_SYN && rawEvent->code == SYN_REPORT) { 1131 } else if (rawEvent->type == EV_SYN && rawEvent->code == SYN_DROPPED) { 1182 int32_t InputDevice::getState(uint32_t sourceMask, int32_t code, GetStateFunc getStateFunc) { argument 1190 int32_t currentResult = (mapper->*getStateFunc)(sourceMask, code); 1304 switch (rawEvent->code) { [all...] |
H A D | InputReader.h | 510 typedef int32_t (InputDevice::*GetStateFunc)(uint32_t sourceMask, int32_t code); 511 int32_t getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code, 585 bool hasKey(int32_t code) { argument 586 return getEventHub()->hasScanCode(mId, code); 589 bool hasAbsoluteAxis(int32_t code) { argument 591 getEventHub()->getAbsoluteAxisInfo(mId, code, &info); 595 bool isKeyPressed(int32_t code) { argument 596 return getEventHub()->getScanCodeState(mId, code) == AKEY_STATE_DOWN; 599 int32_t getAbsoluteAxisValue(int32_t code) { argument 601 getEventHub()->getAbsoluteAxisValue(mId, code, [all...] |
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 472 int32_t code, int32_t value) { 477 event.code = code; 482 setAbsoluteAxisValue(deviceId, code, value); 1219 ASSERT_EQ(KEY_A, event.code); 1305 << "Ignored device should return unknown key code state."; 1307 << "Ignored device should return unknown scan code state."; 1376 << "Should return unknown key code state when source not supported."; 1378 << "Should return unknown scan code state when source not supported."; 1478 int32_t code, int32_ 471 enqueueEvent(nsecs_t when, int32_t deviceId, int32_t type, int32_t code, int32_t value) argument 1477 process(InputMapper* mapper, nsecs_t when, int32_t deviceId, int32_t type, int32_t code, int32_t value) argument 2994 processKey( SingleTouchInputMapper* mapper, int32_t code, int32_t value) argument 4364 processKey( MultiTouchInputMapper* mapper, int32_t code, int32_t value) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 733 * Returns the total time (in milliseconds) spent executing in user code. 740 * Returns the total time (in milliseconds) spent executing in system code. 1294 * Return whether the command code is a delta data update. 1687 public boolean updateState(int code, String name, int uid, int poolIdx) { argument 1688 if ((code&HistoryItem.EVENT_FLAG_START) != 0) { 1689 int idx = code&HistoryItem.EVENT_TYPE_MASK; 1705 } else if ((code&HistoryItem.EVENT_FLAG_FINISH) != 0) { 1706 int idx = code&HistoryItem.EVENT_TYPE_MASK; 1730 public void removeEvents(int code) { argument 1731 int idx = code 1735 getStateForEvent(int code) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowManagerService.java | 1146 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 1149 return super.onTransact(code, data, reply, flags); 2232 // (rather than be cleaned up immediately by the app code). 4277 final String code = parameters.substring(0, index); 4278 int hashCode = (int) Long.parseLong(code, 16); 5582 * {@code 0} if not set
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 337 * Total time (in milliseconds) spent executing in user code. 342 * Total time (in milliseconds) spent executing in kernel code. 3398 public void addHistoryEventLocked(long elapsedRealtimeMs, long uptimeMs, int code, argument 3400 mHistoryCur.eventCode = code; 3529 public void noteEventLocked(int code, String name, int uid) { argument 3531 if (!mActiveEvents.updateState(code, name, uid, 0)) { 3536 addHistoryEventLocked(elapsedRealtime, uptime, code, name, uid); 6121 // In the ble code, a scan cannot change types and nested starts are not possible. 7599 * Total time (in ms) spent executing in user code. 7604 * Total time (in ms) spent executing in kernel code [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 2904 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 2906 if (code == SYSPROPS_TRANSACTION) { 2935 return super.onTransact(code, data, reply, flags); 2943 + " TRANS:" + code, e); 4987 * @param resultCode Result code, if any, from this Activity. 5047 // was the root activity in the task. The result code and data is ignored 5929 * processes, or {@code -1} to ignore the target SDK 5931 * processes, or {@code -1} to ignore the process state 7547 public int sendIntentSender(IIntentSender target, IBinder whitelistToken, int code, argument 7551 return ((PendingIntentRecord)target).sendWithResult(code, inten [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 345 * <li>{@link #mInstallLock} is used to guard all {@code installd} access, whose 347 * {@code installd} is single-threaded, and it's operations can often be slow, 595 * extent of cached data changes. See {@code PackageParser#setCacheDir}. 652 // Directory containing the private parts (e.g. code and non-resource assets) of forward-locked 715 * surgery is being done on the code/data for that package. The platform 1797 state.setVerifierResponse(response.callerUid, response.code); 1809 response.code, state.getInstallArgs().getUser()); 1854 state.setVerifierResponse(response.callerUid, response.code); 1859 + " is settings verifier response with response code:" 1860 + response.code); 3482 onTransact(int code, Parcel data, Parcel reply, int flags) argument 16911 setError(int code, String msg) argument [all...] |