/packages/modules/NeuralNetworks/runtime/ |
D | Telemetry.cpp | 165 .modelArchHash = c->getModel()->getModelArchHash(), in onCompilationFinish() 168 .inputDataClass = evalInputDataClass(c->getModel()), in onCompilationFinish() 169 .outputDataClass = evalOutputDataClass(c->getModel()), in onCompilationFinish() 174 .hasControlFlow = c->getModel()->hasControlFlow(), in onCompilationFinish() 220 .modelArchHash = e->getModel()->getModelArchHash(), in onExecutionFinish() 223 .inputDataClass = evalInputDataClass(e->getModel()), in onExecutionFinish() 224 .outputDataClass = evalOutputDataClass(e->getModel()), in onExecutionFinish() 231 .hasControlFlow = compilation->getModel()->hasControlFlow(), in onExecutionFinish()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | ModelMultiCallbacksTest.java | 77 return mModelHelper.getModel().newModelCallbacks(); in getCallbacks() 85 Executors.MAIN_EXECUTOR.execute(() -> mModelHelper.getModel().addCallbacksAndLoad(cb1)); in testTwoCallbacks_loadedTogether() 94 Executors.MAIN_EXECUTOR.execute(() -> mModelHelper.getModel().addCallbacksAndLoad(cb2)); in testTwoCallbacks_loadedTogether() 105 Executors.MAIN_EXECUTOR.execute(() -> mModelHelper.getModel().removeCallbacks(cb2)); in testTwoCallbacks_loadedTogether() 111 mModelHelper.getModel().startLoader(); in testTwoCallbacks_loadedTogether() 125 Executors.MAIN_EXECUTOR.execute(() -> mModelHelper.getModel().addCallbacksAndLoad(cb1)); in testTwoCallbacks_receiveUpdates() 126 Executors.MAIN_EXECUTOR.execute(() -> mModelHelper.getModel().addCallbacksAndLoad(cb2)); in testTwoCallbacks_receiveUpdates() 147 Executors.MAIN_EXECUTOR.execute(() -> mModelHelper.getModel().removeCallbacks(cb2)); in testTwoCallbacks_receiveUpdates()
|
D | PackageInstallStateChangedTaskTest.java | 83 mModelHelper.getModel().enqueueModelUpdateTask(newTask(TEST_PACKAGE, 30)); in testSessionUpdate_ignore_installed() 94 mModelHelper.getModel().enqueueModelUpdateTask(newTask(PENDING_APP_1, 30)); in testSessionUpdate_shortcuts_updated() 104 mModelHelper.getModel().enqueueModelUpdateTask(newTask(PENDING_APP_2, 30)); in testSessionUpdate_widgets_updated()
|
D | CacheDataUpdatedTaskTest.java | 105 mModelHelper.getModel().enqueueModelUpdateTask( in testCacheUpdate_update_apps() 120 mModelHelper.getModel().enqueueModelUpdateTask( in testSessionUpdate_ignores_normal_apps() 139 mModelHelper.getModel().enqueueModelUpdateTask( in testSessionUpdate_updates_pending_apps()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | Device.java | 119 public String getModel() { in getModel() method in Device 144 && Objects.equals(this.getModel(), other.getModel()); in equals() 156 return Objects.hash(this.getManufacturer(), this.getModel(), this.getType()); in hashCode()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | PreviewSurfaceRenderer.java | 163 LauncherAppState.getInstance(mContext).getModel().getModelDbController(); in getLoadedLauncherWidgetInfo() 232 .getModel().getModelDbController().getDb(), in loadModelData() 235 .getModel().getModelDbController().getDb(), in loadModelData() 239 .getModel().getModelDbController().clearEmptyDbFlag(); in loadModelData() 246 LauncherAppState.getInstance(previewContext).getModel().getModelDelegate(), in loadModelData() 274 LauncherAppState.getInstance(inflationContext).getModel().loadAsync(dataModel -> { in loadModelData()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/ |
D | LauncherModelHelper.java | 108 public LauncherModel getModel() { in getModel() method in LauncherModelHelper 109 return LauncherAppState.getInstance(sandboxContext).getModel(); in getModel() 114 getModel().enqueueModelUpdateTask((taskController, dataModel, apps) -> in getBgDataModel() 203 MAIN_EXECUTOR.submit(() -> getModel().addCallbacksAndLoad(mockCb)).get(); in loadModelSync() 207 MAIN_EXECUTOR.submit(() -> getModel().removeCallbacks(mockCb)).get(); in loadModelSync()
|
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/ |
D | MindfulSessionRecordInternalTest.java | 92 assertThat(metadata.getDevice().getModel()).isEqualTo("model"); in toExternalRecord_allFieldsSet() 125 assertThat(metadata.getDevice().getModel()).isNull(); in toExternalRecord_optionalFieldsNotSet() 182 assertThat(decodedRecord.getModel()).isEqualTo("model"); in writeToParcel_populateUsing_allFieldsSet() 221 assertThat(decodedRecord.getModel()).isNull(); in writeToParcel_populateUsing_optionalFieldsNotSet() 277 assertThat(internalRecord.getModel()).isEqualTo("model"); in mindfulnessSessionRecord_toInternalRecord_allFieldsSet() 314 assertThat(internalRecord.getModel()).isNull(); in mindfulnessSessionRecord_toInternalRecord_optionalFieldsNotSet()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
D | HotseatRestoreHelper.java | 41 .getModel().getModelDbController(); in createBackup() 56 LauncherModel model = LauncherAppState.getInstance(context).getModel(); in restoreBackup()
|
D | HotseatEduController.java | 98 pageId = mLauncher.getModel().getModelDbController().getNewScreenId(); in migrateHotseatWhole() 136 mLauncher.getModel().onWorkspaceUiChanged(); in finishOnboarding()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderTask.java | 244 try (LauncherModel.LoaderTransaction transaction = mApp.getModel().beginLoader(this)) { in run() 299 mApp.getModel()::onPackageIconsUpdated); in run() 305 mApp.getModel()::onPackageIconsUpdated); in run() 361 mApp.getModel()::onWidgetLabelsUpdated); in run() 431 ModelDbController dbController = mApp.getModel().getModelDbController(); in loadWorkspaceImpl() 640 IntArray deletedFolderIds = mApp.getModel().getModelDbController().deleteEmptyFolders(); in sanitizeFolders() 653 IntArray deletedAppPairIds = mApp.getModel().getModelDbController().deleteBadAppPairs(); in sanitizeAppPairs() 654 IntArray deletedAppIds = mApp.getModel().getModelDbController().deleteUnparentedApps(); in sanitizeAppPairs() 673 mApp.getModel().getModelDbController().removeGhostWidgets(); in sanitizeWidgetsShortcutsAndPackages()
|
D | LoaderCursor.java | 401 mApp.getModel().getModelDbController(), in updater() 423 mApp.getModel().getModelDbController().delete(TABLE_NAME, in commitDeleted() 449 mApp.getModel().getModelDbController().update(TABLE_NAME, values, in commitRestoredItems()
|
D | SdCardAvailableReceiver.java | 47 mModel = app.getModel(); in SdCardAvailableReceiver()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | ModelBackedDocumentsAdapter.java | 79 onModelUpdate(mEnv.getModel()); in ModelBackedDocumentsAdapter() 138 Cursor cursor = mEnv.getModel().getItem(modelId); in onBindViewHolder() 205 return isDirectory(mEnv.getModel(), position) in getItemViewType()
|
D | Message.java | 173 } else if (mEnv.getModel().error != null) { in update() 174 update(null, mEnv.getModel().error, null, in update() 176 } else if (mEnv.getModel().info != null) { in update() 177 update(null, mEnv.getModel().info, null, in update() 281 } else if (mEnv.getModel().getModelIds().length == 0) { in update()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 52 if (appState.getModel().isModelLoaded()) { in dump() 53 appState.getModel().dumpState("", fd, writer, args); in dump() 151 LauncherModel model = LauncherAppState.getInstance(getContext()).getModel(); in executeControllerTask()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/model/ |
D | WidgetsPredicationUpdateTaskTest.java | 138 MAIN_EXECUTOR.submit(() -> mModelHelper.getModel().addCallbacks(mCallback)).get(); in setup() 163 mModelHelper.getModel().enqueueModelUpdateTask( in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder() 203 mModelHelper.getModel().enqueueModelUpdateTask( in widgetsRecommendationRan_shouldReturnEmptyWidgetsWhenEmpty()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | FilesActivity.java | 136 mInjector.getModel()::getItemUri, in onCreate() 137 mInjector.getModel()::getItemCount); in onCreate() 385 return getCurrentDirectory() != null && mInjector.getModel().doc != null; in canInspectDirectory()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarInfoManagerTest.java | 131 assertThat(mCarInfoManager.getModel()).isEqualTo(MODEL_NAME); in testGetModel() 136 assertThat(mCarInfoManager.getModel()).isEqualTo(DEFAULT_STRING_VALUE); in testGetModel_unimplemented()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | RecordInternal.java | 223 public String getModel() { in getModel() method in RecordInternal 295 .setModel(getModel()) in buildMetaData()
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | CanonicalDevice.cpp | 213 auto getModel = [](const SharedPreparedModel& preparedModel) -> const Model* { in allocate() local 223 getModel, &roles, &operand); in allocate()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarInfoManagerTest.java | 49 assertThat(mInfoManager.getModel()).isNotNull(); in testNotNullItems()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/ |
D | TestEnvironment.java | 64 public Model getModel() { in getModel() method in TestEnvironment
|
/packages/modules/NeuralNetworks/common/include/ |
D | MetaModel.h | 74 const Model& getModel() const { return mModel; } in getModel() function
|
D | ValidateHal.h | 88 std::function<const V1_3::Model*(const sp<V1_3::IPreparedModel>&)> getModel,
|