Searched refs:profile (Results 1 - 25 of 68) sorted by path

123

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterProperties.java420 int getProfileConnectionState(int profile) { argument
422 Pair<Integer, Integer> p = mProfileConnectionState.get(profile);
436 private void sendConnectionStateChange(int profile, Intent connIntent) { argument
440 sendConnectionStateChange(device, profile, state, prevState);
442 void sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) { argument
455 updateProfileConnectionState(profile, state, prevState);
534 private void updateProfileConnectionState(int profile, int newState, int oldState) { argument
537 // The key is the profile, the value is a pair. first element
545 // 1. If there is no record of profile and state - update
554 Pair<Integer, Integer> stateNumDev = mProfileConnectionState.get(profile);
[all...]
H A DAdapterService.java227 public void addProfile(ProfileService profile) { argument
229 if (!mProfiles.contains(profile)) {
230 mProfiles.add(profile);
235 public void removeProfile(ProfileService profile) { argument
237 mProfiles.remove(profile);
309 debugLog("onProfileServiceStateChange() - All profile services stopped...");
332 debugLog("onProfileServiceStateChange() - All profile services started.");
512 //Start profile services
514 //Startup all profile services
976 public int getProfileConnectionState(int profile) { argument
1235 sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) argument
1528 getProfileConnectionState(int profile) argument
1807 sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) argument
[all...]
H A DConfig.java49 * List of profile services.
61 * Resource flag to indicate whether profile is supported or not.
112 private static boolean isProfileDisabled(Context context, Class profile) { argument
113 final int profileIndex = getProfileIndex(profile);
116 Log.w(TAG, "Could not find profile bit mask");
128 private static int getProfileIndex(Class profile) { argument
131 if (profile == HeadsetService.class) {
133 } else if (profile == A2dpService.class) {
135 } else if (profile == A2dpSinkService.class) {
137 } else if (profile
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
H A DHfpClientConnectionService.java139 // Close the profile.
277 public void onServiceConnected(int profile, BluetoothProfile proxy) {
300 public void onServiceDisconnected(int profile) {
302 Log.d(TAG, "onServiceDisconnected " + profile);
/packages/apps/Camera2/src/com/android/camera/
H A DCameraActivity.java1431 Profile profile = mProfiler.create("CameraActivity.onCreateTasks").start();
1449 profile.mark();
1462 profile.mark("Glide.setup");
1477 profile.mark("OneCameraManager.get");
1504 profile.mark();
1511 profile.mark("computePictureSizes");
1526 profile.mark();
1528 profile.mark("setContentView()");
1605 profile.mark("Configure Camera UI");
1624 profile
[all...]
H A DCaptureModule.java1503 Profile profile = mProfiler.create("CaptureModule.closeCamera()").start();
1509 profile.mark("mCameraOpenCloseLock.acquire()");
1513 profile.mark("mCamera.close()");
1520 profile.stop();
H A DVideoModule.java810 CamcorderProfile profile, Point previewScreenSize) {
813 return new Point(profile.videoFrameWidth, profile.videoFrameHeight);
823 preferred = new Size(profile.videoFrameWidth, profile.videoFrameHeight);
839 if (size.width() == profile.videoFrameWidth
840 && size.height() == profile.videoFrameHeight) {
843 return new Point(profile.videoFrameWidth, profile.videoFrameHeight);
848 (double) profile
809 getDesiredPreviewSize(CameraCapabilities capabilities, CamcorderProfile profile, Point previewScreenSize) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/data/
H A DVideoDataFactory.java55 " to camera profile");
56 CamcorderProfile profile = CamcorderProfile.get(CamcorderProfile.QUALITY_HIGH);
57 if(profile != null) {
58 dimensions = new Size(profile.videoFrameWidth, profile.videoFrameHeight);
60 Log.w(TAG, "Video profile was null, defaulting to unknown width and height.");
/packages/apps/Camera2/src/com/android/camera/stats/profiler/
H A DLoggingProfiler.java32 LoggingProfile profile = new LoggingProfile(mWriter, name);
33 profile.start();
34 return profile;
/packages/apps/Car/Messenger/src/com/android/car/messenger/
H A DMessengerService.java89 Log.wtf(TAG, "Unable to get MAP profile! Possible programmer error?");
119 Log.e(TAG, "Unable to send reply; MAP profile disconnected!");
182 public void onServiceConnected(int profile, BluetoothProfile proxy) {
193 public void onServiceDisconnected(int profile) {
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
H A DBluetoothDetailActivity.java115 for (LocalBluetoothProfile profile : mCachedDevice.getConnectableProfiles()) {
117 this /* context */, profile, mCachedDevice, this));
H A DBluetoothDeviceListAdapter.java287 * Call back for the first connection or the last connection to ANY device/profile. Not
387 for (LocalBluetoothProfile profile : profiles) {
388 int resId = profile.getDrawableResource(btClass);
H A DBluetoothProfileLineItem.java45 public BluetoothProfileLineItem(Context context, LocalBluetoothProfile profile, argument
47 super(context.getText(profile.getNameResource(cachedBluetoothDevice.getDevice())));
49 mProfile = profile;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherModel.java1131 // managed profile in all apps is deferred until onResume. See http://b/17336902.
2166 UserHandle profile = profiles.get(i);
2167 // Add the widget providers for the profile.
2169 .getInstalledProvidersForProfile(profile);
2543 // TODO: Order this based on profile type rather than string compares.
/packages/apps/Launcher3/src/com/android/launcher3/
H A DCellLayout.java1017 DeviceProfile profile = mLauncher.getDeviceProfile();
1018 Utilities.shrinkRect(r, profile.appWidgetScale.x, profile.appWidgetScale.y);
2719 * using their full/invariant device profile sizes.
H A DDeviceProfile.java223 DeviceProfile profile = new DeviceProfile(context, inv, mwSize, mwSize, mwSize.x, mwSize.y,
227 profile.iconTextSizePx = 0;
228 profile.cellHeightPx = profile.iconSizePx + profile.iconDrawablePaddingPx
229 + Utilities.calculateTextHeight(profile.iconTextSizePx);
232 profile.hotseatBarBottomPaddingPx = profile.hotseatBarTopPaddingPx;
234 // We use these scales to measure and layout the widgets using their full invariant profile
236 float appWidgetScaleX = (float) profile
[all...]
H A DFocusHelper.java208 final DeviceProfile profile = launcher.getDeviceProfile();
213 KeyEvent.keyCodeToString(keyCode), profile.isVerticalBarLayout()));
241 !profile.isVerticalBarLayout()) {
242 matrix = FocusLogic.createSparseMatrixWithHotseat(iconLayout, hotseatLayout, profile);
246 profile.isVerticalBarLayout()) {
247 matrix = FocusLogic.createSparseMatrixWithHotseat(iconLayout, hotseatLayout, profile);
251 profile.isVerticalBarLayout()) {
337 DeviceProfile profile = launcher.getDeviceProfile();
341 KeyEvent.keyCodeToString(keyCode), profile.isVerticalBarLayout()));
364 if (keyCode == KeyEvent.KEYCODE_DPAD_DOWN && !profile
[all...]
H A DLauncherModel.java477 // ACTION_MANAGED_PROFILE_UNAVAILABLE sends the profile back to locked mode, so
934 c.markDeleted("Restore from managed profile not supported");
1065 // Shortcuts are only available on the primary profile
1396 final InvariantDeviceProfile profile = mApp.getInvariantDeviceProfile();
1397 final int screenCols = profile.numColumns;
1398 final int screenCellCount = profile.numColumns * profile.numRows;
H A DShortcutAndWidgetContainer.java91 DeviceProfile profile = mLauncher.getDeviceProfile();
93 profile.appWidgetScale.x, profile.appWidgetScale.y);
112 final DeviceProfile profile = mLauncher.getDeviceProfile();
116 profile.appWidgetScale.x, profile.appWidgetScale.y);
123 int cellPaddingX = (int) (profile.edgeMarginPx / 2f);
153 DeviceProfile profile = mLauncher.getDeviceProfile();
154 float scaleX = profile.appWidgetScale.x;
155 float scaleY = profile
[all...]
H A DWorkspace.java404 DeviceProfile profile = mLauncher.getDeviceProfile();
405 scale = Utilities.shrinkRect(r, profile.appWidgetScale.x, profile.appWidgetScale.y);
3440 DeviceProfile profile = mLauncher.getDeviceProfile();
3441 Utilities.shrinkRect(r, profile.appWidgetScale.x, profile.appWidgetScale.y);
/packages/apps/Launcher3/src/com/android/launcher3/folder/
H A DFolderPagedView.java100 InvariantDeviceProfile profile = LauncherAppState.getIDP(context);
101 mMaxCountX = profile.numFolderColumns;
102 mMaxCountY = profile.numFolderRows;
/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DAddWorkspaceItemsTask.java256 InvariantDeviceProfile profile = app.getInvariantDeviceProfile();
258 GridOccupancy occupied = new GridOccupancy(profile.numColumns, profile.numRows);
/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DWidgetCell.java101 DeviceProfile profile = mActivity.getDeviceProfile();
102 mCellSize = (int) (profile.cellWidthPx * WIDTH_SCALE);
/packages/apps/LegacyCamera/src/com/android/camera/
H A DEffectsRecorder.java159 public void setProfile(CamcorderProfile profile) { argument
168 mProfile = profile;
533 throw new RuntimeException("No recording profile provided!");
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
H A DUtils.java336 * Returns the first existing managed profile if any present, null otherwise.
338 * <p>Note that we currently only support one managed profile per device.
345 for (UserInfo profile : userProfiles) {
346 if (profile.isManagedProfile()) {
347 return new UserHandle(profile.id);
354 * Returns the user id of an already existing managed profile or -1 if none exists.
484 * Returns whether the given provisioning action is a profile owner action.
585 // referring to the resolver activity. It is fine to create a managed profile in
587 // supports managed profile feature.

Completed in 622 milliseconds

123