/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GraphRunner.java | 103 public int code; field in class:GraphRunner.Event 106 public Event(int code, Object object) { argument 107 this.code = code; 131 switch (event.code) {
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | TestEventHandler.java | 154 * @param code The status code 158 int code, String reason_phrase) { 162 " code: " + code + 174 responseCode = code; 198 if (expectCode == code) { 201 expectDetails.append("Status code expected:"+expectCode+ 202 " got:"+code); 453 * @param id Status code o 157 status(int major_version, int minor_version, int code, String reason_phrase) argument 622 expectStatus(int major, int minor, int code) argument 629 expectStatus(int code) argument [all...] |
H A D | TestWebServer.java | 193 * a redirect code with the Location response header set to the value 196 * @param redirectCode The code to send when redirecting 198 public void setRedirect(String redirect, int code) { argument 200 redirectCode = code; 201 log("Server will redirect output to "+redirect+" code "+code); 225 // Networking code doesn't support ServerSocket(port) yet
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | IntentFilterVerificationResponse.java | 24 public final int code; field in class:IntentFilterVerificationResponse 27 public IntentFilterVerificationResponse(int callerUid, int code, List<String> failedDomains) { argument 29 this.code = code;
|
H A D | IntentFilterVerificationState.java | 104 public boolean setVerifierResponse(int callerUid, int code) { argument 107 if (code == PackageManager.INTENT_FILTER_VERIFICATION_SUCCESS) { 109 } else if (code == PackageManager.INTENT_FILTER_VERIFICATION_FAILURE) { 116 Slog.d(TAG, "Cannot set verifier response with callerUid:" + callerUid + " and code:" + 117 code + " as required verifierUid is:" + mRequiredVerifierUid);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AppOpsService.java | 469 public void setUidMode(int code, int uid, int mode) { argument 474 verifyIncomingOp(code); 475 code = AppOpsManager.opToSwitch(code); 478 final int defaultMode = AppOpsManager.opToDefaultMode(code); 487 uidState.opModes.put(code, mode); 493 uidState.opModes.put(code, mode); 497 if (uidState.opModes.get(code) == mode) { 501 uidState.opModes.delete(code); 506 uidState.opModes.put(code, mod 578 setMode(int code, int uid, String packageName, int mode) argument 839 checkOperation(int code, int uid, String packageName) argument 863 checkAudioOperation(int code, int usage, int uid, String packageName) argument 873 checkRestrictionLocked(int code, int usage, int uid, String packageName) argument 885 setAudioRestriction(int code, int usage, int uid, int mode, String[] exceptionPackages) argument 926 noteProxyOperation(int code, String proxyPackageName, int proxiedUid, String proxiedPackageName) argument 939 noteOperation(int code, int uid, String packageName) argument 945 noteOperationUnchecked(int code, int uid, String packageName, int proxyUid, String proxyPackageName) argument 993 startOperation(IBinder token, int code, int uid, String packageName) argument 1043 finishOperation(IBinder token, int code, int uid, String packageName) argument 1196 getOpLocked(int code, int uid, String packageName, boolean edit) argument 1204 getOpLocked(Ops ops, int code, boolean edit) argument 1219 isOpRestricted(int uid, int code, String packageName) argument [all...] |
H A D | INativeDaemonConnectorCallbacks.java | 23 boolean onCheckHoldWakeLock(int code); argument 24 boolean onEvent(int code, String raw, String[] cooked); argument
|
H A D | InputMethodManagerService.java | 285 * Set once the system is ready to run third party code. 294 * <p>This can be transiently {@code null} when the system is re-initializing input method 335 * <p>This can be {@code null} when no input method is connected.</p> 1065 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 1068 return super.onTransact(code, data, reply, flags); 1437 // party code.
|
H A D | MountService.java | 141 * Service responsible for various storage media. Connects to {@code vold} to 203 * Internal vold response code constants 753 * MediaProvider has a ton of code that makes assumptions about storage 937 public boolean onCheckHoldWakeLock(int code) { argument 945 public boolean onEvent(int code, String raw, String[] cooked) { argument 947 return onEventLocked(code, raw, cooked); 951 private boolean onEventLocked(int code, String raw, String[] cooked) { argument 952 switch (code) { 1127 Slog.d(TAG, "Unhandled vold event " + code); 1380 // fstrim during reboot following the OTA that installs this code [all...] |
H A D | NativeDaemonEvent.java | 39 private NativeDaemonEvent(int cmdNumber, int code, String message, argument 42 mCode = code; 109 private static boolean isClassUnsolicited(int code) { argument 110 return code >= 600 && code < 700; 114 * Verify this event matches the given code. 118 public void checkCode(int code) { argument 119 if (mCode != code) { 120 throw new IllegalStateException("Expected " + code + " but was: " + this); 138 final int code; [all...] |
H A D | NetworkManagementService.java | 744 public boolean onCheckHoldWakeLock(int code) { argument 745 return code == NetdResponseCode.InterfaceClassActivity; 749 public boolean onEvent(int code, String raw, String[] cooked) { argument 751 switch (code) {
|
H A D | NsdService.java | 399 if (!handleNativeEvent(event.code, event.raw, event.cooked)) { 410 private boolean handleNativeEvent(int code, String raw, String[] cooked) { argument 432 switch (code) { 656 final int code; field in class:NsdService.NativeEvent 660 NativeEvent(int code, String raw, String[] cooked) { argument 661 this.code = code; 672 public boolean onCheckHoldWakeLock(int code) { argument 676 public boolean onEvent(int code, String raw, String[] cooked) { argument 679 NativeEvent event = new NativeEvent(code, ra [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 254 * This should only be called by system code. One should only call this after the service 326 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 329 return super.onTransact(code, data, reply, flags);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 699 * Which users have been started, so are allowed to run code. 2453 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 2455 if (code == SYSPROPS_TRANSACTION) { 2483 return super.onTransact(code, data, reply, flags); 4280 * @param resultCode Result code, if any, from this Activity. 4338 // was the root activity in the task. The result code and data is ignored 7844 * @param packageName Package name to match, or {@code null} to apply to all 7922 // Only system code can grant URI permissions on behalf 10288 // going to the content provider to open the file. Later, in the code 11653 // execute our code withou [all...] |
H A D | BatteryStatsService.java | 344 public void noteEvent(int code, String name, int uid) { argument 347 mStats.noteEventLocked(code, name, uid);
|
H A D | PendingIntentRecord.java | 201 public int send(int code, Intent intent, String resolvedType, IIntentReceiver finishedReceiver, argument 203 return sendInner(code, intent, resolvedType, finishedReceiver, 207 int sendInner(int code, Intent intent, String resolvedType, IIntentReceiver finishedReceiver, argument 288 key.who, key.requestCode, code, finalIntent); 296 finalIntent, resolvedType, finishedReceiver, code, null, null,
|
H A D | ProcessStatsService.java | 98 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 101 return super.onTransact(code, data, reply, flags);
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
H A D | ClipboardService.java | 126 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 129 return super.onTransact(code, data, reply, flags);
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | ContentService.java | 141 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 144 return super.onTransact(code, data, reply, flags);
|
H A D | SyncManager.java | 641 * @param beforeRunTimeMillis milliseconds before <code>runtimeMillis</code> that this sync may 1627 private String getLastFailureMessage(int code) { argument 1628 switch (code) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | NotificationPlayer.java | 46 int code; field in class:NotificationPlayer.Command 54 return "{ code=" + code + " looping=" + looping + " attributes=" + attributes 181 switch (cmd.code) { 301 cmd.code = PLAY; 328 cmd.code = PLAY; 350 cmd.code = STOP;
|
/frameworks/base/obex/javax/obex/ |
H A D | ServerSession.java | 11 * - Redistributions of source code must retain the above copyright notice, 158 * create a <code>HeaderSet</code> object to pass to the 159 * <code>ServerRequestHandler</code> object. After the handler processes the 165 int code = ResponseCodes.OBEX_HTTP_OK; 172 code = ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE; 177 code = mListener.onAbort(request, reply); 178 Log.v(TAG, "onAbort request handler return value- " + code); 179 code 263 sendResponse(int code, byte[] header) argument 711 validateResponseCode(int code) argument [all...] |
/frameworks/base/include/android_runtime/ |
H A D | AndroidRuntime.h | 69 void exit(int code); 79 * run any code. Override it to make any FindClass calls that need 101 virtual void onExit(int code) { } argument
|
/frameworks/base/libs/storage/ |
H A D | IMountServiceListener.cpp | 28 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 30 switch(code) { 48 return BBinder::onTransact(code, data, reply, flags); 27 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
H A D | IMountShutdownObserver.cpp | 27 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 29 switch(code) { 38 return BBinder::onTransact(code, data, reply, flags); 26 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|