/frameworks/base/services/input/tests/ |
H A D | InputReader_test.cpp | 439 void enqueueEvent(nsecs_t when, int32_t deviceId, int32_t type, argument 444 event.type = type; 449 if (type == EV_ABS) { 1167 ASSERT_EQ(EV_KEY, event.type); 1414 static void process(InputMapper* mapper, nsecs_t when, int32_t deviceId, int32_t type, argument 1419 event.type = type; 3390 // default tool type is finger 3505 // back to default tool type [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | AlarmManagerService.java | 163 public void set(int type, long triggerAtTime, PendingIntent operation) { argument 164 setRepeating(type, triggerAtTime, 0, operation); 167 public void setRepeating(int type, long triggerAtTime, long interval, argument 175 alarm.type = type; 192 public void setInexactRepeating(int type, long triggerAtTime, long interval, argument 208 setRepeating(type, triggerAtTime, interval, operation); 214 final boolean isRtc = (type == AlarmManager.RTC || type == AlarmManager.RTC_WAKEUP); 230 if (localLOGV) Slog.v(TAG, "setInexactRepeating: type 380 getAlarmList(int type) argument 534 set(int fd, int type, long seconds, long nanoseconds) argument 617 public int type; field in class:AlarmManagerService.Alarm [all...] |
H A D | BackupManagerService.java | 2876 String installerPackageName; // name of the market-type app that installed the owner 2877 int type; // e.g. BackupAgent.TYPE_DIRECTORY field in class:BackupManagerService.FileMetadata 2889 sb.append(type); sb.append(','); 2971 mAgent.doRestoreFile(mSocket, mInfo.size, mInfo.type, 3335 mAgent.doRestoreFile(mPipes[0], info.size, info.type, 3785 b.append((info.type == BackupAgent.TYPE_DIRECTORY) ? 'd' : '-'); 3837 // that to find the real file type 3846 case '0': info.type = BackupAgent.TYPE_FILE; break; 3848 info.type = BackupAgent.TYPE_DIRECTORY; 3857 if (DEBUG) Slog.w(TAG, "Saw type [all...] |
H A D | ConnectivityService.java | 426 loge("Error in radioAttributes - ignoring attempt to define type " + r.mType); 430 loge("Error in radioAttributes - ignoring attempt to redefine type " + 442 if (n.type > ConnectivityManager.MAX_NETWORK_TYPE) { 443 loge("Error in networkAttributes - ignoring attempt to define type " + 444 n.type); 447 if (mNetConfigs[n.type] != null) { 448 loge("Error in networkAttributes - ignoring attempt to redefine type " + 449 n.type); 454 "radio " + n.radio + " in network type " + n.type); 1016 FeatureUser(int type, String feature, IBinder binder) argument 1991 isNewNetTypePreferredOverCurrentNetType(int type) argument 2104 setupDataActivityTracking(int type) argument 2136 removeDataActivityTracking(int type) argument [all...] |
H A D | NetworkManagementService.java | 632 private void modifyRoute(String interfaceName, String action, RouteInfo route, String type) { argument 633 final Command cmd = new Command("interface", "route", action, interfaceName, type);
|
H A D | SystemBackupAgent.java | 126 int type, String domain, String path, long mode, long mtime) 149 FullBackup.restoreFile(data, size, type, mode, mtime, outFile); 125 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
|
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | ScreenMagnifier.java | 476 throw new IllegalArgumentException("Unexpected event type: ACTION_DOWN"); 510 throw new IllegalArgumentException("Unexpected event type: ACTION_POINTER_UP"); 537 final int type = message.what; 538 switch (type) { 550 throw new IllegalArgumentException("Unknown message type: " + type); 1006 if (info.type == WindowManager.LayoutParams.TYPE_NAVIGATION_BAR 1007 || info.type == WindowManager.LayoutParams.TYPE_INPUT_METHOD 1008 || info.type == WindowManager.LayoutParams.TYPE_INPUT_METHOD_DIALOG 1009 || info.type 1612 isWindowMagnified(int type) argument [all...] |
H A D | TouchExplorer.java | 871 * Sends an accessibility event of the given type. 873 * @param type The event type. 875 private void sendAccessibilityEvent(int type) { argument 878 AccessibilityEvent event = AccessibilityEvent.obtain(type); 880 switch (type) {
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActiveServices.java | 215 + " type=" + resolvedType + " args=" + service.getExtras()); 270 + " type=" + resolvedType); 430 + " type=" + resolvedType + " conn=" + connection.asBinder() 707 + " type=" + resolvedType + " callingUid=" + callingUid); 1370 void serviceDoneExecutingLocked(ServiceRecord r, int type, int startId, int res) { argument 1373 if (type == 1) {
|
H A D | ActivityManagerService.java | 4539 public IIntentSender getIntentSender(int type, argument 4555 if (type == ActivityManager.INTENT_SENDER_BROADCAST && 4578 type == ActivityManager.INTENT_SENDER_BROADCAST, false, 4601 return getIntentSenderLocked(type, packageName, callingUid, userId, 4610 IIntentSender getIntentSenderLocked(int type, String packageName, argument 4617 if (type == ActivityManager.INTENT_SENDER_ACTIVITY_RESULT) { 4634 type, packageName, activity, resultWho, 4665 if (type == ActivityManager.INTENT_SENDER_ACTIVITY_RESULT) { 4758 if (res.key.type == ActivityManager.INTENT_SENDER_ACTIVITY) { 6907 * Allows app to retrieve the MIME type o 11105 serviceDoneExecuting(IBinder token, int type, int startId, int res) argument [all...] |
H A D | BatteryStatsService.java | 105 public void noteStartWakelock(int uid, int pid, String name, int type) { argument 108 mStats.noteStartWakeLocked(uid, pid, name, type); 112 public void noteStopWakelock(int uid, int pid, String name, int type) { argument 115 mStats.noteStopWakeLocked(uid, pid, name, type); 119 public void noteStartWakelockFromSource(WorkSource ws, int pid, String name, int type) { argument 122 mStats.noteStartWakeFromSourceLocked(ws, pid, name, type); 126 public void noteStopWakelockFromSource(WorkSource ws, int pid, String name, int type) { argument 129 mStats.noteStopWakeFromSourceLocked(ws, pid, name, type); 420 public void noteNetworkInterfaceType(String iface, int type) { argument 423 mStats.noteNetworkInterfaceTypeLocked(iface, type); [all...] |
H A D | PendingIntentRecord.java | 45 final int type; field in class:PendingIntentRecord.Key 63 type = _t; 105 if (type != other.type) { 169 switch (type) { 179 return Integer.toString(type); 228 switch (key.type) { 329 pw.print(" type="); pw.print(key.typeName());
|
/frameworks/base/services/java/com/android/server/display/ |
H A D | DisplayDeviceInfo.java | 143 * Display type. 145 public int type; field in class:DisplayDeviceInfo 149 * Interpretation varies by display type. 178 && type == other.type 198 type = other.type; 210 + ", type " + Display.typeToString(type)
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GpsLocationProvider.java | 496 Log.w(TAG, "Malformed SUPL init mime type"); 1214 private void reportAGpsStatus(int type, int status, int ipaddr) { argument 1414 int type = AGPS_SETID_TYPE_NONE; 1424 type = AGPS_SETID_TYPE_IMSI; 1434 type = AGPS_SETID_TYPE_MSISDN; 1437 native_agps_set_id(type, data); 1460 int type; 1468 type = AGPS_REF_LOCATION_TYPE_UMTS_CELLID; 1470 type = AGPS_REF_LOCATION_TYPE_GSM_CELLID; 1472 native_agps_set_ref_location_cellid(type, mc 1637 native_set_agps_server(int type, String hostname, int port) argument 1643 native_agps_set_ref_location_cellid(int type, int mcc, int mnc, int lac, int cid) argument 1645 native_agps_set_id(int type, String setid) argument 1647 native_update_network_state(boolean connected, int type, boolean roaming, boolean available, String extraInfo, String defaultAPN) argument [all...] |
/frameworks/base/services/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 721 * notification of a specific type, like {@link #TYPE_LIMIT}. 723 private String buildNotificationTag(NetworkPolicy policy, int type) { argument 724 return TAG + ":" + policy.template.hashCode() + ":" + type; 728 * Show notification for combined {@link NetworkPolicy} and specific type, 731 private void enqueueNotification(NetworkPolicy policy, int type, long totalBytes) { argument 732 final String tag = buildNotificationTag(policy, type); 738 switch (type) { 1156 int type; 1158 while ((type = in.next()) != END_DOCUMENT) { 1160 if (type 1488 performSnooze(NetworkTemplate template, int type) argument [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
H A D | BasePermission.java | 35 final int type; field in class:BasePermission 50 type = _type;
|
H A D | PackageManagerService.java | 971 mNoDexOpt = "eng".equals(SystemProperties.get("ro.build.type")); 1109 // Skip the file if it is not a type we want to dexopt. 1558 int type; 1559 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT 1560 && (type != XmlPullParser.END_TAG 1562 if (type == XmlPullParser.END_TAG 1563 || type == XmlPullParser.TEXT) { 2165 } else if (bp.type != BasePermission.TYPE_DYNAMIC) { 2213 if (bp.type != BasePermission.TYPE_DYNAMIC) { 2562 + intent + " type " 4972 addActivity(PackageParser.Activity a, String type) argument 5000 removeActivity(PackageParser.Activity a, String type) argument 9149 isDumping(int type) argument 9157 setDump(int type) argument [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | InputMonitor.java | 166 final WindowState child, final int flags, final int type, 171 inputWindowHandle.layoutParamsType = type; 264 final int type = child.mAttrs.type; 269 && (type != WindowManager.LayoutParams.TYPE_KEYGUARD); 283 u.mAttrs.type, true, u == mInputFocus, false); 289 addInputWindowHandleLw(inputWindowHandle, child, flags, type, 165 addInputWindowHandleLw(final InputWindowHandle inputWindowHandle, final WindowState child, final int flags, final int type, final boolean isVisible, final boolean hasFocus, final boolean hasWallpaper) argument
|
H A D | WindowManagerService.java | 212 /** How much to multiply the policy's type layer, to reserve room 213 * for multiple windows of the same type and Z-ordering adjustment 941 if (win.mAttrs.type == TYPE_BASE_APPLICATION) { 1144 || w.mAttrs.type == TYPE_APPLICATION_STARTING) { 1192 && w.mAttrs.type == TYPE_APPLICATION_STARTING 1590 if ((w.mAttrs.type == TYPE_WALLPAPER)) { 1776 (wb.mAttrs.type != TYPE_APPLICATION_STARTING || 2101 final int type = attrs.type; 2118 if (type > 3636 addWindowToken(IBinder token, int type) argument [all...] |
H A D | WindowToken.java | 37 // The type of window this token is for, as per WindowManager.LayoutParams. 74 WindowToken(WindowManagerService _service, IBinder _token, int type, boolean _explicit) { argument 77 windowType = type;
|
/frameworks/base/services/jni/ |
H A D | com_android_server_AlarmManagerService.cpp | 68 static void android_server_AlarmManagerService_set(JNIEnv* env, jobject obj, jint fd, jint type, jlong seconds, jlong nanoseconds) argument 74 int result = ioctl(fd, ANDROID_ALARM_SET(type), &ts);
|
H A D | com_android_server_location_GpsLocationProvider.cpp | 174 agps_status->type, agps_status->status, ipaddr); 374 jobject obj, jint type, jint mcc, jint mnc, jint lac, jint cid) 383 switch(type) { 386 location.type = type; 418 jobject obj, jint type, jstring setid_string) 426 sAGpsRilInterface->set_set_id(type, setid); 509 jint type, jstring hostname, jint port) 516 sAGpsInterface->set_server(type, c_hostname, port); 546 jboolean connected, int type, jboolea 373 android_location_GpsLocationProvider_agps_set_reference_location_cellid(JNIEnv* env, jobject obj, jint type, jint mcc, jint mnc, jint lac, jint cid) argument 417 android_location_GpsLocationProvider_agps_set_id(JNIEnv *env, jobject obj, jint type, jstring setid_string) argument 508 android_location_GpsLocationProvider_set_agps_server(JNIEnv* env, jobject obj, jint type, jstring hostname, jint port) argument 545 android_location_GpsLocationProvider_update_network_state(JNIEnv* env, jobject obj, jboolean connected, int type, jboolean roaming, jboolean available, jstring extraInfo, jstring apn) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | ConnectivityServiceTest.java | 92 public MockNetwork(int type) { argument 94 info = new NetworkInfo(type, -1, getNetworkTypeName(type), null);
|
H A D | NetworkPolicyManagerServiceTest.java | 898 private Future<Void> expectPolicyDataEnable(int type, boolean enabled) throws Exception { argument 900 mConnManager.setPolicyDataEnable(type, enabled);
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | CellInfo.java | 51 // Observation time stamped as type in nanoseconds since boot 132 private static String timeStampTypeToString(int type) { argument 133 switch (type) { 177 protected void writeToParcel(Parcel dest, int flags, int type) { argument 178 dest.writeInt(type); 199 int type = in.readInt(); 200 switch (type) {
|