Home
last modified time | relevance | path

Searched refs:types (Results 1 – 25 of 154) sorted by relevance

1234567

/packages/services/Telephony/ecc/input/
Deccdata.txt6 types: POLICE
10 types: AMBULANCE
14 types: FIRE
22 types: POLICE
26 types: AMBULANCE
30 types: FIRE
38 types: POLICE
39 types: FIRE
43 types: AMBULANCE
51 types: POLICE
[all …]
/packages/modules/NeuralNetworks/tools/api/
Dgenerate_api.sh28 SPECFILE=$(dirname $0)/types.spec
59 doit hal_1.0 ${HALDIR}/1.0/types.t ${HALDIR}/1.0/types.hal
60 doit hal_1.1 ${HALDIR}/1.1/types.t ${HALDIR}/1.1/types.hal
61 doit hal_1.2 ${HALDIR}/1.2/types.t ${HALDIR}/1.2/types.hal
62 doit hal_1.3 ${HALDIR}/1.3/types.t ${HALDIR}/1.3/types.hal
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DFakeDeviceAccountTypeFactory.java46 public FakeDeviceAccountTypeFactory withSimTypes(String... types) { in withSimTypes() argument
47 for (String type : types) { in withSimTypes()
53 public FakeDeviceAccountTypeFactory withSimTypes(AccountType... types) { in withSimTypes() argument
54 for (AccountType type : types) { in withSimTypes()
60 public FakeDeviceAccountTypeFactory withDeviceTypes(String... types) { in withDeviceTypes() argument
61 for (String type : types) { in withDeviceTypes()
67 public FakeDeviceAccountTypeFactory withDeviceTypes(AccountType... types) { in withDeviceTypes() argument
68 for (AccountType type : types) { in withDeviceTypes()
/packages/apps/Car/SystemUI/src/com/android/systemui/wm/
DDisplaySystemBarsController.java125 public void hideInsets(@WindowInsets.Type.InsetsType int types, boolean fromIme) { in hideInsets() argument
126 if ((types & WindowInsets.Type.ime()) == 0) { in hideInsets()
127 mInsetsController.hide(types); in hideInsets()
129 super.hideInsets(types, fromIme); in hideInsets()
135 public void showInsets(@WindowInsets.Type.InsetsType int types, boolean fromIme) { in showInsets() argument
136 if ((types & WindowInsets.Type.ime()) == 0) { in showInsets()
137 mInsetsController.show(types); in showInsets()
139 super.showInsets(types, fromIme); in showInsets()
169 private void updateInsetsState(@WindowInsets.Type.InsetsType int types, boolean visible) { in updateInsetsState() argument
170 ArraySet<Integer> internalTypes = InsetsState.toInternalType(types); in updateInsetsState()
/packages/modules/NeuralNetworks/extensions/
DREADME.md4 collections of vendor-defined operations and data types. On devices running NN
10 data types, which were deprecated in Android 10.
39 Note: Names of extension operation and operand types must be qualified with a
47 The name acts as a namespace for operations and data types. The NNAPI uses this
50 Operations and data types are declared in a way similar to those in
83 types and operand types from other extensions. When using an operand type from
181 Of the 32 bits used to identify types and operations, the high
196 The driver must validate extension operations and data types because the NNAPI
197 runtime can't validate particular extension operations and data types.
202 ## OEM operation and data types
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserManagerUnitTest.java436 int[] types = new int[] {1}; in testGetUserIdentificationAssociation_remoteException() local
437 when(mService.getUserIdentificationAssociation(types)) in testGetUserIdentificationAssociation_remoteException()
442 mMgr.getUserIdentificationAssociation(types); in testGetUserIdentificationAssociation_remoteException()
450 int[] types = new int[] {1}; in testGetUserIdentificationAssociation_runtimeException() local
451 when(mService.getUserIdentificationAssociation(types)) in testGetUserIdentificationAssociation_runtimeException()
456 mMgr.getUserIdentificationAssociation(types); in testGetUserIdentificationAssociation_runtimeException()
464 int[] types = new int[] { 4, 8, 15, 16, 23, 42 }; in testGetUserIdentificationAssociation_ok() local
466 UserIdentificationAssociationResponse.forSuccess(types); in testGetUserIdentificationAssociation_ok()
467 when(mService.getUserIdentificationAssociation(types)).thenReturn(expectedResponse); in testGetUserIdentificationAssociation_ok()
470 mMgr.getUserIdentificationAssociation(types); in testGetUserIdentificationAssociation_ok()
[all …]
DCarUserServiceTest.java1993 int[] types = new int[] { 1, 2, 3 }; in testGetUserIdentificationAssociation_ok() local
1995 mockHalGetUserIdentificationAssociation(currentUser, types, values, "D'OH!"); in testGetUserIdentificationAssociation_ok()
1998 .getUserIdentificationAssociation(types); in testGetUserIdentificationAssociation_ok()
2057 int[] types = new int[] { 1, 2, 3 }; in testSetUserIdentificationAssociation_halNotSupported() local
2061 mCarUserService.setUserIdentificationAssociation(mAsyncCallTimeoutMs, types, values, in testSetUserIdentificationAssociation_halNotSupported()
2075 int[] types = new int[] { 1, 2, 3 }; in testSetUserIdentificationAssociation_halFailedWithErrorMessage() local
2077 mCarUserService.setUserIdentificationAssociation(mAsyncCallTimeoutMs, types, values, in testSetUserIdentificationAssociation_halFailedWithErrorMessage()
2093 int[] types = new int[] { 1, 2, 3 }; in testSetUserIdentificationAssociation_halFailedWithoutErrorMessage() local
2095 mCarUserService.setUserIdentificationAssociation(mAsyncCallTimeoutMs, types, values, in testSetUserIdentificationAssociation_halFailedWithoutErrorMessage()
2109 int[] types = new int[] { 1, 2, 3 }; in testSetUserIdentificationAssociation_ok() local
[all …]
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
DTypeFilterPreferenceController.java134 int types = 0; in updateState() local
142 types |= FLAG_FILTER_TYPE_ONGOING; in updateState()
144 types |= FLAG_FILTER_TYPE_CONVERSATIONS; in updateState()
146 types |= FLAG_FILTER_TYPE_SILENT; in updateState()
148 types |= FLAG_FILTER_TYPE_ALERTING; in updateState()
151 types |= Integer.parseInt(typeString); in updateState()
157 if (hasFlag(types, getType())) { in updateState()
/packages/services/Car/car-lib/src/android/car/user/
DCarUserManager.java620 @UserIdentificationAssociationType int... types) { in getUserIdentificationAssociation()
621 Preconditions.checkArgument(!ArrayUtils.isEmpty(types), "must have at least one type"); in getUserIdentificationAssociation()
622 EventLog.writeEvent(EventLogTags.CAR_USER_MGR_GET_USER_AUTH_REQ, types.length); in getUserIdentificationAssociation()
625 mService.getUserIdentificationAssociation(types); in getUserIdentificationAssociation()
649 @UserIdentificationAssociationType int[] types, in setUserIdentificationAssociation()
651 Preconditions.checkArgument(!ArrayUtils.isEmpty(types), "must have at least one type"); in setUserIdentificationAssociation()
653 if (types.length != values.length) { in setUserIdentificationAssociation()
654 throw new IllegalArgumentException("types (" + Arrays.toString(types) + ") and values (" in setUserIdentificationAssociation()
658 Object[] loggedValues = new Integer[types.length * 2]; in setUserIdentificationAssociation()
659 for (int i = 0; i < types.length; i++) { in setUserIdentificationAssociation()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeDrawingPoints.java95 final ResizableIntArray types) { in appendPreviewStroke() argument
104 types.fill(GestureTrailDrawingPoints.POINT_TYPE_SAMPLED, types.getLength(), length); in appendPreviewStroke()
126 final ResizableIntArray yCoords, final ResizableIntArray types) { in interpolateStrokeAndReturnStartIndexOfLastSegment() argument
164 types.addAt(d1, GestureTrailDrawingPoints.POINT_TYPE_INTERPOLATED); in interpolateStrokeAndReturnStartIndexOfLastSegment()
172 types.addAt(d1, GestureTrailDrawingPoints.POINT_TYPE_SAMPLED); in interpolateStrokeAndReturnStartIndexOfLastSegment()
/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/
DTelephonyManagerTestApp.java171 private String getParameters(Class<?>[] types, Parameter[] parameters) { in getParameters() argument
172 if (types == null || types.length == 0) { in getParameters()
178 for (int j = 0; j < types.length; j++) { in getParameters()
179 String typeName = getShortTypeName(types[j].getTypeName()); in getParameters()
181 if (j < (types.length - 1)) { in getParameters()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DJniCallbacks.java54 void devicePropertyChangedCallback(byte[] address, int[] types, byte[][] val) { in devicePropertyChangedCallback() argument
55 mRemoteDevices.devicePropertyChangedCallback(address, types, val); in devicePropertyChangedCallback()
82 void adapterPropertyChangedCallback(int[] types, byte[][] val) { in adapterPropertyChangedCallback() argument
83 mAdapterProperties.adapterPropertyChangedCallback(types, val); in adapterPropertyChangedCallback()
/packages/apps/TV/tuner/proto/
Dchannel.proto65 // Enum describing the types of tuner.
72 // Enum describing the types of video stream.
90 // Enum describing the types of audio stream.
106 // Enum describing ATSC service types
121 // Enum describing the types of delivery system.
/packages/apps/TV/jni/
DDvbManager.cpp339 const char *types; in openDvbFe() local
342 types = "DVB-S"; in openDvbFe()
345 types = "DVB-C"; in openDvbFe()
348 types = "DVB-T"; in openDvbFe()
351 types = "ATSC"; in openDvbFe()
354 types = "Unknown"; in openDvbFe()
356 ALOGI("Using frontend \"%s\", type %s", info.name, types); in openDvbFe()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DReverseGeocodeTask.java81 JSONArray types = component.optJSONArray(JSON_KEY_TYPES); in doInBackground() local
82 if (types != null) { in doInBackground()
83 for (int j = 0; !stripped && j < types.length(); j++) { in doInBackground()
84 if (JSON_KEY_PREMISE.equals(types.getString(j))) { in doInBackground()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java415 List<String> types = new ArrayList<>(ITEM_COUNT); in testSort_type_ascending() local
421 types.add(type); in testSort_type_ascending()
429 final String lhs = types.get(i); in testSort_type_ascending()
430 final String rhs = types.get(i + 1); in testSort_type_ascending()
447 List<String> types = new ArrayList<>(ITEM_COUNT); in testSort_type_descending() local
453 types.add(type); in testSort_type_descending()
461 final String lhs = types.get(i); in testSort_type_descending()
462 final String rhs = types.get(i + 1); in testSort_type_descending()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountTypeProvider.java96 List<AccountType> types = mCache.get(accountType); in getAccountTypes() local
97 if (types == null) { in getAccountTypes()
98 types = loadTypes(accountType); in getAccountTypes()
99 mCache.put(accountType, types); in getAccountTypes()
101 return types; in getAccountTypes()
/packages/services/Car/tools/emulator/
DREADME.md22 type, zone, etc. from the types.hal. Run this script whenever types.hal is
25 * Must re-generate when the types.hal file changes.
31 * hardware/interfaces/automotive/vehicle/2.0/types.hal
/packages/modules/Connectivity/tests/cts/net/src/android/net/rtp/cts/
DAudioCodecTest.java67 boolean[] types = new boolean[128]; in testGetCodecs()
69 assertFalse(types[codec.type]); in testGetCodecs()
70 types[codec.type] = true; in testGetCodecs()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DCarSystemBar.java497 public void showTransient(int displayId, int[] types) { in showTransient() argument
501 if (containsType(types, ITYPE_STATUS_BAR)) { in showTransient()
507 if (containsType(types, ITYPE_NAVIGATION_BAR)) { in showTransient()
516 public void abortTransient(int displayId, int[] types) { in abortTransient() argument
520 if (!containsType(types, ITYPE_STATUS_BAR) && !containsType(types, ITYPE_NAVIGATION_BAR)) { in abortTransient()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/
DKnowledgeGraph.java143 private @NonNull JSONObject getResultFromKG(String title, String... types) throws IOException { in getResultFromKG() argument
145 JSONObject root = (JSONObject) getContent(getContentUri(title, types)); in getResultFromKG()
198 private static @NonNull Uri getContentUri(@NonNull String title, @NonNull String... types) { in getContentUri() argument
207 for (String type : types) { in getContentUri()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java518 String[] types = getContext().getResources().getStringArray(R.array.vpn_types); in setTypesByFeature() local
519 mTotalTypes = new ArrayList<>(Arrays.asList(types)); in setTypesByFeature()
520 mAllowedTypes = new ArrayList<>(Arrays.asList(types)); in setTypesByFeature()
523 final List<String> typesList = new ArrayList<>(Arrays.asList(types)); in setTypesByFeature()
530 types = typesList.toArray(new String[0]); in setTypesByFeature()
549 types = mAllowedTypes.toArray(new String[0]); in setTypesByFeature()
553 getContext(), android.R.layout.simple_spinner_item, types); in setTypesByFeature()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java227 List<NotificationType> types = Arrays.asList(NotificationType.values()); in testNotificationsShownAndCleared() local
228 List<Integer> ids = new ArrayList<>(types.size()); in testNotificationsShownAndCleared()
229 for (int i = 0; i < types.size(); i++) { in testNotificationsShownAndCleared()
233 Collections.shuffle(types); in testNotificationsShownAndCleared()
236 mManager.showNotification(ids.get(i), types.get(i), mWifiNai, mCellNai, null, false); in testNotificationsShownAndCleared()
247 final int eventId = types.get(i).eventId; in testNotificationsShownAndCleared()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHalDeviceManagerTest.java3523 cicl.types.add(IfaceType.STA); in initialize()
3528 cicl.types.add(IfaceType.P2P); in initialize()
3529 cicl.types.add(IfaceType.NAN); in initialize()
3539 cicl.types.add(IfaceType.AP); in initialize()
3587 cicl.types.add(IfaceType.STA); in initialize()
3592 cicl.types.add(IfaceType.STA); in initialize()
3593 cicl.types.add(IfaceType.AP); in initialize()
3598 cicl.types.add(IfaceType.P2P); in initialize()
3599 cicl.types.add(IfaceType.NAN); in initialize()
3649 cicl.types.add(IfaceType.STA); in initialize()
[all …]
/packages/services/Mms/src/com/android/mms/service/
DApnSettings.java206 private static boolean isValidApnType(String types, String requestType) { in isValidApnType() argument
208 if (TextUtils.isEmpty(types)) { in isValidApnType()
211 for (String type : types.split(",")) { in isValidApnType()

1234567