Searched defs:reason (Results 51 - 73 of 73) sorted by relevance

123

/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java325 * The lookup key for an integer indicating the reason a Wi-Fi network configuration
1212 * @param reason The reason for failure could be one of
1215 public void onFailure(int reason); argument
1228 * @param reason The reason for failure could be one of
1231 public void onFailure(int reason); argument
1243 * @param reason The reason for failure could be one of
1246 public void onFailure(int reason); argument
[all...]
H A DWifiStateMachine.java1350 private void setSuspendOptimizationsNative(int reason, boolean enabled) { argument
1351 if (DBG) log("setSuspendOptimizationsNative: " + reason + " " + enabled);
1353 mSuspendOptNeedsDisabled &= ~reason;
1359 mSuspendOptNeedsDisabled |= reason;
1364 private void setSuspendOptimizations(int reason, boolean enabled) { argument
1365 if (DBG) log("setSuspendOptimizations: " + reason + " " + enabled);
1367 mSuspendOptNeedsDisabled &= ~reason;
1369 mSuspendOptNeedsDisabled |= reason;
3737 //arg1 has the reason for the failure
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pManager.java63 * Upon failure, the reason of failure can be one of {@link #ERROR}, {@link #P2P_UNSUPPORTED}
527 * @param reason The reason for failure could be one of {@link #P2P_UNSUPPORTED},
530 public void onFailure(int reason); argument
680 * @param reason The reason for failure could be one of {@link #ERROR},
683 public void onDetached(int reason); argument
H A DWifiP2pService.java461 loge("Client connection lost with reason: " + message.arg1);
2670 * @param reason
2672 private void sendDetachedMsg(int reason) { argument
2677 msg.arg1 = reason;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDataConnection.java95 public DisconnectParams(String reason, Message onCompletedMsg) { argument
96 this.reason = reason;
100 public String reason; field in class:DataConnection.DisconnectParams
105 * Returned as the reason for a connection failure as defined
320 if (TextUtils.equals(dp.reason, Phone.REASON_RADIO_TURNED_OFF)) {
322 } else if (TextUtils.equals(dp.reason, Phone.REASON_PDP_RESET)) {
374 String reason = null;
382 reason = dp.reason;
1223 tearDown(String reason, Message onCompletedMsg) argument
1234 tearDownAll(String reason, Message onCompletedMsg) argument
[all...]
H A DDataConnectionTracker.java404 String reason = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_REASON);
409 msg.obj = reason;
583 protected abstract void gotoIdleAndNotifyDataConnection(String reason); argument
585 protected abstract boolean onTrySetupData(String reason); argument
594 protected abstract void onCleanUpConnection(boolean tearDown, int apnId, String reason); argument
614 String reason = null;
616 reason = (String) msg.obj;
618 onTrySetupData(reason);
809 protected void notifyDataConnection(String reason) { argument
812 mPhone.notifyDataConnection(reason, apnIdToTyp
820 notifyApnIdUpToCurrent(String reason, int apnId) argument
841 notifyApnIdDisconnected(String reason, int apnId) argument
847 notifyOffApnsOfAvailability(String reason) argument
[all...]
H A DPhoneBase.java831 public void notifyDataConnection(String reason, String apnType, argument
833 mNotifier.notifyDataConnection(this, reason, apnType, state);
836 public void notifyDataConnection(String reason, String apnType) { argument
837 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType));
840 public void notifyDataConnection(String reason) { argument
843 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType));
1182 public void notifyDataConnectionFailed(String reason, String apnType) { argument
1183 mNotifier.notifyDataConnectionFailed(this, reason, apnType);
H A DRIL.java1364 deactivateDataCall(int cid, int reason, Message result) { argument
1370 rr.mp.writeString(Integer.toString(reason));
1373 requestToString(rr.mRequest) + " " + cid + " " + reason);
2920 infos[i].reason = p.readInt();
H A DCommandsInterface.java1505 * @param reason
1506 * Data disconnect reason.
1510 public void deactivateDataCall(int cid, int reason, Message result); argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java195 public void deactivateDataCall(int cid, int reason, Message result) { argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java970 public void deactivateDataCall(int cid, int reason, Message result) {unimplemented(result);} argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java585 public void deactivateDataCall(int cid, int reason, Message result) { argument
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java1172 String reason = data.readString();
1174 boolean res = killPids(pids, reason, secure);
1182 String reason = data.readString();
1183 boolean res = killProcessesBelowForeground(reason);
1366 String reason = data.readString();
1367 closeSystemDialogs(reason);
3274 public boolean killPids(int[] pids, String reason, boolean secure) throws RemoteException { argument
3279 data.writeString(reason);
3288 public boolean killProcessesBelowForeground(String reason) throws RemoteException { argument
3292 data.writeString(reason);
3507 closeSystemDialogs(String reason) argument
[all...]
H A DIActivityManager.java232 public boolean killPids(int[] pids, String reason, boolean secure) throws RemoteException; argument
233 public boolean killProcessesBelowForeground(String reason) throws RemoteException; argument
279 public void closeSystemDialogs(String reason) throws RemoteException; argument
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java500 private void assertDirOwnerGroupPerms(String reason, int uid, int gid, int perms, String path) { argument
506 throw new AssertionError(reason + "\n" + "Got: " + path + " does not exist");
540 throw new AssertionError(reason + sb.toString());
/frameworks/base/services/java/com/android/server/power/
H A DPowerManagerService.java361 private static native void nativeReboot(String reason) throws IOException; argument
931 public void goToSleep(long eventTime, int reason) { argument
940 goToSleepInternal(eventTime, reason);
947 private void goToSleepFromNative(long eventTime, int reason) { argument
948 goToSleepInternal(eventTime, reason);
951 private void goToSleepInternal(long eventTime, int reason) { argument
953 if (goToSleepNoUpdateLocked(eventTime, reason)) {
959 private boolean goToSleepNoUpdateLocked(long eventTime, int reason) { argument
961 Slog.d(TAG, "goToSleepNoUpdateLocked: eventTime=" + eventTime + ", reason=" + reason);
1788 reboot(boolean confirm, String reason, boolean wait) argument
1817 shutdownOrRebootInternal(final boolean shutdown, final boolean confirm, final String reason, boolean wait) argument
2141 lowLevelReboot(String reason) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java2512 public void onCloseSystemDialogs(String reason) { argument
3658 void sendCloseSystemWindows(String reason) { argument
3659 PhoneWindowManager.sendCloseSystemWindows(getContext(), reason);
H A DPhoneWindowManager.java190 static public final String SYSTEM_DIALOG_REASON_KEY = "reason";
626 // If sensor is turned off or nonexistent for some reason
3137 // If keyguard is currently visible, no reason to animate
3921 void sendCloseSystemWindows(String reason) { argument
3922 sendCloseSystemWindows(mContext, reason);
3925 static void sendCloseSystemWindows(Context context, String reason) { argument
3928 ActivityManagerNative.getDefault().closeSystemDialogs(reason);
/frameworks/base/services/input/
H A DInputDispatcher.cpp489 const char* reason; local
495 reason = "inbound event was dropped because the policy consumed it";
499 reason = "inbound event was dropped because input dispatch is disabled";
503 reason = "inbound event was dropped because of pending overdue app switch";
508 reason = "inbound event was dropped because the current application is not responding "
513 reason = "inbound event was dropped because it is stale";
522 CancelationOptions options(CancelationOptions::CANCEL_NON_POINTER_EVENTS, reason);
529 CancelationOptions options(CancelationOptions::CANCEL_POINTER_EVENTS, reason);
532 CancelationOptions options(CancelationOptions::CANCEL_NON_POINTER_EVENTS, reason);
927 nsecs_t* nextWakeupTime, const char* reason) {
923 handleTargetsNotReadyLocked(nsecs_t currentTime, const EventEntry* entry, const sp<InputApplicationHandle>& applicationHandle, const sp<InputWindowHandle>& windowHandle, nsecs_t* nextWakeupTime, const char* reason) argument
3052 resetAndDropEverythingLocked(const char* reason) argument
3353 onANRLocked( nsecs_t currentTime, const sp<InputApplicationHandle>& applicationHandle, const sp<InputWindowHandle>& windowHandle, nsecs_t eventTime, nsecs_t waitStartTime, const char* reason) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java2238 // kill stuff (or ourself) for no reason.
4579 public void dispatchCloseSystemDialogs(String reason) { argument
4582 msg.obj = reason;
4924 public void closeSystemDialogs(String reason) { argument
4927 viewAncestor.dispatchCloseSystemDialogs(reason);
H A DView.java16382 public void onCloseSystemDialogs(String reason) { argument
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java3625 public void closeSystemDialogs(String reason) { argument
3641 Slog.w(TAG, "Ignoring closeSystemDialogs " + reason
3646 closeSystemDialogsLocked(reason);
3653 void closeSystemDialogsLocked(String reason) { argument
3657 if (reason != null) {
3658 intent.putExtra("reason", reason);
3660 mWindowManager.closeSystemDialogs(reason);
3753 boolean doit, boolean evenPersistent, String reason) {
3812 removeProcessLocked(procs.get(i), callerWillRestart, allowRestart, reason);
3751 killPackageProcessesLocked(String packageName, int appId, int userId, int minOomAdj, boolean callerWillRestart, boolean allowRestart, boolean doit, boolean evenPersistent, String reason) argument
4001 removeProcessLocked(ProcessRecord app, boolean callerWillRestart, boolean allowRestart, String reason) argument
7543 killProcessesBelowForeground(String reason) argument
7551 killProcessesBelowAdj(int belowAdj, String reason) argument
8379 findAppProcess(IBinder app, String reason) argument
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java2198 // Client has apparently died, so there is no reason to
2871 // For some reason there isn't a surface. Clear the
3458 // frozen, there is no reason to animate and it can cause strange
4237 // actual window is displayed so there is no reason to put in
5304 public void closeSystemDialogs(String reason) { argument
5311 w.mClient.closeSystemDialogs(reason);

Completed in 692 milliseconds

123