/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceNetworkVars.java | 64 VAR_MAP.put("build.board", new StaticVarGetter(Build.BOARD)); 65 VAR_MAP.put("build.brand", new StaticVarGetter(Build.BRAND)); 66 VAR_MAP.put("build.device", new StaticVarGetter(Build.DEVICE)); 67 VAR_MAP.put("build.display", new StaticVarGetter(Build.DISPLAY)); 68 VAR_MAP.put("build.fingerprint", new StaticVarGetter(Build.FINGERPRINT)); 69 VAR_MAP.put("build.host", new StaticVarGetter(Build.HOST)); 70 VAR_MAP.put("build.id", new StaticVarGetter(Build.ID)); 71 VAR_MAP.put("build.model", new StaticVarGetter(Build.MODEL)); 72 VAR_MAP.put("build.product", new StaticVarGetter(Build.PRODUCT)); 73 VAR_MAP.put("build.tags", new StaticVarGetter(Build.TAGS)); [all …]
|
D | MonkeySourceNetwork.java | 455 COMMAND_MAP.put("flip", new FlipCommand()); 456 COMMAND_MAP.put("touch", new TouchCommand()); 457 COMMAND_MAP.put("trackball", new TrackballCommand()); 458 COMMAND_MAP.put("key", new KeyCommand()); 459 COMMAND_MAP.put("sleep", new SleepCommand()); 460 COMMAND_MAP.put("wake", new WakeCommand()); 461 COMMAND_MAP.put("tap", new TapCommand()); 462 COMMAND_MAP.put("press", new PressCommand()); 463 COMMAND_MAP.put("type", new TypeCommand()); 464 COMMAND_MAP.put("listvar", new MonkeySourceNetworkVars.ListVarCommand()); [all …]
|
D | MonkeySourceNetworkViews.java | 81 COMMAND_MAP.put("getlocation", new GetLocation()); 82 COMMAND_MAP.put("gettext", new GetText()); 83 COMMAND_MAP.put("getclass", new GetClass()); 84 COMMAND_MAP.put("getchecked", new GetChecked()); 85 COMMAND_MAP.put("getenabled", new GetEnabled()); 86 COMMAND_MAP.put("getselected", new GetSelected()); 87 COMMAND_MAP.put("setselected", new SetSelected()); 88 COMMAND_MAP.put("getfocused", new GetFocused()); 89 COMMAND_MAP.put("setfocused", new SetFocused()); 90 COMMAND_MAP.put("getparent", new GetParent()); [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
D | GLVertex.java | 56 public void put(IntBuffer vertexBuffer, IntBuffer colorBuffer) { in put() method in GLVertex 57 vertexBuffer.put(toFixed(x)); in put() 58 vertexBuffer.put(toFixed(y)); in put() 59 vertexBuffer.put(toFixed(z)); in put() 61 colorBuffer.put(0); in put() 62 colorBuffer.put(0); in put() 63 colorBuffer.put(0); in put() 64 colorBuffer.put(0); in put() 66 colorBuffer.put(color.red); in put() 67 colorBuffer.put(color.green); in put() [all …]
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
D | ContactOperations.java | 105 mValues.put(RawContacts.SOURCE_ID, userId); in ContactOperations() 106 mValues.put(RawContacts.ACCOUNT_TYPE, Constants.ACCOUNT_TYPE); in ContactOperations() 107 mValues.put(RawContacts.ACCOUNT_NAME, accountName); in ContactOperations() 136 mValues.put(StructuredName.DISPLAY_NAME, fullName); in addName() 137 mValues.put(StructuredName.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in addName() 140 mValues.put(StructuredName.GIVEN_NAME, firstName); in addName() 141 mValues.put(StructuredName.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in addName() 144 mValues.put(StructuredName.FAMILY_NAME, lastName); in addName() 145 mValues.put(StructuredName.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in addName() 163 mValues.put(Email.DATA, email); in addEmail() [all …]
|
D | ContactManager.java | 82 contentValues.put(Groups.ACCOUNT_NAME, account.name); in ensureSampleGroupExists() 83 contentValues.put(Groups.ACCOUNT_TYPE, account.type); in ensureSampleGroupExists() 84 contentValues.put(Groups.TITLE, SAMPLE_GROUP_NAME); in ensureSampleGroupExists() 85 contentValues.put(Groups.GROUP_IS_READ_ONLY, true); in ensureSampleGroupExists() 442 values.put(RawContacts.ACCOUNT_NAME, account.name); in setAccountContactsVisibility() 443 values.put(RawContacts.ACCOUNT_TYPE, Constants.ACCOUNT_TYPE); in setAccountContactsVisibility() 444 values.put(Settings.UNGROUPED_VISIBLE, visible ? 1 : 0); in setAccountContactsVisibility() 538 values.put(StatusUpdates.DATA_ID, profileId); in updateContactStatus() 539 values.put(StatusUpdates.STATUS, status); in updateContactStatus() 540 values.put(StatusUpdates.PROTOCOL, Im.PROTOCOL_CUSTOM); in updateContactStatus() [all …]
|
/development/tools/apkcheck/src/com/android/apkcheck/ |
D | TypeUtils.java | 32 sQuickConvert.put("boolean", "Z"); 33 sQuickConvert.put("byte", "B"); 34 sQuickConvert.put("char", "C"); 35 sQuickConvert.put("short", "S"); 36 sQuickConvert.put("int", "I"); 37 sQuickConvert.put("float", "F"); 38 sQuickConvert.put("long", "J"); 39 sQuickConvert.put("double", "D"); 40 sQuickConvert.put("void", "V"); 41 sQuickConvert.put("java.lang.Object", "Ljava/lang/Object;"); [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
D | ClockBackService.java | 143 sVibrationPatterns.put(AccessibilityEvent.TYPE_VIEW_CLICKED, new long[] { in sVibrationPatterns.put() 146 sVibrationPatterns.put(AccessibilityEvent.TYPE_VIEW_LONG_CLICKED, new long[] { in sVibrationPatterns.put() 149 sVibrationPatterns.put(AccessibilityEvent.TYPE_VIEW_SELECTED, new long[] { in sVibrationPatterns.put() 152 sVibrationPatterns.put(AccessibilityEvent.TYPE_VIEW_FOCUSED, new long[] { in sVibrationPatterns.put() 155 sVibrationPatterns.put(AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED, new long[] { in sVibrationPatterns.put() 158 sVibrationPatterns.put(AccessibilityEvent.TYPE_VIEW_HOVER_ENTER, new long[] { in sVibrationPatterns.put() 161 sVibrationPatterns.put(INDEX_SCREEN_ON, new long[] { in sVibrationPatterns.put() 164 sVibrationPatterns.put(INDEX_SCREEN_OFF, new long[] { in sVibrationPatterns.put() 172 sSoundsResourceIds.put(AccessibilityEvent.TYPE_VIEW_CLICKED, in sSoundsResourceIds.put() 174 sSoundsResourceIds.put(AccessibilityEvent.TYPE_VIEW_LONG_CLICKED, in sSoundsResourceIds.put() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | Grid.java | 82 mIndexBuffer.put(i++, a); in Grid() 83 mIndexBuffer.put(i++, b); in Grid() 84 mIndexBuffer.put(i++, c); in Grid() 86 mIndexBuffer.put(i++, b); in Grid() 87 mIndexBuffer.put(i++, c); in Grid() 88 mIndexBuffer.put(i++, d); in Grid() 106 mVertexBuffer.put(posIndex, x); in set() 107 mVertexBuffer.put(posIndex + 1, y); in set() 108 mVertexBuffer.put(posIndex + 2, z); in set() 111 mTexCoordBuffer.put(texIndex, u); in set() [all …]
|
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | PduPart.java | 205 mPartHeader.put(P_CONTENT_ID, contentId); in setContentId() 214 mPartHeader.put(P_CONTENT_ID, buffer); in setContentId() 232 mPartHeader.put(P_CHARSET, charset); in setCharset() 260 mPartHeader.put(P_CONTENT_LOCATION, contentLocation); in setContentLocation() 289 mPartHeader.put(P_CONTENT_DISPOSITION, contentDisposition); in setContentDisposition() 312 mPartHeader.put(P_CONTENT_TYPE, contentType); in setContentType() 335 mPartHeader.put(P_CONTENT_TRANSFER_ENCODING, contentTransferEncoding); in setContentTransferEncoding() 358 mPartHeader.put(P_NAME, name); in setName() 381 mPartHeader.put(P_FILENAME, fileName); in setFilename()
|
D | PduBody.java | 48 mPartMapByContentId.put(new String(contentId), part); in putPartToMaps() 55 mPartMapByContentLocation.put(clc, part); in putPartToMaps() 62 mPartMapByName.put(clc, part); in putPartToMaps() 69 mPartMapByFileName.put(clc, part); in putPartToMaps()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | MatrixPaletteRenderer.java | 137 mIndexBuffer.put(i++, a); in Grid() 138 mIndexBuffer.put(i++, c); in Grid() 139 mIndexBuffer.put(i++, b); in Grid() 141 mIndexBuffer.put(i++, b); in Grid() 142 mIndexBuffer.put(i++, c); in Grid() 143 mIndexBuffer.put(i++, d); in Grid() 168 mVertexBuffer.put(x); in set() 169 mVertexBuffer.put(y); in set() 170 mVertexBuffer.put(z); in set() 171 mVertexBuffer.put(u); in set() [all …]
|
D | CubeMapActivity.java | 305 mIndexBuffer.put(i++, a); in Grid() 306 mIndexBuffer.put(i++, c); in Grid() 307 mIndexBuffer.put(i++, b); in Grid() 309 mIndexBuffer.put(i++, b); in Grid() 310 mIndexBuffer.put(i++, c); in Grid() 311 mIndexBuffer.put(i++, d); in Grid() 328 mVertexBuffer.put(x); in set() 329 mVertexBuffer.put(y); in set() 330 mVertexBuffer.put(z); in set() 331 mVertexBuffer.put(nx); in set() [all …]
|
/development/apps/Development/src/com/android/development/ |
D | MediaScannerActivity.java | 178 map.put(MediaStore.MediaColumns.DATA, in addAlbum() 180 map.put(MediaStore.MediaColumns.TITLE, in addAlbum() 182 map.put(MediaStore.MediaColumns.MIME_TYPE, "audio/mp3"); in addAlbum() 184 map.put(Audio.Media.ARTIST, artist); in addAlbum() 185 map.put("album_artist", albumArtist); in addAlbum() 186 map.put(Audio.Media.ALBUM, albumName); in addAlbum() 187 map.put(Audio.Media.TRACK, i + 1); in addAlbum() 188 map.put(Audio.Media.DURATION, 4*60*1000); in addAlbum() 189 map.put(Audio.Media.IS_MUSIC, 1); in addAlbum() 190 map.put(Audio.Media.YEAR, baseYear + mRandom.nextInt(10)); in addAlbum()
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
D | RawContact.java | 145 json.put("f", mFirstName); in toJSONObject() 148 json.put("l", mLastName); in toJSONObject() 151 json.put("m", mCellPhone); in toJSONObject() 154 json.put("o", mOfficePhone); in toJSONObject() 157 json.put("h", mHomePhone); in toJSONObject() 160 json.put("e", mEmail); in toJSONObject() 163 json.put("i", mServerContactId); in toJSONObject() 166 json.put("c", mRawContactId); in toJSONObject() 169 json.put("d", mDeleted); in toJSONObject()
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
D | SampleGattAttributes.java | 31 attributes.put("0000180d-0000-1000-8000-00805f9b34fb", "Heart Rate Service"); 32 attributes.put("0000180a-0000-1000-8000-00805f9b34fb", "Device Information Service"); 34 attributes.put(HEART_RATE_MEASUREMENT, "Heart Rate Measurement"); in attributes.put() 35 attributes.put("00002a29-0000-1000-8000-00805f9b34fb", "Manufacturer Name String");
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
D | DictionaryDatabase.java | 71 map.put(KEY_WORD, KEY_WORD); in buildColumnMap() 72 map.put(KEY_DEFINITION, KEY_DEFINITION); in buildColumnMap() 73 map.put(BaseColumns._ID, "rowid AS " + in buildColumnMap() 75 map.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA_ID, "rowid AS " + in buildColumnMap() 77 map.put(SearchManager.SUGGEST_COLUMN_SHORTCUT_ID, "rowid AS " + in buildColumnMap() 230 initialValues.put(KEY_WORD, word); in addWord() 231 initialValues.put(KEY_DEFINITION, definition); in addWord()
|
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/ |
D | UserTest.java | 42 jsonObj.put("u", "mjoshi"); in testValueOf() 43 jsonObj.put("f", "Megha"); in testValueOf() 44 jsonObj.put("l", "Joshi"); in testValueOf() 45 jsonObj.put("i", 1); in testValueOf()
|
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/ |
D | NfcProvisioningFragment.java | 123 properties.put(e.getKey(), value); in createNdefMessage() 129 properties.put(DevicePolicyManager.EXTRA_PROVISIONING_LOCAL_TIME, in createNdefMessage() 150 mProvisioningValues.put( in onTextChanged() 154 mProvisioningValues.put(DevicePolicyManager.EXTRA_PROVISIONING_LOCALE, s); in onTextChanged() 157 mProvisioningValues.put(DevicePolicyManager.EXTRA_PROVISIONING_TIME_ZONE, s); in onTextChanged() 160 mProvisioningValues.put(DevicePolicyManager.EXTRA_PROVISIONING_WIFI_SSID, s); in onTextChanged() 163 mProvisioningValues.put( in onTextChanged() 167 mProvisioningValues.put(DevicePolicyManager.EXTRA_PROVISIONING_WIFI_PASSWORD, s); in onTextChanged()
|
D | ProvisioningValuesLoader.java | 128 values.put(key, value); in loadFromFile() 146 props.put(key, values.get(key)); in gatherAdminExtras() 152 values.put(DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE, in gatherAdminExtras() 173 values.put(DevicePolicyManager.EXTRA_PROVISIONING_WIFI_SSID, trimSsid(info.getSSID())); in loadSystemValues() 189 map.put(key, value); in putIfMissing()
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
D | Alarm.java | 62 jsonObject.put("id", id); in toJson() 63 jsonObject.put("month", month); in toJson() 64 jsonObject.put("date", date); in toJson() 65 jsonObject.put("hour", hour); in toJson() 66 jsonObject.put("minute", minute); in toJson()
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
D | VoicemailProviderHelpers.java | 104 contentValues.put(Voicemails.IS_READ, 0); in insert() 150 values.put(Voicemails.MIME_TYPE, mimeType); in setVoicemailContent() 151 values.put(Voicemails.HAS_CONTENT, true); in setVoicemailContent() 302 contentValues.put(Voicemails.DATE, String.valueOf(voicemail.getTimestampMillis())); in getContentValues() 305 contentValues.put(Voicemails.NUMBER, voicemail.getNumber()); in getContentValues() 308 contentValues.put(Voicemails.DURATION, String.valueOf(voicemail.getDuration())); in getContentValues() 311 contentValues.put(Voicemails.SOURCE_PACKAGE, voicemail.getSourcePackage()); in getContentValues() 314 contentValues.put(Voicemails.SOURCE_DATA, voicemail.getSourceData()); in getContentValues() 317 contentValues.put(Voicemails.IS_READ, voicemail.isRead() ? 1 : 0); in getContentValues()
|
/development/samples/NotePad/src/com/example/android/notepad/ |
D | NotePadProvider.java | 130 sNotesProjectionMap.put(NotePad.Notes._ID, NotePad.Notes._ID); in sNotesProjectionMap.put() 133 sNotesProjectionMap.put(NotePad.Notes.COLUMN_NAME_TITLE, NotePad.Notes.COLUMN_NAME_TITLE); in sNotesProjectionMap.put() 136 sNotesProjectionMap.put(NotePad.Notes.COLUMN_NAME_NOTE, NotePad.Notes.COLUMN_NAME_NOTE); in sNotesProjectionMap.put() 139 sNotesProjectionMap.put(NotePad.Notes.COLUMN_NAME_CREATE_DATE, in sNotesProjectionMap.put() 143 sNotesProjectionMap.put( in sNotesProjectionMap.put() 490 values.put(NotePad.Notes.COLUMN_NAME_CREATE_DATE, now); in insert() 496 values.put(NotePad.Notes.COLUMN_NAME_MODIFICATION_DATE, now); in insert() 502 values.put(NotePad.Notes.COLUMN_NAME_TITLE, r.getString(android.R.string.untitled)); in insert() 507 values.put(NotePad.Notes.COLUMN_NAME_NOTE, ""); in insert()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | ExpandableList3.java | 48 curGroupMap.put(NAME, "Group " + i); in onCreate() 49 curGroupMap.put(IS_EVEN, (i % 2 == 0) ? "This group is even" : "This group is odd"); in onCreate() 55 curChildMap.put(NAME, "Child " + j); in onCreate() 56 curChildMap.put(IS_EVEN, (j % 2 == 0) ? "This child is even" : "This child is odd"); in onCreate()
|
/development/samples/Vault/tests/src/com/example/android/vault/ |
D | EncryptedDocumentTest.java | 124 before.put("meow", "cake"); in testMetadataAndContents() 163 before.put("lol", "wut"); in testNormalMetadataOnly() 184 meta1.put("key1", "value1"); in testCopiedFile() 200 before.put("twiddle", "twiddle"); in testBitTwiddle() 220 init.put("color", "red"); in testErrorAbortsWrite() 240 second.put("color", "blue"); in testErrorAbortsWrite()
|