Home
last modified time | relevance | path

Searched refs:instanceId (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.kt320 fun createIntent(action: String?, instanceId: Long): Intent { in createIntent()
321 return Intent(action).setData(getContentUri(instanceId)) in createIntent()
325 fun createIntent(context: Context?, cls: Class<*>?, instanceId: Long): Intent { in createIntent()
326 return Intent(context, cls).setData(getContentUri(instanceId)) in createIntent()
337 fun getContentUri(instanceId: Long): Uri { in getContentUri()
338 return ContentUris.withAppendedId(InstancesColumns.CONTENT_URI, instanceId) in getContentUri()
349 fun getInstance(cr: ContentResolver, instanceId: Long): AlarmInstance? { in getInstance()
351 cr.query(getContentUri(instanceId), QUERY_COLUMNS, null, null, null) in getInstance()
368 val instanceId: Long = ContentUris.parseId(contentUri) in getInstance() constant
369 return getInstance(cr, instanceId) in getInstance()
[all …]
DAlarm.kt75 var instanceId = 0 variable in com.android.deskclock.provider.Alarm
102 instanceId = c.getInt(INSTANCE_ID_INDEX)
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmService.kt92 val instanceId = mCurrentAlarm!!.mId in stopCurrentAlarm() constant
93 LogUtils.v("AlarmService.stop with instance: %s", instanceId) in stopCurrentAlarm()
154 val instanceId = AlarmInstance.getId(intent.getData()!!) in onStartCommand() constant
163 val instance: AlarmInstance? = AlarmInstance.getInstance(cr, instanceId) in onStartCommand()
165 LogUtils.e("No instance found to start alarm: %d", instanceId) in onStartCommand()
170 } else if (mCurrentAlarm != null && mCurrentAlarm!!.mId == instanceId) { in onStartCommand()
171 LogUtils.e("Alarm already started for instance: %d", instanceId) in onStartCommand()
178 if (mCurrentAlarm != null && mCurrentAlarm!!.mId != instanceId) { in onStartCommand()
180 instanceId, mCurrentAlarm!!.mId) in onStartCommand()
DAlarmActivity.kt133 val instanceId = AlarmInstance.getId(getIntent().getData()!!) in onCreate() constant
134 mAlarmInstance = AlarmInstance.getInstance(getContentResolver(), instanceId) in onCreate()
220 val instanceId = AlarmInstance.getId(getIntent().getData()!!) in onResume() constant
221 mAlarmInstance = AlarmInstance.getInstance(getContentResolver(), instanceId) in onResume()
224 LOGGER.i("No alarm instance for instanceId: %d", instanceId) in onResume()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothGattService.java125 int instanceId, int serviceType) { in BluetoothGattService() argument
128 mInstanceId = instanceId; in BluetoothGattService()
139 public BluetoothGattService(UUID uuid, int instanceId, int serviceType) { in BluetoothGattService() argument
142 mInstanceId = instanceId; in BluetoothGattService()
258 /*package*/ BluetoothGattCharacteristic getCharacteristic(UUID uuid, int instanceId) { in getCharacteristic() argument
261 && characteristic.getInstanceId() == instanceId) { in getCharacteristic()
274 public void setInstanceId(int instanceId) { in setInstanceId() argument
275 mInstanceId = instanceId; in setInstanceId()
DBluetoothGattCharacteristic.java267 UUID uuid, int instanceId, in BluetoothGattCharacteristic() argument
269 initCharacteristic(service, uuid, instanceId, properties, permissions); in BluetoothGattCharacteristic()
277 public BluetoothGattCharacteristic(UUID uuid, int instanceId, in BluetoothGattCharacteristic() argument
279 initCharacteristic(null, uuid, instanceId, properties, permissions); in BluetoothGattCharacteristic()
283 UUID uuid, int instanceId, in initCharacteristic() argument
286 mInstance = instanceId; in initCharacteristic()
373 /*package*/ BluetoothGattDescriptor getDescriptor(UUID uuid, int instanceId) { in getDescriptor() argument
376 && descriptor.getInstanceId() == instanceId) { in getDescriptor()
428 public void setInstanceId(int instanceId) { in setInstanceId() argument
429 mInstance = instanceId; in setInstanceId()
DBluetoothGattIncludedService.java49 public BluetoothGattIncludedService(UUID uuid, int instanceId, int serviceType) { in BluetoothGattIncludedService() argument
51 mInstanceId = instanceId; in BluetoothGattIncludedService()
DBluetoothGattDescriptor.java241 public void setInstanceId(int instanceId) { in setInstanceId() argument
242 mInstance = instanceId; in setInstanceId()
DBluetoothGatt.java810 int instanceId) { in getService() argument
813 && svc.getInstanceId() == instanceId in getService()
828 int instanceId) { in getCharacteristicById() argument
831 if (charac.getInstanceId() == instanceId) { in getCharacteristicById()
844 /*package*/ BluetoothGattDescriptor getDescriptorById(BluetoothDevice device, int instanceId) { in getDescriptorById() argument
848 if (desc.getInstanceId() == instanceId) { in getDescriptorById()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSystemUiProxy.java591 RemoteTransition remoteTransition, InstanceId instanceId) { in startTasks() argument
595 splitRatio, remoteTransition, instanceId); in startTasks()
604 float splitRatio, RemoteTransition remoteTransition, InstanceId instanceId) { in startIntentAndTask() argument
608 splitPosition, splitRatio, remoteTransition, instanceId); in startIntentAndTask()
618 float splitRatio, RemoteTransition remoteTransition, InstanceId instanceId) { in startIntents() argument
622 splitPosition, splitRatio, remoteTransition, instanceId); in startIntents()
631 float splitRatio, RemoteTransition remoteTransition, InstanceId instanceId) { in startShortcutAndTask() argument
635 splitPosition, splitRatio, remoteTransition, instanceId); in startShortcutAndTask()
647 float splitRatio, RemoteAnimationAdapter adapter, InstanceId instanceId) { in startTasksWithLegacyTransition() argument
651 splitPosition, splitRatio, adapter, instanceId); in startTasksWithLegacyTransition()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java138 public static void writeSnapshot(LauncherAtom.ItemInfo info, InstanceId instanceId) { in writeSnapshot() argument
140 Log.d(TAG, String.format("\nwriteSnapshot(%d):\n%s", instanceId.getId(), info)); in writeSnapshot()
148 instanceId.getId() /* instance_id */, in writeSnapshot()
181 @Nullable InstanceId instanceId) { in buildStatsEvent() argument
186 instanceId == null ? 0 : instanceId.getId(), //instance_id = 3; in buildStatsEvent()
247 public StatsLogger withInstanceId(InstanceId instanceId) { in withInstanceId() argument
248 this.mInstanceId = instanceId; in withInstanceId()
413 InstanceId instanceId = mInstanceId; in write() local
420 if (instanceId != DEFAULT_INSTANCE_ID) { in write()
421 logStringBuilder.append(String.format("InstanceId:%s ", instanceId)); in write()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/metrics/
DPhotoPickerUiEventLogger.java50 public void logPickerOpenPersonal(InstanceId instanceId, in logPickerOpenPersonal() argument
56 instanceId); in logPickerOpenPersonal()
59 public void logPickerOpenWork(InstanceId instanceId, in logPickerOpenWork() argument
65 instanceId); in logPickerOpenWork()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserActivityLogger.java66 int instanceId, in write() argument
81 int instanceId, in write() argument
306 private void log(UiEventLogger.UiEventEnum event, InstanceId instanceId) { in log() argument
311 instanceId); in log()
497 int instanceId, in write() argument
510 /* instance_id = 3 */ instanceId, in write()
526 int instanceId, in write() argument
533 /* instance_id = 3 */ instanceId, in write()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DQuickstepModelDelegate.java186 InstanceId instanceId = new InstanceIdSequence().newInstanceId(); in modelLoadComplete() local
189 StatsLogCompatManager.writeSnapshot(info.buildProto(parent), instanceId); in modelLoadComplete() local
191 additionalSnapshotEvents(instanceId); in modelLoadComplete()
218 InstanceId instanceId = new InstanceIdSequence().newInstanceId(); in registerSnapshotLoggingCallback()
229 instanceId); in registerSnapshotLoggingCallback()
235 itemsIdMap.size(), instanceId.getId())); in registerSnapshotLoggingCallback()
236 additionalSnapshotEvents(instanceId); in registerSnapshotLoggingCallback()
237 SettingsChangeLogger.INSTANCE.get(mContext).logSnapshot(instanceId); in registerSnapshotLoggingCallback()
/packages/apps/Launcher3/src/com/android/launcher3/
DSecondaryDropTarget.java285 protected ComponentName performDropAction(View view, ItemInfo info, InstanceId instanceId) { in performDropAction() argument
302 .withInstanceId(instanceId) in performDropAction()
333 InstanceId instanceId = new InstanceIdSequence().newInstanceId(); in onAccessibilityDrop() local
334 doLog(instanceId, item); in onAccessibilityDrop()
335 performDropAction(view, item, instanceId); in onAccessibilityDrop()
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DStatsLogManager.java695 default StatsLogger withInstanceId(InstanceId instanceId) { in withInstanceId() argument
815 default StatsLatencyLogger withInstanceId(InstanceId instanceId) { in withInstanceId() argument
885 default StatsImpressionLogger withInstanceId(InstanceId instanceId) { in withInstanceId() argument
995 public StatsLogManager withDefaultInstanceId(@Nullable InstanceId instanceId) { in withDefaultInstanceId() argument
996 this.mInstanceId = instanceId; in withDefaultInstanceId()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DActivityContext.java356 InstanceId instanceId = new InstanceIdSequence().newInstanceId(); in startActivitySafely() local
357 logAppLaunch(getStatsLogManager(), item, instanceId); in startActivitySafely() local
376 InstanceId instanceId) { in logAppLaunch() argument
377 statsLogManager.logger().withItemInfo(info).withInstanceId(instanceId) in logAppLaunch()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationSbnViewHolder.java97 InstanceId instanceId, in addOnClick() argument
110 uid, pkg, instanceId, position); in addOnClick()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java439 public void setLabelSuggestion(FolderNameInfos nameInfos, InstanceId instanceId) { in setLabelSuggestion() argument
445 .withInstanceId(instanceId) in setLabelSuggestion()
452 .withInstanceId(instanceId) in setLabelSuggestion()
466 .withInstanceId(instanceId) in setLabelSuggestion()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDiscoverySessionState.java62 PeerInfo(int instanceId, byte[] mac) { in PeerInfo() argument
63 mInstanceId = instanceId; in PeerInfo()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DLauncherTaskbarUIController.java299 InstanceId instanceId = new InstanceIdSequence().newInstanceId(); in onTaskbarIconLaunched() local
301 instanceId); in onTaskbarIconLaunched() local
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java341 InstanceId instanceId = new InstanceIdSequence().newInstanceId(); in startAppShortcutOrInfoActivity() local
342 launcher.logAppLaunch(launcher.getStatsLogManager(), item, instanceId); in startAppShortcutOrInfoActivity() local
/packages/modules/Bluetooth/android/pandora/server/src/com/android/pandora/
DGatt.kt260 .setHandle(fullService.instanceId) in registerService()
282 if (characteristic.instanceId == handle) { in getCharacteristicWithHandle()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionController.java426 public void logLaunchedAppRankingInfo(@NonNull ItemInfo itemInfo, InstanceId instanceId) { in logLaunchedAppRankingInfo() argument
455 .withInstanceId(instanceId) in logLaunchedAppRankingInfo()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DQuickstepLauncher.java268 InstanceId instanceId) { in logAppLaunch() argument
273 instanceId = mAllAppsSessionLogId; in logAppLaunch()
276 StatsLogger logger = statsLogManager.logger().withItemInfo(info).withInstanceId(instanceId); in logAppLaunch()
296 mHotseatPredictionController.logLaunchedAppRankingInfo(info, instanceId); in logAppLaunch()

12