Home
last modified time | relevance | path

Searched refs:moduleId (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/app/
DModuleManagerImpl.java48 final int moduleId = agent.getModuleId(); in registerModule() local
49 if (moduleId == MODULE_INDEX_NONE) { in registerModule()
53 if (mRegisteredModuleAgents.get(moduleId) != null) { in registerModule()
54 throw new IllegalArgumentException("Module ID is registered already:" + moduleId); in registerModule()
56 mRegisteredModuleAgents.put(moduleId, agent); in registerModule()
60 public boolean unregisterModule(int moduleId) { in unregisterModule() argument
61 if (mRegisteredModuleAgents.get(moduleId) == null) { in unregisterModule()
64 mRegisteredModuleAgents.delete(moduleId); in unregisterModule()
65 if (moduleId == mDefaultModuleId) { in unregisterModule()
90 public boolean setDefaultModuleIndex(int moduleId) { in setDefaultModuleIndex() argument
[all …]
DModuleManager.java86 boolean unregisterModule(int moduleId); in unregisterModule() argument
108 boolean setDefaultModuleIndex(int moduleId); in setDefaultModuleIndex() argument
122 ModuleAgent getModuleAgent(int moduleId); in getModuleAgent() argument
134 int getQuickSwitchToModuleId(int moduleId, SettingsManager settingsManager, Context context); in getQuickSwitchToModuleId() argument
/packages/apps/Camera2/src/com/android/camera/module/
DModulesInfo.java77 private static void registerPhotoModule(ModuleManager moduleManager, final int moduleId, in registerPhotoModule() argument
83 return moduleId; in registerPhotoModule()
108 private static void registerVideoModule(ModuleManager moduleManager, final int moduleId, in registerVideoModule() argument
113 return moduleId; in registerVideoModule()
133 private static void registerWideAngleModule(ModuleManager moduleManager, final int moduleId, in registerWideAngleModule() argument
138 return moduleId; in registerWideAngleModule()
158 private static void registerPhotoSphereModule(ModuleManager moduleManager, final int moduleId, in registerPhotoSphereModule() argument
163 return moduleId; in registerPhotoSphereModule()
183 private static void registerRefocusModule(ModuleManager moduleManager, final int moduleId, in registerRefocusModule() argument
188 return moduleId; in registerRefocusModule()
[all …]
/packages/apps/Car/Radio/src/com/android/car/radio/platform/
DRadioManagerExt.java155 int moduleId = (int)(globalId >>> 32); in getMetadataImage() local
158 RadioTuner tuner = mSessions.get(moduleId); in getMetadataImage()
/packages/apps/Camera2/src/com/android/camera/settings/
DAppUpgrader.java417 String moduleId = Integer.toString(moduleIds[i]); in upgradeModuleSettingsFiles() local
420 OLD_MODULE_PREFERENCES_PREFIX + moduleId); in upgradeModuleSettingsFiles()