/developers/build/prebuilts/gradle/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/ |
IncomingRequestPhoneService.java | 30 import com.google.android.gms.wearable.DataMap; 61 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData()); 62 int requestType = dataMap.getInt(Constants.KEY_COMM_TYPE, 0); 79 DataMap dataMap = new DataMap(); 80 dataMap.putInt(Constants.KEY_COMM_TYPE, 82 sendMessage(nodeId, dataMap); [all...] |
MainPhoneActivity.java | 41 import com.google.android.gms.wearable.DataMap; 129 DataMap dataMap = new DataMap(); 130 dataMap.putInt(Constants.KEY_COMM_TYPE, Constants.COMM_TYPE_REQUEST_DATA); 131 sendMessage(dataMap); 190 DataMap dataMap = new DataMap(); 191 dataMap.putInt(Constants.KEY_COMM_TYPE [all...] |
/developers/samples/android/wearable/wear/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/ |
IncomingRequestPhoneService.java | 30 import com.google.android.gms.wearable.DataMap; 61 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData()); 62 int requestType = dataMap.getInt(Constants.KEY_COMM_TYPE, 0); 79 DataMap dataMap = new DataMap(); 80 dataMap.putInt(Constants.KEY_COMM_TYPE, 82 sendMessage(nodeId, dataMap); [all...] |
MainPhoneActivity.java | 41 import com.google.android.gms.wearable.DataMap; 129 DataMap dataMap = new DataMap(); 130 dataMap.putInt(Constants.KEY_COMM_TYPE, Constants.COMM_TYPE_REQUEST_DATA); 131 sendMessage(dataMap); 190 DataMap dataMap = new DataMap(); 191 dataMap.putInt(Constants.KEY_COMM_TYPE [all...] |
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/ |
IncomingRequestPhoneService.java | 30 import com.google.android.gms.wearable.DataMap; 61 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData()); 62 int requestType = dataMap.getInt(Constants.KEY_COMM_TYPE, 0); 79 DataMap dataMap = new DataMap(); 80 dataMap.putInt(Constants.KEY_COMM_TYPE, 82 sendMessage(nodeId, dataMap); [all...] |
MainPhoneActivity.java | 41 import com.google.android.gms.wearable.DataMap; 129 DataMap dataMap = new DataMap(); 130 dataMap.putInt(Constants.KEY_COMM_TYPE, Constants.COMM_TYPE_REQUEST_DATA); 131 sendMessage(dataMap); 190 DataMap dataMap = new DataMap(); 191 dataMap.putInt(Constants.KEY_COMM_TYPE [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
Statistics.java | 30 private final HashMap<String, Data> dataMap; 36 dataMap = new HashMap<String, Data>(50); 46 Data data = dataMap.get(typeName); 49 dataMap.put(typeName, new Data(item, typeName)); 73 if (dataMap.size() == 0) { 81 for (Data data : dataMap.values()) { 97 for (Data data : dataMap.values()) {
|
/dalvik/dx/src/com/android/dx/dex/file/ |
Statistics.java | 29 private final HashMap<String, Data> dataMap; 35 dataMap = new HashMap<String, Data>(50); 45 Data data = dataMap.get(typeName); 48 dataMap.put(typeName, new Data(item, typeName)); 72 if (dataMap.size() == 0) { 80 for (Data data : dataMap.values()) { 96 for (Data data : dataMap.values()) {
|
/developers/build/prebuilts/gradle/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/ |
IncomingRequestWearService.java | 34 import com.google.android.gms.wearable.DataMap; 69 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData()); 71 int requestType = dataMap.getInt(Constants.KEY_COMM_TYPE); 90 DataMap dataMap = new DataMap(); 91 dataMap.putInt(Constants.KEY_COMM_TYPE, 93 sendMessage(dataMap); [all...] |
MainWearActivity.java | 43 import com.google.android.gms.wearable.DataMap; 167 DataMap dataMap = new DataMap(); 168 dataMap.putInt(Constants.KEY_COMM_TYPE, 170 sendMessage(dataMap); 348 DataMap dataMap = new DataMap(); 349 dataMap.putInt(Constants.KEY_COMM_TYPE [all...] |
/developers/samples/android/wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/ |
IncomingRequestWearService.java | 34 import com.google.android.gms.wearable.DataMap; 69 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData()); 71 int requestType = dataMap.getInt(Constants.KEY_COMM_TYPE); 90 DataMap dataMap = new DataMap(); 91 dataMap.putInt(Constants.KEY_COMM_TYPE, 93 sendMessage(dataMap); [all...] |
MainWearActivity.java | 43 import com.google.android.gms.wearable.DataMap; 167 DataMap dataMap = new DataMap(); 168 dataMap.putInt(Constants.KEY_COMM_TYPE, 170 sendMessage(dataMap); 348 DataMap dataMap = new DataMap(); 349 dataMap.putInt(Constants.KEY_COMM_TYPE [all...] |
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/ |
IncomingRequestWearService.java | 34 import com.google.android.gms.wearable.DataMap; 69 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData()); 71 int requestType = dataMap.getInt(Constants.KEY_COMM_TYPE); 90 DataMap dataMap = new DataMap(); 91 dataMap.putInt(Constants.KEY_COMM_TYPE, 93 sendMessage(dataMap); [all...] |
MainWearActivity.java | 43 import com.google.android.gms.wearable.DataMap; 167 DataMap dataMap = new DataMap(); 168 dataMap.putInt(Constants.KEY_COMM_TYPE, 170 sendMessage(dataMap); 348 DataMap dataMap = new DataMap(); 349 dataMap.putInt(Constants.KEY_COMM_TYPE [all...] |
/developers/build/prebuilts/gradle/Quiz/Application/src/main/java/com/example/android/wearable/quiz/ |
MainActivity.java | 56 import com.google.android.gms.wearable.DataMap; 164 DataMap dataMap = new DataMap(); 165 dataMap.putInt(NUM_CORRECT, mNumCorrect); 166 dataMap.putInt(NUM_INCORRECT, mNumIncorrect); 171 dataMap.putInt(NUM_SKIPPED, mNumSkipped); 173 sendMessageToWearable(QUIZ_EXITED_PATH, dataMap.toByteArray()); 246 DataMap dataMap = request.getDataMap() [all...] |
/developers/samples/android/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/ |
MainActivity.java | 56 import com.google.android.gms.wearable.DataMap; 164 DataMap dataMap = new DataMap(); 165 dataMap.putInt(NUM_CORRECT, mNumCorrect); 166 dataMap.putInt(NUM_INCORRECT, mNumIncorrect); 171 dataMap.putInt(NUM_SKIPPED, mNumSkipped); 173 sendMessageToWearable(QUIZ_EXITED_PATH, dataMap.toByteArray()); 246 DataMap dataMap = request.getDataMap() [all...] |
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/ |
MainActivity.java | 56 import com.google.android.gms.wearable.DataMap; 164 DataMap dataMap = new DataMap(); 165 dataMap.putInt(NUM_CORRECT, mNumCorrect); 166 dataMap.putInt(NUM_INCORRECT, mNumIncorrect); 171 dataMap.putInt(NUM_SKIPPED, mNumSkipped); 173 sendMessageToWearable(QUIZ_EXITED_PATH, dataMap.toByteArray()); 246 DataMap dataMap = request.getDataMap() [all...] |
/frameworks/base/libs/androidfw/include/androidfw/ |
Asset.h | 198 static Asset* createFromUncompressedMap(FileMap* dataMap, AccessMode mode); 200 static std::unique_ptr<Asset> createFromUncompressedMap(std::unique_ptr<FileMap> dataMap, 209 static Asset* createFromCompressedMap(FileMap* dataMap, 212 static std::unique_ptr<Asset> createFromCompressedMap(std::unique_ptr<FileMap> dataMap, 254 * On success, the object takes ownership of "dataMap". 256 status_t openChunk(FileMap* dataMap); 312 status_t openChunk(FileMap* dataMap, size_t uncompressedLen);
|
/developers/build/prebuilts/gradle/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/ |
UpdateQuestionService.java | 33 import com.google.android.gms.wearable.DataMap; 82 DataMap dataMap = putDataMapRequest.getDataMap(); 87 dataMap.putInt(QUESTION_INDEX, questionIndex); 88 dataMap.putBoolean(CHOSEN_ANSWER_CORRECT, chosenAnswerCorrect); 89 dataMap.putBoolean(QUESTION_WAS_ANSWERED, true);
|
QuizListenerService.java | 46 import com.google.android.gms.wearable.DataMap; 96 DataMap dataMap = DataMapItem.fromDataItem(dataItem).getDataMap(); 97 if (dataMap.getBoolean(QUESTION_WAS_ANSWERED) 98 || dataMap.getBoolean(QUESTION_WAS_DELETED)) { 103 String question = dataMap.getString(QUESTION); 104 int questionIndex = dataMap.getInt(QUESTION_INDEX); 106 String[] answers = dataMap.getStringArray(ANSWERS); 107 int correctAnswerIndex = dataMap.getInt(CORRECT_ANSWER_INDEX); 175 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData()) [all...] |
/developers/samples/android/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/ |
UpdateQuestionService.java | 33 import com.google.android.gms.wearable.DataMap; 82 DataMap dataMap = putDataMapRequest.getDataMap(); 87 dataMap.putInt(QUESTION_INDEX, questionIndex); 88 dataMap.putBoolean(CHOSEN_ANSWER_CORRECT, chosenAnswerCorrect); 89 dataMap.putBoolean(QUESTION_WAS_ANSWERED, true);
|
QuizListenerService.java | 46 import com.google.android.gms.wearable.DataMap; 96 DataMap dataMap = DataMapItem.fromDataItem(dataItem).getDataMap(); 97 if (dataMap.getBoolean(QUESTION_WAS_ANSWERED) 98 || dataMap.getBoolean(QUESTION_WAS_DELETED)) { 103 String question = dataMap.getString(QUESTION); 104 int questionIndex = dataMap.getInt(QUESTION_INDEX); 106 String[] answers = dataMap.getStringArray(ANSWERS); 107 int correctAnswerIndex = dataMap.getInt(CORRECT_ANSWER_INDEX); 175 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData()) [all...] |
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/ |
UpdateQuestionService.java | 33 import com.google.android.gms.wearable.DataMap; 82 DataMap dataMap = putDataMapRequest.getDataMap(); 87 dataMap.putInt(QUESTION_INDEX, questionIndex); 88 dataMap.putBoolean(CHOSEN_ANSWER_CORRECT, chosenAnswerCorrect); 89 dataMap.putBoolean(QUESTION_WAS_ANSWERED, true);
|
QuizListenerService.java | 46 import com.google.android.gms.wearable.DataMap; 96 DataMap dataMap = DataMapItem.fromDataItem(dataItem).getDataMap(); 97 if (dataMap.getBoolean(QUESTION_WAS_ANSWERED) 98 || dataMap.getBoolean(QUESTION_WAS_DELETED)) { 103 String question = dataMap.getString(QUESTION); 104 int questionIndex = dataMap.getInt(QUESTION_INDEX); 106 String[] answers = dataMap.getStringArray(ANSWERS); 107 int correctAnswerIndex = dataMap.getInt(CORRECT_ANSWER_INDEX); 175 DataMap dataMap = DataMap.fromByteArray(messageEvent.getData()) [all...] |
/frameworks/base/libs/androidfw/ |
Asset.cpp | 287 /*static*/ Asset* Asset::createFromUncompressedMap(FileMap* dataMap, 294 result = pAsset->openChunk(dataMap); 302 /*static*/ std::unique_ptr<Asset> Asset::createFromUncompressedMap(std::unique_ptr<FileMap> dataMap, 307 status_t result = pAsset->openChunk(dataMap.get()); 312 // We succeeded, so relinquish control of dataMap 313 (void) dataMap.release(); 321 /*static*/ Asset* Asset::createFromCompressedMap(FileMap* dataMap, 328 result = pAsset->openChunk(dataMap, uncompressedLen); 336 /*static*/ std::unique_ptr<Asset> Asset::createFromCompressedMap(std::unique_ptr<FileMap> dataMap, 341 status_t result = pAsset->openChunk(dataMap.get(), uncompressedLen) [all...] |