/frameworks/base/packages/Osu/src/com/android/hotspot2/app/ |
H A D | MainActivity.java | 39 private static final int NOTIFICATION_ID = 0; // Used for OSU count 102 showOsuCount(bundle.getInt("osu-count", 0), Collections.<OSUData>emptyList()); 121 Log.d("osu", "osu count:" + osuData.size()); 209 private void sendNotification(int count) { argument 212 .setContentTitle(String.format("%s OSU available", count))
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardPasswordView.java | 329 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument 336 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | RescueParty.java | 223 public abstract void setCount(int count); argument 253 int count = getCount() + 1; 254 setCount(count); 255 EventLogTags.writeRescueNote(uid, count, window); 256 Slog.w(TAG, "Noticed " + count + " events for UID " + uid + " in last " 258 return (count >= triggerCount); 281 public void setCount(int count) { argument 282 SystemProperties.set(PROP_RESCUE_BOOT_COUNT, Integer.toString(count)); 301 private int count; field in class:RescueParty.AppThreshold 310 @Override public int getCount() { return count; } 311 setCount(int count) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_connectivity_Vpn.cpp | 135 int count = 0; local 144 count = BAD_ARGUMENT; 150 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR; 157 count = BAD_ARGUMENT; 161 if (count) { 162 snprintf(ifr4.ifr_name, sizeof(ifr4.ifr_name), "%s:%d", name, count); 165 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR; 172 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR; 177 ++count; 180 if (count 287 int count = -1; local [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbMidiDevice.java | 120 public void onSend(byte[] msg, int offset, int count, long timestamp) throws IOException { argument 123 receiver.send(msg, offset, count, timestamp); 234 int count = mInputStreams[index].read(buffer); 235 outputReceivers[index].send(buffer, 0, count, timestamp); 273 outputStreamF.write(event.data, 0, event.count);
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
H A D | Transport.java | 231 protected abstract int ioRead(byte[] buffer, int offset, int count) argument 233 protected abstract void ioWrite(byte[] buffer, int offset, int count) argument 304 int count; 306 count = ioRead(buffer.array(), position, buffer.capacity() - position); 307 if (count < 0) { 314 position += count;
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | ActivityTestMain.java | 528 void addAppRecents(int count) { argument 534 for (int i=0; i<count; i++) {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | SmartCamera.java | 77 private static int count = -1; field in class:SmartCamera 83 if (count == numImages-1) countHasReachedMax = true; 84 count = (count+1) % numImages; 85 return mImages.get(count); 119 Log.v(TAG, "numImages: " + numImages + " count: " + count + 121 int maxI = countHasReachedMax ? numImages : count+1; 135 count = -1; 210 if (count [all...] |
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 61 int count; local 112 count = processAssets(bundle, zip, outputSet); 113 if (count < 0) { 116 result = count; 121 printf("Generated %d file%s\n", count, (count==1) ? "" : "s"); 124 count = processJarFiles(bundle, zip); 125 if (count < 0) { 128 result = count; 133 printf("Included %d file%s from jar/zip files.\n", count, (coun 220 ssize_t count = 0; local 406 size_t count = 0; local 430 ssize_t count = 0; local [all...] |
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable.cpp | 233 ssize_t count = table.lockBag(id.id, &entry); local 234 if (count < 0) { 243 for (size_t i = 0; i < (size_t)count; i++) { 251 for (size_t i = 0; i < (size_t)count; i++) {
|
/frameworks/base/tools/aapt2/unflatten/ |
H A D | BinaryResourceParser.cpp | 377 // TODO(adamlesinski): Check that the entry count is valid. 424 const size_t count = entries.size(); local 425 for (size_t i = 0; i < count; i++) {
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | IdenticalCodeFolding.cpp | 170 (funcptr_access_set.count(candidate->first) == 0)) { 193 size_t count = checksum_map.count(checksum); local 194 if (count == 0) {
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
H A D | TwoWayBindingObject.java | 82 public void textChanged1(CharSequence s, int start, int before, int count) { argument 87 public void textChanged2(CharSequence s, int start, int before, int count) { argument
|
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 52 size_t count; member in struct:android::region_operator::region 56 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { } 58 : rects(_r), count(_c), dx(), dy() { } 60 : rects(_r), count(_c), dx(_dx), dy(_dy) { } 169 if (lhs.count) { 173 if (rhs.count) { 180 return !rhs.count && !lhs.count; 201 size_t count local [all...] |
/frameworks/native/libs/sensor/ |
H A D | SensorManager.cpp | 163 size_t count = mSensors.size(); local 165 static_cast<Sensor const**>(malloc(count * sizeof(Sensor*))); 168 for (size_t i=0 ; i<count ; i++) { 194 size_t count = dynamicSensors.size(); local 196 return static_cast<ssize_t>(count);
|
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/ |
H A D | buffer_hub_queue_client.h | 54 size_t count() const { return available_buffers_.GetSize(); } function in class:android::dvr::BufferHubQueue 254 // |available_buffers_|, and that buffer's reference count will decrease by
|
/frameworks/native/libs/vr/libdvr/ |
H A D | dvr_display_manager.cpp | 72 size_t count = 0; local 74 if (count >= max_count) 78 attributes[count].key = attribute.first; 79 attribute.second.Visit(AttributeVisitor{&attributes[count]}); 80 count++; 83 return count;
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | utility.h | 211 explicit Payload(size_type count, uint8_t value = 0) { Append(count, value); } argument 256 void Append(size_type count, uint8_t value) { argument 257 auto* data = buffer_.grow_by(count); 258 std::fill(data, data + count, value);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.cpp | 283 size_t count = objects.size(); local 284 ALOGW_IF(count, "eglTerminate() called w/ %zu objects remaining", count);
|
H A D | egl_object.h | 44 mutable std::atomic_size_t count; member in class:android::egl_object_t 54 inline void incRef() { count.fetch_add(1, std::memory_order_relaxed); } 55 inline size_t decRef() { return count.fetch_sub(1, std::memory_order_acq_rel); }
|
/frameworks/native/opengl/tests/gl_perf/ |
H A D | fill_common.cpp | 122 static void endTimer(int count) { argument 125 double pixels = (gWidth * gHeight) * count; 127 double dc60 = ((double)count) / delta / 60;
|
/frameworks/native/services/inputflinger/ |
H A D | InputListener.cpp | 144 size_t count = mArgsQueue.size(); local 145 for (size_t i = 0; i < count; i++) { 172 size_t count = mArgsQueue.size(); local 173 for (size_t i = 0; i < count; i++) {
|
/frameworks/native/services/sensorservice/hidl/ |
H A D | SensorManager.cpp | 62 ssize_t count = getInternalManager().getSensorList(&list); local 63 if (count < 0 || !list) { 64 LOG(ERROR) << "::android::SensorManager::getSensorList encounters " << count; 69 ret.resize(static_cast<size_t>(count)); 70 for (ssize_t i = 0; i < count; ++i) {
|
/frameworks/native/services/surfaceflinger/ |
H A D | Client.cpp | 50 const size_t count = mLayers.size(); local 51 for (size_t i=0 ; i<count ; i++) { 87 const size_t count = mLayers.size(); local 88 for (size_t i=0 ; i<count ; i++) {
|
H A D | EventThread.cpp | 59 mVSyncEvent[i].vsync.count = 0; 115 void EventThread::setVsyncRate(uint32_t count, argument 117 if (int32_t(count) >= 0) { // server must protect against bad params 119 const int32_t new_count = (count == 0) ? -1 : count; 120 if (connection->count != new_count) { 121 connection->count = new_count; 133 if (connection->count < 0) { 134 connection->count = 0; 162 mVSyncEvent[0].vsync.count 188 const size_t count = signalConnections.size(); local 250 size_t count = mDisplayEventConnections.size(); local 410 setVsyncRate(uint32_t count) argument [all...] |