/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()) {
|
/external/dexmaker/src/dx/java/com/android/dx/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()) {
|
/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...] |
/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...] |
/developers/build/prebuilts/gradle/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/db/ |
UpdateService.java | 25 import com.google.android.gms.wearable.DataMap; 80 DataMap dataMap = DataMapItem.fromDataItem(dataEvent.getDataItem()) 82 double longitude = dataMap.getDouble(Constants.KEY_LONGITUDE); 83 double latitude = dataMap.getDouble(Constants.KEY_LATITUDE); 84 long time = dataMap.getLong(Constants.KEY_TIME);
|